← Chapter 9
College Algebra · Chapter 9

The Number Under the Radical

Inside the quadratic formula, tucked under the radical sign, sits a small expression: b² − 4ac. It is called the discriminant, and it can tell you how many real solutions an equation has before you solve it — because it is the only part of the formula that can go wrong. Drag the three coefficients below and watch the parabola rise, fall, and pull apart while the discriminant reports what it is about to do.

The graph of the quadratic

Drag the coefficients

coefficient of x² — opens up or downa = 1
coefficient of x — slides it sidewaysb = −5
constant — lifts or drops the whole curvec = 6
The discriminant testpick a case, then step through it

Where b² − 4ac actually comes from

The discriminant is not a separate rule to memorize. It is a piece of the quadratic formula — and the quadratic formula is just completing the square done once, with letters. Watch it fall out. Start from the general equation, with a ≠ 0:
complete the square on ax² + bx + c = 0 ax² + bx + c = 0
x² + bax + ca = 0   divide every term by a
x² + bax = −ca   move the constant
x² + bax + b²4a² = −ca + b²4a²   add (half of b/a)²
(x + b2a)² = b²4a² − 4ac4a² =  b² − 4ac 4a²

There it is — born from putting −c/a and b²/(4a²) over the common denominator 4a², since −c/a = −4ac/(4a²). The discriminant is nothing more mysterious than the numerator of the right-hand side after you complete the square.

Now finish. Take the square root of both sides, remembering the ±. The bottom is easy: √(4a²) = 2|a|, and since ± already produces both signs, writing 2a instead of 2|a| gives the same pair of answers either way. So:

solve for x x + b2a = ±√(b² − 4ac)2a  →  x = −b ± √( b² − 4ac )2a

Now look at the formula and ask what can vary. The −b is a plain number. The 2a is a plain number. Only one thing in the whole expression can behave in more than one way, and that is the square root. So the entire question — how many real solutions does this equation have — collapses onto the sign of one number. Call it D.

If D > 0, then √D is a real number bigger than zero. Adding it and subtracting it push you to two different places on either side of −b/(2a). Two distinct real solutions.

If D = 0, then √0 = 0, and ±0 adds nothing and subtracts nothing. Both branches land on the same number, x = −b/(2a). Exactly one real solution. It is often called a double root, because the quadratic factors as a(x − r)² and the factor x − r appears twice.

If D < 0, you are asked for the square root of a negative number. Square a positive and you get a positive; square a negative and you get a positive; square zero and you get zero. No real number is left to do the job. No real solution.

The test, in one breath. Put the equation in the form ax² + bx + c = 0 with zero on one side. Read off a, b, c with their signs. Compute D = b² − 4ac. Then: D > 0 → two real roots. D = 0 → one real root. D < 0 → no real roots. You have answered “how many” without solving anything.

The picture agrees, and it agrees for a reason. Complete the square on the function instead of the equation and you get vertex form: y = a(x + b/(2a))² − D/(4a). So the vertex sits at

the vertex, in terms of D vertex = ( −b2a ,  −D4a )

The vertex’s height above or below the x-axis is controlled entirely by D. When D < 0, the height −D/(4a) takes the same sign as a: an upward parabola floats above the axis, a downward one hangs below it — and either way it opens away from the axis and never reaches it. When D = 0 the vertex height is exactly 0, so the curve rests on the axis at a single point. When D > 0 the vertex is on the opposite side of the axis from the direction the arms travel, so the curve must cross twice. Watch the dashed vertex line in the graph as you slide c: the number in the ledger and the gap on the screen are the same fact said two ways.

A second thing D measures: how far apart the roots are. Subtract the two solutions and the −b/(2a) cancels, leaving a gap of √D ÷ |a|. Big D, wide-apart roots. Shrink D toward 0 and you can watch the two crossings slide together until they collide into one. That collision is D = 0. Nothing discontinuous happens — the roots simply meet.

And a third thing, if a, b, c are integers: when D is a perfect square (0, 1, 4, 9, 16, 25, …), the radical evaporates into a whole number and both solutions come out rational — which is exactly the situation in which the quadratic factors over the integers. When D is positive but not a perfect square, the roots are real but irrational, and no amount of guessing at factors will find them. That is a genuinely useful thing to know before spending five minutes hunting for factors that do not exist.

equationD = b² − 4acreal rootswhat they look like
x² − 5x + 6 = 025 − 24 = 1two2 and 3 — rational
2x² + 7x − 4 = 049 + 32 = 81two−4 and 12 — rational
x² − 4x + 1 = 016 − 4 = 12two2 ± √3 — irrational
x² − 6x + 9 = 036 − 36 = 0one3, doubled — (x − 3)²
x² + x + 1 = 01 − 4 = −3nonecurve floats above the axis
−x² + 2x − 5 = 04 − 20 = −16nonecurve hangs below the axis
Five ways this goes wrong.  • Not setting the equation to zero first. For x² = 3x + 10 you must rewrite it as x² − 3x − 10 = 0 before reading a, b, c. Reading them off the unrearranged version gives a discriminant for a different equation.  • Dropping the sign of b. b² is the same either way, but b reappears as −b in the formula.  • Writing −5² when you mean (−5)². Without the parentheses the exponent binds to the 5 alone: −5² = −25, but (−5)² = 25.  • Subtracting a negative 4ac incorrectly. If 4ac = −24, then D = b² − (−24) = b² + 24. Whenever a and c have opposite signs, 4ac is negative, so D is forced positive — two real roots are guaranteed before you compute anything.  • Using it when a = 0. See below.

The excluded value: a ≠ 0. Every line of the derivation divided by a, and the final formula divides by 2a. If a = 0 there is no x² term, the equation is not quadratic at all, and 2a = 0 makes the formula read as division by zero — undefined, not infinite, just meaningless. Worse, the discriminant does not fail loudly: for 0x² + 3x − 6 = 0 it computes 9 − 0 = 9 and cheerfully announces “two real roots,” when the honest answer is the single root x = 2. Confirm a ≠ 0 before you trust D at all — and be especially careful when a contains a parameter, as in (k − 2)x² + 3x + 1 = 0, which stops being quadratic exactly at k = 2. The fifth case in the stepper walks through this.

On extraneous solutions. Solving a quadratic that is already a polynomial equation cannot manufacture false answers: dividing by a nonzero a, adding the same amount to both sides, and completing the square are all reversible, and a polynomial is defined for every real x, so there are no excluded values to screen out. But quadratics often arrive from somewhere else — from clearing a denominator, or from squaring both sides of a radical equation — and those steps are not reversible. If your quadratic came from 1/(x − 3) + 1 = x, then x = 3 must be thrown out no matter what the discriminant says, because it was never allowed in the original. If it came from squaring, every root must be tested in the original equation, since squaring can promote a false statement into a true one. The rule: the discriminant counts the roots of the quadratic in front of you; only the original problem decides which of them you are permitted to keep.