| 1 |
\section{Galerie} |
| 2 |
\subsection{Tableaux de signes} |
| 3 |
L'exemple suivant provient de la documentation de l'excellent \tkzname{tablor.sty}. |
| 4 |
|
| 5 |
|
| 6 |
\medskip |
| 7 |
|
| 8 |
|
| 9 |
\begin{tkzexample}[vbox,small] |
| 10 |
\begin{tikzpicture} |
| 11 |
\tkzTabInit[lgt=3] |
| 12 |
{$x$ /1, |
| 13 |
Signe de\\ $-2+3$ /1.5, |
| 14 |
Signe de\\ $-x+5$ /1.5, |
| 15 |
Signe de\\ $(-2x+3)(-x+5)$ /1.5 }% |
| 16 |
{$-\infty$,$\dfrac{3}{2}$,$5$,$+\infty$}% |
| 17 |
\tkzTabLine { ,+,z,-,t,-, } |
| 18 |
\tkzTabLine { ,+,t,+,z,-, } |
| 19 |
\tkzTabLine { ,+,z,-,z,+, } |
| 20 |
\end{tikzpicture} |
| 21 |
\end{tkzexample} |
| 22 |
|
| 23 |
|
| 24 |
\subsection{Variations de fonctions} |
| 25 |
\subsubsection{Variation d'une fonction rationnelle} |
| 26 |
|
| 27 |
Cet exemple a été cité dans la documentation du package \tkzname{tabvar} |
| 28 |
|
| 29 |
Étude de la fonction $f~:~ x \longmapsto \frac{x^3+2}{2x}$ sur $]-\infty~;~+\infty[$ |
| 30 |
|
| 31 |
\begin{tkzexample}[vbox,small] |
| 32 |
\begin{tikzpicture} |
| 33 |
\tkzTabInit[] |
| 34 |
{$x$ /1, $f'(x)$ /1,$f$ /3} |
| 35 |
{$-\infty$ , $0$ , $1$ , $+\infty$} |
| 36 |
\tkzTabLine{,-,d,-,z,+,} |
| 37 |
\tkzTabVar{+/$+\infty$ ,-D+/$-\infty$ / $+\infty$ ,-/$\frac{3}{2}$, +/$+\infty$} |
| 38 |
\tkzTabVal{1}{2}{0.4}{$ -\sqrt[3]{2}$}{$0$} |
| 39 |
\end{tikzpicture} |
| 40 |
\end{tkzexample} |
| 41 |
|
| 42 |
|
| 43 |
\subsubsection{Variation d'une fonction irrationnelle} |
| 44 |
|
| 45 |
Autre exemple cité dans la documentation du package \tkzname{tabvar} |
| 46 |
|
| 47 |
Étude de la fonction $f~:~ x \longmapsto \sqrt{\frac{x-1}{x+1}}$ sur $]-\infty~;~-1[\cup ]1~;~+\infty[$ |
| 48 |
|
| 49 |
\begin{tkzexample}[vbox,small] |
| 50 |
\begin{tikzpicture} |
| 51 |
\tkzTabInit[] |
| 52 |
{$x$ /1, $f'(x)$ /1,$f$ /3} |
| 53 |
{$-\infty$ , $-1$ , $1$ , $+\infty$} |
| 54 |
\tkzTabLine{,+,d,h,d,+, } |
| 55 |
\tkzTabSlope{ 3/ /+\infty} |
| 56 |
\tkzTabVar{-/$1$ ,+DH/$+\infty$ ,-/$0$, +/$1$} |
| 57 |
\end{tikzpicture} |
| 58 |
\end{tkzexample} |
| 59 |
|
| 60 |
Un prolongement par continuité pourrait être : $f(x)=0$ sur $[-1~;~1]$ alors le tableau deviendrait |
| 61 |
|
| 62 |
\begin{tkzexample}[vbox,small] |
| 63 |
\begin{tikzpicture} |
| 64 |
\tkzTabInit[] |
| 65 |
{$x$ /1, $f'(x)$ /1,$f$ /3} |
| 66 |
{$-\infty$ , $-1$ , $1$ , $+\infty$} |
| 67 |
\tkzTabLine{,+,d,0,d,+, } |
| 68 |
\tkzTabSlope{ 3/ /+\infty} |
| 69 |
\tkzTabVar{-/$1$ ,+D-/$+\infty$/$0$ ,-/$0$, +/$1$} |
| 70 |
\end{tikzpicture} |
| 71 |
\end{tkzexample} |
| 72 |
|
| 73 |
|
| 74 |
\subsection{Fonctions trigonométriques} |
| 75 |
\NameFonct{Fonctions trigonométriques} |
| 76 |
\subsubsection{Variation de la fonction tangente} |
| 77 |
\NameFonct{Fonction tangente} |
| 78 |
Étude de la fonction $f~:~ x \longmapsto \tan{x}$ sur $[0~;\pi]$ |
| 79 |
|
| 80 |
\begin{tkzexample}[vbox] |
| 81 |
\begin{tikzpicture} |
| 82 |
\tkzTabInit[espcl=6]{$x$ / 1,Signe de\\f'(x)/1, Variations de\\ $f$ / 3}% |
| 83 |
{$0$ ,$\frac{\pi}{2}$ , $\pi$}% |
| 84 |
\tkzTabLine{ ,+,d,+, } |
| 85 |
\tkzTabVar{-/$0$ , +D-/$+\infty$/$-\infty$ , +/$0$ } |
| 86 |
\tkzTabVal{1}{2}{0.5}{$\frac{\pi}{4}$}{$1$} |
| 87 |
\tkzTabVal{2}{3}{0.5}{$\frac{3\pi}{4}$}{$1$} |
| 88 |
\end{tikzpicture} |
| 89 |
\end{tkzexample} |
| 90 |
|
| 91 |
\subsubsection{Variation de la fonction cosinus} |
| 92 |
\NameFonct{Fonction cosinus} |
| 93 |
Étude de la fonction $f~:~ x \longmapsto \cos{x}$ sur $[-\pi~;~+\pi]$ |
| 94 |
|
| 95 |
\begin{tkzexample}[vbox] |
| 96 |
\begin{tikzpicture} |
| 97 |
\tkzTabInit[espcl=6]{$x$ / 1,Signe de\\f'(x)/1, Variations de\\ $f$ / 3}% |
| 98 |
{$0$ , $\pi$}% |
| 99 |
\tkzTabLine{ , + , } |
| 100 |
\tkzTabVar{+/$1$ , -/$-1$ } |
| 101 |
\tkzTabVal{1}{2}{0.5}{$\frac{\pi}{2}$}{$0$} |
| 102 |
\end{tikzpicture} |
| 103 |
\end{tkzexample} |
| 104 |
|
| 105 |
\subsection{Fonctions paramétrées et trigonométriques} |
| 106 |
\NameFonct{Fonctions paramétrées} \NameFonct{Fonctions trigonométriques} |
| 107 |
|
| 108 |
Étude sur $\left[0~;~\frac{\pi}{2}\right]$ |
| 109 |
\begin{equation*} |
| 110 |
\left\{% |
| 111 |
\begin{array}{l} |
| 112 |
x(t) = \cos(3t)\\ |
| 113 |
y(t) = \sin(4t) |
| 114 |
\end{array}\right. |
| 115 |
\end{equation*} |
| 116 |
|
| 117 |
\begin{tkzexample}[vbox,small] |
| 118 |
\begin{tikzpicture} |
| 119 |
\tkzTabInit[ lgt=3 , espcl=3]% |
| 120 |
{$t$ /1, |
| 121 |
Signe de\\ $x'(t)$ /1.5, |
| 122 |
Variations de\\ $x$ /3, |
| 123 |
Variations de\\ $y$ /3, |
| 124 |
Signe de\\ $y'(t)$ /1.5} |
| 125 |
{$0$ , $\frac{\pi}{8}$ , $\frac{\pi}{3}$ , |
| 126 |
$\frac{3\pi}{8}$ , $\frac{\pi}{2}$ }% |
| 127 |
\tkzTabLine {z , - ,-3\sin\left(\frac{3\pi}{8}\right) , - , z , + ,% |
| 128 |
3\sin\left(\frac{\pi}{8}\right),+,3} |
| 129 |
\tkzTabVar { +/$1$ , R/ , -/$-1$/ , R/ , +/$0$ } |
| 130 |
\tkzTabIma{1}{3}{2}{$\cos\left(\frac{3\pi}{8}\right)$} |
| 131 |
\tkzTabIma{3}{5}{4}{$-\cos\left(\frac{\pi}{8}\right)$} |
| 132 |
\tkzTabVar { -/$0$ , +/$1$ , R/ , -/$-1$ , +/$0$ } |
| 133 |
\tkzTabIma{2}{4}{3}{$\frac{-\sqrt{3}}{2}$} |
| 134 |
\tkzTabLine {4 , + , z , - , -2 , - , z ,+,4} |
| 135 |
\end{tikzpicture} |
| 136 |
\end{tkzexample} |
| 137 |
|
| 138 |
|
| 139 |
\subsection{Baccalauréat Asie ES 1998} |
| 140 |
\index{Baccalauréat} |
| 141 |
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. |
| 142 |
|
| 143 |
Soit $f$ la fonction de variable réelle $x$, définie sur $\mathbf{R}$ par : |
| 144 |
\[ |
| 145 |
f(x)=\E^x(\E^x+a)+b |
| 146 |
\] |
| 147 |
où $a$ et $b$ sont deux constantes réelles. |
| 148 |
|
| 149 |
Les renseignements connus sur $f$ sont donnés dans le tableau de variation ci-dessous. |
| 150 |
|
| 151 |
\medskip |
| 152 |
\begin{center} |
| 153 |
\begin{tikzpicture} |
| 154 |
\tkzTab[lgt=3,espcl=4]{$x$/1,Signe de $f'(x)$ /1,Variations de $f$ /2}% |
| 155 |
{$-\infty$,$0$,$+\infty$}% |
| 156 |
{,, z ,,}% |
| 157 |
{+/ $-3$ , |
| 158 |
-/ , |
| 159 |
+/ } |
| 160 |
\end{tikzpicture} |
| 161 |
\end{center} |
| 162 |
|
| 163 |
\medskip |
| 164 |
\begin{enumerate} |
| 165 |
\item Calculer $f'(x)$ en fonction de $a$ ($f'$ désigne la fonction dérivée de $f$). |
| 166 |
\item \begin{enumerate} |
| 167 |
\item déterminer $a$ et $b$ en vous aidant des informations contenues dans le |
| 168 |
tableau ci-dessus. |
| 169 |
\item Calculer $f(0)$ et calculer la limite de $f$ en $+\infty$. |
| 170 |
\item Compléter, après l'avoir reproduit, le tableau de variations de $f$. |
| 171 |
\end{enumerate} |
| 172 |
\item Résoudre dans $\mathbf{R}$ l'équation |
| 173 |
\[ |
| 174 |
\E^x(\E^x-2)-3=0 |
| 175 |
\] |
| 176 |
(on pourra pose $X=\E^x$). |
| 177 |
\item Résoudre dans $\mathbf{R}$ les inéquations : |
| 178 |
\[ |
| 179 |
\E^x(\E^x-2)-3\geq -4 |
| 180 |
\] |
| 181 |
\[ |
| 182 |
\E^x(\E^x-2)-3 \leq 0 |
| 183 |
\] |
| 184 |
(On utilisera le tableau de variations donné ci-dessus et en particulier les |
| 185 |
informations obtenues en 2.b) |
| 186 |
\end{enumerate} |
| 187 |
|
| 188 |
\begin{tkzexample}[code only,small] |
| 189 |
Soit $f$ la fonction de variable réelle $x$, définie sur $\mathbf{R}$ par : |
| 190 |
\[ |
| 191 |
f(x)=\E^x(\E^x+a)+b |
| 192 |
\] |
| 193 |
où $a$ et $b$ sont deux constantes réelles. |
| 194 |
|
| 195 |
Les renseignements connus sur $f$ sont donnés dans le tableau de variation ci-dessous. |
| 196 |
|
| 197 |
\medskip |
| 198 |
\begin{center} |
| 199 |
\begin{tikzpicture} |
| 200 |
\tkzTab[lgt=3,espcl=4]{$x$/1,Signe de $f'(x)$ /1,Variations de $f$ /2}% |
| 201 |
{$-\infty$,$0$,$+\infty$}% |
| 202 |
{,, z ,,}% |
| 203 |
{+/ $-3$ , |
| 204 |
-/ , |
| 205 |
+/ } |
| 206 |
\end{tikzpicture} |
| 207 |
\end{center} |
| 208 |
|
| 209 |
\medskip |
| 210 |
\begin{enumerate} |
| 211 |
\item Calculer $f'(x)$ en fonction de $a$ ($f'$ désigne la fonction dérivée de $f$). |
| 212 |
\item \begin{enumerate} |
| 213 |
\item déterminer $a$ et $b$ en vous aidant des informations contenues dans le |
| 214 |
tableau ci-dessus. |
| 215 |
\item Calculer $f(0)$ et calculer la limite de $f$ en $+\infty$. |
| 216 |
\item Compléter, après l'avoir reproduit, le tableau de variations de $f$. |
| 217 |
\end{enumerate} |
| 218 |
\item Résoudre dans $\mathbf{R}$ l'équation |
| 219 |
\[ |
| 220 |
\E^x(\E^x-2)-3=0 |
| 221 |
\] |
| 222 |
(on pourra pose $X=\E^x$). |
| 223 |
\item Résoudre dans $\mathbf{R}$ les inéquations : |
| 224 |
\[ |
| 225 |
\E^x(\E^x-2)-3\geq -4 |
| 226 |
\] |
| 227 |
\[ |
| 228 |
\E^x(\E^x-2)-3 \leq 0 |
| 229 |
\] |
| 230 |
(On utilisera le tableau de variations donné ci-dessus et en particulier les |
| 231 |
informations obtenues en 2.b) |
| 232 |
\end{enumerate} |
| 233 |
\end{tkzexample} |
| 234 |
|
| 235 |
|
| 236 |
\subsection{Baccalauréat} |
| 237 |
\index{Baccalauréat} |
| 238 |
On considère la fonction $f$ définie sur $]-\infty~;~0[$ : |
| 239 |
|
| 240 |
\[ |
| 241 |
f(x)=ax+b+\ln(-2x) |
| 242 |
\] |
| 243 |
où $a$ et $b$ sont deux réels donnés. |
| 244 |
|
| 245 |
\begin{enumerate} |
| 246 |
\item Calculer $f'(x)$ en fonction de $a$ et $b$. |
| 247 |
\item Le tableau ci-dessous représente les variations d'une fonction particulière $f$. |
| 248 |
|
| 249 |
\medskip |
| 250 |
\begin{center} |
| 251 |
\begin{tikzpicture} |
| 252 |
\tkzTab[]% |
| 253 |
{$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/1.5}% |
| 254 |
{$-\infty$,$\dfrac{-1}{2}$,$0$}% |
| 255 |
{,+,$0$,-,}% |
| 256 |
{-//, |
| 257 |
+/$2$/, |
| 258 |
-//} |
| 259 |
\end{tikzpicture} |
| 260 |
\end{center} |
| 261 |
|
| 262 |
\medskip |
| 263 |
\begin{enumerate} |
| 264 |
\item En utilisant les données du tableau déterminer les valeurs $a$ et $b$ qui caractérisent |
| 265 |
cette fonction. |
| 266 |
\item Pour cette fonction particulière $f$, déterminer |
| 267 |
$\displaystyle \lim_{x \xrightarrow[x<0]{} 0} f(x)$. |
| 268 |
\item Montrer que, dans l'intervalle $\Big[\dfrac{-1}{2}~;~0,01\Big]$, l'équation $f(x)=0$ |
| 269 |
admet une solution unique. En donner une valeur approchée à $10^{-3}$ près. |
| 270 |
\end{enumerate} |
| 271 |
\end{enumerate} |
| 272 |
|
| 273 |
\begin{tkzexample}[small,code only] |
| 274 |
On considère la fonction $f$ définie sur $]-\infty~;~0[$ : |
| 275 |
|
| 276 |
\[ |
| 277 |
f(x)=ax+b+\ln(-2x) |
| 278 |
\] |
| 279 |
où $a$ et $b$ sont deux réels donnés. |
| 280 |
|
| 281 |
\begin{enumerate} |
| 282 |
\item Calculer $f'(x)$ en fonction de $a$ et $b$. |
| 283 |
\item Le tableau ci-dessous représente les variations d'une fonction particulière $f$. |
| 284 |
|
| 285 |
\medskip |
| 286 |
\begin{center} |
| 287 |
\begin{tikzpicture} |
| 288 |
\tkzTab[]% |
| 289 |
{$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/1.5}% |
| 290 |
{$-\infty$,$\dfrac{-1}{2}$,$0$}% |
| 291 |
{,+,$0$,-,}% |
| 292 |
{-//, |
| 293 |
+/$2$/, |
| 294 |
-//} |
| 295 |
\end{tikzpicture} |
| 296 |
\end{center} |
| 297 |
|
| 298 |
\medskip |
| 299 |
\begin{enumerate} |
| 300 |
\item En utilisant les données du tableau déterminer les valeurs $a$ et $b$ qui caractérisent |
| 301 |
cette fonction. |
| 302 |
\item Pour cette fonction particulière $f$, déterminer |
| 303 |
$\displaystyle \lim_{x \xrightarrow[x<0]{} 0} f(x)$. |
| 304 |
\item Montrer que, dans l'intervalle $\Big[\dfrac{-1}{2}~;~0,01\Big]$, l'équation $f(x)=0$ |
| 305 |
admet une solution unique. En donner une valeur approchée à $10^{-3}$ près. |
| 306 |
\end{enumerate} |
| 307 |
\end{enumerate} |
| 308 |
\end{tkzexample} |
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
\subsection{Baccalauréat Guyane ES 1998 } |
| 313 |
\index{Baccalauréat} |
| 314 |
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). |
| 315 |
|
| 316 |
\textbf{Le sujet :} |
| 317 |
|
| 318 |
{\parindent=0pt |
| 319 |
On considère une fonction $f$ de la variable $x$, dont on donne le tableau de variations : |
| 320 |
|
| 321 |
\begin{center} |
| 322 |
\begin{tikzpicture} |
| 323 |
\tkzTab[lgt=3]% |
| 324 |
{$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/2.5} |
| 325 |
{$-\infty$,$\dfrac{-1}{2}$,$1$,$+\infty$} |
| 326 |
{,-,$0$,+, ,-,} |
| 327 |
{+/ $1$ , -/$\dfrac{-1}{3}$ , +V+/ $+\infty$ /$+\infty$ , -/$1$} |
| 328 |
\end{tikzpicture} |
| 329 |
\end{center} |
| 330 |
|
| 331 |
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) |
| 332 |
|
| 333 |
\vspace{6pt} |
| 334 |
\textbf{Première partie} |
| 335 |
|
| 336 |
En interprétant le tableau donné ci-dessus :% |
| 337 |
|
| 338 |
\begin{enumerate} |
| 339 |
\item Préciser l'ensemble de définition de $f$. |
| 340 |
\item Placer dans le repère $(O;\vec{\imath};\vec{\jmath})$ : |
| 341 |
\begin{enumerate} |
| 342 |
\item l'asymptote horizontale (D); |
| 343 |
\item l'asymptote verticale (D'); |
| 344 |
\item le point $A$ où la tangente à (C) est horizontale. |
| 345 |
\end{enumerate} |
| 346 |
\end{enumerate} |
| 347 |
|
| 348 |
\textbf{Seconde partie} |
| 349 |
|
| 350 |
On donne maintenant l'expression de $f$ : |
| 351 |
\[ |
| 352 |
f(x)=1 + \dfrac{4}{(x-1)} + \dfrac{3}{(x-1)^2} |
| 353 |
\] |
| 354 |
\begin{enumerate} |
| 355 |
\item Résoudre les équations $f(x)=0$ et $f(x)=1$. |
| 356 |
\item Au moyen de votre calculatrice, remplir le tableau suivant |
| 357 |
( recopier ce tableau sur votre copie). |
| 358 |
\end{enumerate} |
| 359 |
\begin{tikzpicture} |
| 360 |
\tkzTabInit[deltacl=1,espcl=1]{ $x$/1 , $f(x)$ /1}% |
| 361 |
{-1,,{-0,75},,{0,5},,2,,3,,4}% |
| 362 |
\tkzTabLine{,,,,,,,,,,,,,,,,,,,,}% |
| 363 |
\makeatletter |
| 364 |
\foreach \x in {1,...,5} |
| 365 |
\setcounter{tkz@cnt@pred}{\x}\addtocounter{tkz@cnt@pred}{\x} |
| 366 |
\draw (N\thetkz@cnt@pred 0.center) to (N\thetkz@cnt@pred 2.center); |
| 367 |
\end{tikzpicture} |
| 368 |
} |
| 369 |
|
| 370 |
|
| 371 |
\begin{tkzexample}[code only,small] |
| 372 |
On considère une fonction $f$ de la variable $x$, dont on donne le tableau de variations : |
| 373 |
|
| 374 |
\begin{center} |
| 375 |
\begin{tikzpicture} |
| 376 |
\tkzTab[]% |
| 377 |
{$x$/1.25,Signe de\\ $f'(x)$/1.5, Variations\\ de $f$/2.5} |
| 378 |
{$-\infty$,$\dfrac{-1}{2}$,$1$,$+\infty$} |
| 379 |
{,-,$0$,+, ,-,} |
| 380 |
{+/ $1$ , -/$\dfrac{-1}{3}$ , +V+/ $+\infty$ /$+\infty$ , -/$1$} |
| 381 |
\end{tikzpicture} |
| 382 |
\end{center} |
| 383 |
|
| 384 |
\vspace{6pt} |
| 385 |
On appelle (C) la courbe représentative de $f$ dans un repère. Le plan est muni d'un repère% |
| 386 |
orthonormal $(O;\vec{\imath};\vec{\jmath})$ (unités graphiques 2 cm sur chaque axe)% |
| 387 |
|
| 388 |
\textbf{Première partie} |
| 389 |
|
| 390 |
En interprétant le tableau donné ci-dessus :% |
| 391 |
|
| 392 |
\begin{enumerate} |
| 393 |
\item Préciser l'ensemble de définition de $f$. |
| 394 |
\item Placer dans le repère $(O;\vec{\imath};\vec{\jmath})$ : |
| 395 |
\begin{enumerate} |
| 396 |
\item l'asymptote horizontale (D); |
| 397 |
\item l'asymptote verticale (D'); |
| 398 |
\item le point $A$ où la tangente à (C) est horizontale. |
| 399 |
\end{enumerate} |
| 400 |
\end{enumerate} |
| 401 |
|
| 402 |
\textbf{Seconde partie} |
| 403 |
|
| 404 |
On donne maintenant l'expression de $f$ : |
| 405 |
\[ |
| 406 |
f(x)=1 + \dfrac{4}{(x-1)} + \dfrac{3}{(x-1)^2} |
| 407 |
\] |
| 408 |
\begin{enumerate} |
| 409 |
\item Résoudre les équations $f(x)=0$ et $f(x)=1$. |
| 410 |
\item Au moyen de votre calculatrice, remplir le tableau suivant |
| 411 |
( recopier ce tableau sur votre copie). |
| 412 |
\begin{tikzpicture} |
| 413 |
\tkzTabInit[deltacl=1,espcl=1]{ $x$/1,$f(x)$ /1}% |
| 414 |
{-1,,{-0,75},,{0,5},,2,,3,,4}% |
| 415 |
\tkzTabLine{,,,,,,,,,,,,,,,,,,,,}% |
| 416 |
\makeatletter |
| 417 |
\foreach \x in {1,...,5} |
| 418 |
\setcounter{tkz@cnt@pred}{\x}\addtocounter{tkz@cnt@pred}{\x} |
| 419 |
\draw (N\thetkz@cnt@pred 0.center) to (N\thetkz@cnt@pred 2.center); |
| 420 |
\end{tikzpicture} |
| 421 |
\end{enumerate} |
| 422 |
|
| 423 |
\vfill |
| 424 |
\end{tkzexample} |
| 425 |
|
| 426 |
\subsection{Exemple relatif à une question: problème de virgule} |
| 427 |
|
| 428 |
Il suffit pour régler ce genre de problème d'utiliser le package numprint. |
| 429 |
La macro |\np| permet d'afficher correctement $1,5$. |
| 430 |
\begin{tkzexample}[code only, small] |
| 431 |
\usepackage[french]{babel} |
| 432 |
\usepackage[np]{numprint} |
| 433 |
\end{tkzexample} |
| 434 |
|
| 435 |
\begin{tkzexample}[vbox] |
| 436 |
\begin{tikzpicture}[scale=1] |
| 437 |
\tkzTabInit[lgt=6,espcl=7] |
| 438 |
{$x$/0.75, |
| 439 |
$x\np{-1.5}$/0.75} |
| 440 |
{$-\infty$,$+\infty$} |
| 441 |
\end{tikzpicture} |
| 442 |
\end{tkzexample} |
| 443 |
|
| 444 |
\subsection{Quelques tableaux classiques} |
| 445 |
|
| 446 |
Tableau 1 (ln) : |
| 447 |
|
| 448 |
\begin{tkzexample}[vbox,small] |
| 449 |
\begin{tikzpicture} |
| 450 |
\tkzTabInit[espcl=6]{$x$/1,$\ln'(x)$/1,$\ln(x)$/2}{$0$,$+\infty$} |
| 451 |
\tkzTabLine{d,+,} |
| 452 |
\tkzTabVar{D-/$-\infty$,+/$+\infty$,} |
| 453 |
\tkzTabVal{1}{2}{0.4}{1}{0} |
| 454 |
\tkzTabVal{1}{2}{0.67}{$\E$}{1} |
| 455 |
\end{tikzpicture} |
| 456 |
\end{tkzexample} |
| 457 |
|
| 458 |
|
| 459 |
\bigskip |
| 460 |
|
| 461 |
Tableau 2 (racine) : |
| 462 |
|
| 463 |
\begin{tkzexample}[vbox,small] |
| 464 |
\begin{tikzpicture} |
| 465 |
\tkzTabInit[lgt=3,espcl=6]{$x$/1,$f'(x)$/1,$f(x)=\sqrt{x}$/2}{$0$,$+\infty$} |
| 466 |
\tkzTabLine{d,+,} |
| 467 |
\tkzTabVar{-/0,+/$+\infty$,} |
| 468 |
\end{tikzpicture} |
| 469 |
\end{tkzexample} |
| 470 |
|
| 471 |
\bigskip |
| 472 |
|
| 473 |
Tableau 3 (inverse) : |
| 474 |
|
| 475 |
\begin{tkzexample}[vbox,small] |
| 476 |
\begin{tikzpicture} |
| 477 |
\tkzTabInit[lgt=3,espcl=6]{$x$/1,$f'(x)=-\dfrac{1}{\ x^2}$/1,$f(x)=\dfrac{1}{x}$/2}{$-\infty$,$0$,$+\infty$} |
| 478 |
\tkzTabLine{,-,d,-,} |
| 479 |
\tkzTabVar{+/0,-D+/$-\infty$/$+\infty$,-/0} |
| 480 |
\end{tikzpicture} |
| 481 |
\end{tkzexample} |
| 482 |
|
| 483 |
\bigskip |
| 484 |
|
| 485 |
Tableau 4 (\(f(x)=\dfrac{x^2+4}{x}\)): |
| 486 |
\begin{tkzexample}[vbox,small] |
| 487 |
\begin{tikzpicture} |
| 488 |
\tkzTabInit[]{\(x$/1,$f'(x)\)/1,\(f(x)\)/2}{\(-\infty\),\(-2\),\(0\),2,\(+\infty\)} |
| 489 |
\tkzTabLine{,+,z,-,d,-,z,+,} |
| 490 |
\tkzTabVar{-/\(-\infty\),+/-4,-D+/$-\infty$/$+\infty$,-/4,+/\(+\infty\)} |
| 491 |
\end{tikzpicture} |
| 492 |
\end{tkzexample} |
| 493 |
|
| 494 |
\bigskip |
| 495 |
|
| 496 |
|
| 497 |
Tableau 5 (cos): |
| 498 |
\begin{tkzexample}[vbox,small] |
| 499 |
\begin{tikzpicture} |
| 500 |
\tkzTabInit{$x$/1,$-\sin(x)$/1,$\cos(x)$/2}{$0$,$\pi$,$2\pi$} |
| 501 |
\tkzTabLine{z,-,z,+,z} |
| 502 |
\tkzTabVar{+/$1$,-/$-1$,+/$1$} |
| 503 |
\tkzTabVal{1}{2}{0.5}{$\dfrac{\pi}{2}$}{0} |
| 504 |
\tkzTabVal{2}{3}{0.5}{$\dfrac{3\pi}{2}$}{0} |
| 505 |
\end{tikzpicture} |
| 506 |
\end{tkzexample} |
| 507 |
|
| 508 |
\subsection{Utilisation de la macro \tkzcname{par}} |
| 509 |
|
| 510 |
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. |
| 511 |
|
| 512 |
\begin{tkzexample}[width=7cm,small] |
| 513 |
\begin{tikzpicture} |
| 514 |
\tkzTabInit {$x$ / 1 ,$f(x)$ /1}% |
| 515 |
{$0$,$1$} |
| 516 |
\tkzTabLine{,\parbox{3cm}{$u(x)$\\ $v(x)$},} |
| 517 |
\end{tikzpicture} |
| 518 |
\end{tkzexample} |
| 519 |
|
| 520 |
\subsection{Exemple utiisant l'option help} |
| 521 |
|
| 522 |
\begin{tkzexample}[vbox,small] |
| 523 |
\begin{tikzpicture} |
| 524 |
\tkzTabInit[color, colorT = red!20, colorC = yellow!20, |
| 525 |
colorL = cyan!40, colorV = lightgray!20, espcl=3,help] |
| 526 |
{$x$ /1, $f''$ /1,$f'$ /2, $f$ /2} |
| 527 |
{$-\infty$ , $0$ ,$+\infty$} |
| 528 |
\tkzTabLine{, - , z , + ,} |
| 529 |
\tkzTabVar{+/$+\infty$ , -/$-2$ , +/$+\infty$} |
| 530 |
\tkzTabVal[draw]{1}{2}{.6}{$x_1$}{$0$} |
| 531 |
\tkzTabVal[draw]{2}{3}{.4}{$x_2$}{$0$} |
| 532 |
\end{tikzpicture} |
| 533 |
\end{tkzexample} |
| 534 |
|
| 535 |
|
| 536 |
\begin{tkzexample}[vbox,small] |
| 537 |
\begin{tikzpicture} |
| 538 |
\tikzset{arrow style/.style = {black, |
| 539 |
>-> = latex’,thick , |
| 540 |
shorten > = 5pt, |
| 541 |
shorten < = 5pt}} |
| 542 |
\tkzTabInit[color, colorT = red!20, colorC = yellow!20, |
| 543 |
colorL = cyan!40, colorV = lightgray!20, espcl=3] |
| 544 |
{$x$ /1, $f''$ /1,$f'$ /2, $f$ /2} |
| 545 |
{$-\infty$ , $0$ ,$+\infty$} |
| 546 |
\tkzTabLine{, - , z , + ,} |
| 547 |
\tkzTabVar{+/$+\infty$ , -/$-2$ , +/$+\infty$} |
| 548 |
\tkzTabVal[draw]{1}{2}{.6}{$x_1$}{$0$} |
| 549 |
\tkzTabVal[draw]{2}{3}{.4}{$x_2$}{$0$} |
| 550 |
\begin{scope}[>->,line width=1pt,>=stealth] |
| 551 |
\path (N13) -- (N23) node[midway,below=6pt](N){}; |
| 552 |
\draw ([above=6pt]N14) to [bend left=45] ([left=1pt]N); |
| 553 |
\draw ([right=3pt]N) to [bend left=45] ([above=6pt]N24) ; |
| 554 |
\draw ([above right=6pt]N24)to [bend right=40] ([below left=6pt]N33); |
| 555 |
\end{scope} |
| 556 |
\end{tikzpicture} |
| 557 |
\end{tkzexample} |
| 558 |
|
| 559 |
\subsection{Exemple modifiant la largeur d'une colonne} |
| 560 |
Cette modification n'est pas prévue. Une astuce consiste à intoduire des colonnes vides. |
| 561 |
|
| 562 |
\begin{tkzexample}[vbox,small] |
| 563 |
\begin{tikzpicture} |
| 564 |
\tikzset{t style/.style = {style = densely dashed}} |
| 565 |
\tkzTabInit[lgt=4, espcl = 1.2, lw = 0.5pt, deltacl=0] |
| 566 |
{ / 0.7 , $x(x^2-5x+4)$ / 1}{ ,$0$, $1$, , $4$,} |
| 567 |
\tkzTabLine{,-,t,+,t,,-,,t, +,} |
| 568 |
\draw[fill=black] (N21) circle(2pt); |
| 569 |
\draw[fill=black] (N31) circle(2pt); |
| 570 |
\draw[fill=black] (N51) circle(2pt); |
| 571 |
\draw[->=stealth, line width=1.5pt] (N11) -> (N61.east) node[right=2pt] {$x$}; |
| 572 |
\end{tikzpicture} |
| 573 |
\end{tkzexample} |
| 574 |
|
| 575 |
\endinput |