Quadratic Inequalities
Learning goals
- Argue that a quadratic changes sign only at a root
- Split the line at the roots and read each sign
- Record the answer in interval notation, joining with a union
- Open or close endpoints for strict or non-strict symbols
- Predict the shape of the answer from , the sign of , and the symbol
A quadratic changes sign only at a root
You just saw that happen for : the sign flipped only at its two roots. That is worth stating as a general claim and proving, since everything in this lesson rests on it. A quadratic with two real roots factors, by the last few lessons, as . The claim concerns the sign of such a product across the number line. The product is positive on some stretches and negative on others, but it can only switch between the two at or .
Why a quadratic changes sign only at a root#
Write the quadratic in factored form, with . Its sign at any input is the product of three signs: the sign of , together with the sign of each linear factor. So control the factors and you control the sign of .
Each linear factor is positive on one side of its own root and negative on the other, and changes sign nowhere else: flips only at , and only at . So on any interval that contains neither root, both factors hold one fixed sign, a product of two fixed signs has a fixed sign, and multiplying by the constant only reverses or preserves it. Therefore has one constant sign across the whole interval.
The only way can pass from positive to negative is for one of its factors to change sign, and that happens only at a root. So the roots are the only places the sign can turn over, not places it must. If the two roots coincide, as in , the two factors are identical and never disagree, so the sign never turns over at all there, as the last worked example in this lesson shows.
The consequence is the entire method. Two roots cut the number line into three pieces, the stretch left of both, the stretch between them, and the stretch right of both. On each piece the sign of the quadratic is one fixed thing. So solving a quadratic inequality is never about checking infinitely many points. It is about finding the roots, which split the line, and then labeling each piece positive or negative.
Reading the sign: test a point, or read the parabola
Once you know the sign is constant on each piece, you need the sign on each one, and there are two ways to get it.
The first is a test point. Pick any convenient number inside a piece, substitute it, and record whether the result comes out positive or negative. That one value settles the entire piece, because the sign cannot change again until the next root. Testing in gives , so the quadratic is negative across the whole middle piece.
The second way is faster and harder to get wrong: read the parabola. You already know that the sign of fixes which way a parabola opens. When it opens upward, so it dips below the -axis between its two roots and rises above the axis outside them. So with no substituting at all, an upward parabola is negative exactly on the open interval between the roots and positive outside them. When it opens downward and the picture flips top to bottom, positive between the roots and negative outside. The graph route is quicker because it computes nothing: you just recall the shape and the two roots. Keep the test point as a check whenever you are unsure of the shape or the roots.
This is the same fact the discriminant already told you. For with two real roots, the vertex sits at height , which is negative, so the bottom of the parabola lies below the axis. That is precisely why an upward parabola with two roots is negative between them.
Whichever route you use, write the answer as a solution set, not as a loose phrase. The systems chapter made the point that the solution of an inequality is a set, an object you can name, draw, and combine. That solution is not merely a lone number to solve for. Here that set is a piece of the number line, written in interval notation, and when it arrives in two pieces you join them with a union . Shading it on a number line is just the one-dimensional version of shading a region in the plane.
Worked example 1 Solve
The quadratic is already compared to zero, so factor it. Two numbers with product and sum are and , giving
with roots and . These cut the line into three pieces.
The leading coefficient is , so the parabola opens upward: negative between the roots, positive outside them. We want where it is greater than or equal to zero, which is the two outside pieces together with the roots themselves. Those roots are included, since the inequality is non-strict and they make the quadratic exactly zero:
The union is not decoration. The solution is two separate rays, not a single interval, and writing it as one interval would be wrong.
Check your understanding
Solve .
The expression is already factored, with roots and . The leading coefficient is positive, so the parabola opens upward and is negative exactly between its roots.
We want where the product is less than zero, so we take that middle piece. The inequality is strict, so the roots themselves are excluded and the endpoints are open: the solution set is .
Strict versus non-strict endpoints
The steps above decide which pieces of the line make up the answer. The inequality symbol decides only one more thing, what happens at the endpoints, which are the roots.
The roots are exactly the inputs where the quadratic equals zero. A strict symbol, or , asks for values that are honestly positive or honestly negative, so it excludes the roots. That means open circles on the number line, and parentheses in interval notation. A non-strict symbol, or , also accepts zero, so it includes the roots: closed circles, square brackets. For two distinct roots, the interior of the solution is identical either way, and only the endpoints change. So has solution , the same two rays as the worked example but with the roots now removed. A repeated root works a little differently, as the last worked example in this lesson shows.
When the leading coefficient is negative
A negative flips the parabola upside down, and with it every sign in the argument. There are two safe ways to handle it, and one tempting way that goes wrong.
The safe habit is to make positive first. Multiply both sides of the inequality by , and remember the rule from the linear inequalities lesson: multiplying an inequality by a negative number reverses its direction. Now you are back to an upward parabola and the reading you already trust. The other safe route is to read the downward parabola directly. With the parabola opens down, so it is positive between its roots and negative outside them, the mirror image of the upward case.
The tempting error is to multiply or divide by the negative and leave the symbol pointing the same way. That silently swaps the solution set for its opposite. If you ever rewrite an inequality by a negative factor, the symbol must turn around.
Worked example 2 Solve
Here , so use both routes and watch them agree.
Making positive, multiply through by and reverse the symbol:
Factor the upward quadratic: , with roots and . An upward parabola is at or below zero on the closed interval between its roots, so
Reading the downward parabola directly gives the same thing. The roots of are again and , and because the parabola opens downward and is positive between its roots. Including the roots for the non-strict symbol, the solution set is once more . The two routes must agree, because they describe the same object.
Check your understanding
Solve .
The leading coefficient is negative, so make it positive by multiplying through by and reversing the symbol.
Factor the upward quadratic as , with roots and . An upward parabola is negative between its roots, and the symbol is strict, so the endpoints are open. The solution set is .
What the discriminant decides
The factored form assumed two real roots. Whether a quadratic has them is settled by the discriminant from the quadratic formula, and the picture below shows what each sign of does to an upward parabola. Take throughout, since you can always arrange that first.
gives two real roots and the dip you already know. gives one repeated root, where the parabola only touches the axis. gives no real roots at all, and the two extreme cases on the right and in the middle are where both students and authors slip.
When there are no real roots, so the parabola never touches the -axis. A curve that never touches the axis cannot cross from positive to negative without passing through zero somewhere, so it keeps one sign everywhere, and since an upward parabola climbs to infinity it must be that one sign is positive.
Worked example 3 Solve , then
Check the discriminant first: , so there are no real roots and no factoring over the real numbers. Complete the square instead:
The square is never negative, so the whole expression is at least , which is positive, for every real . Therefore is true for all inputs, and its solution set is all of . The opposite inequality is never true, so its solution set is the empty set . A negative discriminant is not a dead end. It is the case where the quadratic keeps one sign forever, and reading that sign answers the inequality immediately.
That argument used one specific quadratic. The same idea works for any quadratic with and : completing the square puts the vertex above the axis, so the whole parabola stays there too.
Check your understanding
Solve .
The discriminant is , so the quadratic has no real roots and never changes sign. The leading coefficient is , so the parabola opens upward and stays above the axis everywhere: for every real . That leaves nothing for to accept, so the solution set is the empty set .
When the quadratic has one repeated root , and factoring gives a perfect square, . With this is zero at and strictly positive everywhere else, since a nonzero square is positive. Notice this quadratic never actually changes sign: it only touches zero at and stays positive on both sides. The single quadratic then answers four inequalities four different ways, which makes it the sharpest test of whether you have the endpoints right.
Worked example 4 One repeated root, four answers
The quadratic has , a repeated root. It is the perfect square
which equals zero only at and is positive for every other . Run all four symbols against it:
Read them one at a time. The square is positive everywhere except at , so is the whole line with the single point punctured out, a union of two open rays. Allowing equality, picks up that point too and becomes all of . Nothing makes a square negative, so is empty. And holds only where the square is exactly zero, the single point . Four genuinely different solution sets from one quadratic, separated entirely by the symbol and the one repeated root.
Check your understanding
Solve .
A square is never negative, and it is zero only where its base is zero, here at . So is positive for every except , where it equals .
The strict symbol excludes that single point, leaving every other real number. The solution set is the line with removed, . Allowing equality with would instead give all of .