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
- Let decide the shape of the answer
A quadratic changes sign only at a root
Everything in this lesson follows from a single proposition, so it is worth stating it plainly and proving it before using 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 exactly three signs: the sign of the constant , together with the sign of each linear factor. So control the factors and you control the sign of .
Look at one factor, . It equals zero exactly at . For every it is positive, and for every it is negative. So a single linear factor is positive on one side of its own root, negative on the other, and changes sign nowhere else. The same is true of at .
Now take any interval of the number line that contains neither root. Across that whole interval holds one fixed sign and holds one fixed sign, because neither factor reaches its root there. A product of numbers with fixed signs has a fixed sign, since and are positive while is negative. Multiplying by the constant afterwards only reverses or preserves that sign, uniformly across the entire interval. Therefore has one constant sign on the whole interval.
The only way can pass from positive to negative is for one of its factors to change sign, and a factor changes sign only as crosses its root. Between two consecutive roots no factor changes, so never changes there. The roots are the only places the sign can turn over, which is the claim.
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 labelling 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. The graph route is also safer, because there is no arithmetic with signed numbers to slip on. Keep the test point as the backup for when you are unsure.
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. This is trivial to state and constantly gotten wrong, so pin it down.
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. The interior of the solution is identical either way. Only the endpoints change. So has solution , the same two rays as the worked example but with the roots now removed.
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. gives two real roots, gives one repeated root, and gives no real roots at all. Each case answers a quadratic inequality differently, and the two extreme cases are where both students and authors slip. Take throughout, since you can always arrange that first.
When there are no real roots, so the parabola never touches the axis. By the structural fact it can change sign nowhere, and since an upward parabola climbs to infinity it must be positive everywhere. There is a cleaner way to see it than “it has to be,” using the completed square.
Why a quadratic with no real roots keeps one sign#
Completing the square, the lesson before last, writes any quadratic in vertex form , where the vertex height is . Suppose and . Then is a negative divided by a positive with an overall minus sign, so .
Now read off the sign. The square is never negative, and , so for every . Adding the positive number ,
So is strictly positive everywhere. There is no arithmetic with roots and no sign chart, only the fact that a real square cannot be negative. It follows at once that has solution set all of , while has solution set , the empty set, because is never negative. With the same argument gives and everywhere, so the two answers swap.
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.
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 .