\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$, $-4$, $-2$, $0$, $+\infty$}
\tkzTabLine{, -, z, +, d, +, z, -,}
\tkzTabVar{+/$+\infty$, -/$8.0$, +D-/$+\infty$/$-\infty$, +/$0.0$, -/$-\infty$}
\end{tikzpicture}
\end{document}
\documentclass[preview]{standalone}
\usepackage{tikz}
\usepackage{tkz-tab}
\begin{document}
\begin{tikzpicture}
\tkzTabInit{$x$/1, $f'(x)$/1} {$-\infty$, $-4$, $-2$, $0$, $+\infty$}
\tkzTabLine{, -, z, +, d, +, z, -,}
\end{tikzpicture}
\end{document}
\documentclass[preview]{standalone}
\usepackage{tikz}
\usepackage{tkz-tab}
\begin{document}
\begin{tikzpicture}
\tkzTabInit{$x$/1, $f(x)$/1} {$-\infty$, $-2$, $0$, $+\infty$}
\tkzTabLine{, +, d, -, z, -,}
\end{tikzpicture}
\end{document}
La fonction f(x)=-\frac{x^2}{x+2} est définie sur $D_f=(-\infty, -2) \cup (-2, +\infty)$.
La dérivée est $f'(x)=\frac{x \left(- x - 4\right)}{\left(x + 2\right)^{2}}$.
Les extremums ($f'(x)=0$) : $x_{1}=-4.0$ avec $f=8.0$, $x_{2}=0.0$ avec $f=0$.
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.