Preview

A lesson from Mathematical Foundations for ML

£29/month

£29/month£29/month or £249/year · 30-day money-back guarantee

Get full access

Our content is best on a larger screen

Quadratics with no real solutions

Negative discriminant means no real solutions

Explanation

The discriminant Δ=b2−4ac\Delta = b^2 - 4ac tells us how many real solutions a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 has. We already know the three cases: Δ>0\Delta > 0 gives two real solutions, Δ=0\Delta = 0 gives one repeated solution, and Δ<0\Delta < 0 gives none. But why does a negative discriminant rule out real solutions entirely?

Look at the quadratic formula:

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

When Δ<0\Delta < 0, the formula asks us to take the square root of a negative number. No real number squared gives a negative result: positive numbers square to positives, negative numbers square to positives, and 02=00^2 = 0. So Δ\sqrt{\Delta} does not exist in the real numbers, and neither does xx.

Sometimes we can spot this without computing Δ\Delta at all. For instance, x2+9=0x^2 + 9 = 0 rearranges to x2=−9x^2 = -9. Since no real number squares to −9-9, there are no real solutions.

A brief look ahead - complex numbers

Details

Example

Determine whether 2x2−3x+5=02x^2 - 3x + 5 = 0 has real solutions.

Solution

We identify a=2a = 2, b=−3b = -3, and c=5c = 5, then compute the discriminant:

Δ=b2−4ac=(−3)2−4(2)(5)=9−40=−31.\begin{align*} \Delta &= b^2 - 4ac \\ &= (-3)^2 - 4(2)(5) \\ &= 9 - 40 \\ &= -31. \end{align*}

Since Δ=−31<0\Delta = -31 < 0, the quadratic formula would require −31\sqrt{-31}, which has no real value. The equation has no real solutions.

What would the complex solutions look like?

Details

Practice questions

4 questions

What is the discriminant of 3x2+2x+4=03x^2 + 2x + 4 = 0, and what does it tell us?

Select the correct answer:

+ 3 more questions · unlocked with a subscription

Geometric interpretation

Explanation

Every quadratic y=ax2+bx+cy = ax^2 + bx + c graphs as a U-shaped curve called a parabola. The real solutions of ax2+bx+c=0ax^2 + bx + c = 0 are the xx-coordinates where the parabola crosses the xx-axis (where y=0y = 0). The discriminant tells us how many crossings there are:

  • Δ>0\Delta > 0: the parabola crosses the xx-axis twice (two real solutions).
  • Δ=0\Delta = 0: the parabola just touches the xx-axis at its turning point (one repeated solution).
  • Δ<0\Delta < 0: the parabola misses the xx-axis entirely (no real solutions).

The turning point of a parabola is its lowest or highest point. The sign of aa determines the direction:

  • a>0a > 0: the parabola opens upward (U-shape), so the turning point is the lowest point. If this lowest point sits above the xx-axis, the parabola never reaches y=0y = 0 - no real solutions.
  • a<0a < 0: the parabola opens downward (inverted U), so the turning point is the highest point. If this highest point sits below the xx-axis, the parabola again never reaches y=0y = 0.

Use the sliders to adjust aa, bb, and cc and watch how the discriminant and the number of xx-axis crossings change together.

123456−1−212345678−3−4−1−2
y=x2−2x+5
Turning point (1,4)
Δ=−16 - no real solutions

Example

Does x2−2x+5=0x^2 - 2x + 5 = 0 have real solutions? What does the parabola y=x2−2x+5y = x^2 - 2x + 5 look like?

Solution

First, the discriminant:

Δ=(−2)2−4(1)(5)=4−20=−16<0.\Delta = (-2)^2 - 4(1)(5) = 4 - 20 = -16 < 0.

So the equation has no real solutions. Geometrically, this means the parabola does not cross the xx-axis. We can see why in the graph below:

123456−1−212345678−3−49−1
(1,4)

The parabola opens upward (a=1>0a = 1 > 0), so its turning point is the lowest point on the curve. That lowest point is at y=4y = 4, which is above the xx-axis - the dashed line shows the gap. The parabola never comes down far enough to reach y=0y = 0, so there are no xx-axis crossings and no real solutions.

Practice questions

4 questions

A parabola opens upward and has its turning point at (3,7)(3, 7). How many real roots does the corresponding quadratic equation have?

Select the correct answer:

+ 3 more questions · unlocked with a subscription

Memory is built by recalling, not by reading.

Every time you pull an answer from memory, the memory gets stronger. Reading doesn't do that. Nodeledge asks you questions on every step of every lesson, then asks again after days, weeks and months.

Get full access

£29/month or £249/year · 30-day money-back guarantee

See the learning path