Quadratics

The Discriminant of a Quadratic: Formula, Meaning and Examples

The discriminant of a quadratic ax2+bx+c=0ax^2+bx+c=0 is Δ=b2−4ac\Delta=b^2-4ac. Its sign tells you how many real solutions the equation has: positive means two, zero means one repeated solution, and negative means none.

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

Try it with your numbers

Show every step

Everything below is about reading that single number: what it predicts, why it works, and how to use it on problems that never ask for the roots at all.

What is the discriminant of a quadratic?

The discriminant is the expression under the square root in the quadratic formula:

x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

A square root of a negative number is not real, and the square root of zero turns the ±\pm into a single value. So whatever sits under the radical decides which kind of equation you have. The word fits: it discriminates, meaning it distinguishes, between three cases.

Read aa, bb and cc only after the equation is in standard form, ax2+bx+c=0ax^2+bx+c=0, with a≠0a\neq 0. The symbol is Δ\Delta (delta) or DD, and textbooks use both for the same quantity.

The payoff is speed. Computing Δ\Delta takes seconds, and when the answer is “no real solutions” it saves you a full run of the formula.

Quick check

Without solving, how many real solutions does x2+6x+10=0x^2+6x+10=0 have?

Where the discriminant formula comes from

One idea explains it. The two roots sit symmetrically on either side of a centre line, and the discriminant controls how far apart they are. Split the quadratic formula in two:

x=−b2a±Δ2ax=\frac{-b}{2a}\pm\frac{\sqrt{\Delta}}{2a}

The first piece is the x-coordinate of the axis of symmetry. The second piece is how far each root sits from that axis. A large Δ\Delta pushes the roots apart. At Δ=0\Delta=0 they merge on the axis. When Δ<0\Delta<0 they leave the real number line altogether.

You can also see why b2−4acb^2-4ac appears, without the full proof in deriving the quadratic formula. If the roots are r1r_1 and r2r_2, then ax2+bx+c=a(x−r1)(x−r2)ax^2+bx+c=a(x-r_1)(x-r_2). Matching coefficients gives b=−a(r1+r2)b=-a(r_1+r_2) and c=ar1r2c=ar_1r_2. Substituting:

b2−4ac=a2(r1+r2)2−4a2r1r2=a2(r1−r2)2b^2-4ac=a^2(r_1+r_2)^2-4a^2r_1r_2=a^2(r_1-r_2)^2

So the discriminant is a2a^2 times the squared gap between the roots. It is zero exactly when the roots coincide, which is why a zero discriminant means a repeated root.

What do positive, zero and negative discriminants mean?

Each sign gives a different picture, summarised here for real coefficients:

Value of Δ\Delta Solutions Graph of y=ax2+bx+cy=ax^2+bx+c
Δ>0\Delta>0, perfect square Two rational Crosses the x-axis twice
Δ>0\Delta>0, not a perfect square Two irrational Crosses the x-axis twice
Δ=0\Delta=0 One repeated Touches the x-axis at the vertex
Δ<0\Delta<0 Two complex, no real Never meets the x-axis

The phrase “one solution” for Δ=0\Delta=0 needs care. The equation still has two roots, but they are equal, so there is one distinct value. For example, x2−6x+9=(x−3)2=0x^2-6x+9=(x-3)^2=0 has the double root x=3x=3.

A negative discriminant does not mean “no solutions” in the full sense. It means no real solutions. The roots are complex numbers that come as a conjugate pair. Take x2+2x+5=0x^2+2x+5=0:

Δ=22−4(1)(5)=−16,x=−2±−162=−1±2i\Delta=2^2-4(1)(5)=-16,\qquad x=\frac{-2\pm\sqrt{-16}}{2}=-1\pm 2i

You can verify one root: (−1+2i)2=−3−4i(-1+2i)^2=-3-4i, then adding 2(−1+2i)=−2+4i2(-1+2i)=-2+4i gives −5-5, and adding 55 gives 00. On a graph, this is a parabola floating above the axis, as covered in graphing quadratic functions.

How to find the discriminant step by step

Most lost points here are sign errors, not concept errors. This order avoids them:

  1. Move every term to one side so the equation reads ⋯=0\dots=0.
  2. Write down aa, bb and cc with their signs. A missing term has coefficient 00.
  3. Square bb first, and put a negative bb in parentheses.
  4. Compute 4ac4ac with its sign, then subtract it.

Example 1. Find the discriminant of x2+3=5xx^2+3=5x. Rearrange to x2−5x+3=0x^2-5x+3=0, so a=1a=1, b=−5b=-5, c=3c=3.

Δ=(−5)2−4(1)(3)=25−12=13\Delta=(-5)^2-4(1)(3)=25-12=13

It is positive and not a perfect square, so there are two real, irrational solutions.

Example 2. Find the discriminant of −2x2+5x+3=0-2x^2+5x+3=0. Here a=−2a=-2, b=5b=5, c=3c=3.

Δ=52−4(−2)(3)=25+24=49\Delta=5^2-4(-2)(3)=25+24=49

Subtracting a negative product adds. This is the classic trap: when aa and cc have opposite signs, −4ac-4ac is positive, so Δ\Delta is automatically positive and there are always two real roots. That is a free mental check before you calculate anything.

Scaling rule

Multiplying a whole equation by mm multiplies Δ\Delta by m2m^2, so the sign and the perfect-square status never change. For 12x2−32x+1=0\tfrac12x^2-\tfrac32x+1=0, clear fractions first: x2−3x+2=0x^2-3x+2=0 has Δ=1\Delta=1, and the original has Δ=14\Delta=\tfrac14.

How the discriminant shows rational or irrational roots

When Δ>0\Delta>0, the discriminant also tells you what kind of numbers the roots are. If aa, bb and cc are integers and Δ\Delta is a perfect square, then Δ\sqrt{\Delta} is a whole number. Every operation in the quadratic formula then stays rational, so both roots are fractions or integers. That also means the quadratic factors over the integers.

Example 3. Decide whether 6x2+x−2=06x^2+x-2=0 factors. Here a=6a=6, b=1b=1, c=−2c=-2.

Δ=12−4(6)(−2)=1+48=49=72\Delta=1^2-4(6)(-2)=1+48=49=7^2

The discriminant is a perfect square, so the roots are rational:

x=−1±712⇒x=12 or x=−23x=\frac{-1\pm 7}{12}\quad\Rightarrow\quad x=\frac12\ \text{or}\ x=-\frac23

This matches the factorisation (2x−1)(3x+2)=6x2+x−2(2x-1)(3x+2)=6x^2+x-2. For a hard-looking trinomial like this, computing Δ\Delta first tells you whether hunting for factors is worth the time.

By contrast, x2+2x−1=0x^2+2x-1=0 has Δ=4+4=8\Delta=4+4=8. That is positive but not a perfect square, so the roots −1±2-1\pm\sqrt2 are irrational and no integer factorisation exists. One caution: the perfect-square test only works when the coefficients are rational. With 2\sqrt2 or π\pi in the coefficients, a perfect-square Δ\Delta guarantees nothing about rationality.

Quick check

Are the solutions of 2x2−3x−5=02x^2-3x-5=0 rational or irrational?

Using the discriminant to find an unknown k

Many exam questions hide a parameter in the equation and ask when the solution count changes. The method is always the same: write Δ\Delta in terms of kk, then set up an equation or inequality.

Example 4. Find the values of kk for which 2x2−8x+k=02x^2-8x+k=0 has no real solutions. Here a=2a=2, b=−8b=-8, c=kc=k.

Δ=(−8)2−4(2)(k)=64−8k\Delta=(-8)^2-4(2)(k)=64-8k

For no real solutions we need 64−8k<064-8k<0, so k>8k>8. Check with k=10k=10: Δ=64−80=−16<0\Delta=64-80=-16<0. Correct.

Example 5. Find kk so the line y=2x+ky=2x+k is tangent to the parabola y=x2+3y=x^2+3. Setting the two yy-values equal gives x2+3=2x+kx^2+3=2x+k, so x2−2x+(3−k)=0x^2-2x+(3-k)=0. Tangent means exactly one meeting point, so Δ=0\Delta=0:

Δ=4−4(3−k)=4k−8=0⇒k=2\Delta=4-4(3-k)=4k-8=0\quad\Rightarrow\quad k=2

Check: x2+3=2x+2x^2+3=2x+2 becomes (x−1)2=0(x-1)^2=0, so the line touches the parabola only at (1,4)(1,4).

Try this: Take x2+kx+9=0x^2+kx+9=0. Use the discriminant to find the two values of kk that give a single solution, then substitute each one back and confirm that the quadratic is a perfect square.

What the discriminant says about the parabola

The discriminant connects directly to the vertex. The y-coordinate of the vertex is

yvertex=−Δ4ay_{\text{vertex}}=-\frac{\Delta}{4a}

You can confirm this by plugging x=−b2ax=-\frac{b}{2a} into ax2+bx+cax^2+bx+c. The result is c−b24a=4ac−b24ac-\frac{b^2}{4a}=\frac{4ac-b^2}{4a}.

This gives a quick graph check. If the parabola opens up (a>0a>0) and Δ<0\Delta<0, the vertex height −Δ4a-\frac{\Delta}{4a} is positive, so the whole curve sits above the axis. If Δ>0\Delta>0 and a>0a>0, the vertex sits below the axis, so the curve must cross it twice.

Vertex shortcut

Once you know Δ\Delta, the vertex height is −Δ4a-\frac{\Delta}{4a} with no extra algebra. This is a fast way to cross-check finding the vertex of a parabola.

Example 6. For y=x2−4x+7y=x^2-4x+7, Δ=16−28=−12\Delta=16-28=-12. The vertex height is −−124=3-\frac{-12}{4}=3. Directly, the vertex is at x=2x=2, and y=4−8+7=3y=4-8+7=3. The two agree, and since a>0a>0 with the vertex at height 33, the graph never reaches the x-axis.

Discriminant in real life: will the ball reach that height?

Whenever a model is quadratic, the discriminant answers “is this target possible?” without solving. Take a ball thrown upward with height h=−16t2+40t+5h=-16t^2+40t+5 in feet after tt seconds. Can it reach 30 feet? Set h=30h=30:

−16t2+40t−25=0⇒16t2−40t+25=0-16t^2+40t-25=0\quad\Rightarrow\quad 16t^2-40t+25=0

Δ=(−40)2−4(16)(25)=1600−1600=0\Delta=(-40)^2-4(16)(25)=1600-1600=0

A zero discriminant means the ball reaches 30 feet at exactly one moment, t=4032=1.25t=\frac{40}{32}=1.25 seconds, and that is its peak. Now ask about 35 feet: 16t2−40t+30=016t^2-40t+30=0 gives Δ=1600−1920=−320<0\Delta=1600-1920=-320<0. The ball never gets there.

The same logic covers break-even points (does revenue ever equal cost?), a cable or beam that must clear an obstacle, and a laser path that must just graze a curved mirror. In each case, Δ\Delta separates “reachable”, “exactly touches” and “impossible”. More setups like this appear in quadratic word problems.

Quick check

A ball's height in meters is h=−5t2+20t+1h=-5t^2+20t+1. Can it reach 25 m?

Discriminant vs determinant, and when the test fails

The two words look alike but name different things. The determinant is a number attached to a square matrix, and for a 2 by 2 matrix it is ad−bcad-bc, covered in the determinant of a 2×2 matrix. The discriminant belongs to a polynomial. Both are built from products of coefficients, but they answer different questions. Higher-degree polynomials also have discriminants, with much longer formulas, so b2−4acb^2-4ac is specifically the quadratic one.

The test gives wrong answers in a few predictable situations:

  • The equation is not in standard form, so aa, bb or cc was read from the wrong place. For 3x2+6x=53x^2+6x=5, move the 55 first: 3x2+6x−5=03x^2+6x-5=0 gives Δ=36+60=96\Delta=36+60=96, not 36−036-0.
  • The leading coefficient is 00 or can become 00. Then the equation is linear and has one solution, whatever Δ\Delta says.
  • The sign of Δ\Delta counts real solutions only. Negative Δ\Delta still leaves two complex roots.
  • A square root can hide inside bb or cc. Only rational coefficients make the perfect-square test valid.

One useful consequence for inequalities: if a>0a>0 and Δ<0\Delta<0, then ax2+bx+c>0ax^2+bx+c>0 for every real xx. That makes quadratic inequalities quick to settle when the quadratic never crosses the axis. To build speed on all of this, work through quadratic formula practice problems and compute Δ\Delta before you do anything else.

Practice problems

0 of 5 solved

  1. Find the discriminant of x2−6x+5=0x^2-6x+5=0.

  2. How many real solutions does 4x2−12x+9=04x^2-12x+9=0 have?

  3. Use the discriminant to describe the solutions of 2x2+3x+5=02x^2+3x+5=0.

  4. For what values of kk does x2+kx+16=0x^2+kx+16=0 have exactly one real solution?

  5. For what values of kk does kx2−6x+3=0kx^2-6x+3=0 have two distinct real solutions?

Common questions

What is the discriminant formula?

For ax2+bx+c=0ax^2+bx+c=0 with a≠0a\neq 0, the discriminant is Δ=b2−4ac\Delta=b^2-4ac. It is the expression under the square root in the quadratic formula.

What does a discriminant of zero mean?

The two solutions are equal, so there is exactly one real solution, called a double or repeated root. The parabola touches the x-axis at its vertex without crossing it. The quadratic is a perfect square, such as (x−3)2(x-3)^2.

Can the discriminant be negative?

Yes. A negative discriminant means the equation has no real solutions, because a negative number has no real square root. It does have two complex solutions that are conjugates of each other, and the parabola never meets the x-axis.

How do you know from the discriminant if the roots are rational?

If the coefficients are integers and the discriminant is a positive perfect square (1, 4, 9, 16, 25 and so on), both roots are rational and the quadratic factors over the integers. If it is positive but not a perfect square, the roots are real and irrational.

Is the discriminant the same as the determinant?

No. The discriminant belongs to a polynomial and equals b2−4acb^2-4ac for a quadratic. The determinant belongs to a square matrix, and for a 2 by 2 matrix it is ad−bcad-bc. The two words sound alike, but they are different tools.

Does the sign of a change the discriminant test?

No. The test works for any nonzero aa, positive or negative. A negative aa only flips the parabola to open downward. The count of real solutions still follows the sign of Δ\Delta.

Up next