\section{Values of the derivative: \addbs{tkzTabSlope}}

\begin{NewMacroBox}{tkzTabSlope}{\{List\}}

\begin{tabular}{lllc}
\toprule
\texttt{arguments}   & \texttt{default}    & \texttt{definition}                            \\
\midrule
\IargName{tkzTabSlope}{List}     & |no default|  & $i$/eg($i$)/ed($i$)       \\
\bottomrule
\end{tabular}

\medskip
\noindent\emph{$i$ is between $1$ and $n$, where $n$ is the number of values in the first row.
This macro completes the line of signs of a derivative with, for example, limits or the values of the left and right derivatives. $i$ is the rank of the value where the derivative is given; \tkzname{eg} and \tkzname{ed} are the expressions to place on the left and on the right.}
\end{NewMacroBox}

\subsection{Adding values of the derivative}
\index{values of the derivative}
Study of the function $f~:~ x \longmapsto \sqrt {x(x-1)^2}$ on $[0, 4]$

\begin{tkzexample}[vbox,small]
\begin{tikzpicture}
\tkzTabInit[lgt=3]%
    {$x$/1,%
     Sign\\ of $f'(x)$ /1,%
     Variations\\ of\\ $\sqrt {x(x-1)^2}$ /4}%
    {$0$ , $\dfrac{1}{3}$ , $1$ , $4$}%
\tkzTabLine{d ,+, 0 ,-, d ,+, }
\tkzTabSlope{1//+\infty,3/-1 /+1}
\tkzTabVar %
 {-   /     $0$                  ,
  +   /    $\dfrac{2\sqrt3}{9}$  ,
  -   /     $0$                  ,
  +   /    $6$    }
\end{tikzpicture}
\end{tkzexample}

\endinput