Discriminant of a quadratic equation

The discriminant DD is b2−4acb^2 - 4ac, the part under the square root in the quadratic formula. If it is positive there are 2 roots, if it is 0 there is 1 root (a double root), and if it is negative there are no real roots. So you can tell how many roots there are without solving the equation.

Chalcack concept card · Reviewed by the Chalcack team ·

The number of points where the graph meets the x-axis is the number of roots, and it matches the sign of D.

Formulas

  • For ax2+bx+c=0ax^2 + bx + c = 0, D=b2−4acD = b^2 - 4ac
  • D>0D > 0: two different roots, D=0D = 0: one double root, D<0D < 0: no real roots

When to use it

Use it when you need the number of roots of a quadratic equation without solving it, or need the value of an unknown that gives a double root.

Worked example

Find how many roots x2−4x+3=0x^2 - 4x + 3 = 0 has. Here a=1a = 1, b=−4b = -4, c=3c = 3, so D=(−4)2−4×1×3=16−12=4D = (-4)^2 - 4 \times 1 \times 3 = 16 - 12 = 4. Since D>0D > 0, the equation has two different roots (in fact x=1x = 1 or x=3x = 3).

Common mistake

When bb is negative, it is easy to get the sign of b2b^2 wrong. Use parentheses when you square, as in (−4)2=16(-4)^2 = 16, and remember that D=0D = 0 means a double root, not no roots.

Related concepts

All 181 math concepts