Skip to content

Mathematics · Ch 2 — Basic Algebra

Quadratic Formula

2.5.1

Quadratic Formula

Completing the square. Any quadratic P(x)=ax2+bx+cP(x)=ax^2+bx+c can be rewritten as a(x+b2a)2+P(−b2a)a\left(x+\dfrac b{2a}\right)^2+P\left(-\dfrac b{2a}\right) -- verified by expanding the bracket and simplifying. Setting P(x)=0P(x)=0 and solving for xx from this form gives the quadratic formula:

x=−b±b2−4ac2a.x=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}.

Note

u\sqrt u is defined as a real number only for u≥0u\ge0, and always denotes the non-negative root.

The discriminant D=b2−4acD=b^2-4ac governs the nature of the roots:

DiscriminantNature of rootsParabola
D>0D>0real and distinctcrosses the x-axis at 2 points
D=0D=0real and equaltouches the x-axis at 1 point
D<0D<0no real rootsnever meets the x-axis

When D<0D<0, the two roots are the complex pair α=−b+i4ac−b22a, β=−b−i4ac−b22a\alpha=\dfrac{-b+i\sqrt{4ac-b^2}}{2a},\ \beta=\dfrac{-b-i\sqrt{4ac-b^2}}{2a} (with i2=−1i^2=-1), studied fully in a later class.

Sum and product of roots. If α,β\alpha,\beta are the roots of ax2+bx+c=0ax^2+bx+c=0, then

α+β=−ba,αβ=ca.\alpha+\beta=-\dfrac ba,\qquad \alpha\beta=\dfrac ca. …