summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-tab/doc/latex/TKZdoc-tab-examples.tex
blob: fcd1c5194f3e138bb9286b78374c556a63c45ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
\section{Galerie}
\subsection{Tableaux de signes}
L'exemple suivant provient de la documentation de l'excellent \tkzname{tablor.sty}.


\medskip


\begin{tkzexample}[vbox,small]
  \begin{tikzpicture}
    \tkzTabInit[lgt=3]
       {$x$                                  /1,
        Signe de\\ $-2+3$                    /1.5,
        Signe de\\ $-x+5$                    /1.5,
        Signe de\\ $(-2x+3)(-x+5)$           /1.5 }%
       {$-\infty$,$\dfrac{3}{2}$,$5$,$+\infty$}%
    \tkzTabLine { ,+,z,-,t,-, }
    \tkzTabLine { ,+,t,+,z,-, }
    \tkzTabLine { ,+,z,-,z,+, }
  \end{tikzpicture}
\end{tkzexample}
 

\subsection{Variations de fonctions}
 \subsubsection{Variation d'une fonction rationnelle}
 
 Cet exemple a été cité dans la documentation du package \tkzname{tabvar}

 Étude de la fonction $f~:~ x \longmapsto \frac{x^3+2}{2x}$ sur $]-\infty~;~+\infty[$
 
\begin{tkzexample}[vbox,small]
\begin{tikzpicture}
  \tkzTabInit[]
  {$x$  /1, $f'(x)$ /1,$f$  /3}
  {$-\infty$ , $0$ , $1$ , $+\infty$}
\tkzTabLine{,-,d,-,z,+,}
\tkzTabVar{+/$+\infty$ ,-D+/$-\infty$ / $+\infty$ ,-/$\frac{3}{2}$, +/$+\infty$}
\tkzTabVal{1}{2}{0.4}{$ -\sqrt[3]{2}$}{$0$}
\end{tikzpicture}
\end{tkzexample}  


\subsubsection{Variation d'une fonction irrationnelle}
 
Autre exemple  cité dans la documentation du package \tkzname{tabvar}

Étude de la fonction $f~:~ x \longmapsto \sqrt{\frac{x-1}{x+1}}$ sur $]-\infty~;~-1[\cup ]1~;~+\infty[$

\begin{tkzexample}[vbox,small] 
\begin{tikzpicture}
  \tkzTabInit[]
  {$x$  /1, $f'(x)$ /1,$f$  /3}
  {$-\infty$ , $-1$ , $1$ , $+\infty$}
\tkzTabLine{,+,d,h,d,+, }
\tkzTabSlope{ 3/ /+\infty}
\tkzTabVar{-/$1$ ,+DH/$+\infty$  ,-/$0$, +/$1$}
\end{tikzpicture}
\end{tkzexample}  

Un prolongement par continuité pourrait être : $f(x)=0$ sur $[-1~;~1]$ alors le tableau deviendrait

\begin{tkzexample}[vbox,small] 
\begin{tikzpicture}
  \tkzTabInit[]
  {$x$  /1, $f'(x)$ /1,$f$  /3}
  {$-\infty$ , $-1$ , $1$ , $+\infty$}
\tkzTabLine{,+,d,0,d,+, }
\tkzTabSlope{ 3/ /+\infty}
\tkzTabVar{-/$1$ ,+D-/$+\infty$/$0$  ,-/$0$, +/$1$}
\end{tikzpicture}
\end{tkzexample}  


\subsection{Fonctions trigonométriques}
\NameFonct{Fonctions trigonométriques}
 \subsubsection{Variation de la fonction tangente}
  \NameFonct{Fonction  tangente}
 Étude de la fonction $f~:~ x \longmapsto \tan{x}$ sur $[0~;\pi]$
 
 \begin{tkzexample}[vbox]
\begin{tikzpicture}
\tkzTabInit[espcl=6]{$x$ / 1,Signe de\\f'(x)/1, Variations de\\ $f$ / 3}%
     {$0$ ,$\frac{\pi}{2}$ , $\pi$}%
\tkzTabLine{ ,+,d,+, }
\tkzTabVar{-/$0$ ,  +D-/$+\infty$/$-\infty$  , +/$0$ }
\tkzTabVal{1}{2}{0.5}{$\frac{\pi}{4}$}{$1$}
\tkzTabVal{2}{3}{0.5}{$\frac{3\pi}{4}$}{$1$}
\end{tikzpicture}
\end{tkzexample}  

\subsubsection{Variation de la fonction cosinus}
 \NameFonct{Fonction  cosinus}
  Étude de la fonction $f~:~ x \longmapsto \cos{x}$ sur $[-\pi~;~+\pi]$
  
 \begin{tkzexample}[vbox]
\begin{tikzpicture}
\tkzTabInit[espcl=6]{$x$ / 1,Signe de\\f'(x)/1, Variations de\\ $f$ / 3}%
     {$0$ , $\pi$}%
\tkzTabLine{ , + , }
\tkzTabVar{+/$1$ ,   -/$-1$ }
\tkzTabVal{1}{2}{0.5}{$\frac{\pi}{2}$}{$0$}
\end{tikzpicture}
\end{tkzexample}  

\subsection{Fonctions paramétrées et trigonométriques}
\NameFonct{Fonctions paramétrées} \NameFonct{Fonctions trigonométriques}

Étude sur $\left[0~;~\frac{\pi}{2}\right]$
 \begin{equation*} 
\left\{%
\begin{array}{l} 
 x(t) = \cos(3t)\\ 
 y(t) = \sin(4t)
\end{array}\right. 
\end{equation*} 

\begin{tkzexample}[vbox,small]
  \begin{tikzpicture}
  \tkzTabInit[ lgt=3 , espcl=3]%
    {$t$                               /1,
    Signe de\\        $x'(t)$          /1.5,
    Variations de\\   $x$              /3,
     Variations de\\  $y$              /3,
    Signe de\\        $y'(t)$          /1.5}
              {$0$   , $\frac{\pi}{8}$             , $\frac{\pi}{3}$ ,
               $\frac{3\pi}{8}$ , $\frac{\pi}{2}$ }%
  \tkzTabLine {z , - ,-3\sin\left(\frac{3\pi}{8}\right) , - , z , +  ,%
   3\sin\left(\frac{\pi}{8}\right),+,3}
   \tkzTabVar  { +/$1$ , R/    , -/$-1$/ , R/     , +/$0$ }
    \tkzTabIma{1}{3}{2}{$\cos\left(\frac{3\pi}{8}\right)$} 
   \tkzTabIma{3}{5}{4}{$-\cos\left(\frac{\pi}{8}\right)$} 
     \tkzTabVar  { -/$0$ , +/$1$ , R/      , -/$-1$ , +/$0$ }
   \tkzTabIma{2}{4}{3}{$\frac{-\sqrt{3}}{2}$} 
   \tkzTabLine {4 , + , z , - , -2 , - ,  z ,+,4}
 \end{tikzpicture}
\end{tkzexample}


\subsection{Baccalauréat Asie ES 1998}
\index{Baccalauréat}
Une petite astuce, en principe \tkzname{z}  est le symbole à mettre dans la liste pour obtenir un zéro centré sur un trait en pointillés. Si on veut que le zéro soit sans le trait , il suffit de remplacer \tkzname{z} par \tkzname{0}. Celui-ci n'est pas un symbole reconnu, il est donc traiter comme une chaîne normale.

  Soit $f$ la fonction de variable réelle $x$, définie sur $\mathbf{R}$ par :
  \[
      f(x)=\E^x(\E^x+a)+b
  \]
  où $a$ et $b$ sont deux constantes réelles.

  Les renseignements connus sur $f$ sont donnés dans le tableau de variation ci-dessous.
   
  \medskip
  \begin{center}
    \begin{tikzpicture}
    \tkzTab[lgt=3,espcl=4]{$x$/1,Signe de $f'(x)$ /1,Variations de $f$ /2}%
    {$-\infty$,$0$,$+\infty$}%
    {,, z ,,}%
     {+/    $-3$  ,
      -/          ,
      +/          } 
    \end{tikzpicture}
  \end{center}

  \medskip
  \begin{enumerate}
      \item Calculer $f'(x)$ en fonction de $a$ ($f'$ désigne la fonction dérivée de $f$).
      \item \begin{enumerate}
             \item déterminer $a$ et $b$ en vous aidant des informations contenues dans le
              tableau ci-dessus.
             \item Calculer $f(0)$ et calculer la limite de $f$ en $+\infty$.
             \item Compléter, après l'avoir reproduit, le tableau de variations de $f$.
             \end{enumerate}
      \item Résoudre dans $\mathbf{R}$ l'équation 
      \[
          \E^x(\E^x-2)-3=0
      \]
      (on pourra pose $X=\E^x$).
      \item Résoudre dans $\mathbf{R}$ les inéquations : 
      \[
          \E^x(\E^x-2)-3\geq -4
      \]
      \[
          \E^x(\E^x-2)-3 \leq 0
      \]
       (On utilisera le tableau de variations donné ci-dessus et en particulier les
        informations obtenues en 2.b)
  \end{enumerate}

\begin{tkzexample}[code only,small]
  Soit $f$ la fonction de variable réelle $x$, définie sur $\mathbf{R}$ par :
  \[
      f(x)=\E^x(\E^x+a)+b
  \]
  où $a$ et $b$ sont deux constantes réelles.

  Les renseignements connus sur $f$ sont donnés dans le tableau de variation ci-dessous.
   
  \medskip
  \begin{center}
    \begin{tikzpicture}
    \tkzTab[lgt=3,espcl=4]{$x$/1,Signe de $f'(x)$ /1,Variations de $f$ /2}%
    {$-\infty$,$0$,$+\infty$}%
    {,, z ,,}%
     {+/    $-3$  ,
      -/          ,
      +/          } 
    \end{tikzpicture}
  \end{center}

  \medskip
  \begin{enumerate}
      \item Calculer $f'(x)$ en fonction de $a$ ($f'$ désigne la fonction dérivée de $f$).
      \item \begin{enumerate}
             \item déterminer $a$ et $b$ en vous aidant des informations contenues dans le
              tableau ci-dessus.
             \item Calculer $f(0)$ et calculer la limite de $f$ en $+\infty$.
             \item Compléter, après l'avoir reproduit, le tableau de variations de $f$.
             \end{enumerate}
      \item Résoudre dans $\mathbf{R}$ l'équation 
      \[
          \E^x(\E^x-2)-3=0
      \]
      (on pourra pose $X=\E^x$).
      \item Résoudre dans $\mathbf{R}$ les inéquations : 
      \[
          \E^x(\E^x-2)-3\geq -4
      \]
      \[
          \E^x(\E^x-2)-3 \leq 0
      \]
       (On utilisera le tableau de variations donné ci-dessus et en particulier les
        informations obtenues en 2.b)
  \end{enumerate}
\end{tkzexample}


\subsection{Baccalauréat}
\index{Baccalauréat}
	On considère la fonction $f$ définie sur $]-\infty~;~0[$ :

	\[
	  f(x)=ax+b+\ln(-2x)
	\]
	où $a$ et $b$ sont deux réels donnés.

	\begin{enumerate}
	\item Calculer $f'(x)$ en fonction de $a$ et $b$.
	\item Le tableau ci-dessous représente les variations d'une fonction particulière $f$.

	\medskip
	\begin{center}
	  \begin{tikzpicture}
	  \tkzTab[]%
	  {$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/1.5}%
	  {$-\infty$,$\dfrac{-1}{2}$,$0$}%
	  {,+,$0$,-,}%
	  {-//,
	  +/$2$/,
	  -//}
	  \end{tikzpicture}
	\end{center}

	\medskip
	\begin{enumerate}
	\item En utilisant les données du tableau déterminer les valeurs $a$ et $b$ qui caractérisent
	 cette fonction.
	\item Pour cette fonction particulière $f$, déterminer 
	        $\displaystyle \lim_{x \xrightarrow[x<0]{} 0} f(x)$.
	\item Montrer que, dans l'intervalle $\Big[\dfrac{-1}{2}~;~0,01\Big]$, l'équation $f(x)=0$
	 admet une solution unique. En donner une valeur approchée à $10^{-3}$ près.
	\end{enumerate}
	\end{enumerate}
	
\begin{tkzexample}[small,code only]
	On considère la fonction $f$ définie sur $]-\infty~;~0[$ :

	\[
	  f(x)=ax+b+\ln(-2x)
	\]
	où $a$ et $b$ sont deux réels donnés.

	\begin{enumerate}
	\item Calculer $f'(x)$ en fonction de $a$ et $b$.
	\item Le tableau ci-dessous représente les variations d'une fonction particulière $f$.

	\medskip
	\begin{center}
	  \begin{tikzpicture}
	  \tkzTab[]%
	  {$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/1.5}%
	  {$-\infty$,$\dfrac{-1}{2}$,$0$}%
	  {,+,$0$,-,}%
	  {-//,
	  +/$2$/,
	  -//}
	  \end{tikzpicture}
	\end{center}

	\medskip
	\begin{enumerate}
	\item En utilisant les données du tableau déterminer les valeurs $a$ et $b$ qui caractérisent
	 cette fonction.
	\item Pour cette fonction particulière $f$, déterminer 
	        $\displaystyle \lim_{x \xrightarrow[x<0]{} 0} f(x)$.
	\item Montrer que, dans l'intervalle $\Big[\dfrac{-1}{2}~;~0,01\Big]$, l'équation $f(x)=0$
	 admet une solution unique. En donner une valeur approchée à $10^{-3}$ près.
	\end{enumerate}
	\end{enumerate}
\end{tkzexample}



\subsection{Baccalauréat Guyane ES 1998 }
\index{Baccalauréat}
C'est cet exemple qui m'a obligé à penser aux   commandes du style $+V+$. Sans doute, voulait-on ne pas influencer les élèves avec la vision d'une double barre (trop souvent associée à la présence d'une asymptote).

\textbf{Le sujet :}

{\parindent=0pt
On considère une fonction $f$ de la variable $x$, dont on donne le tableau de variations :

\begin{center}
\begin{tikzpicture}
\tkzTab[lgt=3]%
{$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/2.5}
{$-\infty$,$\dfrac{-1}{2}$,$1$,$+\infty$}
{,-,$0$,+, ,-,}
{+/ $1$ , -/$\dfrac{-1}{3}$ , +V+/ $+\infty$ /$+\infty$ , -/$1$}
\end{tikzpicture}
\end{center}

On appelle (C) la courbe représentative de $f$ dans un repère Le plan est muni d'un repère orthonormé $(O;\vec{\imath};\vec{\jmath})$ (unités graphiques 2 cm sur chaque axe)
 
\vspace{6pt}
\textbf{Première partie}

En interprétant le tableau donné ci-dessus :%
 
 \begin{enumerate}
 \item  Préciser l'ensemble de définition de $f$.
 \item  Placer dans le repère $(O;\vec{\imath};\vec{\jmath})$  :
 \begin{enumerate}
 \item  l'asymptote horizontale (D);
 \item  l'asymptote verticale (D');
 \item  le point $A$ où la tangente à (C) est horizontale.
 \end{enumerate}
 \end{enumerate}

\textbf{Seconde partie}

On donne maintenant l'expression de $f$ :
\[
f(x)=1 + \dfrac{4}{(x-1)}    + \dfrac{3}{(x-1)^2}
\]
\begin{enumerate}
 \item Résoudre les équations $f(x)=0$ et $f(x)=1$.
 \item  Au moyen de votre calculatrice, remplir le tableau suivant
  ( recopier ce tableau sur votre copie).
\end{enumerate}
\begin{tikzpicture}
   \tkzTabInit[deltacl=1,espcl=1]{ $x$/1 , $f(x)$ /1}%
              {-1,,{-0,75},,{0,5},,2,,3,,4}%
   \tkzTabLine{,,,,,,,,,,,,,,,,,,,,}%
   \makeatletter
   \foreach \x in {1,...,5}
    \setcounter{tkz@cnt@pred}{\x}\addtocounter{tkz@cnt@pred}{\x}
    \draw (N\thetkz@cnt@pred 0.center) to (N\thetkz@cnt@pred 2.center);
\end{tikzpicture}
}


\begin{tkzexample}[code only,small]
On considère une fonction $f$ de la variable $x$, dont on donne le tableau de variations :

\begin{center}
\begin{tikzpicture}
\tkzTab[]%
{$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/2.5}
{$-\infty$,$\dfrac{-1}{2}$,$1$,$+\infty$}
{,-,$0$,+, ,-,}
{+/ $1$ , -/$\dfrac{-1}{3}$ , +V+/ $+\infty$ /$+\infty$ , -/$1$}
\end{tikzpicture}
\end{center}

 \vspace{6pt}
On appelle (C) la courbe représentative de $f$ dans un repère. Le plan est muni d'un repère%
 orthonormal  $(O;\vec{\imath};\vec{\jmath})$ (unités graphiques 2 cm sur chaque axe)%

\textbf{Première partie}

En interprétant le tableau donné ci-dessus :%
 
 \begin{enumerate}
 \item  Préciser l'ensemble de définition de $f$.
 \item  Placer dans le repère $(O;\vec{\imath};\vec{\jmath})$  :
 \begin{enumerate}
 \item  l'asymptote horizontale (D);
 \item  l'asymptote verticale (D');
 \item  le point $A$ où la tangente à (C) est horizontale.
 \end{enumerate}
 \end{enumerate}

\textbf{Seconde partie}

On donne maintenant l'expression de $f$ :
\[
f(x)=1 + \dfrac{4}{(x-1)}    + \dfrac{3}{(x-1)^2}
\]
\begin{enumerate}
 \item Résoudre les équations $f(x)=0$ et $f(x)=1$.
 \item  Au moyen de votre calculatrice, remplir le tableau suivant
  ( recopier ce tableau sur votre copie).
   \begin{tikzpicture}
   \tkzTabInit[deltacl=1,espcl=1]{ $x$/1,$f(x)$ /1}%
   {-1,,{-0,75},,{0,5},,2,,3,,4}%
   \tkzTabLine{,,,,,,,,,,,,,,,,,,,,}%
   \makeatletter
   \foreach \x in {1,...,5}
    \setcounter{tkz@cnt@pred}{\x}\addtocounter{tkz@cnt@pred}{\x}
    \draw (N\thetkz@cnt@pred 0.center) to (N\thetkz@cnt@pred 2.center);
    \end{tikzpicture}
\end{enumerate}

\vfill
\end{tkzexample}

\subsection{Exemple relatif à une question: problème de virgule}

Il suffit pour régler ce genre de problème d'utiliser le package numprint.
La macro |\np| permet d'afficher correctement $1,5$.
\begin{tkzexample}[code only, small]
\usepackage[french]{babel}
\usepackage[np]{numprint}
\end{tkzexample}

\begin{tkzexample}[vbox]
\begin{tikzpicture}[scale=1]
\tkzTabInit[lgt=6,espcl=7]
{$x$/0.75,
$x\np{-1.5}$/0.75}
{$-\infty$,$+\infty$}
\end{tikzpicture}
\end{tkzexample}

\subsection{Quelques tableaux classiques}

Tableau 1 (ln) :

\begin{tkzexample}[vbox,small]
  \begin{tikzpicture}
  \tkzTabInit[espcl=6]{$x$/1,$\ln'(x)$/1,$\ln(x)$/2}{$0$,$+\infty$}
  \tkzTabLine{d,+,}
  \tkzTabVar{D-/$-\infty$,+/$+\infty$,}
  \tkzTabVal{1}{2}{0.4}{1}{0}
  \tkzTabVal{1}{2}{0.67}{$\E$}{1}
  \end{tikzpicture}
\end{tkzexample}


\bigskip

Tableau 2 (racine) :

\begin{tkzexample}[vbox,small]
\begin{tikzpicture}
\tkzTabInit[lgt=3,espcl=6]{$x$/1,$f'(x)$/1,$f(x)=\sqrt{x}$/2}{$0$,$+\infty$}
\tkzTabLine{d,+,}
\tkzTabVar{-/0,+/$+\infty$,}
\end{tikzpicture}
\end{tkzexample}

\bigskip

Tableau 3 (inverse) :

\begin{tkzexample}[vbox,small]
\begin{tikzpicture}
\tkzTabInit[lgt=3,espcl=6]{$x$/1,$f'(x)=-\dfrac{1}{\ x^2}$/1,$f(x)=\dfrac{1}{x}$/2}{$-\infty$,$0$,$+\infty$}
\tkzTabLine{,-,d,-,}
\tkzTabVar{+/0,-D+/$-\infty$/$+\infty$,-/0}
\end{tikzpicture}
\end{tkzexample}

\bigskip

Tableau 4 (\(f(x)=\dfrac{x^2+4}{x}\)):
\begin{tkzexample}[vbox,small]		
\begin{tikzpicture}
\tkzTabInit[]{\(x$/1,$f'(x)\)/1,\(f(x)\)/2}{\(-\infty\),\(-2\),\(0\),2,\(+\infty\)}
\tkzTabLine{,+,z,-,d,-,z,+,}
\tkzTabVar{-/\(-\infty\),+/-4,-D+/$-\infty$/$+\infty$,-/4,+/\(+\infty\)}
\end{tikzpicture}
\end{tkzexample}

\bigskip


Tableau 5 (cos):
\begin{tkzexample}[vbox,small]
\begin{tikzpicture}
\tkzTabInit{$x$/1,$-\sin(x)$/1,$\cos(x)$/2}{$0$,$\pi$,$2\pi$}
\tkzTabLine{z,-,z,+,z}
\tkzTabVar{+/$1$,-/$-1$,+/$1$}
\tkzTabVal{1}{2}{0.5}{$\dfrac{\pi}{2}$}{0}
\tkzTabVal{2}{3}{0.5}{$\dfrac{3\pi}{2}$}{0}
\end{tikzpicture}
\end{tkzexample}

\subsection{Utilisation de la macro \tkzcname{par}}

Et bien c'est impossible. La meilleure solution est d'utiliser la macro |\parbox| sinon l'emploi de |\endgraf| définit par |\let\endgraf=\par| peut faire l'affaire.

\begin{tkzexample}[width=7cm,small]
  \begin{tikzpicture}
  \tkzTabInit {$x$ / 1 ,$f(x)$ /1}%
  {$0$,$1$}
  \tkzTabLine{,\parbox{3cm}{$u(x)$\\ $v(x)$},}
  \end{tikzpicture}
\end{tkzexample}

\subsection{Exemple utiisant l'option help}

\begin{tkzexample}[vbox,small]
  \begin{tikzpicture}
  \tkzTabInit[color, colorT = red!20, colorC = yellow!20,
   colorL = cyan!40,  colorV = lightgray!20, espcl=3,help]
        {$x$ /1, $f''$ /1,$f'$ /2,  $f$ /2}
        {$-\infty$ , $0$ ,$+\infty$}
  \tkzTabLine{, - , z , + ,}
  \tkzTabVar{+/$+\infty$ , -/$-2$ , +/$+\infty$}
  \tkzTabVal[draw]{1}{2}{.6}{$x_1$}{$0$}
  \tkzTabVal[draw]{2}{3}{.4}{$x_2$}{$0$}
  \end{tikzpicture}
\end{tkzexample}


\begin{tkzexample}[vbox,small]
  \begin{tikzpicture}
  \tikzset{arrow style/.style   = {black,
  >->           = latex’,thick ,
  shorten >   =  5pt,
  shorten <   =  5pt}}
  \tkzTabInit[color, colorT = red!20, colorC = yellow!20,
   colorL = cyan!40,  colorV = lightgray!20, espcl=3]
        {$x$ /1, $f''$ /1,$f'$ /2,  $f$ /2}
        {$-\infty$ , $0$ ,$+\infty$}
  \tkzTabLine{, - , z , + ,}
  \tkzTabVar{+/$+\infty$ , -/$-2$ , +/$+\infty$}
  \tkzTabVal[draw]{1}{2}{.6}{$x_1$}{$0$}
  \tkzTabVal[draw]{2}{3}{.4}{$x_2$}{$0$}
  \begin{scope}[>->,line width=1pt,>=stealth]
  \path (N13) -- (N23) node[midway,below=6pt](N){};
  \draw ([above=6pt]N14) to [bend left=45] ([left=1pt]N);
  \draw ([right=3pt]N) to [bend left=45] ([above=6pt]N24)  ;
  \draw ([above right=6pt]N24)to [bend right=40] ([below left=6pt]N33);
  \end{scope}
  \end{tikzpicture}
\end{tkzexample}

\subsection{Exemple modifiant la largeur d'une colonne}
Cette modification n'est pas prévue. Une astuce consiste à intoduire des colonnes vides.

\begin{tkzexample}[vbox,small]
  \begin{tikzpicture}
      \tikzset{t style/.style = {style = densely dashed}} 
      \tkzTabInit[lgt=4, espcl = 1.2, lw = 0.5pt, deltacl=0]
      { / 0.7 , $x(x^2-5x+4)$ / 1}{ ,$0$, $1$, , $4$,}
      \tkzTabLine{,-,t,+,t,,-,,t, +,}
      \draw[fill=black] (N21) circle(2pt);
      \draw[fill=black] (N31) circle(2pt);
      \draw[fill=black] (N51) circle(2pt);
      \draw[->=stealth, line width=1.5pt] (N11) -> (N61.east) node[right=2pt] {$x$};
  \end{tikzpicture}
\end{tkzexample}

\endinput