mastree

The discriminant: how many roots, and what kind

What this lesson covers

  • The discriminant b² − 4ac decides how many real roots a quadratic has before it is solved.
  • A perfect-square discriminant means the roots are rational; otherwise they are irrational.
Key idea

Before you solve, count the roots

  • Inside the quadratic formula is b² − 4ac.
  • It is called the discriminant.
  • Its sign decides how many real roots there are.
Key idea

Three cases, one curve

  • Positive: the curve crosses the axis twice.
  • Zero: it just touches, once.
  • Negative: it never meets the axis.
Three cases, one curve
Key idea

Try it: two, one or no roots

Key idea

The rule

  • Work out b² − 4ac.
  • Positive, zero or negative.
  • Two roots, one repeated root, or none.
DiscriminantRootsGraph
b² − 4ac > 0two real rootscrosses twice
b² − 4ac = 0one repeated roottouches once
b² − 4ac < 0no real rootsnever meets
Key idea

Why it works

  • The formula has ± √(b² − 4ac).
  • Positive gives two answers; zero gives one.
  • Negative has no real square root.
Worked example

Two quick examples

  • Write a, b and c first.
  • Then state the nature.
  1. x² − 6x + 9: a = 1, b = −6, c = 9
  2. Δ = (−6)² − 4(1)(9)substitute
  3. = 36 − 36 = 0one repeated root
  4. x² + 2x + 5: a = 1, b = 2, c = 5
  5. Δ = 2² − 4(1)(5)substitute
  6. = 4 − 20 = −16no real roots
Worked example

Watch the sign when c is negative

  • c negative: −4ac adds.
  • Bracket negative values.
  1. 2x² + 3x − 2 = 0
  2. a = 2, b = 3, c = −2c is negative
  3. Δ = 3² − 4(2)(−2)substitute
  4. −4(2)(−2) = +16minus times minus
  5. Δ = 9 + 16 = 25two real roots
Worked example

Rational roots: a perfect square

  • Perfect square: rational.
  • The equation factorises.
  1. Δ = 25 = 5²a perfect square
  2. x = (−3 ± √25)/4−b = −3, 2a = 4
  3. = (−3 ± 5)/4√25 = 5
  4. x = (−3 + 5)/4 = 1/2
  5. x = (−3 − 5)/4 = −2
  6. (2x − 1)(x + 2) = 0it factorises
Worked example

Irrational roots: not a square

  • Not a square: irrational.
  • Leave the root as a surd.
  1. x² − 4x + 1: a = 1, b = −4, c = 1
  2. Δ = (−4)² − 4(1)(1)substitute
  3. = 16 − 4 = 12not a perfect square
  4. x = (4 ± √12)/2−b = 4, 2a = 2
  5. √12 = √4 × √3 = 2√3
  6. x = (4 ± 2√3)/2
  7. = 2 ± √3irrational
Worked example

Find k for equal roots

  • Equal roots: Δ = 0.
  • Give both values of k.
  1. x² + kx + 9 = 0
  2. a = 1, b = k, c = 9
  3. Δ = 0equal roots
  4. k² − 4(1)(9) = 0substitute
  5. k² − 36 = 0
  6. k² = 36add 36
  7. k = 6 or k = −6both square roots
Key idea

Try it: cut, touch or miss

Worked example

Find k for no real roots

  • No real roots: Δ < 0.
  • The answer is a range.
  1. kx² − 4x + 1 = 0
  2. a = k, b = −4, c = 1
  3. Δ < 0no real roots
  4. (−4)² − 4(k)(1) < 0substitute
  5. 16 − 4k < 0
  6. 16 < 4kadd 4k
  7. 4 < k, so k > 4divide by 4
Key idea

The words tell you the condition

  • "Equal" or "repeated": Δ = 0.
  • "Two real" or "distinct": Δ > 0.
  • "No real": Δ < 0. "Real": Δ ≥ 0.
Key idea

Graphing calculator

Key idea

Try it: drag, name and find k

Key idea

Where the marks are

  • Achieved: calculate Δ and state the nature.
  • Merit: use Δ to find an unknown.
  • Excellence: link Δ to a real problem.
Summary

What to take away

  • The sign of b² − 4ac counts the roots.
Δ = b² − 4acfrom ax² + bx + c = 0
Δ > 0two real roots
Δ = 0one repeated root
Δ < 0no real roots
Δ a perfect squarethe roots are rational
Unknown kset up Δ = 0, > 0 or < 0

Common mistakes

  • 2x² + 3x − 2 = 0: Δ = 3² − 4(2)(2) = 9 − 16 = −7, so no real roots.
    c is −2, so bracket it: −4(2)(−2) = +16, giving Δ = 9 + 16 = 25 and two real roots.
  • Δ = 12 is positive, so the roots are rational.
    Δ > 0 gives two real roots, but they are rational only when Δ is a perfect square. 12 is not, so the roots are irrational.
  • x² + kx + 9 = 0 has equal roots when k² = 36, so k = 6.
    k² = 36 has two square roots, so k = 6 or k = −6.
  • k² − 64 < 0, so k < 8.
    Values below −8 also make k² bigger than 64, so the answer is the range −8 < k < 8.
Your turn

Your turn: eight questions

  • Question 4 has a range of answers.
  • Show the discriminant each time.
1

Describe the roots of 3x² − 5x + 1 = 0.

2

Describe the roots of x² − 10x + 25 = 0.

3

Find k so x² + 6x + k = 0 has equal roots.

4

For which k does 2x² + kx + 8 = 0 have no real roots?

5

A question asks for the values of k that give real roots. Which condition do you use?

6

Which equation has two rational roots?

7

Tama works out Δ = 2² − 4(3)(−5) = 4 − 60 = −56 for 3x² + 2x − 5 = 0, so says no real roots. What is wrong?

8

A kicked rugby ball's height is h = −5t² + 20t + 1 metres. Use the discriminant to decide if it reaches 25 m.

Show answer

1. Δ = 25 − 12 = 13 > 0 and not a square: two irrational roots. 2. Δ = 100 − 100 = 0: one repeated root, x = 5. 3. 36 − 4k = 0, so k = 9. 4. k² − 64 < 0, so −8 < k < 8. 5. b² − 4ac ≥ 0. "Real" includes two distinct roots and one repeated root, so the discriminant can be positive or zero. 6. 2x² − x − 6 = 0: Δ = (−1)² − 4(2)(−6) = 1 + 48 = 49 = 7², a perfect square. The others give 12, 13 and −11. 7. −4(3)(−5) = +60, so Δ = 4 + 60 = 64 = 8², a perfect square: two rational roots (x = 1 and x = −5/3). 8. No: set −5t² + 20t + 1 = 25, so −5t² + 20t − 24 = 0 and Δ = 20² − 4(−5)(−24) = 400 − 480 = −80 < 0. It never reaches 25 m.

Worked example

The answers: questions 1 and 2

  1. 1. a = 3, b = −5, c = 1
  2. Δ = (−5)² − 4(3)(1)substitute
  3. = 25 − 12 = 13
  4. 13 > 0, not a squaretwo irrational roots
  5. 2. a = 1, b = −10, c = 25
  6. Δ = (−10)² − 4(1)(25)substitute
  7. = 100 − 100 = 0one repeated root
  8. (x − 5)² = 0, so x = 5factorise
Worked example

The answers: questions 3 and 4

  1. 3. 6² − 4(1)(k) = 0equal roots: Δ = 0
  2. 36 − 4k = 0
  3. 4k = 36, so k = 9
  4. 4. k² − 4(2)(8) < 0no real roots: Δ < 0
  5. k² − 64 < 0
  6. k² < 64add 64
  7. −8 < k < 8k between −8 and 8
Your turn

Sample question: Achieved

Find the discriminant of 2x² − 5x − 3 = 0 and use it to describe the roots. Do not solve the equation.

Hint

Use Δ = b² − 4ac with a = 2, b = −5 and c = −3, then ask: is it positive, and is it a perfect square?

Answer

Δ = 49: two different real roots, and they are rational

Step by step
  1. The discriminant is Δ = b² − 4ac. It tells you about the roots before you solve.
  2. Read off a = 2, b = −5 and c = −3. Keep the signs with the numbers.
  3. b² = (−5)² = 25. Squaring a negative gives a positive.
  4. 4ac = 4 × 2 × (−3) = −24, so −4ac = +24.
  5. Δ = 25 + 24 = 49.
  6. Classic mistake: writing 25 − 24 = 1. When c is negative, taking away 4ac adds.
  7. Δ is positive, so there are two different real roots.
  8. 49 = 7² is a perfect square, so the roots are rational (whole numbers or fractions).
  9. Check by solving: (2x + 1)(x − 3) = 0 gives x = −12 and x = 3. Two rational roots, as predicted.
Full working
  1. a = 2, b = −5, c = −3
  2. Δ = (−5)² − 4 × 2 × (−3)Δ = b² − 4ac
  3. Δ = 25 + 24 = 49
  4. Δ > 0 and 49 = 7²positive and a perfect square
  5. Two different real rational roots
Your turn

Sample questions: Merit

1

Find the values of k for which x² + kx + 2k − 3 = 0 has equal roots. For each value of k, find the root.

Hint

Equal roots means Δ = 0. That gives a quadratic in k to solve.

Answer

k = 2, root x = −1; or k = 6, root x = −3

Step by step
  1. Equal roots (one repeated root) means the discriminant is zero: b² − 4ac = 0.
  2. Read off a = 1, b = k and c = 2k − 3. The whole of 2k − 3 is c.
  3. Δ = k² − 4 × 1 × (2k − 3) = k² − 8k + 12.
  4. Classic mistake: writing k² − 8k − 12. The −4 multiplies both parts of the bracket, so −4 × −3 = +12.
  5. Set it to zero: k² − 8k + 12 = 0.
  6. Factorise: two numbers that multiply to 12 and add to −8 are −2 and −6. So (k − 2)(k − 6) = 0, giving k = 2 or k = 6.
  7. Now find each root. When Δ = 0 the formula gives x = −b ÷ (2a) = −k2.
  8. k = 2 gives x = −1. k = 6 gives x = −3.
  9. Check k = 2: x² + 2x + 1 = (x + 1)², root −1. Check k = 6: x² + 6x + 9 = (x + 3)², root −3. Both are perfect squares, as they should be.
Full working
  1. Δ = k² − 4(2k − 3) = 0equal roots: Δ = 0
  2. k² − 8k + 12 = 0
  3. (k − 2)(k − 6) = 0, so k = 2 or 6
  4. x = −b ÷ (2a) = −k2the single root when Δ = 0
  5. k = 2, x = −1; k = 6, x = −3
2

Find the values of k for which kx² + 4x + (k − 3) = 0 has two different real roots.

Hint

Two different real roots means Δ > 0. Solve the inequality in k, and remember the equation is only a quadratic if k ≠ 0.

Answer

−1 < k < 4, but k ≠ 0

Step by step
  1. Two different real roots means the discriminant is positive: b² − 4ac > 0.
  2. Here a = k, b = 4 and c = k − 3.
  3. Δ = 16 − 4k(k − 3) = 16 − 4k² + 12k.
  4. Set Δ > 0 and divide every term by −4. Dividing by a negative flips the sign: k² − 3k − 4 < 0.
  5. Factorise: (k − 4)(k + 1) < 0. The critical values are k = 4 and k = −1.
  6. Sketch y = (k − 4)(k + 1): a ∪-shaped parabola crossing at −1 and 4. It is below zero between them, so −1 < k < 4.
  7. Classic mistake: forgetting to flip the inequality when dividing by −4, which gives the outside region instead.
  8. One more condition: if k = 0 the x² term disappears and the equation is 4x − 3 = 0, a straight line with only one root. So k ≠ 0.
  9. Check k = 1, inside the range: x² + 4x − 2 = 0 has Δ = 16 + 8 = 24 > 0. Check k = 5, outside: Δ = 16 − 40 < 0. Both agree.
Full working
  1. Δ = 4² − 4k(k − 3) > 0two different real roots
  2. 16 + 12k − 4k² > 0
  3. k² − 3k − 4 < 0divide by −4 and flip the sign
  4. (k − 4)(k + 1) < 0, so −1 < k < 4a ∪ parabola is negative between its roots
  5. k ≠ 0otherwise it is not a quadratic
  6. −1 < k < 4, k ≠ 0
Your turn

Sample questions: Excellence

1

Prove that x² + (k − 2)x − k = 0 has two different real roots for every real value of k. Then find the only integer value of k for which the roots are rational, and give those roots.

Hint

Simplify Δ until it is clearly always positive. For rational roots, Δ = k² + 4 must be a perfect square: which two square numbers are 4 apart?

Answer

Δ = k² + 4 > 0 for all k; the roots are rational only for k = 0, and they are x = 0 and x = 2

Step by step
  1. Here a = 1, b = k − 2 and c = −k.
  2. Δ = (k − 2)² − 4 × 1 × (−k) = k² − 4k + 4 + 4k.
  3. The −4k and +4k cancel, so Δ = k² + 4.
  4. k² is never negative, so k² + 4 is at least 4. Δ is always positive.
  5. A positive discriminant means two different real roots, whatever k is. That proves the first part.
  6. Rational roots need Δ to be a perfect square, say k² + 4 = m² for a whole number m.
  7. Then m² − k² = 4, so two perfect squares are 4 apart.
  8. List the squares: 0, 1, 4, 9, 16, 25, ... The gaps between them grow (1, 3, 5, 7, ...), and the only pair 4 apart is 0 and 4.
  9. So k² = 0 and m² = 4, which means k = 0.
  10. With k = 0 the equation is x² − 2x = 0, so x(x − 2) = 0 and the roots are 0 and 2.
  11. Classic mistake: testing a few values of k and stopping. The gap argument shows there is no other integer, however large.
  12. Check: k = 1 gives Δ = 5, not a square, so irrational roots. k = 0 gives Δ = 4 = 2². Consistent.
Full working
  1. Δ = (k − 2)² + 4kb² − 4ac with c = −k
  2. Δ = k² + 4−4k and +4k cancel
  3. k² ≥ 0, so Δ ≥ 4 > 0 for every kalways two different real roots
  4. k² + 4 = m²rational roots need a perfect square
  5. m² − k² = 4: only 4 − 0gaps between squares are 1, 3, 5, 7, ...
  6. k = 0: x² − 2x = 0, x = 0 or 2
  7. Always two real roots; rational only for k = 0, roots 0 and 2
2

The expression kx² + 2kx + 3, where k ≠ 0, is positive for every value of x. Find all possible values of k, and explain why each condition you use is needed.

Hint

Positive for every x means the parabola is ∪-shaped and never touches the x-axis. Turn each of those into a condition on k.

Answer

0 < k < 3

Step by step
  1. Picture y = kx² + 2kx + 3. For y to be positive for every x, the whole graph must sit above the x-axis.
  2. Condition 1: the parabola must open upwards. A ∩-shaped parabola always goes below zero eventually. So k > 0.
  3. Condition 2: the graph must never meet the x-axis. That means no real roots, so Δ < 0.
  4. Here a = k, b = 2k and c = 3, so Δ = (2k)² − 4 × k × 3 = 4k² − 12k.
  5. Solve 4k² − 12k < 0. Factorise: 4k(k − 3) < 0.
  6. This is a ∪-shaped parabola in k with roots 0 and 3, so it is negative between them: 0 < k < 3.
  7. Combine the conditions: k > 0 and 0 < k < 3 give 0 < k < 3.
  8. Why not k = 3? Then the expression is 3x² + 6x + 3 = 3(x + 1)², which equals 0 at x = −1. Zero is not positive, so 3 is left out.
  9. Here Δ < 0 already forces k > 0, but do not rely on that in general: a ∩-shaped curve with Δ < 0 sits wholly below the axis. Always check the sign of a as well.
  10. Check k = 1: x² + 2x + 3 = (x + 1)² + 2, which is always at least 2. Positive, as required.
Full working
  1. k > 0the parabola must be ∪-shaped
  2. Δ = (2k)² − 4 × k × 3 < 0it must never meet the x-axis
  3. 4k(k − 3) < 0, so 0 < k < 3
  4. k = 3 gives 3(x + 1)², which is 0 at x = −1so 3 is excluded
  5. 0 < k < 3
Try it

Graphing Quadratics

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Challenge

1

A farmer wants a rectangular paddock of area 600 m² beside a straight river. The river side needs no fence, so the other three sides use L metres of fence. Find the least value of L for which this is possible, and the paddock's exact size at that value. Then, with 80 m of fence, find both possible paddocks.

Hint

Call the two sides that run away from the river x m each. Write the river-side length using the area, then build L. Multiply through by x to get a quadratic in x: a real paddock needs a real root.

Answer

Least L = 40√3 ≈ 69.28 m, with sides 10√3 ≈ 17.32 m away from the river and 20√3 ≈ 34.64 m along it; with 80 m: 10 m by 60 m, or 30 m by 20 m (sides away from the river first)

Step by step
  1. Let each side away from the river be x m. The side along the river is 600x m, so L = 2x + 600x.
  2. Multiply by x and rearrange: 2x² − Lx + 600 = 0.
  3. A paddock exists only when this has a real root, so Δ = L² − 4 × 2 × 600 = L² − 4800 ≥ 0.
  4. L is positive, so L ≥ √4800 = 40√3 ≈ 69.28 m. That is the least amount of fence.
  5. At L = 40√3, Δ = 0 and the repeated root is x = L4 = 10√3 ≈ 17.32 m. The river side is 60010√3 = 20√3 ≈ 34.64 m.
  6. With L = 80: 2x² − 80x + 600 = 0, so x² − 40x + 300 = 0 and (x − 10)(x − 30) = 0.
  7. x = 10 gives a river side of 60 m; x = 30 gives 20 m. Check: 10 + 10 + 60 = 80 and 30 + 30 + 20 = 80.
Full working
  1. L = 2x + 600xriver side is 600x
  2. 2x² − Lx + 600 = 0multiply by x
  3. Δ = L² − 4800 ≥ 0needs a real root
  4. L ≥ 40√3 ≈ 69.28 m√4800 = √1600 × √3
  5. x = L4 = 10√3, river side 60010√3 = 20√3Δ = 0, repeated root
  6. L = 80: x² − 40x + 300 = 0, x = 10 or 30river side 60 or 20
  7. Least L = 40√3 ≈ 69.28 m (10√3 by 20√3 m); with 80 m: 10 by 60 m or 30 by 20 m
2

Show that the equation (x − a)(x − b) = k² has real roots for every choice of real numbers a, b and k. Then state exactly when its two roots are equal.

Hint

Expand and write it as x² + (…)x + (…) = 0 before finding the discriminant. Then look for a perfect square inside it.

Answer

Δ = (a − b)² + 4k², which is never negative, so the roots are always real; they are equal only when a = b and k = 0

Step by step
  1. Expand and move k² across: x² − (a + b)x + ab − k² = 0.
  2. Here A = 1, B = −(a + b) and C = ab − k².
  3. Δ = (a + b)² − 4(ab − k²) = a² + 2ab + b² − 4ab + 4k² = a² − 2ab + b² + 4k².
  4. a² − 2ab + b² is (a − b)², so Δ = (a − b)² + 4k².
  5. Squares are never negative, so Δ ≥ 0 and the roots are always real.
  6. Δ = 0 needs both squares to be zero at once: a = b and k = 0. Then the equation is (x − a)² = 0, one repeated root x = a.
Full working
  1. x² − (a + b)x + (ab − k²) = 0expand, subtract k²
  2. Δ = (a + b)² − 4(ab − k²)b² − 4ac
  3. = a² − 2ab + b² + 4k²
  4. = (a − b)² + 4k² ≥ 0sum of squares
  5. Δ = 0 only if a − b = 0 and k = 0
  6. Always real; equal roots only when a = b and k = 0
3

Without drawing a graph, find the largest and smallest values that x + 1x² + 3 can take for real x, and the value of x that gives each.

Hint

Ask: for which numbers p does x + 1x² + 3 = p have a real solution? Multiply out to get a quadratic in x, and demand that its discriminant is not negative.

Answer

Largest value ½ at x = 1; smallest value −16 at x = −3

Step by step
  1. The expression can equal p only if x + 1x² + 3 = p has a real solution. x² + 3 is never 0, so multiply: px² − x + 3p − 1 = 0.
  2. If p = 0 this is linear and x = −1 works. Otherwise it is a quadratic, and it needs Δ ≥ 0.
  3. Δ = 1 − 4p(3p − 1) = 1 + 4p − 12p², so we need 12p² − 4p − 1 ≤ 0, which factorises to (6p + 1)(2p − 1) ≤ 0.
  4. So −16 ≤ p ≤ ½. The expression can never go above ½ or below −16.
  5. At the end values Δ = 0, so there is one repeated root x = 1 ÷ (2p): p = ½ gives x = 1 and p = −16 gives x = −3.
  6. Check: 1 + 11 + 3 = ½ and −3 + 19 + 3 = −212 = −16.
Full working
  1. px² − x + (3p − 1) = 0set x + 1x² + 3 = p
  2. Δ = (−1)² − 4p(3p − 1) = 1 + 4p − 12p² ≥ 0needs a real root
  3. 12p² − 4p − 1 ≤ 0, so (6p + 1)(2p − 1) ≤ 0
  4. −16 ≤ p ≤ ½
  5. x = 1 ÷ (2p): p = ½ gives x = 1; p = −16 gives x = −3Δ = 0 at the ends
  6. Largest ½ at x = 1; smallest −16 at x = −3

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91261