Learning Outcomes
- Solve polynomial inequalities algebraically.
- Solve rational inequalities algebraically.
Solving Polynomial Inequalities
One application of our ability to find intercepts and sketch a graph of polynomials is the ability to solve polynomial inequalities. It is a very common question to ask when a function will be positive and negative.
When we solve an equation and the result is x=3, we know there is one solution, which is 3.
When we solve an inequality and the result is x<3, we know there are many solutions. We graph the result to better help show all the solutions, and we start with 3. Three becomes a critical point and then we decide whether to shade to the left or right of it. The numbers to the right of 3 are larger than 3, so we shade to the right.

To solve a polynomial inequality, we must write the inequality with the polynomial on the left and 0 on the right.
Next, we determine the critical points to use to divide the number line into intervals. A critical point is a number which makes the polynomial zero.
We will evaluate the factors of the polynomial. This will identify the interval, or intervals, that contains all the solutions of the polynomial inequality.
We write the solution in interval notation being careful to determine whether the endpoints are included.
How To: Solve a polynomial inequality
-
- Write the inequality with the polynomial on the left and zero on the right
- Determine the critical points-the points where the polynomial will be zero.
- Use the critical points to divide the number line into intervals.
- Test a value in each interval. Indicate which regions are positive and negative.
- Determine the intervals where the inequality is correct. Write the solution in interval notation.
Example 1: Solving A Polynomial InequalitY in Factored FORM
Solve the inequality (x+3)(x+1)2(x−4)>0
Show Solution
As with all inequalities, we start by solving the equality (x+3)(x+1)2(x−4)=0, which has solutions at x = -3, -1, and 4. We know the function can only change from positive to negative at these values, so these divide the inputs into 4 intervals.
We could choose a test value in each interval and evaluate the function f(x)=(x+3)(x+1)2(x−4) at each test value to determine if the function is positive or negative in that interval
Interval |
Test x in interval |
f(test value) |
> 0 or < 0 |
x < -3 |
-4 |
72 |
> 0 |
-3 < x < -1 |
-2 |
-6 |
< 0 |
-1 < x < 4 |
0 |
-12 |
< 0 |
x > 4 |
5 |
288 |
> 0 |
On a number line this would look like:

From our test values, we can determine this function is positive when x < -3 or x > 4, or in interval notation, (−∞,−3)∪(4,∞). We could have also determined on which intervals the function was positive by sketching a graph of the function. We illustrate that technique in the next example.
Example 2: Solving A Quadratic InequalitY NOT in Factored FORM
Solve the inequality 6−5t−t2≥0
Show Solution
As with all inequalities, we start by solving the equality 6−5t−t2=0. The first step is to write this in factored form. While we could use the quadratic formula, this equation factors nicely to (6+t)(1−t)=0, giving horizontal intercepts t = 1 and t = -6. We know the function can only change from positive to negative at these values, so these divide the inputs into 3 intervals.
We could choose a test value in each interval and evaluate the function f(t)=6−5t−t2=0 at each test value to determine if the function is positive or negative in that interval
Interval |
Test t in interval |
f(test value) |
> 0 or < 0 |
t < -6 |
-7 |
-8 |
< 0 |
-6 < t < 1 |
0 |
6 |
> 0 |
t > 1 |
2 |
-8 |
< 0 |
From our test values, we can determine this function is positive when -6 < t < 1, or in interval notation, [−6,1].
Example 3: Solving a Polynomial Inequality Not in Factored Form
Solve the inequality x4−2x3−3x2>0
Show Solution
In our other examples, we were given polynomials that were already in factored form, here we have an additional step to finding the intervals on which solutions to the given inequality lie. Again, we will start by solving the equality x4−2x3−3x2=0
Notice that there is a common factor of x2 in each term of this polynomial. We can use factoring to simplify in the following way:
x4−2x3−3x2=0x2(x2−2x−3)=0x2(x−3)(x+1)=0
Now we can set each factor equal to zero to find the solution to the equality.
x2=0(x−3)=0(x+1)=0x=0x=3x=−1.
Note that x = 0 has multiplicity of two, but since our inequality is strictly greater than, we don’t need to include it in our solutions.
We can choose a test value in each interval and evaluate the function
x4−2x3−3x2=0
at each test value to determine if the function is positive or negative in that interval
Interval |
Test x in interval |
> 0, < 0 |
x < -1 |
-2 |
x > 0 |
-1 < x < 0 |
-1/2 |
x < 0 |
0 < x < 3 |
1 |
x < 0 |
x > 3 |
5 |
x > 0 |
We want to have the set of x values that will give us the intervals where the polynomial is greater than zero. Our answer will be (−∞,−1]∪[3,∞).
The graph of the function gives us additional confirmation of our solution.

Solving Rational Inequalities
In addition to finding when a polynomial function will be positive and negative, we can also find where rational functions are positive and negative.
A rational function is a function that can be written as the quotient of two polynomial functions. Rational functions will be studied in more detail in the next section.
A General Note: Rational Function
A rational function is a function that can be written as the quotient of two polynomial functions P(x)andQ(x).
f(x)=P(x)Q(x)=apxp+ap−1xp−1+...+a1x+a0bqxq+bq−1xq−1+...+b1x+b0,Q(x)≠0
Rational Inequality
A rational inequality is an inequality that contains a rational expression.
Inequalities such as 32x>1 , 2xx−3<4 , (2x−3)(x−5)x+1)2<0 , and 14−2x2≤3x are rational inequalities as they each contain a rational expression.
When we solve a rational inequality, we will use the same techniques we used solving polynomial inequalities. However, we must carefully consider what value might make the rational expression undefined and so must be excluded.
Next, we determine the critical points to use to divide the number line into intervals. A critical point is a number which makes the rational expression zero of undefined.
We will evaluate the factors of the numerator and denominator, and find the quotient in each interval. This will identify the interval, or intervals, that contains all the solutions of the rational inequality.
We write the solution in interval notation being careful to determine whether the endpoints are included.
How To: Solve a rational inequality
-
- Write the inequality as one quotient on the left and zero on the right
- Determine the critical points-the points where the rational expression will be zero or undefined
- Use the critical points to divide the number line into intervals.
- Test a value in each interval. Indicate which regions are positive and negative.
- Determine the intervals where the inequality is correct. Write the solution in interval notation.
Example 4: Solving RATIONAL Inequalities in Factored Form
Solve (x+3)(x−4)(x+1)2≤0
Show Solution
As with all inequalities, we start by solving the equality (x+3)(x−4)(x+1)2=0, which has solutions at x = -3, -1, and 4. We know the function can only change from positive to negative at these values, so these divide the inputs into 4 intervals.
We could choose a test value in each interval and evaluate the function f(x)=(x+3)(x−4)(x+1)2=0 at each test value to determine if the function is positive or negative in that interval
Interval |
Test x in interval |
f(test value) |
> 0 or < 0 |
x < -3 |
-4 |
0.888 |
> 0 |
-3 < x < -1 |
-2 |
-6 |
< 0 |
-1 < x < 4 |
0 |
-12 |
< 0 |
x > 4 |
5 |
0.222 |
> 0 |
On a number line this would look like:

From our test values, we can determine this function is negative when −3≤x<−1 or [latex]-1
Example 5: Solving A rational inequalitY not in factored form
Solve 2x2+6x+9x+3>5
Show Solution
This time, the rational inequality is not in factored form, and there is not a zero on the right side. We need to subtract the 5 to the other side and get common denominators: 2x2+6x+9x+3−5>02x2+6x+9x+3−5(x+3)x+3>02x2+6x+9−5(x+3)x+3>02x2+x−6x+3>0(x+2)(2x−3)x+3>0
We will now solve (x+2)(2x−3)x+3=0 which has solutions at x=−2,32,−3. We know the function can only change from positive to negative at these values, so these divide the inputs into 4 intervals.
We could choose a test value in each interval and evaluate the function f(x)=(x+2)(2x−3)x+3 at each test value to determine if the function is positive or negative in that interval
Interval |
Test x in interval |
f(test value) |
> 0 or < 0 |
x < -3 |
-4 |
-22 |
< 0 |
-3 < x < -2 |
-2.5 |
8 |
> 0 |
-2 < x < 3/2 |
0 |
-2 |
< 0 |
x > 3/2 |
2 |
0.8 |
> 0 |
From our test values, we can determine this function is positive when [latex]-3\dfrac{3}{2}[/latex], or in interval notation: (−3,−2)∪(32,∞).
Try it
Solve (x−6)(x+1)3x2<0 and write your answer in interval notation.
Section 2.7 Homework Exercises
1. Explain critical points and how they are used to solve polynomial and rational inequalities algebraically.
2. Describe the steps needed to solve a rational inequality algebraically.
For each of the following polynomial inequalities, solve and write your answer in interval notation
3. (x−4)(x+3)<0
4. (x−4)(x+1)<0
5. (x−1)(3x−4)≥0
6. (x+7)(2x−5)≥0
7. x2+5x+4<0
8. x2−14x+49<0
9. (x+8)(x+2)(x−3)≥0
10. (x+5)(x+1)(x−4)≥0
11. (x+8)2(x+5)(x+7)3>0
12. (x−4)(x+1)3(x−2)2>0
13. (2x2+5x−3)(x+4)≤0
14. (3x2−5x−2)(x+3)≤0
15. (x2+3x−10)(x2−1)<0
16. (x2+2x−24)(x2−4)<0
For each of the following rational inequalities, solve and write your answer in interval notation.
17. x−7x−1<0
18. x+5x−4<0
19. x+42x−3≥0
20. x−53x+4≥0
21. x+32x+6≥3
22. x+68x+8≥5
23. (x+3)(x+5)x+2≥0
24. (x+4)(x−3)x+1≥0
25. (x−2)(x−7)3x+2≤0
26. (x+1)(x+6)2x−1≤0
27. x+6x2−5x−24≤0
28. x+5x2−9x+18≤0
29. (x+7)(x−3)(x−5)2<0
30. (x+8)(x−1)(x+3)2<0
31. 2x2+6x+7x+3>3
32. 4x2+8x+9x+2>5