Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Use the Discriminant

The number under the square root in the quadratic formula, Δ=b2−4ac\Delta = b^2 - 4ac, decides everything about the roots before you compute them: positive gives two real roots, zero gives one repeated root, negative gives none.

Recognize the task

"How many real solutions?", "describe the nature of the roots", "for which kk does the equation have equal roots / two real roots / no real roots", "does the parabola cross the xx-axis?". Test: the question is about the roots, not for them.

Steps

StepOn 4x2−12x+9=04x^2 - 12x + 9 = 0
1Write the equation in standard form and read a, b, c. Signs included.Addition property of equality ↗a=4a = 4, b=−12b = -12, c=9c = 9
2Compute Δ = b² − 4ac. Square bb including its sign; b2b^2 is never negative.Δ=144−144=0\Delta = 144 - 144 = 0
3Read off the number of real roots. Δ>0\Delta > 0: two; Δ=0\Delta = 0: one repeated; Δ<0\Delta < 0: none (two complex).one repeated root
4For integer a, b, c: check whether Δ is a perfect square. A perfect square means rational roots, so the quadratic factors over the integers.the root is x=−b2a=32x = -\frac{b}{2a} = \frac{3}{2}; indeed (2x−3)2=0(2x - 3)^2 = 0

Worked examples

Example 1 · two rational roots

Δ a perfect square
x2−3x−4x^2 - 3x - 4: Δ=9+16=25\Delta = 9 + 16 = 25
25=5225 = 5^2
two rational roots (it factors: (x−4)(x+1)(x - 4)(x + 1))

Example 2 · no real roots

Δ < 0
x2+x+1x^2 + x + 1: Δ=1−4=−3\Delta = 1 - 4 = -3
no real roots; the parabola stays above the axis

Example 3 · find k

set Δ = 0
x2+kx+9=0x^2 + kx + 9 = 0 has a repeated root: k2−36=0k^2 - 36 = 0
k=±6k = \pm 6

See it happen

Drag the marble. Solutions are x where the curve hits level n. The sign chart shows where f(x) − n is positive vs negative.
← → nudge · shift+drag snap · [ ] step · space play · r reset
x² − 4=0
y0204060n = 0x-8-7-6-5-4-3-2-1012345678-22
f(x)level nsolution/trail
f(0) = -4, n = 0 → not a solution (off by 4)
speed0.6×
solutions-2, 2
Templates & parameters
f(x) = ax² + bx + c ; solve f(x) = n
a (x²)
+1
-3013
b (x)
0
-505
c
−4
-8-408
level n
0
-10010
Sign chart of f(x) − n
x < -2-2-2 – 22x > 2
f(x) − n+0−0+
Explanation
at x = 0
f(0)= -4−
n= 00
f(x) \u2212 n= -4−
f(x) \u2212 n = -4 \u2260 0 \u2192 not a solution
Here f is below level n = 0 by 4. Solutions are at -2, 2; click any to jump.
Slide the parabola up and down: it crosses the xx-axis twice (Δ>0\Delta > 0), touches it once at the vertex (Δ=0\Delta = 0), or floats free of it (Δ<0\Delta < 0). The discriminant measures which of the three you are in.

Common mistakes

Forgetting the minus sign of a negative b

✗ b2=−144b^2 = -144 for b=−12b = -12
✓ (−12)2=144(-12)^2 = 144

Reading Δ < 0 as "no solution at all"

✗ "x2+x+1=0x^2 + x + 1 = 0 is impossible"
✓ no real solution; there are two complex ones

Using the discriminant before standard form

✗ 3x2=2x+13x^2 = 2x + 1: a=3a = 3, b=2b = 2, c=1c = 1
✓ rearrange: 3x2−2x−1=03x^2 - 2x - 1 = 0, so b=−2b = -2, c=−1c = -1