Formula

Discriminant

Also written: b squared minus 4ac · discriminant formula

Δ=b2−4ac\Delta = b^2 - 4ac

The discriminant is the part of the quadratic formula under the square root. Its sign tells you how many real solutions a quadratic has, before you solve it.

What each part means

Δ\Delta
the discriminant, a capital Greek delta
a,b,ca, b, c
the coefficients of ax² + bx + c = 0

Discriminant calculator

Enter the numbers from ax2+bx+c=0ax^2 + bx + c = 0 to find the discriminant Δ=b2−4ac\Delta = b^2 - 4ac, see what its sign says about the solutions, and see the parabola with its vertex and x-intercepts. Whole numbers, decimals and fractions all work.

The steps below find the discriminant of x2+4x+4=0x^2 + 4x + 4 = 0, with a = 1, b = 4 and c = 4. Turn on JavaScript to try your own numbers.

Worked example: x2+4x+4=0

The discriminant is 0: one repeated real solution, so the parabola touches the x-axis at (−2, 0).

Graph of y = x² + 4x + 4 A parabola that opens upward, with its vertex at (−2, 0). It touches the x-axis at its vertex and does not cross it. It crosses the y-axis at (0, 4). −6−4−22−22468xy vertex (−2, 0)
  • y = x² + 4x + 4
Graph of y = x² + 4x + 4

Read off a, b and c

In x2+4x+4=0, keep each sign with its number. A missing term has a coefficient of 0, and a bare x² has a = 1.

a=1b=4c=4

Find the discriminant

The discriminant is the part of the quadratic formula under the square root.

Δ=b2−4ac
Δ=42−4(1)(4)=16−4(1)(4)=16−16=0

Read the sign

The discriminant is zero, so there is one repeated real solution and the parabola touches the x-axis at its vertex.

It is a perfect square, and the repeated solution is x=−2:

x2+4x+4=(x+2)2

Find the vertex

The vertex is where the parabola touches the x-axis, at x = −b ÷ 2a. Put that x back into the equation for its height.

x=−b2a=−42(1)=−2
y=1(−2)2+4(−2)+4=4−8+4=0

Read the picture

The parabola opens upward because a is positive.

The x-intercept is the vertex, (−2, 0).

A parabola that opens upward, with its vertex at (−2, 0). It touches the x-axis at its vertex and does not cross it. It crosses the y-axis at (0, 4).

The solutions of the equation are the x-intercepts. One repeated solution: x = −2.

Runs on your device: nothing you type is sent or saved. Want to solve the equation too? Use the quadratic formula and read the quadratic formula lesson.

When to use it

You need to know how many real solutions a quadratic has, or whether a graph crosses the x-axis, without solving the whole equation.

What its sign tells you

DiscriminantReal solutionsThe parabola
Δ>0\Delta > 0twocrosses the xx-axis twice
Δ=0\Delta = 0one, repeatedtouches the axis at its vertex
Δ<0\Delta < 0nonenever reaches the axis
Why the sign decides it

The quadratic formula ends in ±b2−4ac\pm\sqrt{b^2 - 4ac}, so the discriminant is whatever sits under that root.

  • A positive value has two square roots, one positive and one negative, so ±\pm produces two different answers.
  • Zero has one square root, namely zero, so +0+0 and −0-0 give the same answer twice.
  • A negative value has no real square root, so the formula produces no real answer.

The three cases are not a rule to memorize. They are the three things a square root can do.

Worked examples

How many solutions does x2+4x+4=0x^2 + 4x + 4 = 0 have?

Δ=16−4(1)(4)=0\Delta = 16 - 4(1)(4) = 0

One repeated solution. The graph touches the xx-axis without crossing, and indeed x2+4x+4=(x+2)2x^2 + 4x + 4 = (x+2)^2, giving x=−2x = -2 twice.

How many solutions does 3x2+x+5=03x^2 + x + 5 = 0 have?

Δ=1−4(3)(5)=1−60=−59\Delta = 1 - 4(3)(5) = 1 - 60 = -59

Negative, so no real solutions. Worth computing first — it saves you from taking the square root of a negative partway through.

A perfect square is a hint

If Δ\Delta is a perfect square such as 11, 44 or 2525, the solutions are rational and the quadratic factors over the whole numbers. That is a fast check on whether factoring is worth attempting.

Lessons that teach this

Related