next up previous
Next: About this document ... Up: latex-demo Previous: latex-demo

Quadratic Equations

The quadratic equation $f(x)=x^2+px+q$ has zero, one or two roots. To see this we add a term to create a complete square:


\begin{displaymath}
x^2+px+q=0
\end{displaymath} (1)


\begin{displaymath}
x^2+px+\frac{1}{4}p^2 = \frac{1}{4}p^2 -q
\end{displaymath} (2)

Now we can apply the binomial equation:


\begin{displaymath}
\left( x+\frac{p}{2} \right)^2 = \frac{1}{4}p^2 -q
\end{displaymath} (3)

We take the square root on both sides of the equation


\begin{displaymath}
x+\frac{p}{2} = \sqrt{\frac{p^2}{4} -q}
\end{displaymath} (4)

to get


\begin{displaymath}
x_{1,2} = -\frac{p}{2} \pm \sqrt{\frac{p^2}{4} -q}
\end{displaymath} (5)

The expression in the root


\begin{displaymath}
D = {\frac{p^2}{4} -q}
\end{displaymath} (6)

is called ``discriminant''. The quadratic equation has two real roots for $D>0$ and none for $D<0$. If $D=0$, we have a double root.


next up previous
Next: About this document ... Up: latex-demo Previous: latex-demo
Peter Junglas 2000-05-19