Algebra

The Discriminant

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
Electrical

Voltage drop, wire sizing, load balancing

When you use the quadratic formula, the expression under the square root sign — b24acb^2 - 4ac — controls everything about the solutions. It tells you how many real solutions exist, what type they are (rational or irrational), and what the graph of the parabola looks like at the xx-axis. This expression has a name: the discriminant.

By computing just this one value, you can predict the outcome of a quadratic equation without solving it completely. This is a powerful diagnostic tool.

Definition

For a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0, the discriminant is:

D=b24acD = b^2 - 4ac

The discriminant is the quantity inside the square root in the quadratic formula:

x=b±D2ax = \frac{-b \pm \sqrt{D}}{2a}

The value of DD determines the nature of the solutions.

The Three Cases

Case 1: D>0D > 0 — Two Distinct Real Solutions

When the discriminant is positive, the square root of DD is a real number, and the ±\pm produces two different values.

  • If DD is a perfect square (like 1, 4, 9, 16, 25, …), the solutions are rational — they can be expressed as fractions or whole numbers, and the equation can be factored over the integers.
  • If DD is not a perfect square (like 2, 3, 5, 7, …), the solutions are irrational — they involve square roots and cannot be expressed as exact fractions.

Graphically: The parabola crosses the xx-axis at two points.

Case 2: D=0D = 0 — One Repeated Real Solution

When the discriminant is zero, 0=0\sqrt{0} = 0, and the ±\pm makes no difference. Both “solutions” from the quadratic formula collapse to the same value:

x=b2ax = \frac{-b}{2a}

This is called a double root or repeated root.

Graphically: The parabola touches the xx-axis at exactly one point — its vertex sits right on the axis.

Case 3: D<0D < 0 — No Real Solutions

When the discriminant is negative, you would need the square root of a negative number, which does not exist in the real number system. The quadratic formula produces no real output.

Graphically: The parabola does not touch or cross the xx-axis at all. If a>0a > 0, the entire parabola floats above the axis. If a<0a < 0, it hangs entirely below.

(In Algebra 2 and beyond, negative discriminants lead to complex or imaginary solutions using i=1i = \sqrt{-1}, but that is outside the scope of Algebra 1.)

Summary Table

Discriminant (DD)Number of real solutionsSolution typeGraph behavior
D>0D > 0, perfect square2Rational (factorable)Crosses xx-axis twice
D>0D > 0, not perfect square2IrrationalCrosses xx-axis twice
D=0D = 01 (repeated)RationalTouches xx-axis at vertex
D<0D < 00No real solutionsDoes not touch xx-axis

Worked Examples

Example 1: x25x+6=0x^2 - 5x + 6 = 0

Identify: a=1a = 1, b=5b = -5, c=6c = 6.

D=(5)24(1)(6)=2524=1D = (-5)^2 - 4(1)(6) = 25 - 24 = 1

D=1>0D = 1 > 0 and 1 is a perfect square.

Prediction: Two distinct rational solutions. The equation is factorable.

Verify: (x2)(x3)=0    x=2(x - 2)(x - 3) = 0 \implies x = 2 or x=3x = 3 . Two rational solutions confirmed.

Example 2: x2+3x1=0x^2 + 3x - 1 = 0

Identify: a=1a = 1, b=3b = 3, c=1c = -1.

D=94(1)(1)=9+4=13D = 9 - 4(1)(-1) = 9 + 4 = 13

D=13>0D = 13 > 0, but 13 is not a perfect square.

Prediction: Two distinct irrational solutions. The equation does not factor over the integers.

Verify:

x=3±132x = \frac{-3 \pm \sqrt{13}}{2}

x0.303x \approx 0.303 or x3.303x \approx -3.303 . Two irrational solutions confirmed.

Example 3: x26x+9=0x^2 - 6x + 9 = 0

Identify: a=1a = 1, b=6b = -6, c=9c = 9.

D=364(1)(9)=3636=0D = 36 - 4(1)(9) = 36 - 36 = 0

Prediction: Exactly one repeated solution.

Verify: (x3)2=0    x=3(x - 3)^2 = 0 \implies x = 3 . One repeated root confirmed.

Example 4: 2x2+x+3=02x^2 + x + 3 = 0

Identify: a=2a = 2, b=1b = 1, c=3c = 3.

D=14(2)(3)=124=23D = 1 - 4(2)(3) = 1 - 24 = -23

D=23<0D = -23 < 0.

Prediction: No real solutions. The parabola does not cross the xx-axis.

Verify: Since a=2>0a = 2 > 0, the parabola opens upward. Since it never crosses the xx-axis, it must float entirely above it. The vertex is above the xx-axis, confirming no real roots.

Example 5: 4x212x+9=04x^2 - 12x + 9 = 0

Identify: a=4a = 4, b=12b = -12, c=9c = 9.

D=(12)24(4)(9)=144144=0D = (-12)^2 - 4(4)(9) = 144 - 144 = 0

Prediction: One repeated solution.

x=(12)2(4)=128=32x = \frac{-(-12)}{2(4)} = \frac{12}{8} = \frac{3}{2}

Answer: x=32x = \dfrac{3}{2} (double root). This equation factors as (2x3)2=0(2x - 3)^2 = 0.

Using the Discriminant Strategically

The discriminant helps you choose the most efficient solving method:

  • DD is a perfect square? Try factoring first — it will work and is usually fastest.
  • D=0D = 0? The expression is a perfect square trinomial. Factor it or use the formula for the single root: x=b2ax = \dfrac{-b}{2a}.
  • D>0D > 0 but not a perfect square? Use the quadratic formula or completing the square. Factoring will not work over the integers.
  • D<0D < 0? Stop — there are no real solutions. You do not need to continue with the quadratic formula.

Example 6: Should You Factor?

Determine whether 6x2+x12=06x^2 + x - 12 = 0 is factorable.

D=14(6)(12)=1+288=289=172D = 1 - 4(6)(-12) = 1 + 288 = 289 = 17^2

Since D=289D = 289 is a perfect square, the solutions are rational and the equation factors over the integers.

x=1±1712x = \frac{-1 \pm 17}{12}

x=1612=43x=1812=32x = \frac{16}{12} = \frac{4}{3} \qquad x = \frac{-18}{12} = -\frac{3}{2}

Indeed: 6x2+x12=(3x4)(2x+3)=06x^2 + x - 12 = (3x - 4)(2x + 3) = 0.

The Discriminant and Graphing

The discriminant connects algebra to geometry:

  • Two xx-intercepts (D>0D > 0): The parabola crosses the horizontal axis at two points. These crossing points are the solutions.
  • One xx-intercept (D=0D = 0): The parabola’s vertex lies exactly on the xx-axis. The vertex is the solution.
  • No xx-intercepts (D<0D < 0): The parabola floats entirely above (if a>0a > 0) or entirely below (if a<0a < 0) the xx-axis.

This means you can sketch the basic shape of a parabola just by knowing aa (which way it opens) and DD (how it interacts with the xx-axis).

Real-World Application: Electrician — Will the Circuit Reach a Target Power?

An electrician is sizing a variable resistor in a circuit. The power dissipated is modeled by:

P=2I2+20IP = -2I^2 + 20I

where II is the current in amps and PP is power in watts. The electrician needs to know: can this circuit deliver 60 watts?

Set P=60P = 60:

2I2+20I=60-2I^2 + 20I = 60

2I2+20I60=0-2I^2 + 20I - 60 = 0

Divide by 2-2:

I210I+30=0I^2 - 10I + 30 = 0

Compute the discriminant: a=1a = 1, b=10b = -10, c=30c = 30.

D=(10)24(1)(30)=100120=20D = (-10)^2 - 4(1)(30) = 100 - 120 = -20

Since D<0D < 0, there is no real current value that produces 60 watts.

Answer: The circuit cannot deliver 60 watts. The maximum power this circuit can achieve is found at the vertex of the parabola. Using I=b2a=202(2)=5I = \dfrac{-b}{2a} = \dfrac{-20}{2(-2)} = 5 amps:

Pmax=2(5)2+20(5)=50+100=50 wattsP_{\max} = -2(5)^2 + 20(5) = -50 + 100 = 50 \text{ watts}

The maximum achievable power is 50 watts. The electrician knows before any physical testing that 60 watts is impossible with this configuration and must redesign the circuit — perhaps using a different resistance value or voltage source.

Now change the target to 40 watts:

2I2+20I40=0    I210I+20=0-2I^2 + 20I - 40 = 0 \implies I^2 - 10I + 20 = 0

D=10080=20>0D = 100 - 80 = 20 > 0

Since D>0D > 0, there are two current values that produce 40 watts:

I=10±202=5±5I = \frac{10 \pm \sqrt{20}}{2} = 5 \pm \sqrt{5}

I7.24 amps or 2.76 ampsI \approx 7.24 \text{ amps or } 2.76 \text{ amps}

The electrician can reach 40 watts at either current level — the lower value is more efficient (less heat loss in conductors).

Common Mistakes to Avoid

  1. Computing b2b^2 incorrectly when bb is negative. Remember that (7)2=49(-7)^2 = 49, not 49-49. Squaring a negative number always gives a positive result.

  2. Forgetting the negative sign in 4ac-4ac. The discriminant is b24acb^2 - 4ac, not b2+4acb^2 + 4ac. When cc is negative, 4ac-4ac becomes positive (two negatives): 4(1)(3)=+12-4(1)(-3) = +12.

  3. Confusing discriminant value with number of solutions. D=0D = 0 means one solution, not zero. D<0D < 0 means zero real solutions. A common verbal slip is saying “discriminant is zero, so there are zero solutions.”

  4. Forgetting to put the equation in standard form. The discriminant formula assumes ax2+bx+c=0ax^2 + bx + c = 0. If your equation is 3x2=5x13x^2 = 5x - 1, rewrite it as 3x25x+1=03x^2 - 5x + 1 = 0 before identifying aa, bb, and cc.

  5. Assuming D>0D > 0 always means the equation factors. D>0D > 0 means two real solutions exist, but the equation only factors over the integers if DD is a perfect square.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Find the discriminant of x2+4x+4=0x^2 + 4x + 4 = 0 and state the number and type of solutions

a=1a = 1, b=4b = 4, c=4c = 4

D=1616=0D = 16 - 16 = 0

Answer: D=0D = 0. One repeated rational solution. The equation factors as (x+2)2=0(x + 2)^2 = 0, so x=2x = -2.

Problem 2: Find the discriminant of x23x+5=0x^2 - 3x + 5 = 0 and state the number of real solutions

a=1a = 1, b=3b = -3, c=5c = 5

D=920=11D = 9 - 20 = -11

Answer: D=11<0D = -11 < 0. No real solutions. The parabola does not cross the xx-axis.

Problem 3: Find the discriminant of 2x25x+1=02x^2 - 5x + 1 = 0 and determine whether the equation is factorable over the integers

a=2a = 2, b=5b = -5, c=1c = 1

D=258=17D = 25 - 8 = 17

D=17>0D = 17 > 0, but 17 is not a perfect square.

Answer: Two distinct irrational solutions. The equation is not factorable over the integers. Use the quadratic formula: x=5±174x = \dfrac{5 \pm \sqrt{17}}{4}.

Problem 4: Without solving, determine how many real solutions 3x2+7x+2=03x^2 + 7x + 2 = 0 has

a=3a = 3, b=7b = 7, c=2c = 2

D=4924=25D = 49 - 24 = 25

D=25>0D = 25 > 0 and 25=5225 = 5^2 is a perfect square.

Answer: Two distinct rational solutions. Since DD is a perfect square, the equation factors. (It factors as (3x+1)(x+2)=0(3x + 1)(x + 2) = 0.)

Problem 5: For what value of kk does x2+kx+9=0x^2 + kx + 9 = 0 have exactly one solution?

For one solution, D=0D = 0:

k24(1)(9)=0k^2 - 4(1)(9) = 0

k2=36k^2 = 36

k=±6k = \pm 6

Answer: k=6k = 6 or k=6k = -6. With k=6k = 6: (x+3)2=0(x + 3)^2 = 0. With k=6k = -6: (x3)2=0(x - 3)^2 = 0.

Problem 6: An electrician’s power model is P=3I2+24IP = -3I^2 + 24I. Use the discriminant to determine: can the circuit deliver 50 watts? Can it deliver 48 watts?

For 50 watts: 3I2+24I50=0    3I224I+50=0-3I^2 + 24I - 50 = 0 \implies 3I^2 - 24I + 50 = 0

D=576600=24<0D = 576 - 600 = -24 < 0

No real solutions — the circuit cannot deliver 50 watts.

For 48 watts: 3I2+24I48=0    3I224I+48=0    I28I+16=0-3I^2 + 24I - 48 = 0 \implies 3I^2 - 24I + 48 = 0 \implies I^2 - 8I + 16 = 0

D=6464=0D = 64 - 64 = 0

One solution: I=4I = 4 amps. The circuit reaches exactly 48 watts — this is the maximum power (the vertex of the parabola).

Answer: 50 watts is impossible. 48 watts is achievable at exactly I=4I = 4 amps, which is the circuit’s peak output.

Problem 7: Find the discriminant of 5x2+2x3=05x^2 + 2x - 3 = 0 and solve the equation

a=5a = 5, b=2b = 2, c=3c = -3

D=4+60=64=82D = 4 + 60 = 64 = 8^2

DD is a positive perfect square, so two rational solutions exist.

x=2±810x = \frac{-2 \pm 8}{10}

x=610=35orx=1010=1x = \frac{6}{10} = \frac{3}{5} \quad \text{or} \quad x = \frac{-10}{10} = -1

Answer: x=35x = \dfrac{3}{5} or x=1x = -1

Key Takeaways

  • The discriminant D=b24acD = b^2 - 4ac is the expression under the square root in the quadratic formula
  • D>0D > 0: two distinct real solutions; if DD is a perfect square, the solutions are rational and the equation factors
  • D=0D = 0: exactly one repeated real solution; the parabola’s vertex touches the xx-axis
  • D<0D < 0: no real solutions; the parabola does not intersect the xx-axis
  • Computing the discriminant before solving saves time — it tells you which method to use and whether real solutions even exist
  • In applied problems, the discriminant answers “is this target achievable?” without requiring a full solution

Return to Algebra 1 for more topics in this section.

Last updated: March 29, 2026