Illustrated · 2 min
Suppose we have a quadratic function with or real roots. In this scenario, we can use special methods to solve an inequality like .
Let's focus on the inequality for now. We can address later since it is an identical process and intuition.
Example
Consider . From Factoring Polynomials, we know we can write . So, we know has roots at and .
Now, suppose we want to find the values such that . We can first build intuition by looking at the graph for

Now, just looking at the graph, we can see that for and , .
If we want to do this algebraically, we will take advantage of the fact that has two real roots, and can be written as .
Notice that for to be non-negative, either both and have to be non-positive or both and have to be non-negative. We can write this as
Now, we just have to solve each of these systems of linear inequalities separately, and we can get a solution for by combining the solutions.
For the first one, we see holds for and holds for . Therefore, the solution to the entire system of inequalities is when both hold, which is when .
For the second one, we see holds for and holds for . Therefore, the solution to the entire system of inequalities is when both hold, which is when .
Since we only need one of these to hold to make , we know that for and
Other inequalities
Now, if we want to extend this to solving , we just have to notice that precisely when
Then, we can solve this system like we did above and get a solution for .
Only One Root
But what if there is only root? Then, we can use the same process as above, where we factor and solve the systems of linear inequalities that arise. This is because we know any quadratic function which has exactly root can be written in the form , where is the root.
Summary
If you have a function which has or real roots, do the following steps to try and solve an inequality of the form , , or .
-
Factor as .
-
Depending on the inequality you're solving, convert the inequality to systems of linear inequalities in terms of and .
-
The solutions to the systems of linear inequalities you get should be the same as the solutions to the original inequality, so you're all done!