Quadratic Inequalities Advanced. This lesson goes beyond core Algebra I. You can skip it.
Progress can't be saved in this browser, so this lesson's status can't be set.
Watch the video explainer
Learning goals
- Move every term to one side to compare with zero
- Find the roots, which cut the line into sign intervals
- Read a positive quadratic outside the roots when
- Test a point in each interval to confirm the sign
- Open or close the endpoints to match a strict or inclusive symbol
- Handle a negative discriminant as all reals or no solution
What a quadratic inequality asks
A quadratic inequality in one variable is any of
with . First move every term to one side so the other side is . Now the question is about the sign of the quadratic.
On the graph , positive values lie above the x-axis and negative values below it. We want the x-values that give the requested sign. The answer belongs on a number line, not in a shaded region of the coordinate plane.
Find the roots, then read the sign
First solve , by factoring or using the quadratic formula. With two distinct real roots, there are three intervals to check.
For an upward parabola, the signs are positive outside the two roots and negative between them. A downward parabola reverses those signs. A test point is an input chosen inside an interval to check its sign.
Take the parabola from the figure, , with roots and . For , try : , which is positive. Between the roots, try : , which is negative. For , try : , which is positive.
The results match the graph: positive on the two outer intervals and negative in the middle. With these signs, keep the intervals whose sign matches the inequality. This record of signs is a sign chart. The next argument explains why the sign stays the same throughout each interval.
Why the sign is constant between two distinct roots, and flips at each one#
In these checks, is positive to the left of : both factors are negative there. Between and , only is negative, so the product is negative. To the right of , both factors are positive. The factors keep their signs within each interval, which is why the test values , , and represent whole intervals.
Now take any quadratic with two distinct real roots . Its factored form is . To justify this even for irrational roots, use the quadratic formula, with . Adding and multiplying its two roots gives
Expanding therefore gives . Track the factors in the same way. Here means positive and means negative; the last column gives the sign of the product .
| Sign | |||
|---|---|---|---|
Multiplying by keeps these signs; multiplying by reverses them. Thus the quadratic has the same sign as outside the roots and the opposite sign between them. Crossing either distinct root changes the sign of exactly one factor, so the product changes sign. A repeated root behaves differently because the same factor occurs twice; we examine that case below.
Worked example 1 Solve
One side is already , so factor to find the roots:
The parabola opens upward (), so it is positive outside the roots and negative between them. We want the quadratic to be greater than , that is, the curve to be above the axis, which happens on the two outer intervals. Because the symbol is strict, the roots themselves (where the value is exactly ) are excluded:
On a number line this is two open circles at and with the shading running outward. Written with the interval notation from the linear-inequality chapter, it is , where the cup joins the two separate rays.
Make the symbol inclusive and only the endpoints change: keeps the same two outer intervals but now includes the roots, where the value is . Its circles therefore fill in, and the answer is or . Flip to and you want where the curve is on or below the axis, the single middle interval with its endpoints, giving .
Check your understanding
Solve the inequality .
The product equals zero at its roots, which split the number line into intervals.
The parabola opens upward, so the product is negative only between the roots. The symbol is strict, so the endpoints are excluded, giving , the band between the roots rather than the two outside rays.
When the leading coefficient is negative
With two distinct real roots and , the quadratic is positive between the roots and negative outside. You can use this reversed pattern directly. Alternatively, multiply the inequality by and reverse its symbol, by the rule from linear inequalities. The new quadratic opens upward, so the familiar sign pattern applies.
Worked example 2 Solve
The leading coefficient is negative, and there are two clean ways to handle that.
The first is to clear the negative. Multiply both sides by , which flips the inequality symbol:
Now it is an upward parabola again. Factoring gives with roots and , and an upward parabola is negative between its roots. Including the endpoints, where the value is , the solution is .
The second way reads the sign straight off the downward parabola. With the graph of opens downward, the mirror image of the upward case: above the axis between the roots, below it outside them. Asking for again selects the middle interval including its endpoints, , the same answer as the first route.
Check your understanding
Solve .
The leading coefficient is negative, so multiply both sides by and flip the symbol.
Factor to find the roots.
The upward parabola is negative between its roots, and the inclusive keeps the endpoints, giving . Reading the original downward parabola directly gives the same answer: with it is above the axis between the roots, which is exactly where .
Rearrange first, and roots from the quadratic formula
When terms appear on both sides, collect them on one side first. If the resulting quadratic does not factor over the whole numbers, use the quadratic formula. The sign test is the same either way.
Worked example 3 Solve
One side is not yet , so move everything to the left first. Subtract from both sides:
Now factor to find the roots:
The parabola opens upward, so it is negative between the roots, and the inclusive keeps the endpoints. The solution is . Moving everything to one side first avoids a trap: dividing by would require separate cases for , , and .
Worked example 4 Solve
This one does not factor with whole numbers, so find the roots with the quadratic formula, using , , and :
So the roots are and . The parabola opens upward, so it is positive outside the roots, and the strict symbol excludes the roots themselves:
A quick test confirms the choice of intervals. At , which is outside the roots, the quadratic is ; at , which is between them, it is .
No real roots, a repeated root, and a real-world check
The discriminant tells you how many real roots there are:
- : two distinct real roots, giving the three intervals used above.
- : no real roots. The quadratic keeps the sign of , so an inequality has either all real numbers as solutions or none.
- : one repeated root. The quadratic has the sign of away from that root and is zero at the root itself. Check the inequality symbol carefully.
For the no-real-root case, try . A square plus is always positive. Completing the square explains the fixed sign in general:
When , the term is positive. The bracket adds that positive number to a nonnegative square, so the bracket is always positive. Multiplying by gives the sign of .
Worked example 5 Two inequalities with no second root
A quadratic can have no real roots or just one repeated real root. The discriminant tells you which case you are in.
First take . Its discriminant is
so there are no real roots. You can also see its positive sign directly: . The upward parabola is entirely above the axis. The inequality is therefore true for all real numbers. Had the problem asked for , the answer would be the opposite extreme, no solution, since the curve is never below the axis.
Now take the repeated-root case . Here the quadratic is a perfect square,
whose only root is . On either side of , the square is positive; at , it is zero. Although changes sign there, its square does not. Therefore gives or .
Changing the symbol changes which values qualify. Since a square is never negative, holds for all real numbers. Requiring leaves only , where the square is zero. Requiring gives no solution.
Check your understanding
Which describes the solution of ?
Check the discriminant with , , .
There are no real roots, and the upward parabola sits entirely above the axis, so is always positive. It is never negative, so has no solution. The opposite inequality would instead hold for all real numbers.
Worked example 6 When the variable is a real-world quantity
Sometimes the variable stands for a real quantity. Suppose a garden is fenced into a rectangle whose length is meters more than its width , and its area must be at least square meters. That gives , or after moving everything to one side, , which factors as with roots and .
The upward parabola is positive outside the roots, so the algebra alone gives or . But is a width, and a width cannot be zero or negative. That rules out the whole ray : it solves the inequality, but it cannot describe a real garden. Only meters remains, so the garden must be at least meters wide.
The method is the same as before, with one more check after the algebra: does each piece of the answer make sense for what the variable stands for?