\documentclass[preview]{standalone}
\usepackage{tikz}
\usepackage{tkz-tab}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{tikzpicture}
\tkzTabInit{$x$ / 1, $f'(x)$ / 1, $f(x)$ / 2}
{$-\infty$, $-2$, $1$, $+\infty$}
\tkzTabLine{, +, z, -, z, +,}
\tkzTabVar{-/$0$, +/$0.677$, -/$-2.718$, +/$+\infty$}
\end{tikzpicture}
\end{document}
\documentclass[preview]{standalone}
\usepackage{tikz}
\usepackage{tkz-tab}
\begin{document}
\begin{tikzpicture}
\tkzTabInit{$x$/1, $f'(x)$/1} {$-\infty$, $-2$, $1$, $+\infty$}
\tkzTabLine{, +, z, -, z, +,}
\end{tikzpicture}
\end{document}
\documentclass[preview]{standalone}
\usepackage{tikz}
\usepackage{tkz-tab}
\begin{document}
\begin{tikzpicture}
\tkzTabInit{$x$/1, $f(x)$/1} {$-\infty$, $-0.618$, $1.618$, $+\infty$}
\tkzTabLine{, +, z, -, z, +,}
\end{tikzpicture}
\end{document}
La fonction f(x)=\left(x^2-x-1\right)e^x est définie sur $D_f=(-\infty, +\infty)$.
La dérivée est $f'(x)=\left(x^{2} + x - 2\right) e^{x}$.
Les extremums ($f'(x)=0$) : $x_{1}=-2.0$ avec $f=0.676676416183064$, $x_{2}=1.0$ avec $f=-2.71828182845905$.
Intégrez le tableau dans vos documents LaTeX avec le package tkz-tab. Cliquez sur "Code LaTeX" ci-dessus pour copier le code prêt à l'emploi.