Find a course

Module 3: Completing the Square and the Quadratic FormulaLesson 9 of 1111 min

The Discriminant

Use the discriminant to predict whether a quadratic has two, one or no real solutions and whether they are rational, without solving.

Step 1 of 10Learn

A preview of the answer

The expression under the square root in the quadratic formula, b2 − 4ac, is called the discriminant, often written D. It "discriminates" between the possible types of solutions, so you can predict the answer before doing the full calculation.

  • D > 0: √D is a positive real number. The ± gives two different values: two real solutions. The parabola crosses the x-axis twice.
  • D = 0: √D = 0, so + and − give the same value, x = −b/(2a): one real solution (a double root). The vertex touches the x-axis.
  • D < 0: you'd need the square root of a negative number, which isn't a real number: no real solutions. The parabola never reaches the x-axis. (In later courses these equations have two complex solutions involving the imaginary unit i = √(−1).)

Examples:

  • x2 − 6x + 5: D = 36 − 20 = 16 > 0, two solutions (1 and 5)
  • x2 − 4x + 4: D = 16 − 16 = 0, one solution (2)
  • x2 + 4x + 7: D = 16 − 28 = −12 < 0, no real solutions

That's the same trio of graphs you saw in the parabola lesson, now detected with one line of arithmetic.

Step 2 of 10Practice · Diagram

Discriminants on a number line

Which equation has two real solutions that are irrational?

Tap the shape that answers the question, then press Check.

Discriminants on a number lineScale: x² + 4x + 7, x² − 4x + 4, x² + 3x + 1, x² − 6x + 5.No real solutionsTwo real solutions-20-15-10-505101520-12x² + 4x + 70x² − 4x + 45x² + 3x + 116x² − 6x + 5
x² + 4x + 7

D = 16 − 28 = −12

x² − 4x + 4

D = 0: one double root, x = 2

x² + 3x + 1

D = 9 − 4 = 5

x² − 6x + 5

D = 36 − 20 = 16

Step 3 of 10Practice · Sort into groups

Use the discriminant to sort the equations by their number of real solutions.

Tap an item, then tap its group (or drag it there).

Step 4 of 10Learn

Rational or irrational?

When D > 0, the discriminant tells you even more, as long as a, b and c are integers:

  • If D is a perfect square (1, 4, 9, 16, 25, …), √D is a whole number and both solutions are rational. The quadratic factors over the integers.
  • If D is positive but not a perfect square, the solutions are irrational, a pair like 3 ± √5. The quadratic doesn't factor over the integers.

That gives a practical decision rule. Compute D before you start:

  • Perfect square → try factoring, it will work.
  • Not a perfect square → go straight to the formula or completing the square.
  • Negative → stop; there are no real solutions.

The discriminant also answers "for which values" questions. For what value of k does x2 + kx + 9 = 0 have exactly one solution? Set D = 0: k2 − 4(1)(9) = 0, so k2 = 36 and k = ±6. Check k = 6: x2 + 6x + 9 = (x + 3)2, a perfect square trinomial with a double root.

For two real solutions you'd need k2 − 36 > 0, which happens when k > 6 or k < −6.

Step 5 of 10Practice · Diagram

Let D choose your method

For x² − 2x − 15, D = 64. Which leaf do you land on?

Tap the shape that answers the question, then press Check.

Let D choose your methodHierarchy diagram: Compute D = b² − 4ac, D < 0: stop, D = 0: one double root, D > 0, Perfect square: factor, Not a square: formula.Compute D = b² −4acD < 0: stopD = 0: onedouble rootD > 0Perfect square:factorNot a square:formula
Compute D = b² − 4ac
D < 0: stop

No real solutions.

D = 0: one double root

x = −b/(2a).

D > 0
Perfect square: factor
Not a square: formula

Step 6 of 10Explore

Sliding the parabola past the axis

The graph is y = x2 + bx + c. Keep b fixed and move c. The readout shows the discriminant b2 − 4c. Watch the number of x-intercepts change exactly when the discriminant changes sign.

-50510 -505
Discriminant b² − 4c
0
Vertex y-value
0

Step 7 of 10Practice · Work it out

For what positive value of k does x2 + kx + 16 = 0 have exactly one real solution?

Step 8 of 10Practice · Choose one

What does a discriminant of 49 tell you about 6x2 + x − 2 = 0?

Step 9 of 10Practice · True or false

If a and c have opposite signs, the quadratic ax2 + bx + c = 0 always has two real solutions.

Step 10 of 10Practice · Work it out

What is the discriminant of 3x2 − 2x + 5 = 0?