1.3.2: Solving Nonlinear Inequalities
-
- Last updated
- Save as PDF
Learning Objectives
- Determine if a number is a solution to a nonlinear inequality with one variable.
- Understand the geometric relationship between solutions to nonlinear inequalities and their graphs and use this relationship to solve nonlinear inequalities.
- Solve non-linear inequalities algebraically using sign charts.
Are You Ready?
Try these questions prior to beginning this section to help determine if you are set up for success:
- Solve, graph, and state solution in interval notation: \[5 - 6 y < - 1\nonumber\]
- Simplify the polynomial expression, write in descending order, and identify the degree and leading coefficient: \[11x^2(x^3+2)-8+3x^7-4x+5x^2\nonumber\]
-
Factor the given expression completely:
- \(\quad 3a^2-48 \nonumber\)
- \(\quad y^2-5y-6 \nonumber\)
- \(\quad 2x^3+6x^2-x-3 \nonumber\)
- Simplify the expression: \[\dfrac{4-8m-12m^2}{12m^2-12}\nonumber\]
- Answer
-
- \(( 1 , \infty )\)
If you missed this problem or feel you could use more practice, review [ 2.1: Real Numbers, Linear Inequalities, and Interval Notation ]
- \(3x^7+11x^5+27x^2-4x+5\). The degree of the polynomial is 7 and the leading coefficient is 3.
If you missed this problem or feel you could use more practice, review [ 2.3: Polynomial Expressions , 2.6: Multiplying Polynomial Expressions , and other sections discussing polynomial expressions as needed]
-
- \(\quad 3(a+4)(a-4) \)
- \(\quad (y-6)(y+1)\)
- \(\quad (2x^2-1)(x+3) \)
If you missed this problem or feel you could use more practice, review [ 2.12: General Strategy for Factoring Polynomials and other sections discussing factoring as needed]
- \( -\dfrac{3m-1}{3(m-1)} \)
If you missed this problem or feel you could use more practice, review [ 2.13: Simplifying, Multiplying, and Dividing Rational Expressions ]
Precalculus is a course that focuses on the concept of functions. Functions are the basis of programming languages that are used in the programs that run the technology we interact with in our daily lives. We use functions to help describe the world around us. They help us describe how we expect things to behave and they help us to make predictions. As we start our journey into studying of functions, we will be begin with nonlinear inequalities.
Inequalities are very useful as they give us a way to define constraints in real-life situations. Consider a container that is being designed to collect rain water for future drinking use. The container is designed to hold a positive quantity of water which would be described by the volume the container can hold. It would not make sense for the volume to be less than zero since the minimum amount of water the container can hold is no water. Since the volume cannot be negative, we can describe this with an inequality, \(\text{volume} \geq 0\). The size and shape of the container would describe the exact inequality for this situation.
Nonlinear inequalities contain expressions that are nonlinear. Based on things you have had experience with in algebra courses, variables raised to powers and variables in denominators within an inequality would indicate that an inequality is nonlinear.
Some examples of nonlinear inequalities: \[ m^2-8m> 9 \text{ , } \qquad \dfrac{x-4}{(3x-2)(x+5)}\leq 0 \nonumber\]
A solution to an inequality is any real number that will produce a true statement when substituted in for the variable.
Example \(\PageIndex{1}\)
Are \(-3\), \(-2\), and \(-1\) solutions to \(x^{2}-x-6 \leq 0 \)?
Solution
Substitute the given value in for \(x\) and simplify.
\(\begin{array} {r | r | r} {x^{2}-x-6\leq0}&{x^{2}-x-6\leq0}&{x^{2}-x-6\leq0} \\ {(\color{OliveGreen}{-3}\color{black}{)}^{2}-(\color{OliveGreen}{-3}\color{black}{)}-6\leq0}&{(\color{OliveGreen}{-2}\color{black}{)}^{2}-(\color{OliveGreen}{-2}\color{black}{)}-6\leq0}&{(\color{OliveGreen}{-1}\color{black}{)}^{2}-(\color{OliveGreen}{-1}\color{black}{)}-6\leq0} \\ {9+3-6\leq0}&{4+2-6\leq0}&{1+1-6\leq0} \\ {6\leq0\:\:\color{red}{✗}}&{0\leq0\:\:\color{Cerulean}{✓}}&{-4\leq0\:\:\color{Cerulean}{✓}} \end{array}\)
Answer :
\(-2\) and \(-1\) are solutions and \(-3\) is not.
Solving Nonlinear Inequalities Using Graphs
Graphing the function defined by \(y = x^{2} − x − 6\) found in the previous example we have,
Notice that the x-intercepts are at \((-2,0) \text{ and } (3,0)\). Remember that to find the x-intercepts of a function, set \(y=0\). Finding them algebraically,
\[\begin{align*}0 &= x^{2} − x − 6 \\[4pt] 0&= (x + 2) (x − 3) \\[4pt] x+2&=0 \quad \text{ or} \quad x-3=0 \\[4pt] x&=-2 \quad \text{ or } \quad x=3 \end{align*}\]
The values -2 and 3 are called critical numbers . These values bound the regions where the function is positive (above the \(x\)-axis) or negative (below the \(x\)-axis).
We can see that the function is below the x-axis between -2 and 3. Therefore \(x^{2} − x − 6 ≤ 0\) has solutions where \(−2 ≤ x ≤ 3\), using interval notation \([−2, 3]\). Furthermore, \(x^{2} − x − 6 ≥ 0\) has solutions where \(x ≤ −2\) or \(x ≥ 3\), using interval notation \((−∞, −2] ∪ [−3, ∞)\).
Example \(\PageIndex{2}\)
Given the graph of \(f(x)\) determine the solutions to \(f(x)>0\):
Because of the strict inequality, the solution set is shaded with an open dot on each of the boundaries. This indicates that these critical numbers are not actually included in the solution set. This solution set can be expressed two ways,
\(\begin{aligned}\{x |-4<&x<2\} &\color{Cerulean} { Set\: Notation } \\ (-4,&2) &\color{Cerulean} { Interval\: Notation }\end{aligned}\)
In this textbook, we will continue to present answers in interval notation.
Answer :
\((-4,2)\)
You Try \(\PageIndex{1}\)
Use the graph of \(f\) to determine the solutions to \(f(x) \leq 0\). State answer in interval notation.
- Answer
-
\((-\infty,-4] \cup[2, \infty)\)
Solving Polynomial Inequalities Using Sign Charts
A polynomial inequality is a mathematical statement that relates a polynomial expression as either less than or greater than another.
Some examples of polynomial inequalities: \[(3x+1)(x-2) < 0 \text{,} \qquad t^3+30 \geq 7t^2+7t\nonumber\]
We have seen how to solve an inequality graphically. To solve inequalities without graphing, we make use of a sign chart which models a function using a number line that represents the x-axis and signs \((+\) or \(−)\) to indicate where the function is positive or negative. For example,
The plus signs indicate that the function is positive on the region. The negative signs indicate that the function is negative on the region. The boundaries are the critical numbers, \(−2\) and \(3\) in this case. Sign charts are useful when a detailed picture of the graph is not needed and are used extensively in higher level mathematics. The steps for solving a polynomial inequality with one variable are outlined in the following example.
Example \(\PageIndex{3}\)
Solve: \(-x^{2}+6 x+7 \geq 0\).
Solution
It is important to note that this quadratic polynomial inequality is in standard form, with zero on one side of the inequality. Zero must be on one side of the inequality to be able to find the critical numbers in the next step.
Step 1 : Determine the critical numbers. To find them, set the function equal to zero and solve.
\(-x^{2}+6 x+7=0 \)
\(-\left(x^{2}-6 x-7\right)=0 \)
\(-(x+1)(x-7)=0 \)
\(\begin{aligned}x+1&=0 \:\:\:\:\text { or } &x-7=0 \\ x&=-1 &x=7\end{aligned}\)
The critical numbers are \(-1\) and \(7\).
Step 2 : Create a sign chart by putting the critical numbers on a number line. Since the critical numbers bound the regions where the function is positive or negative, we need to test a single value in each region. In this case, the critical numbers partition the number line into three regions. We choose test values \(x = −3, x = 0\), and \(x = 10\).
Test values may vary. In fact, we need only determine the sign \((+\) or \(−)\) of the result when evaluating \(f (x) = −x^{2} + 6x + 7 = − (x + 1) (x − 7)\). Here we evaluate using the factored form.
\(\begin{aligned} f(\color{OliveGreen}{-3}\color{black}{)}&=-(\color{OliveGreen}{-3}\color{black}{+}1)(\color{OliveGreen}{-3}\color{black}{-}7) =-(-2)(-10)&=-\color{Cerulean} {Negative} \\ f(\color{OliveGreen}{0}\color{black}{)}&=-(\color{OliveGreen}{0}\color{black}{+}1)(\color{OliveGreen}{0}\color{black}{-}7) =-(1)(-7)&=+\color{Cerulean} { Positive } \\ f(\color{OliveGreen}{10}\color{black}{)}&=-(\color{OliveGreen}{10}\color{black}{+}1)(\color{OliveGreen}{10}\color{black}{-}7) =-(11)(3)&=-\color{Cerulean} {Negative} \end{aligned}\)
Since the result of evaluating for \(−3\) was negative, we place negative signs above the first region. The result of evaluating for \(0\) was positive, so we place positive signs above the middle region. Finally, the result of evaluating for \(10\) was negative, so we place negative signs above the last region, and the sign chart is complete.
Step 3 : Use the sign chart to answer the question. In this case, we are asked to determine where \(f (x) ≥ 0\), or where the function is positive or zero. From the sign chart we see this occurs when \(x\)-values are inclusively between \(−1\) and \(7\).
Using interval notation, the answer is expressed as \([−1, 7]\).
The graph is not required; however, for the sake of completeness it is provided below.
Indeed the function is greater than or equal to zero, above or on the \(x\)-axis, for \(x\)-values in the specified interval.
Answer :
\([-1,7]\)
Before looking at another example it is important to note that there are multiple ways to set up sign charts. Some like to set up sign charts and evaluate each factor individually. Below is an example of a sign chart set up this way:
| (- ∞, -1) | (-1,7) | (7, ∞) | |
|---|---|---|---|
| -1 | - | - | - |
| (x+1) | - | + | + |
| (x-7) | - | - | + |
| -(x+1)(x-7) | - | + | - |
Since -1 is a constant factor that is negative, we fill in negative signs everywhere for this factor. Notice that the factor x+1 changes sign, from negative to positive, at the critical number -1. This factor gave this critical value. Similarly, this is also true for the factor x-7 and critical value of 7.
Example \(\PageIndex{4}\)
Solve: \(2 x^{2}-7 x+3>0\).
Solution
Begin by finding the critical numbers, in this case, the roots of \(f(x)=2 x^{2}-7 x+3\).
\(\begin{aligned}2 x^{2}-7 x+3&=0 \\ (2 x-1)(x-3)&=0\end{aligned}\)
\(\begin{aligned} 2 x-1 &=0 \:\:\:\:\:\text { or }& x-3=0 \\ 2 x &=1 \quad &x=3 \\ x &=\dfrac{1}{2} \end{aligned}\)
The critical numbers are \(\dfrac{1}{2}\) and \(3\). Because of the strict inequality > we will use open dots.
Next choose a test value in each region and determine the sign after evaluating \(f (x) = 2x^{2} − 7x + 3 = (2x − 1) (x − 3)\). Here we choose test values \(−1, 2\), and \(5\).
\(\begin{aligned} f(\color{OliveGreen}{-1}\color{black}{)} &=(2(\color{OliveGreen}{-1}\color{black}{)}-1)(\color{OliveGreen}{-1}\color{black}{-}3)&=(-)(-)=+\\ f(\color{OliveGreen}{2}\color{black}{)} &=(2(\color{OliveGreen}{2}\color{black}{)}-1)(\color{OliveGreen}{2}\color{black}{-}3)&=(+)(-)=-\\ f(\color{OliveGreen}{5}\color{black}{)} &=(2(\color{OliveGreen}{5}\color{black}{)}-1)(\color{OliveGreen}{5}\color{black}{-}3)&=(+)(+)=+\end{aligned}\)
And we can complete the sign chart.
The question asks us to find the \(x\)-values that produce positive results (greater than zero). Therefore, shade in the regions with a \(+\) over them. This is the solution set.
Answer :
\(\left(-\infty, \dfrac{1}{2}\right) \cup(3, \infty)\)
Sometimes the quadratic function does not factor. In this case we can make use of the quadratic formula.
Example \(\PageIndex{5}\)
Solve: \(x^{2}-2 x-11 \leq 0\)
Solution
Find the critical numbers.
\(x^{2}-2 x-11=0\)
Identify \(a, b\), and \(c\) for use in the quadratic formula. Here \(a = 1, b = −2\), and \(c = −11\). Substitute the appropriate values into the quadratic formula and then simplify.
\(\begin{aligned} x &=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a} \\ &=\dfrac{-(\color{OliveGreen}{-2}\color{black}{)} \pm \sqrt{(\color{OliveGreen}{-2}\color{black}{)}^{2}-4(\color{OliveGreen}{1}\color{black}{)}(\color{OliveGreen}{-11}\color{black}{)}}}{2(\color{OliveGreen}{1}\color{black}{)}} \\ &=\dfrac{2 \pm \sqrt{48}}{2} \\ &=\dfrac{2 \pm 4 \sqrt{3}}{2} \\ &=1 \pm 2 \sqrt{3} \end{aligned}\)
Therefore the critical numbers are \(1-2 \sqrt{3} \approx-2.5\) and \(1+2 \sqrt{3} \approx 4.5\). Use a closed dot on the number to indicate that these values will be included in the solution set.
Here we will use test values \(−5, 0\), and \(7\).
\(\begin{aligned} f(\color{OliveGreen}{-5}\color{black}{)}&=(\color{OliveGreen}{-5}\color{black}{)}^{2}-2(\color{OliveGreen}{-5}\color{black}{)}-11 =25+10-11&=+\\ f(\color{OliveGreen}{0}\color{black}{)}&=(\color{OliveGreen}{0}\color{black}{)}^{2}-2(\color{OliveGreen}{0}\color{black}{)}-11 =0+0-11&=-\\ f(\color{OliveGreen}{7}\color{black}{)}&=(\color{OliveGreen}{7}\color{black}{)}^{2}-2(\color{OliveGreen}{7}\color{black}{)}-11 =49-14-11&=+\end{aligned}\)
After completing the sign chart shade in the values where the function is negative as indicated by the question \((f (x) ≤ 0)\).
Answer :
\([1-2 \sqrt{3}, 1+2 \sqrt{3}]\)
You Try \(\PageIndex{2}\)
Solve: \(9-x^{2}>0\).
- Answer
-
\((-3,3)\)
It may be the case that there are no critical numbers.
Example \(\PageIndex{6}\)
Solve: \(x^{2}-2 x+3>0\).
Solution
To find the critical numbers solve,
Substitute \(a = 1, b = −2\), and \(c = 3\) into the quadratic formula and then simplify.
Because the solutions are not real, we conclude there are no real roots; hence there are no critical numbers. When this is the case, the graph has no \(x\)-intercepts and is completely above or below the \(x\)-axis. We can test any value to create a sign chart. Here we choose \(x = 0\).
\(f(0)=(0)^{2}-2(0)+3=+\)
Because the test value produced a positive result the sign chart looks as follows:
We are looking for the values where \(f (x) > 0\); the sign chart implies that any real number for \(x\) will satisfy this condition.
Answer :
\((-\infty, \infty)\)
The function in the previous example is graphed below.
We can see that it has no \(x\)-intercepts and is always above the \(x\)-axis (positive). If the question was to solve \(x^{2} − 2x + 3 < 0\), then the answer would have been no solution. The function is never negative.
You Try \(\PageIndex{3}\)
Solve: \(9 x^{2}-12 x+4 \leq 0\)
- Answer
-
One solution, \(\dfrac{2}{3}\).
Example \(\PageIndex{7}\)
Solve \(x(x+3)^{2}(x-4)<0\).
Solution
Begin by finding the critical numbers. Because \(f (x) = x(x + 3)^{2} (x − 4)\) is given in its factored form and zero is on one side of the inequality, the critcal numbers are apparent. Here the critical values are: \(0, −3\), and \(4\). Because of the strict inequality, plot them using open dots on a number line.
In this case, the critical numbers partition the number line into four regions. Test values in each region to determine if f is positive or negative. Here we choose test values \(−5, −1, 2\), and \(6\). Remember that we are only concerned with the sign \((+\) or \(−)\) of the result.
\(\begin{aligned} f(\color{OliveGreen}{-5}\color{black}{)}&=(\color{OliveGreen}{-5}\color{black}{)}(\color{OliveGreen}{-5}\color{black}{+}3)^{2}(\color{OliveGreen}{-5}\color{black}{-}4) =(-)(-)^{2}(-)&=+\color{Cerulean} { Positive} \\ f(\color{OliveGreen}{-1}\color{black}{)}&=(\color{OliveGreen}{-1}\color{black}{)}(\color{OliveGreen}{-1}\color{black}{+}3)^{2}(\color{OliveGreen}{-1}\color{black}{-}4) =(-)(+)^{2}(-)&=+\color{Cerulean} { Positive } \\ f(\color{OliveGreen}{2}\color{black}{)}&=(\color{OliveGreen}{2}\color{black}{)}(\color{OliveGreen}{2}\color{black}{+}3)^{2}(\color{OliveGreen}{2}\color{black}{-}4) =(+)(+)^{2}(-)&=-\color{Cerulean} { Negative } \\ f(\color{OliveGreen}{6}\color{black}{)}&=(\color{OliveGreen}{6}\color{black}{)}(\color{OliveGreen}{6}\color{black}{+}3)^{2}(\color{OliveGreen}{6}\color{black}{-}4) =(+)(+)^{2}(+)&=+\color{Cerulean} { Positive } \end{aligned}\)
After testing values we can complete a sign chart.
The question asks us to find the values where \(f (x) < 0\), or where the function is negative. From the sign chart we can see that the function is negative for \(x\)-values in between \(0\) and \(4\).
Answer :
\((0,4)\)
Although we have not discussed the graphs of polynomial functions yet, the graph of this function is provided below. Compare the graph to its corresponding sign chart.
Certainly it may not be the case that the polynomial is factored nor that it has zero on one side of the inequality. To model a function using a sign chart, all of the terms should be on one side and zero on the other. The general steps for solving a polynomial inequality are listed in the following example.
Example \(\PageIndex{8}\)
Solve: \(2 x^{4}>3 x^{3}+9 x^{2}\).
Solution
Step 1 : Obtain zero on one side of the inequality. In this case, subtract to obtain a polynomial on the left side in standard from.
\(\begin{aligned}2 x^{4}&>3 x^{3}+9 x^{2} \\ 2 x^{4}-3 x^{3}-9 x^{2}&>0\end{aligned}\)
Step 2 : Find the critical numbers. Here we can find the zeros by factoring.
\(2 x^{4}-3 x^{3}-9 x^{2}=0 \)
\(x^{2}\left(2 x^{2}-3 x-9\right)=0 \)
\(x^{2}(2 x+3)(x-3)=0 \)
There are three solutions, hence, three critical numbers \(−\dfrac{3}{2}, 0\), and \(3\). The strict inequality indicates that we should use open dots.
Step 3 : Create a sign chart. In this case use \(f (x) = x^{2} (2x + 3) (x − 3) \) and test values \(−2, −1, 1\), and \(4\) to determine the sign of the function in each interval.
\(\begin{aligned} f(\color{OliveGreen}{-2}\color{black}{)} &=(\color{OliveGreen}{-2}\color{black}{)}^{2}(2(\color{OliveGreen}{-2}\color{black}{)}+3)(\color{OliveGreen}{-2}\color{black}{-}3)&=(-)^{2}(-)(-)=+\\ f(\color{OliveGreen}{-1}\color{black}{)} &=(\color{OliveGreen}{-1}\color{black}{)}^{2}(2(\color{OliveGreen}{-1}\color{black}{)}+3)(\color{OliveGreen}{-1}\color{black}{-}3)&=(-)^{2}(+)(-)=-\\ f(\color{OliveGreen}{1}\color{black}{)} &=(\color{OliveGreen}{1}\color{black}{)}^{2}(2(\color{OliveGreen}{1}\color{black}{)}+3)(\color{OliveGreen}{1}\color{black}{-}3) &=(+)^{2}(+)(-)=-\\ f(\color{OliveGreen}{4}\color{black}{)} &=(\color{OliveGreen}{4}\color{black}{)}^{2}(2(\color{OliveGreen}{4}\color{black}{)}+3)(\color{OliveGreen}{4}\color{black}{-}3) &=(+)^{2}(+)(+)=+\end{aligned}\)
With this information we can complete the sign chart.
Step 4 : Use the sign chart to answer the question. Here the solution consists of all values for which \(f (x) > 0\). Shade in the values that produce positive results and then express this set in interval notation.
Answer :
\(\left(-\infty,-\dfrac{3}{2}\right) \cup(3, \infty)\)
Example \(\PageIndex{9}\)
Solve: \(x^{3}+x^{2} \leq 4(x+1)\).
Solution
Begin by rewriting the inequality in standard form, with zero on one side.
\(\begin{aligned}x^{3}+x^{2} &\leq 4(x+1) \\ x^{3}+x^{2} &\leq 4 x+4 \\ x^{3}+x^{2}-4 x-4 &\leq 0\end{aligned}\)
Next find the critical numbers of \(f(x)=x^{3}+x^{2}-4 x-4\):
\(\begin{aligned} x^{3}+x^{2}-4 x-4 &=0 \quad\color{Cerulean} { Factor\: by\: grouping.} \\ x^{2}(x+1)-4(x+1) &=0 \\(x+1)\left(x^{2}-4\right) &=0 \\(x+1)(x+2)(x-2) &=0 \end{aligned}\)
The critical numbers are \(−2, −1\), and \(2\). Because of the inclusive inequality \((≤)\) we will plot them using closed dots.
Use test values, \(-3\), \(-\dfrac{3}{2}\), \(0\), and \(3\) to create a sign chart.
\(\begin{aligned} f(\color{OliveGreen}{-3}\color{black}{)}&=(\color{OliveGreen}{-3}\color{black}{+}1)(\color{OliveGreen}{-3}\color{black}{+}2)(\color{OliveGreen}{-3}\color{black}{-}2) &=(-)(-)(-)=- \\ f(\color{OliveGreen}{-\dfrac{3}{2}}\color{black}{)}&=(\color{OliveGreen}{-\dfrac{3}{2}}\color{black}{+}1)(\color{OliveGreen}{-\dfrac{3}{2}}\color{black}{+}2)(\color{OliveGreen}{-\dfrac{3}{2}}\color{black}{-}2) &=(-)(+)(-)=+\\ f(\color{OliveGreen}{0}\color{black}{)}&=(\color{OliveGreen}{0}\color{black}{+}1)(\color{OliveGreen}{0}\color{black}{+}2)(\color{OliveGreen}{0}\color{black}{-}2)&=(+)(+)(-)=- \\ f(\color{OliveGreen}{3}\color{black}{)}&=(\color{OliveGreen}{3}\color{black}{+}1)(\color{OliveGreen}{3}\color{black}{+}2)(\color{OliveGreen}{3}\color{black}{-}2)&=(+)(+)(+)=+\end{aligned}\)
And we have
Use the sign chart to shade in the values that have negative results \((f (x) ≤ 0)\).
Answer
\((-\infty,-2] \cup[-1,2]\)
You Try \(\PageIndex{4}\)
Solve \(-3 x^{4}+12 x^{3}-9 x^{2}>0\).
- Answer
-
\((1,3)\)
Solving Rational Inequalities Using Sign Charts
A rational inequality is a mathematical statement that relates a rational expression as either less than or greater than another. Because rational functions have restrictions to the domain, which we will discuss more in the next section, we must take care when solving rational inequalities. In addition to the zeros, we will include the restrictions to the domain of the function which are values that make the denominator zero in the set of critical numbers.
Example \(\PageIndex{10}\)
Solve: \(\dfrac{(x-4)(x+2)}{(x-1)} \geq 0\)
Solution
The zeros of a rational function occur when the numerator is zero, provided they are unique to the numerator, and the values that produce zero in the denominator are the restrictions. In this case,
\(\begin{array}{c | c}{\text { Roots (Numerator) }} & {\text{Restriction(Denominator)}} \\ {x-4=0 \text { or } x+2=0} & {x-1=0} \\ {\:\:\quad\quad\quad\: x=4 \quad\quad x=-2}& {x=1}\end{array}\)
Therefore the critical numbers are \(−2, 1\), and \(4\). Because of the inclusive inequality \((≥)\) use a closed dot for the roots \({−2, 4}\) and always use an open dot for restrictions \({1}\). Restrictions are never included in the solution set.
Use test values \(x = −4, 0, 2, 6\).
\(\begin{aligned} f(\color{OliveGreen}{-4}\color{black}{)} &=\dfrac{(\color{OliveGreen}{-4}\color{black}{-}4)(\color{OliveGreen}{-4}\color{black}{+}2)}{(\color{OliveGreen}{-4}\color{black}{-}1)}&=\dfrac{(-)(-)}{(-)}=-\\ f(\color{OliveGreen}{0}\color{black}{)} &=\dfrac{(\color{OliveGreen}{0}\color{black}{-}4)(\color{OliveGreen}{0}\color{black}{+}2)}{(\color{OliveGreen}{0}\color{black}{-}1)}&=\dfrac{(-)(+)}{(-)}=+\\ f(\color{OliveGreen}{2}\color{black}{)} &=\dfrac{(\color{OliveGreen}{2}\color{black}{-}4)(\color{OliveGreen}{2}\color{black}{+}2)}{(\color{OliveGreen}{2}\color{black}{-}1)}&=\dfrac{(-)(+)}{(+)}=-\\ f(\color{OliveGreen}{6}\color{black}{)} &=\dfrac{(\color{OliveGreen}{6}\color{black}{-}4)(\color{OliveGreen}{6}\color{black}{+}2)}{(\color{OliveGreen}{6}\color{black}{-}1)}&=\dfrac{(+)(+)}{(+)}=+\end{aligned}\)
And then complete the sign chart.
The question asks us to find the values for which \(f (x) ≥ 0\), in other words, positive or zero. Shade in the appropriate regions and present the solution set in interval notation.
Answer
\([-2,1) \cup[4, \infty)\)
Although we have not learned about the graphs of rational functions yet, the graph of this function is provided below. Compare the graph to its corresponding sign chart above.
Notice that the restriction \(x = 1\) corresponds to a place where the function values get very large and also very small. This is called a vertical asymptote which bounds regions where the function changes from positive to negative. While not included in the solution set because it makes the denominator zero, this value is a critical number. Before creating a sign chart we must ensure the inequality has a zero on one side. The general steps for solving a rational inequality are outlined in the following example.
Example \(\PageIndex{11}\)
Solve \(\dfrac{7}{x+3}<2\).
Solution
Step 1 : Begin by obtaining zero on the right side.
\(\begin{aligned}\dfrac{7}{x+3}&<2 \\[5pt] \dfrac{7}{x+3}-2&<0\end{aligned}\)
Step 2 : Determine the critical numbers. The critical numbers are the zeros and restrictions. Begin by simplifying to a single algebraic fraction.
\(\begin{aligned}\dfrac{7}{x+3}-\dfrac{2}{1}&<0 \\[5pt] \dfrac{7-2(x+3)}{x+3}&<0 \\[5pt] \dfrac{7-2 x-6}{x+3}&<0 \\[5pt] \dfrac{-2 x+1}{x+3}&<0\end{aligned}\)
Next find the critical numbers. Set the numerator and denominator equal to zero and solve.
\(\begin{array}{c|c} {\text{Root}}&{\text{Restriction}}\\ {-2x+1=0}\\{-2x=-1}&{x+3=0}\\{x=\dfrac{1}{2}}&\quad\quad\:\:{x=-3} \end{array}\)
In this case, the strict inequality indicates that we should use an open dot for the root.
Step 3 : Create a sign chart. Choose test values \(−4, 0\), and \(1\).
\(\begin{aligned} f(\color{OliveGreen}{-4}\color{black}{)} &=\dfrac{-2(\color{OliveGreen}{-4}\color{black}{)}+1}{\color{OliveGreen}{-4}\color{black}{+}3}&=\dfrac{+}{-}=-\\[5pt] f(\color{OliveGreen}{0}\color{black}{)} &=\dfrac{-2(\color{OliveGreen}{0}\color{black}{)}+1}{\color{OliveGreen}{0}\color{black}{+}3}&=\dfrac{+}{+}=+\\[5pt] f(\color{OliveGreen}{1}\color{black}{)} &=\dfrac{-2(\color{OliveGreen}{1}\color{black}{)}+1}{\color{OliveGreen}{1}\color{black}{+}3}&=\dfrac{-}{+}=-\end{aligned}\)
And we have
Step 4 : Use the sign chart to answer the question. In this example we are looking for the values for which the function is negative, \(f (x) < 0\). Shade the appropriate values and then present your answer using interval notation.
Answer :
\((-\infty,-3) \cup\left(\dfrac{1}{2}, \infty\right)\)
Example \(\PageIndex{12}\)
Solve: \(\dfrac{1}{x^{2}-4} \leq \dfrac{1}{2-x}\).
Solution
Begin by obtaining zero on the right side.
\(\begin{aligned}\dfrac{1}{x^{2}-4} &\leq \dfrac{1}{2-x} \\ \dfrac{1}{x^{2}-4}-\dfrac{1}{2-x} &\leq 0\end{aligned}\)
Next simplify the left side to a single algebraic fraction.
\(\begin{array}{r}{\dfrac{1}{x^{2}-4}-\dfrac{1}{2-x} \leq 0} \\[5pt] {\dfrac{1}{(x+2)(x-2)}-\dfrac{1}{-(x-2)} \leq 0} \\[5pt] {\dfrac{1}{(x+2)(x-2)}+\dfrac{1\color{Cerulean}{(x+2)}}{\color{black}{(x-2)}\color{Cerulean}{(x+2)}}\color{black}{ \leq} 0} \\[5pt] {\dfrac{1+x+2}{(x+2)(x-2)} \leq 0} \\[5pt] {\dfrac{x+3}{(x+2)(x-2)} \leq 0}\end{array}\)
The critical numbers are \(−3, −2\), and \(2\). Note that \(±2\) are restrictions and thus we will use open dots when plotting them on a number line. Because of the inclusive inequality we will use a closed dot at the root \(−3\).
Choose test values \(-4, -2\dfrac{1}{2} = -\dfrac{5}{2}, 0\), and \(3\).
\(\begin{aligned}f(\color{OliveGreen}{-4}\color{black}{)}&= \dfrac{\color{OliveGreen}{-4}\color{black}{+}3}{(\color{OliveGreen}{-4}\color{black}{+}2)(\color{OliveGreen}{-4}\color{black}{-}2)}&=\dfrac{(-)}{(-)(-)}=- \\ f(\color{OliveGreen}{-\dfrac{5}{2}}\color{black}{)} &= \dfrac{\color{OliveGreen}{-\dfrac{5}{2}}\color{black}{+}3}{(\color{OliveGreen}{-\dfrac{5}{2}}\color{black}{+}2)(\color{OliveGreen}{-\dfrac{5}{2}}\color{black}{-}2)}&=\dfrac{(+)}{(-)(-)}=+\\ f(\color{OliveGreen}{0}\color{black}{)}&=\dfrac{\color{OliveGreen}{0}\color{black}{+}3}{(\color{OliveGreen}{0}\color{black}{+}2)(\color{OliveGreen}{0}\color{black}{-}2)}&=\dfrac{(+)}{(+)(-)}=- \\ f(\color{OliveGreen}{3}\color{black}{)}&=\dfrac{\color{OliveGreen}{3}\color{black}{+}3}{(\color{OliveGreen}{3}\color{black}{+}2)(\color{OliveGreen}{3}\color{black}{-}2)} &=\dfrac{(+)}{(+)(+)}=+\end{aligned}\)
Construct a sign chart.
Answer the question; in this case, find \(x\) where \(f(x) \leq 0\).
You Try \(\PageIndex{5}\)
Solve: \(\dfrac{2 x^{2}}{2 x^{2}+7 x-4} \geq \dfrac{x}{x+4}\).
- Answer
-
\((-4,0] \cup\left(\dfrac{1}{2}, \infty\right)\)