\documentclass[a4paper,20pt,french]{article}
\linespread{1}

\title{Chapitre 3 : Second degr\'e et fonction polyn\^ome}
\author{D. Zancanaro \and C. Aup\'erin}
\date{2009-2010}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%		Packages

\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
%\geometry{verbose,letterpaper,tmargin=2.8cm,bmargin=1cm,lmargin=2cm,rmargin=2.5cm}
\usepackage{framed}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pstricks}
\usepackage{pst-tree}
\usepackage{pst-plot}
\usepackage{amsxtra,amssymb,amsthm,amsmath,amscd}
\usepackage[T1]{fontenc}
\usepackage{multicol}
\usepackage{pstricks,pst-plot,pst-text,pst-tree,pst-eps,pst-fill,pst-node,pst-math,pst-eucl}
\usepackage{fancyhdr}
\usepackage[french]{babel}
\usepackage{eurosym}
\usepackage{lscape} 
\input tabvar.tex

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	Nouvelles commandes

\theoremstyle{plain}

\newcommand{\Cadre}[1]{\begin{center}\begin{tabular}{|p{16cm}|} \hline {#1} \\ \hline \end{tabular} \end{center}\vspace{3mm}}

\newtheorem{Th}{TH\'EOR\`EME}
\newcommand{\Thc}[1]{\begin{center} \Cadre{\vspace{-6.5mm} \begin{center} 
 	\begin{tabular}{|p{15.5cm}|} \hline \begin{Th} \emph{#1} \end{Th} \\
	\hline \end{tabular} \end{center} } \end{center} \vspace{3mm} }

\newtheorem{Def}{\underline{D\'efinition}}
\newcommand{\Defc}[1]{\begin{center}\begin{tabular}{||p{16cm}|} \hline \begin{Def} \emph{#1} \end{Def}\\ \hline \end{tabular} \end{center}\vspace{3mm}}

\newtheorem{Prop}{Proposition}
\newcommand{\Propc}[1]{\begin{center}\begin{tabular}{||p{16cm}||} \hline \begin{Prop} \emph{#1} \end{Prop}\\ \hline \end{tabular} \end{center}\vspace{3mm}}

\newtheorem{Pte}{Propri\'et\'e}
\newcommand{\Ptec}[1]{\begin{center}\begin{tabular}{||p{16cm}||} \hline \begin{Pte} \emph{#1} \end{Pte}\\ \hline \end{tabular} \end{center} \vspace{3mm}}

\newtheorem{Cor}{\it{Corollaire}}
\newcommand{\Corc}[1]{\begin{center}\begin{tabular}{|p{16cm}|} \hline \begin{Cor} \emph{#1} \end{Cor}\\ \hline \end{tabular} \end{center}\vspace{3mm}}

\newtheorem{Ex}{\underline{\textbf{Exercice}}}[section]
\newcommand{\Exo}[1]{\begin{Ex} \emph{#1} \end{Ex}  \vspace{3mm}}

\newcommand{\Rq}[1]{\textbf{Remarque :} {#1} \vspace{3mm}}
\newcommand{\Rqs}[1]{\textbf{Remarques :} \begin{itemize} {#1} \end{itemize} \vspace{3mm}}

\newcommand{\Expl}[1]{\underline{Exemple} : {#1} \vspace{3mm}}
\newcommand{\Expls}[1]{\underline{Exemples} : {#1} \vspace{3mm}}
\newcommand{\Cexpl}[1]{\underline{Contre-exemple} : {#1} \vspace{3mm}}
\newcommand{\Cexpls}[1]{\underline{Contre-exemples} : {#1} \vspace{3mm}}
\newcommand{\Qu}[1]{\Cadre{\underline{Question} : {#1}} \vspace{3mm}}
\newcommand{\Preuve}[1]{\noindent \underline{D\'emonstration} : \begin{center} \begin{tabular}{|p{16cm}}   {#1} \\  \end{tabular} \end{center}  \vspace{3mm}}
\newcommand{\Act}[1]{\textit{\underline{Travail de l'\'el\`eve} :} {#1} \vspace{3mm}}

\newtheorem{Appl}{Application}
\newcommand{\Applic}[1]{\begin{Appl} \emph{#1} \end{Appl}}

\newtheorem{Lem}{Lemme}[section]
\newtheorem{Conj}{Conjecture}[section]
\newtheorem*{Conv}{Conventions}
\newtheorem*{Att}{Attention !!}
\newtheorem{q}{Question}

\def\euro{\mbox{\raisebox{.25ex}{{\it =}}\hspace{-.5em}{\sf C}}} 
\newcommand*{\C}{\mathbb{C}}
\newcommand*{\N}{\mathbb{N}}
\renewcommand*{\P}{\mathbb{P}}
\newcommand*{\Q}{\mathbb{Q}}
\newcommand*{\R}{\mathbb{R}}
\newcommand*{\Z}{\mathbb{Z}}

\newcommand{\Cj}[1]{
\psframebox[linestyle=solid,shadow=true,framearc=0.5,fillcolor=yellow]{
\begin{minipage}{22cm}
\begin{center}
\vspace{2mm}
\textsc{\textbf{\begin{Large} {#1} \end{Large}}}
\end{center}
\vspace{-2mm}
\end{minipage}
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	Premiere page
\begin{document}
\begin{landscape}
\Cj{R\'esum\'e : $ f(x)=ax^2+bx+c \text{ avec } a\neq 0 \textbf{ \hspace{30}}\Delta=b^2-4ac$}
\vspace{2mm}
\newline
\begin{tiny}
%\begin{tabular}{|l|l||l|c|l|c|l|}
  %  \hline
    %\multicolumn{2}{|c||}{\multirow{2}{4cm}{\backslashbox{Produits}{Infos}}} & b & c & d & e & f \\
   % \multicolumn{2}{|c||}{} & b & c & d & e & f \\ \hline \hline
    %Ligne 3 & a & b & c & d & e & f \\
    %\hline 
    %\end{tabular}
    \begin{large}
  \begin{tabular}{|c|c|c|c|c|}
  \hline
  Racines & Signe de $ax^2+bx+c$ & Repr\'esentation parabole & Factorisation & $\Delta$ \\ 
  \hline
\begin{tabular}{c} Deux racines : \\$x_{1}=\dfrac{-b - \sqrt{\Delta}}{2a}  $ \\$x_{2}=\dfrac{-b+ \sqrt{\Delta}}{2a}  $
\end{tabular} 
& \begin{tabular}{c} \\$$\tabvar{%
\tx{x}&\tx{-\infty}&&\tx{x_1}&&\tx{x_2}&&\tx{+\infty}\cr
\tx{f(x)}&&\tx{s(a)}&\txt{0}&\tx{-s(a)}&\txt{0}&\tx{+s(a)}&\cr
}$$\end{tabular}
 &
 \begin{small}
 \begin{tabular}{c} 
  \psset{xunit=0.55cm , yunit=0.5cm}
\begin{pspicture*}(-3,-2)(3,3)
\def\xmin{-3} \def\xmax{4} \def\ymin{-2} \def\ymax{4}
\psframe[linewidth=0.3pt,linecolor=gray](-3.1,-2.1)(4.1,4.1)
\def\pshlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\def\psvlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\psclip{%
\psframe[linestyle=none](\xmin,\ymin)(\xmax,\ymax)
}
\newrgbcolor{couleur1}{0.6549 0.6549 0}
\newrgbcolor{couleur2}{0 0.3176 0.4745}
\newrgbcolor{couleur3}{0.0941 0.647 0.0196}
\def\F{x 1 sub x 1 add mul}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-3}{3}{\F}
\def\G{0}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-4}{4}{\G}
\uput[ur](-0.50,2){$a>0$}

\uput[ur](-1,0){$-\dfrac{b}{2a}$}
\uput[ur](-2.2,0){$x_1$}
 \uput[ur](1.2,0){$x_2$}
 \uput[ur](-0.25,-2){S}

\endpsclip
\pcline[linewidth=1pt]{->}(-3,0)(3,0) \uput[d](3,0){\small $x$}
\end{pspicture*}
\\
\psset{xunit=0.5cm , yunit=0.5cm}
\begin{pspicture*}(-3,-2)(3,2)
\def\xmin{-3} \def\xmax{4} \def\ymin{-2} \def\ymax{4}
\psframe[linewidth=0.3pt,linecolor=gray](-3.1,-2.1)(4.1,4.1)
\def\pshlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\def\psvlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\psclip{%
\psframe[linestyle=none](\xmin,\ymin)(\xmax,\ymax)
}
\newrgbcolor{couleur1}{0.6549 0.6549 0}
\newrgbcolor{couleur2}{0 0.3176 0.4745}
\newrgbcolor{couleur3}{0.0941 0.647 0.0196}
\def\F{0 x 1 sub x 1 add mul sub}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-3}{3}{\F}
\def\G{0}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-4}{4}{\G}
\uput[ur](-1,-2){$a<0$}


 \uput[ur](-0.3,1){S}
\uput[ur](-2.2,0){$x_1$}
 \uput[ur](1.2,0){$x_2$}
\endpsclip

\pcline[linewidth=1pt]{->}(-3,0)(3,0) \uput[d](3,0){\small $x$}

\end{pspicture*}
\end{tabular} 

\end{small}



 &  $f(x)=a(x-x_1)(x-x_2)$ & $\Delta >0$ \\
\hline
\begin{tabular}{c} \\ Une racine : \\$x_{1}=\dfrac{-b}{2a}  $\\
\end{tabular} 
& \begin{tabular}{c} \\$$\tabvar{%
\tx{x}&\tx{-\infty}&&\tx{x_1}&&\tx{+\infty}\cr
\tx{f(x)}&&\tx{s(a)}&\txt{0}&\tx{s(a)}&\cr
}$$\end{tabular}
 & 
 \begin{small}
 \begin{tabular}{c} 
 \\
   \psset{xunit=0.5cm , yunit=0.5cm}
\begin{pspicture*}(-1.8,-2)(3.5,3)
\def\xmin{-3} \def\xmax{5} \def\ymin{-2} \def\ymax{4}
\psframe[linewidth=0.3pt,linecolor=gray](-2,-2.1)(4,4.1)
\def\pshlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\def\psvlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\psclip{%
\psframe[linestyle=none](\xmin,\ymin)(\xmax,\ymax)
}
\newrgbcolor{couleur1}{0.6549 0.6549 0}
\newrgbcolor{couleur2}{0 0.3176 0.4745}
\newrgbcolor{couleur3}{0.0941 0.647 0.0196}
\def\F{x 1 sub x 1 sub mul}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-3}{3}{\F}
\def\G{0}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-4}{4}{\G}
\uput[ur](0,2){$a>0$}

\psdot(1,0) \uput[ur](-1,-2){$x_1=-\dfrac{b}{2a}$}

\endpsclip
\pcline[linewidth=1pt]{->}(-2,0)(4,0) \uput[d](3,0){\small $x$}
\end{pspicture*}
 \\
  \psset{xunit=0.5cm , yunit=0.5cm}
\begin{pspicture*}(-1.8,-2)(3.5,2)
\def\xmin{-3} \def\xmax{5} \def\ymin{-2} \def\ymax{4}
\psframe[linewidth=0.3pt,linecolor=gray](-2,-2.1)(4,4.1)
\def\pshlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\def\psvlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\psclip{%
\psframe[linestyle=none](\xmin,\ymin)(\xmax,\ymax)
}
\newrgbcolor{couleur1}{0.6549 0.6549 0}
\newrgbcolor{couleur2}{0 0.3176 0.4745}
\newrgbcolor{couleur3}{0.0941 0.647 0.0196}
\def\F{0 x 1 sub x 1 sub mul sub}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-3}{3}{\F}
\def\G{0}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-4}{4}{\G}
\uput[ur](0,-2){$a<0$}

\psdot(1,0) \uput[ur](-1,0){$x_1=-\dfrac{b}{2a}$}

\endpsclip
\pcline[linewidth=1pt]{->}(-2,0)(4,0) \uput[d](3,0){\small $x$}
\end{pspicture*}
\end{tabular} 

\end{small}
&  $f(x)=a(x-x_1)^2$ & $\Delta =0$ \\
\hline
\begin{tabular}{c} Aucune  \\ racine \\  r\'eelle
\end{tabular} 
& \begin{tabular}{c} \\$$\tabvar{%
\tx{x}&\tx{-\infty}&&\tx{+\infty}\cr
\tx{f(x)}&&\tx{s(a)}&\cr
}$$\end{tabular}
 & 
\begin{small}
 \begin{tabular}{c}  \\   \psset{xunit=0.5cm , yunit=0.5cm}
\begin{pspicture*}(-1.8,-2)(3.5,3)
\def\xmin{-3} \def\xmax{5} \def\ymin{-2} \def\ymax{4}
\psframe[linewidth=0.3pt,linecolor=gray](-2,-2.1)(4,4.1)
\def\pshlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\def\psvlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\psclip{%
\psframe[linestyle=none](\xmin,\ymin)(\xmax,\ymax)
}
\newrgbcolor{couleur1}{0.6549 0.6549 0}
\newrgbcolor{couleur2}{0 0.3176 0.4745}
\newrgbcolor{couleur3}{0.0941 0.647 0.0196}
\def\F{x 1 sub x 1 sub mul 1 add}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-3}{3}{\F}
\def\G{0}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-4}{4}{\G}
\uput[ur](0,2){$a>0$}

\psdot(1,0) \uput[ur](-0.5,-2){$-\dfrac{b}{2a}$}

\endpsclip
\pcline[linewidth=1pt]{->}(-2,0)(4,0) \uput[d](3,0){\small $x$}
\end{pspicture*}
 \\
  \psset{xunit=0.5cm , yunit=0.5cm}
\begin{pspicture*}(-1.8,-3)(3.5,1.5)
\def\xmin{-3} \def\xmax{5} \def\ymin{-5} \def\ymax{4}
\psframe[linewidth=0.3pt,linecolor=gray](-2,-5.1)(4,4.1)
\def\pshlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\def\psvlabel#1{\psframebox*[framesep=1pt]{\small #1}}
\psclip{%
\psframe[linestyle=none](\xmin,\ymin)(\xmax,\ymax)
}
\newrgbcolor{couleur1}{0.6549 0.6549 0}
\newrgbcolor{couleur2}{0 0.3176 0.4745}
\newrgbcolor{couleur3}{0.0941 0.647 0.0196}
\def\F{0 x 1 sub x 1 sub mul sub 1 sub}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-3}{3}{\F}
\def\G{0}
\psplot[linecolor=black,linestyle=solid,plotpoints=1000]{-4}{4}{\G}
\uput[ur](0,-2.5){$a<0$}

\psdot(1,0) \uput[ur](-0.5,0){$-\dfrac{b}{2a}$}

\endpsclip
\pcline[linewidth=1pt]{->}(-2,0)(4,0) \uput[d](3,0){\small $x$}
\end{pspicture*}
\end{tabular}
 \end{small}
 &  \begin{tabular}{c} pas  \\de \\  factorisation
\end{tabular}  & $\Delta <0$ \\
\hline
  \end{tabular}  
  \end{large}
\end{tiny}
\end{landscape}


\end{document}