Fac­tori­sa­tion is quick when you can spot the split, but spot­ting it is not always easy, and some qua­dratic equa­tions have no real roots at all, so no split exists. The qua­dratic for­mula works for every qua­dratic equa­tion with­out guess­work, and one part of it, the dis­crim­i­nant b2−4acb^2 - 4ac, tells you in advance what kind of roots to expect. This les­son fol­lows Sec­tion 4.4 (Nature of Roots) of the NCERT Class 10 text­book, where the dis­crim­i­nant is used to answer "is this sit­u­a­tion pos­si­ble?" before any solv­ing is done.

The qua­dratic for­mula

State­ment

For the qua­dratic equa­tion ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \neq 0, if b2−4ac≥0b^2 - 4ac \geq 0, the roots are

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

The sign ±\pm is short­hand for two roots, one with ++ and one with −-:

x=−b+b2−4ac2aandx=−b−b2−4ac2a\displaystyle x = \frac{-b + \sqrt{b^2 - 4ac}}{2a} \qquad \text{and} \qquad x = \frac{-b - \sqrt{b^2 - 4ac}}{2a}

Why the for­mula is true

The for­mula comes from com­plet­ing the square. Since a≠0a \neq 0, we may fac­tor out aa and add and sub­tract (b2a)2\displaystyle \left(\frac{b}{2a}\right)^2:

ax2+bx+c=a[x2+bax+ca]=a[(x+b2a)2−b24a2+ca]=a[(x+b2a)2−b2−4ac4a2]\displaystyle \begin{aligned} ax^2 + bx + c &= a\left[x^2 + \frac{b}{a}x + \frac{c}{a}\right] \\ &= a\left[\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a^2} + \frac{c}{a}\right] \\ &= a\left[\left(x + \frac{b}{2a}\right)^2 - \frac{b^2 - 4ac}{4a^2}\right] \end{aligned}

So ax2+bx+c=0ax^2 + bx + c = 0 exactly when

(x+b2a)2=b2−4ac4a2\displaystyle \left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

The left-hand side is a square, so it is never neg­a­tive, and 4a2>04a^2 \gt 0. If b2−4ac≥0b^2 - 4ac \geq 0, take square roots:

x+b2a=±b2−4ac2a  ⟹  x=−b±b2−4ac2a\displaystyle x + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a} \implies x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

If b2−4ac<0b^2 - 4ac \lt 0, the right-hand side is neg­a­tive and no real xx can make a square equal to it, so there are no real roots.

The dis­crim­i­nant and the nature of roots

Def­i­n­i­tion

The num­ber D=b2−4acD = b^2 - 4ac is called the dis­crim­i­nant of the qua­dratic equa­tion ax2+bx+c=0ax^2 + bx + c = 0, because it dis­crim­i­nates (tells apart) the three pos­si­ble kinds of roots.

The three cases

Case 1: D>0D \gt 0. Then D\sqrt{D} is a pos­i­tive real num­ber, so adding it to −b-b and sub­tract­ing it from −b-b give dif­fer­ent val­ues. The equa­tion has two dis­tinct real roots, −b+D2a\displaystyle \frac{-b + \sqrt{D}}{2a} and −b−D2a\displaystyle \frac{-b - \sqrt{D}}{2a}.

Case 2: D=0D = 0. Then D=0\sqrt{D} = 0, and both roots equal

x=−b2a\displaystyle x = -\frac{b}{2a}

The equa­tion has two equal real roots. This is the repeated-root sit­u­a­tion you met in the surd exam­ple of the fac­tori­sa­tion les­son.

Case 3: D<0D \lt 0. No real num­ber has a neg­a­tive square, so D\sqrt{D} is not a real num­ber. The equa­tion has no real roots.

Sum­mary

A qua­dratic equa­tion ax2+bx+c=0ax^2 + bx + c = 0 has

  • two dis­tinct real roots, if b2−4ac>0b^2 - 4ac \gt 0;
  • two equal real roots, if b2−4ac=0b^2 - 4ac = 0;
  • no real roots, if b2−4ac<0b^2 - 4ac \lt 0.
Three parabolas side by side: y = x squared - 2x - 3 with D = 16 crossing the x-axis at -1 and 3; y = x squared - 2x + 1 with D = 0 touching it at 1; y = x squared - 2x + 3 with D = -8 not meeting it.
The sign of the dis­crim­i­nant decides how many times the graph of y=ax2+bx+cy = ax^2 + bx + c meets the xx-axis: twice, once (touch­ing), or never.

Method: using the dis­crim­i­nant and the for­mula

  1. Write the equa­tion in stan­dard form and read off aa, bb and cc, with their signs.
  2. Com­pute D=b2−4acD = b^2 - 4ac, putting neg­a­tive val­ues in brack­ets.
  3. Decide the nature of the roots from the sign of DD.
  4. If D>0D \gt 0, use x=−b±D2a\displaystyle x = \frac{-b \pm \sqrt{D}}{2a} and sim­plify any surd.
  5. If D=0D = 0, the equal roots are x=−b2a\displaystyle x = -\frac{b}{2a}.
  6. If D<0D \lt 0, state that there are no real roots; in a word prob­lem, the sit­u­a­tion is not pos­si­ble.

Worked exam­ples

Exam­ple 1: check­ing for real roots

Find the dis­crim­i­nant of 2x2−4x+3=02x^2 - 4x + 3 = 0 and hence find the nature of its roots.

Here a=2a = 2, b=−4b = -4, c=3c = 3.

D=(−4)2−4(2)(3)=16−24=−8D = (-4)^2 - 4(2)(3) = 16 - 24 = -8

Answer: since D=−8<0D = -8 \lt 0, the equa­tion has no real roots. There is no point try­ing to fac­torise it.

Exam­ple 2: solv­ing with the for­mula

Solve 3x2−5x+2=03x^2 - 5x + 2 = 0 using the qua­dratic for­mula.

Here a=3a = 3, b=−5b = -5, c=2c = 2, so D=(−5)2−4(3)(2)=25−24=1>0D = (-5)^2 - 4(3)(2) = 25 - 24 = 1 \gt 0: two dis­tinct real roots.

x=−(−5)±12×3=5±16\displaystyle x = \frac{-(-5) \pm \sqrt{1}}{2 \times 3} = \frac{5 \pm 1}{6}

Answer: x=66=1\displaystyle x = \frac{6}{6} = 1 or x=46=23\displaystyle x = \frac{4}{6} = \frac{2}{3}.

Exam­ple 3: two equal roots, found quickly

Find the dis­crim­i­nant of 3x2−2x+13=0\displaystyle 3x^2 - 2x + \frac{1}{3} = 0 and find its roots if they are real.

Here a=3a = 3, b=−2b = -2, c=13\displaystyle c = \frac{1}{3}.

D=(−2)2−4(3)(13)=4−4=0\displaystyle D = (-2)^2 - 4(3)\left(\frac{1}{3}\right) = 4 - 4 = 0

So the roots are real and equal, each being

x=−b2a=22×3=13\displaystyle x = -\frac{b}{2a} = \frac{2}{2 \times 3} = \frac{1}{3}

Answer: two equal real roots, 13\displaystyle \frac{1}{3} and 13\displaystyle \frac{1}{3}.

Exam­ple 4: find­ing an unknown coef­fi­cient

Find the val­ues of kk for which x2−kx+16=0x^2 - kx + 16 = 0 has two equal roots, and find the roots.

Here a=1a = 1, b=−kb = -k, c=16c = 16. For equal roots, D=0D = 0:

(−k)2−4(1)(16)=0  ⟹  k2=64  ⟹  k=±8(-k)^2 - 4(1)(16) = 0 \implies k^2 = 64 \implies k = \pm 8

With k=8k = 8 the equa­tion is x2−8x+16=(x−4)2=0x^2 - 8x + 16 = (x - 4)^2 = 0, with equal roots 4 and 4. With k=−8k = -8 it is (x+4)2=0(x + 4)^2 = 0, with equal roots −4-4 and −4-4.

Answer: k=8k = 8 (roots 4, 4) or k=−8k = -8 (roots −4-4, −4-4).

Exam­ple 5: a pole on the bound­ary of a cir­cu­lar park

Is it pos­si­ble to design a cir­cu­lar park of diam­e­ter 13 m with a pole on its bound­ary such that the dif­fer­ence of its dis­tances from two dia­met­ri­cally oppo­site fixed gates AA and BB is 7 m? If so, how far from each gate should the pole be?

Let PP be the pole, and let BP=xBP = x m. Then AP=(x+7)AP = (x + 7) m. Since ABAB is a diam­e­ter, the angle in a semi­cir­cle is a right angle, so ∠APB=90∘\angle APB = 90^\circ. By Pythago­ras' the­o­rem in △APB\triangle APB:

AP2+BP2=AB2(x+7)2+x2=132x2+14x+49+x2=1692x2+14x−120=0x2+7x−60=0\begin{aligned} AP^2 + BP^2 &= AB^2 \\ (x + 7)^2 + x^2 &= 13^2 \\ x^2 + 14x + 49 + x^2 &= 169 \\ 2x^2 + 14x - 120 &= 0 \\ x^2 + 7x - 60 &= 0 \end{aligned}

Before solv­ing, check whether real roots exist. Here a=1a = 1, b=7b = 7, c=−60c = -60:

D=72−4(1)(−60)=49+240=289>0D = 7^2 - 4(1)(-60) = 49 + 240 = 289 \gt 0

So the equa­tion has two real roots and the design is pos­si­ble. By the for­mula, with 289=17\sqrt{289} = 17:

x=−7±172  ⟹  x=5 or x=−12\displaystyle x = \frac{-7 \pm 17}{2} \implies x = 5 \ \text{or} \ x = -12

A dis­tance can­not be neg­a­tive, so x=5x = 5.

Answer: yes, it is pos­si­ble. The pole should be 5 m from gate BB and 5+7=125 + 7 = 12 m from gate AA. Check: 52+122=25+144=169=1325^2 + 12^2 = 25 + 144 = 169 = 13^2.

Circle with centre O and diameter AB = 13 m; point P on the circle joined to A and B, with AP = x + 7 = 12 m, BP = x = 5 m, and a right angle marked at P.
Exam­ple 5 drawn to scale: the angle at PP is a right angle because ABAB is a diam­e­ter, so AP2+BP2=132AP^2 + BP^2 = 13^2.

Com­mon mis­takes

  • Writ­ing b2b^2 as −b2-b^2 when bb is neg­a­tive. With b=−4b = -4, b2=(−4)2=16b^2 = (-4)^2 = 16, not −16-16.
  • Read­ing aa, bb, cc before the equa­tion is in stan­dard form.
  • Divid­ing only D\sqrt{D} by 2a2a instead of the whole numer­a­tor −b±D-b \pm \sqrt{D}.
  • For­get­ting the minus sign in −b-b: for b=−5b = -5, −b=5-b = 5.
  • Say­ing "no roots" when D<0D \lt 0; the cor­rect state­ment is "no real roots".
  • Accept­ing k=0k = 0 as an answer when it makes the coef­fi­cient of x2x^2 zero, so that the equa­tion is no longer qua­dratic.

Try these

  1. Find the nature of the roots of 2x2−7x+3=02x^2 - 7x + 3 = 0, and the roots if real. Answer: D=25>0D = 25 \gt 0, two dis­tinct real roots, x=3x = 3 and x=12\displaystyle x = \frac{1}{2}.
  2. Find the nature of the roots of x2+4x+5=0x^2 + 4x + 5 = 0. Answer: D=−4<0D = -4 \lt 0, no real roots.
  3. Find the nature of the roots of 4x2−12x+9=04x^2 - 12x + 9 = 0, and the roots if real. Answer: D=0D = 0, two equal real roots, 32\displaystyle \frac{3}{2} and 32\displaystyle \frac{3}{2}.
  4. Solve x2−2x−1=0x^2 - 2x - 1 = 0 using the qua­dratic for­mula. Answer: x=1+2x = 1 + \sqrt{2} or x=1−2x = 1 - \sqrt{2}.
  5. Find kk so that x2−kx+9=0x^2 - kx + 9 = 0 has two equal roots. Answer: k=6k = 6 or k=−6k = -6.

Key terms

Qua­dratic for­mula
x=−b±b2−4ac2a\displaystyle x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}, giv­ing the real roots of ax2+bx+c=0ax^2 + bx + c = 0 when b2−4ac≥0b^2 - 4ac \geq 0.
Dis­crim­i­nant
The num­ber D=b2−4acD = b^2 - 4ac, whose sign decides the nature of the roots.
Nature of roots
Whether the roots are real and dis­tinct, real and equal, or not real.
Dis­tinct real roots
Two dif­fer­ent real roots, occur­ring when D>0D \gt 0.
Equal roots
Two iden­ti­cal real roots, each −b2a\displaystyle -\frac{b}{2a}, occur­ring when D=0D = 0.
Com­plet­ing the square
Rewrit­ing x2+pxx^2 + px as (x+p2)2−p24\displaystyle \left(x + \frac{p}{2}\right)^2 - \frac{p^2}{4}; the method behind the qua­dratic for­mula.
Angle in a semi­cir­cle
The angle sub­tended by a diam­e­ter at any point of the cir­cle, which is always 90∘90^\circ.

Com­mon ques­tions

Should I use fac­tori­sa­tion or the for­mula?

Use fac­tori­sa­tion when the split is easy to see; it is faster. Use the for­mula when it is not, or when the roots involve surds. Both give the same roots.

Does D<0D \lt 0 mean my work­ing is wrong?

Not nec­es­sar­ily. Some equa­tions gen­uinely have no real roots. Recheck aa, bb and cc, and if DD is still neg­a­tive, the answer is "no real roots".

If DD is a per­fect square, what does that tell me?

When aa, bb, cc are inte­gers and DD is a per­fect square, the roots are ratio­nal, so the equa­tion can also be solved by split­ting the mid­dle term.

Why is the dis­crim­i­nant use­ful in word prob­lems?

It answers "is this pos­si­ble?" directly. A neg­a­tive dis­crim­i­nant means no real length, age or dis­tance can sat­isfy the con­di­tions.

Why are the equal roots −b2a\displaystyle -\frac{b}{2a}?

When D=0D = 0, the ±D\pm\sqrt{D} part of the for­mula is zero, leav­ing x=−b2a\displaystyle x = \frac{-b}{2a} for both roots.

Ref­er­ences

  1. National Coun­cil of Edu­ca­tional Research and Train­ing. Math­e­mat­ics: Text­book for Class X. NCERT, New Delhi.
  2. Hall, H. S. and Knight, S. R. Higher Alge­bra. Macmil­lan.
  3. Stew­art, J., Redlin, L. and Wat­son, S. Pre­cal­cu­lus: Math­e­mat­ics for Cal­cu­lus. Cen­gage Learn­ing.