Quadratic Inequalities
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 . If the inequality does not already have on one side, your first move is to make it so. You do that by shifting every term to the same side, exactly as you would tidy an equation before solving. Once one side is , the whole problem becomes a question about the sign of the quadratic.
To see that, name the quadratic , the very parabola from the previous lessons. Then is asking “for which is ,” which means “where is the parabola above the x-axis.” In the same way asks where the parabola is below the axis. We are solving for the single variable , so every answer is a set of numbers on the number line, not a region of the plane. How high or low the curve reaches is a separate question, one left for the next lesson.
Find the roots, then read the sign
Since the whole game is the sign of the quadratic, start where the sign can change. A quadratic changes sign only by passing through , which happens exactly at its roots. So solve the equation first, by factoring when it splits nicely or by the quadratic formula when it does not. The real roots are the x-intercepts of the parabola, and they cut the number line into intervals. Inside any one interval the quadratic never reaches , so it cannot flip sign there; it holds one sign all the way across.
There are two ways to decide which sign, and they always agree.
The first way reads the sign off the shape of the parabola. If the parabola opens upward, so it climbs above the axis on both arms and dips below only in the middle. With two real roots on the line, such a parabola is positive outside the roots and negative between them. If it opens downward and the picture is upside down, so the signs reverse.
The second way is a test point. Pick any convenient number inside an interval, substitute it into the quadratic, and note the sign of the result. That one value settles the sign for the entire interval, because the sign is constant there. Here is why both methods must give the same answer.
Why the sign is constant on each interval and flips at each root#
Suppose the quadratic has two different real roots, and call them and with . Finding those roots is the factoring you already know, so the quadratic can be rewritten as . Its value at any is therefore a product of three things: the constant , the factor , and the factor . The sign of a product depends only on the signs of its parts, so track those.
Take a number to the right of both roots, . Then and are both positive, their product is positive, and the quadratic has the same sign as . Now slide left, between the roots, so . The factor has turned negative while is still positive, so their product is now negative, and the quadratic has the opposite sign from . Slide left once more, past both roots, so . Both factors are negative, their product is positive again, and the quadratic matches the sign of once more.
So crossing a single root flips exactly one factor, which flips the sign of the whole product, and nothing changes sign in between. That is why the sign stays constant on each interval and reverses at each root. That is also why an upward parabola () is positive outside the roots and negative between them. It is the same story the picture tells: the curve can only move from one side of the x-axis to the other by passing through it. The curve passes through only at the roots.
Take the parabola from the figure, , with roots and . The table below runs the test-point method on all three intervals and matches it against the shape.
| Interval | Test value | Sign of | |
|---|---|---|---|
| positive | |||
| negative | |||
| positive |
Positive on the two outer intervals and negative in the middle, exactly as an upward parabola should be. With the sign chart in hand, answering any inequality on this quadratic is just a matter of keeping the intervals whose sign matches.
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. The inequality wants where the quadratic is greater than , that is, where the curve is above the axis, which is 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.
Change the symbol and only the endpoints change. The inclusive inequality 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
If the parabola opens downward, so the sign pattern flips: the curve is now below the axis outside the roots and above it between them. You can read that straight off the shape, or you can sidestep it entirely by multiplying both sides of the inequality by . Multiplying by turns that negative leading coefficient positive and, by the rule from linear inequalities, reverses the symbol. Either route works, and they land on the same solution.
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, so it is above the axis between the roots and below it outside them. That is the mirror image of the upward case. Asking for selects where the curve is on or above the axis, which is between the roots including the endpoints:
Both routes agree.
Check your understanding
Solve .
Factor the difference of squares to find the roots.
The parabola opens upward, so it is positive (and so ) outside the roots. The inclusive keeps the endpoints, giving or , two closed rays rather than the band between them.
Rearrange first, and roots from the quadratic formula
Two practical wrinkles come up constantly. First, many inequalities arrive with terms on both sides, so you must gather everything onto one side before you can factor. Second, plenty of quadratics do not factor over the whole numbers, and there the quadratic formula supplies the roots. Neither changes the method; they only change how you reach the roots.
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 . Notice the trap this avoids: you cannot solve by dividing by , which would risk losing solutions and hide the sign. Moving everything to one side is what makes the sign analysis possible.
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 . The positive values are indeed on the outside.
When the discriminant changes the story
The method so far assumed two separate roots. When the discriminant is zero or negative, the parabola touches the axis once or misses it completely. In either of those cases the answer collapses to one of a few special shapes. Because the curve then keeps a single sign almost everywhere, the solution is usually either all real numbers or no solution. The direction of the inequality and the sign of together decide which of those two you get.
Worked example 5 Two inequalities with no second root
Not every quadratic has two roots, and the discriminant tells you which case you are in.
First take . Its discriminant is
so there are no real roots. The parabola opens upward and never reaches the axis, so it floats entirely above it and is positive for every . 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 , where the upward parabola just touches the axis. Everywhere else the square is positive, so holds for every except , giving or . Watch how the symbol changes this last case: is true for all real numbers (a square is never negative). By contrast, holds only at the single point , and has no solution at all.
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.