Expresswala Academy Mathematics Tuition

Quadratic Equations

Quadratic Formula and Nature of Roots (Discriminant), Class 10

The quadratic formula, why it is true, and how the discriminant tells you whether a quadratic has two distinct, two equal or no real roots, with worked examples including the circular park pole problem.

By 8 min read

Factorisation is quick when you can spot the split, but spotting it is not always easy, and some quadratic equations have no real roots at all, so no split exists. The quadratic formula works for every quadratic equation without guesswork, and one part of it, the discriminant b2−4acb^2 - 4ac, tells you in advance what kind of roots to expect. This lesson follows Section 4.4 (Nature of Roots) of the NCERT Class 10 textbook, where the discriminant is used to answer "is this situation possible?" before any solving is done.

The quadratic formula

Statement

For the quadratic equation 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 shorthand 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 formula is true

The formula comes from completing the square. Since a≠0a \neq 0, we may factor out aa and add and subtract (b2a)2\displaystyle \left(\dfrac{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 negative, 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 negative and no real xx can make a square equal to it, so there are no real roots.

The discriminant and the nature of roots

Definition

The number D=b2−4acD = b^2 - 4ac is called the discriminant of the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0, because it discriminates (tells apart) the three possible kinds of roots.

The three cases

Case 1: D>0D \gt 0. Then D\sqrt{D} is a positive real number, so adding it to −b-b and subtracting it from −b-b give different values. The equation has two distinct real roots, −b+D2a\displaystyle \dfrac{-b + \sqrt{D}}{2a} and −b−D2a\displaystyle \dfrac{-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 equation has two equal real roots. This is the repeated-root situation you met in the surd example of the factorisation lesson.

Case 3: D<0D \lt 0. No real number has a negative square, so D\sqrt{D} is not a real number. The equation has no real roots.

Summary

A quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 has

  • two distinct 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 discriminant decides how many times the graph of y=ax2+bx+cy = ax^2 + bx + c meets the xx-axis: twice, once (touching), or never.

Method: using the discriminant and the formula

  1. Write the equation in standard form and read off aa, bb and cc, with their signs.
  2. Compute D=b2−4acD = b^2 - 4ac, putting negative values in brackets.
  3. Decide the nature of the roots from the sign of DD.
  4. If D>0D \gt 0, use x=−b±D2a\displaystyle x = \dfrac{-b \pm \sqrt{D}}{2a} and simplify any surd.
  5. If D=0D = 0, the equal roots are x=−b2a\displaystyle x = -\dfrac{b}{2a}.
  6. If D<0D \lt 0, state that there are no real roots; in a word problem, the situation is not possible.

Worked examples

Example 1: checking for real roots

Find the discriminant 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 equation has no real roots. There is no point trying to factorise it.

Example 2: solving with the formula

Solve 3x2−5x+2=03x^2 - 5x + 2 = 0 using the quadratic formula.

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 distinct 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 = \dfrac{6}{6} = 1 or x=46=23\displaystyle x = \dfrac{4}{6} = \dfrac{2}{3}.

Example 3: two equal roots, found quickly

Find the discriminant of 3x2−2x+13=0\displaystyle 3x^2 - 2x + \dfrac{1}{3} = 0 and find its roots if they are real.

Here a=3a = 3, b=−2b = -2, c=13\displaystyle c = \dfrac{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 \dfrac{1}{3} and 13\displaystyle \dfrac{1}{3}.

Example 4: finding an unknown coefficient

Find the values 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 equation 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).

Example 5: a pole on the boundary of a circular park

Is it possible to design a circular park of diameter 13 m with a pole on its boundary such that the difference of its distances from two diametrically opposite 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 diameter, the angle in a semicircle is a right angle, so ∠APB=90∘\angle APB = 90^\circ. By Pythagoras' theorem 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 solving, 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 equation has two real roots and the design is possible. By the formula, 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 distance cannot be negative, so x=5x = 5.

Answer: yes, it is possible. 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.
Example 5 drawn to scale: the angle at PP is a right angle because ABAB is a diameter, so AP2+BP2=132AP^2 + BP^2 = 13^2.

Common mistakes

  • Writing b2b^2 as −b2-b^2 when bb is negative. With b=−4b = -4, b2=(−4)2=16b^2 = (-4)^2 = 16, not −16-16.
  • Reading aa, bb, cc before the equation is in standard form.
  • Dividing only D\sqrt{D} by 2a2a instead of the whole numerator −b±D-b \pm \sqrt{D}.
  • Forgetting the minus sign in −b-b: for b=−5b = -5, −b=5-b = 5.
  • Saying "no roots" when D<0D \lt 0; the correct statement is "no real roots".
  • Accepting k=0k = 0 as an answer when it makes the coefficient of x2x^2 zero, so that the equation is no longer quadratic.

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 distinct real roots, x=3x = 3 and x=12\displaystyle x = \dfrac{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 \dfrac{3}{2} and 32\displaystyle \dfrac{3}{2}.
  4. Solve x2−2x−1=0x^2 - 2x - 1 = 0 using the quadratic formula. 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

Quadratic formula
x=−b±b2−4ac2a\displaystyle x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}, giving the real roots of ax2+bx+c=0ax^2 + bx + c = 0 when b2−4ac≥0b^2 - 4ac \geq 0.
Discriminant
The number D=b2−4acD = b^2 - 4ac, whose sign decides the nature of the roots.
Nature of roots
Whether the roots are real and distinct, real and equal, or not real.
Distinct real roots
Two different real roots, occurring when D>0D \gt 0.
Equal roots
Two identical real roots, each −b2a\displaystyle -\dfrac{b}{2a}, occurring when D=0D = 0.
Completing the square
Rewriting x2+pxx^2 + px as (x+p2)2−p24\displaystyle \left(x + \dfrac{p}{2}\right)^2 - \dfrac{p^2}{4}; the method behind the quadratic formula.
Angle in a semicircle
The angle subtended by a diameter at any point of the circle, which is always 90∘90^\circ.

Common questions

Should I use factorisation or the formula?

Use factorisation when the split is easy to see; it is faster. Use the formula when it is not, or when the roots involve surds. Both give the same roots.

Does D<0D \lt 0 mean my working is wrong?

Not necessarily. Some equations genuinely have no real roots. Recheck aa, bb and cc, and if DD is still negative, the answer is "no real roots".

If DD is a perfect square, what does that tell me?

When aa, bb, cc are integers and DD is a perfect square, the roots are rational, so the equation can also be solved by splitting the middle term.

Why is the discriminant useful in word problems?

It answers "is this possible?" directly. A negative discriminant means no real length, age or distance can satisfy the conditions.

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

When D=0D = 0, the ±D\pm\sqrt{D} part of the formula is zero, leaving x=−b2a\displaystyle x = \dfrac{-b}{2a} for both roots.

References

  1. National Council of Educational Research and Training. Mathematics: Textbook for Class X. NCERT, New Delhi.
  2. Hall, H. S. and Knight, S. R. Higher Algebra. Macmillan.
  3. Stewart, J., Redlin, L. and Watson, S. Precalculus: Mathematics for Calculus. Cengage Learning.