\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{, -, d, -, d, -,}
\tkzTabVar{+/$0$, -D+/$-\infty$/$+\infty$, -D+/$-\infty$/$+\infty$, -/$0$}
\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{, -, d, -, d, -,}
\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.333$, $-1$, $+\infty$}
\tkzTabLine{, -, d, +, z, -, d, +,}
\end{tikzpicture}
\end{document}
La fonction f(x)=\frac{1}{1+x}+\frac{2}{2+x} est définie sur $D_f=(-\infty, -2) \cup (-2, -1) \cup (-1, +\infty)$.
La dérivée est $f'(x)=- \frac{2}{\left(x + 2\right)^{2}} - \frac{1}{\left(x + 1\right)^{2}}$.
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.