Maths · Ch 4 · Topic 5 of 6Nature of roots
Topic 5 of 6

The discriminant and nature of roots

About 55 minutes · 4 things to learn
By the end you can…
  • Calculate the discriminant D = b² − 4ac of a quadratic equation.
  • State the nature of the roots from D (two distinct real roots, two equal real roots, no real roots).
  • Find an unknown k for equal (or real) roots, including checking that a ≠ 0.
  • Link D to the graph crossing, touching or missing the x-axis.

Before you open a lunch box you can often tell from its weight whether there is something inside. The discriminant is the weight test of a quadratic equation: one small calculation tells you, before solving, whether the equation has two roots, one repeated root, or none at all.

What the discriminant tells you

In the quadratic formula, everything depends on the number under the square root:

D=b2−4ac(the discriminant)D = b^2 - 4ac \qquad\text{(the discriminant)}
Value of DD D\sqrt{D} Nature of the roots Graph of y=ax2+bx+cy = ax^2 + bx + c
D>0D > 0 a real number, ≠0\neq 0 two distinct real roots: −b+D2a\dfrac{-b + \sqrt{D}}{2a} and −b−D2a\dfrac{-b - \sqrt{D}}{2a} crosses the x-axis at two points
D=0D = 0 0 two equal real roots: x=−b2ax = -\dfrac{b}{2a}, twice touches the x-axis at one point
D<0D < 0 not a real number no real roots does not meet the x-axis
  • If D>0D > 0 and is a perfect square (with whole-number aa, bb, cc), the roots are rational and the equation can be factorised. If it is not a perfect square, the roots are irrational (surds).
  • "Real roots" (with no other word) means D≥0D \geq 0: distinct or equal. "Distinct real roots" means D>0D > 0 only.
  • "No real roots" does not mean your working is wrong. In a word problem it can mean the situation is impossible (Topic 6).

Questions with an unknown kk

Many board questions give an equation with an unknown, such as 3x2−kx+12=03x^2 - kx + 12 = 0, and ask for the value of kk that makes the roots equal (or real, or distinct). The method:

  1. Write the equation in standard form and read aa, bb, cc — some of them contain kk.
  2. Write the condition: equal roots → D=0D = 0; real roots → D≥0D \geq 0; distinct real roots → D>0D > 0; no real roots → D<0D < 0.
  3. Substitute and solve for kk. For k2=144k^2 = 144, remember both k=12k = 12 and k=−12k = -12.
  4. Check a≠0a \neq 0 for every value of kk. If a value makes a=0a = 0, the equation is not quadratic any more, so reject that value.
  5. If asked, find the roots: for equal roots, x=−b2ax = -\dfrac{b}{2a}.

Visual

Discriminant and the graph: three cases Three graphs on the same squared grid, x from −3 to 5 and y from −5 to 6, one square = 1 unit. D > 0: y = x² − 2x − 3, D = 4 + 12 = 16; the curve crosses the x-axis at x = −1 and x = 3, vertex (1, −4): two distinct real roots — crosses. D = 0: y = x² − 4x + 4, D = 16 − 16 = 0; the curve touches the x-axis only at x = 2, vertex (2, 0): two equal real roots — touches. D < 0: y = x² − 2x + 3, D = 4 − 12 = −8; vertex (1, 2), the whole curve above the x-axis: no real roots — misses. Positive — crosses twice; zero — touches once; negative — misses. x y x = −1 x = 3 vertex (1, −4) D > 0 y = x2 − 2x − 3 D = 4 + 12 = 16 two distinct real roots — crosses x y x = 2 vertex (2, 0) D = 0 y = x2 − 4x + 4 D = 16 − 16 = 0 two equal real roots — touches x y vertex (1, 2) D < 0 y = x2 − 2x + 3 D = 4 − 12 = −8 no real roots — misses positive — crosses twice; zero — touches once; negative — misses
Three parabolas: D > 0, D = 0, D < 0Ties the sign of D to a picture students already know from Chapter 2 (zeroes = where the graph meets the x-axis).

Worked examples

Worked example 1

D > 0

Question. Find the nature of the roots of 3x2−5x+1=03x^2 - 5x + 1 = 0.

Given: a=3a = 3, b=−5b = -5, c=1c = 1. Asked: the nature of the roots.

Concept used: the sign of D=b2−4acD = b^2 - 4ac. Why it applies: the nature of the roots is decided by DD alone, without solving.

  1. 1

    Write the discriminant.

    D=b2−4acD = b^2 - 4ac
  2. 2

    Substitute, with the negative bb in brackets.

    D=(−5)2−4(3)(1)D = (-5)^2 - 4(3)(1)
  3. 3

    Work out each part.

    D=25−12D = 25 - 12
  4. 4

    Subtract.

    D=13D = 13
  5. 5

    13>013 > 0, and 13 is not a perfect square.

  6. Check: the roots are 5±136\dfrac{5 \pm \sqrt{13}}{6} — two different irrational numbers ✔.

  7. Answer D=13>0D = 13 > 0, so the equation has two distinct real roots (irrational, since 13 is not a perfect square).

    Common trap: Writing (−5)2=−25(-5)^2 = -25, which gives D=−37D = -37 and the false verdict "no real roots".

Worked example 2

D = 0

Question. Find the nature of the roots of 4x2−20x+25=04x^2 - 20x + 25 = 0. If they are real, find them.

Given: a=4a = 4, b=−20b = -20, c=25c = 25. Asked: nature, and the roots if real.

Concept used: D=0D = 0 gives two equal roots, each equal to −b2a-\dfrac{b}{2a}. Why it applies: when D=0\sqrt{D} = 0, the ±\pm gives the same value twice.

  1. 1

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=(−20)2−4(4)(25)D = (-20)^2 - 4(4)(25)
  2. 2

    Work out each part.

    D=400−400=0D = 400 - 400 = 0
  3. 3

    D=0D = 0, so the roots are equal. Use x=−b2ax = -\dfrac{b}{2a}.

    x=−(−20)2(4)x = -\dfrac{(-20)}{2(4)}
  4. 4

    Simplify.

    x=208=52x = \dfrac{20}{8} = \dfrac{5}{2}
  5. Check: 4x2−20x+25=(2x−5)24x^2 - 20x + 25 = (2x - 5)^2, which is 0 only at x=52x = \dfrac{5}{2} ✔.

  6. Answer D=0D = 0: two equal real roots, x=52,52x = \dfrac{5}{2}, \dfrac{5}{2}.

    Common trap: Saying "one root" or "no roots" when D=0D = 0. The textbook language is two equal (coincident) real roots.

Worked example 3

D < 0

Question. Does 2x2+3x+4=02x^2 + 3x + 4 = 0 have real roots?

Given: a=2a = 2, b=3b = 3, c=4c = 4. Asked: whether real roots exist.

Concept used: D<0D < 0 means no real roots. Why it applies: a negative number has no real square root.

  1. 1

    Substitute into D=b2−4acD = b^2 - 4ac.

    D=32−4(2)(4)D = 3^2 - 4(2)(4)
  2. 2

    Work out each part.

    D=9−32D = 9 - 32
  3. 3

    Subtract.

    D=−23D = -23
  4. 4

    D<0D < 0, so D\sqrt{D} is not a real number.

  5. Check: for every real xx, 2x2+3x+4>02x^2 + 3x + 4 > 0 (the graph is a cup that stays above the x-axis; its lowest value, at x=−34x = -\dfrac{3}{4}, is 238\dfrac{23}{8}) ✔.

  6. Answer D=−23<0D = -23 < 0, so the equation has no real roots.

    Common trap: Continuing into the formula and writing −23\sqrt{-23} in the answer. Once D<0D < 0, stop and state "no real roots".

Worked example 4

Find k for equal roots

Question. Find the values of kk for which 3x2−kx+12=03x^2 - kx + 12 = 0 has two equal roots. Find the roots in each case.

Given: a=3a = 3, b=−kb = -k, c=12c = 12. Asked: kk, and the roots.

Concept used: equal roots ⇔ D=0D = 0. Why it applies: the condition gives an equation in kk.

  1. 1

    Write the condition for equal roots.

    b2−4ac=0b^2 - 4ac = 0
  2. 2

    Substitute b=−kb = -k.

    (−k)2−4(3)(12)=0(-k)^2 - 4(3)(12) = 0
  3. 3

    (−k)2=k2(-k)^2 = k^2.

    k2−144=0k^2 - 144 = 0
  4. 4

    Add 144 to both sides.

    k2=144k^2 = 144
  5. 5

    Take the square root — both signs.

    k=12ork=−12k = 12 \quad\text{or}\quad k = -12
  6. 6

    Check a≠0a \neq 0: a=3a = 3 for every kk ✔. Both values are valid.

  7. 7

    Roots for k=12k = 12 (b=−12b = -12): x=−b2a=126=2x = -\dfrac{b}{2a} = \dfrac{12}{6} = 2.

  8. 8

    Roots for k=−12k = -12 (b=12b = 12): x=−126=−2x = -\dfrac{12}{6} = -2.

  9. Check: k=12k = 12: 3x2−12x+12=3(x−2)23x^2 - 12x + 12 = 3(x - 2)^2 ✔. k=−12k = -12: 3x2+12x+12=3(x+2)23x^2 + 12x + 12 = 3(x + 2)^2 ✔.

  10. Answer k=±12k = \pm 12. For k=12k = 12 the roots are 2,22, 2; for k=−12k = -12 they are −2,−2-2, -2.

    Common trap: Giving only k=12k = 12. Every equation k2=k^2 = (positive number) has two answers.

Worked example 5

Find k, and check a ≠ 0

Question. Find the value of kk for which (k−3)x2+2(k−3)x+2=0(k - 3)x^2 + 2(k - 3)x + 2 = 0 has two equal roots.

Given: a=k−3a = k - 3, b=2(k−3)b = 2(k - 3), c=2c = 2. Asked: kk.

Concept used: equal roots ⇔ D=0D = 0, and the equation must stay quadratic (a≠0a \neq 0). Why it applies: here aa itself contains kk.

  1. 1

    Write the condition.

    b2−4ac=0b^2 - 4ac = 0
  2. 2

    Substitute.

    [2(k−3)]2−4(k−3)(2)=0[2(k - 3)]^2 - 4(k - 3)(2) = 0
  3. 3

    Square the bracket: [2(k−3)]2=4(k−3)2[2(k - 3)]^2 = 4(k - 3)^2.

    4(k−3)2−8(k−3)=04(k - 3)^2 - 8(k - 3) = 0
  4. 4

    Take out the common factor 4(k−3)4(k - 3).

    4(k−3)[(k−3)−2]=04(k - 3)[(k - 3) - 2] = 0
  5. 5

    Simplify the square bracket.

    4(k−3)(k−5)=04(k - 3)(k - 5) = 0
  6. 6

    Zero-product rule.

    k=3ork=5k = 3 \quad\text{or}\quad k = 5
  7. 7

    Check a≠0a \neq 0. For k=3k = 3: a=3−3=0a = 3 - 3 = 0, and the equation becomes 0x2+0x+2=00x^2 + 0x + 2 = 0, i.e. 2=02 = 0 — not a quadratic (not even true). Reject k=3k = 3. For k=5k = 5: a=2≠0a = 2 \neq 0 ✔.

  8. Check: k=5k = 5 gives 2x2+4x+2=2(x+1)2=02x^2 + 4x + 2 = 2(x + 1)^2 = 0, two equal roots x=−1,−1x = -1, -1 ✔.

  9. Answer k=5k = 5 (the value k=3k = 3 is rejected because it makes a=0a = 0).

    Common trap: Giving both k=3k = 3 and k=5k = 5. A value of kk that makes the x2x^2 term vanish does not give a quadratic equation, so it cannot give "two equal roots".

Worked example 6

For which k are the roots real?

Question. For what values of kk does x2−6x+k=0x^2 - 6x + k = 0 have real roots?

Given: a=1a = 1, b=−6b = -6, c=kc = k. Asked: the values of kk.

Concept used: real roots ⇔ D≥0D \geq 0 (distinct or equal). Why it applies: "real roots" includes the equal case.

  1. 1

    Write the condition.

    b2−4ac≥0b^2 - 4ac \geq 0
  2. 2

    Substitute.

    (−6)2−4(1)(k)≥0(-6)^2 - 4(1)(k) \geq 0
  3. 3

    Simplify.

    36−4k≥036 - 4k \geq 0
  4. 4

    Add 4k4k to both sides.

    36≥4k36 \geq 4k
  5. 5

    Divide both sides by 4.

    k≤9k \leq 9
  6. 6

    a=1≠0a = 1 \neq 0 for every kk, so no value needs to be rejected.

  7. Check: k=9k = 9: x2−6x+9=(x−3)2x^2 - 6x + 9 = (x - 3)^2, equal roots ✔. k=10k = 10: D=36−40=−4<0D = 36 - 40 = -4 < 0, no real roots ✔.

  8. Answer k≤9k \leq 9

    Common trap: Writing k<9k < 9. That is the condition for distinct real roots; "real roots" also allows D=0D = 0.

6 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 3MCQ1 mark

The equation x2−8x+16=0x^2 - 8x + 16 = 0 has:

Quick check · 2 of 3Short answer2 marks

Find the values of kk for which 2x2+kx+8=02x^2 + kx + 8 = 0 has two equal roots.

Quick check · 3 of 3Short answer2 marks

Find the value of kk for which kx2−4kx+4=0kx^2 - 4kx + 4 = 0 has two equal roots.

Key points

  • Discriminant: D=b2−4acD = b^2 - 4ac.
  • D>0D > 0: two distinct real roots (graph crosses the x-axis twice). D=0D = 0: two equal real roots, x=−b2ax = -\dfrac{b}{2a} (graph touches). D<0D < 0: no real roots (graph misses).
  • Real roots ⇔ D≥0D \geq 0; distinct real roots ⇔ D>0D > 0.
  • kk-questions: standard form → condition on DD → solve for kk (both signs!) → reject any kk that makes a=0a = 0.
  • "No real roots" is a valid answer — it can mean a situation is impossible.
My notesComing soon