Skip to main content
Mathematics LibreTexts

Page 2.3: Solving Inequalities

  • Page ID
    132683
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    The goal of this section is to understand how to solve inequalities. An inequality looks similar to that of an equation but instead of an equality sign, we have either a \( \leq, \geq, <\) or \( > \) sign.

    When we say we are going to solve an inequality, this means we are going to find all the real numbers which makes the inequality true. In order to solve inequalities, we first present some rules:

    Theorem \(\PageIndex{1}\)

    Theorem: Suppose \(a\), \(b, c \) and \(d\) denote real numbers or algebraic expressions.

    1) \(a \leq b \) if and only if \(a + c \leq b + c \).

    2) \(a \leq b \) if and only if \(a - c \leq b - c \).

    3) If \(c > 0 \) then \(a \leq b \) if and only if \( ac \leq bc \).

    4) If \(c < 0 \) then \(a \leq b \) if and only if \( ac \geq bc \).

    5) If \(a\) and \(b\) are positive, then \(a \leq b\) if and only if \( \frac{1}{a} \geq \frac{1}{b} \).

    6) If \(a \leq b\) and \( c \leq d \) then \(a + c \leq b + d \).

    7) If \( a \leq b \) and \(b \leq c \) then \(a \leq c \).

    As usual, it is important to be able to understand these statements in words.

    Statements 1 and 2 are saying that we can add the same quantity to each side of an inequality and the direction of the inequality is preserved.

    Statement 3 is saying that if we multiply an inequality by a positive number, then the direction of the inequality is also preserved. However, if we multiply the inequality by a negative number, then the direction of the inequality is flipped (Statement 4).

    Statement 5 tells us the direction of the inequality is also flipped whenever we are taking reciprocals of each side of an inequality involving positive quantities.

    Finally, Statements 6 and 7 are saying that inequalities can be added and that inequalities are transitive.

    Using these rules, allow us to work out an example.

    Exercise \(\PageIndex{1}\)

    Find all values of \(x\) such that \(3x+5 > 0 \).

    Answer

    For now, do not worry about why we are doing each step. Instead, allow us to focus on the validity of both steps.

    \begin{align*} 3x + 5 &> 0 && \text{we first subtract 5 from both sides} \\ 3x &> -5 && \text{we now divide both sides by 3} \\ x &> - \frac{5}{3} \end{align*}

    And so \( x > - \frac{5}{3} \) which means that the solution of the inequality is the interval \( ( - \frac{5}{3}, \infty ) \).

    Notice the above inequality is linear meaning that each term is a constant or a multiple of the variable \(x\). In general, to solve linear inequalities, we simply isolate the variable on one side of the inequality sign.

    Exercise \(\PageIndex{1}\)

    Find all values of \(x\) such that \(-3x+5 > 0 \).

    Answer

    \begin{align*} -3x + 5 &> 0 && \text{we first subtract 5 from both sides} \\ -3x &> -5 && \text{we now divide both sides by -3} \\ x &< \frac{5}{3} \end{align*}
    And so \( x < \frac{5}{3} \) which means that the solution of the inequality is the interval \( ( - infty, \frac{5}{3}) \).

    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,

    Graph of y=x^2-x+6
    Figure \(\PageIndex{3}\): Graph of y=x^2-x+6

    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).

    Graphs showing intervals where y=x^2-x+6 is positive and negative
    Figure \(\PageIndex{4}\): Graphs showing intervals where y=x^2-x+6 is positive and negative

    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\):

    Graph of function f(x)
    Figure \(\PageIndex{5}\): Graph of function f(x)

    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.

    Graph of function f(x)
    Figure \(\PageIndex{6}\): Graph of function f(x)
    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,

    8f2989ef066ce6883861208396130683.png
    Figure \(\PageIndex{7}\)

    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\).

    915e05bcffaaab7874eda54ada0751af.png
    Figure \(\PageIndex{8}\)

    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.

    6fb23054f7edfb70117b8b3df7880587.png
    Figure \(\PageIndex{9}\)

    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\).

    539d2e7400fed2d8137b1919416ad81c.png
    Figure \(\PageIndex{9}\)

    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.

    ca4d179ae46f208616be623bb29df57d.png
    Figure \(\PageIndex{10}\)

    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) - + -
    Figure \(\PageIndex{11}\): Sign chart for -(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.

    7e9d03426a5bb9e54fe75ad9123b3018.png
    Figure \(\PageIndex{12}\)

    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.

    b032f46c76e66584153dfe8c5f0c7f5a.png
    Figure \(\PageIndex{13}\)

    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.

    6a7b9408ba1c281e883447cd3b5e8023.png
    Figure \(\PageIndex{14}\)

    Answer:

    \(\left(-\infty, \dfrac{1}{2}\right) \cup(3, \infty)\)

    Exercise \(\PageIndex{1}\)

    Find where the function \(f(x) = 12x^3-12x^2-24x \) is positive.

    Answer

    We must find when \( 12x^3-12x^2-24x > 0 \). We already see that all the nonzero terms are on one side and so allow us to set this side equal to zero.

    \begin{align*} 12x^3-12x^2-24x = 0 \end{align*}

    We now must factor this and solve.

    \begin{align*} 12x^3-12x^2-24x &= 0 \\ 12x(x^2-x-2) &= 0 \\ 12x(x-2)(x+1) = 0 \end{align*}

    By the Zero Product Property, either \(12x=0\) or \(x-2 = 0 \) or \( x+1 = 0 \). Hence, \(x = 0\) or \(x=2\) or \( x = -1 \).

    Placing these values onto a number line, we see that the number line is divided into four parts: \( (- \infty, -1 ), (-1,0), (0,2), (2, \infty) \).

    Selecting test values along each interval we see the following:

    Interval \(12x\) \(x-2\) \(x+1\) \(f(x)\)
    \( (- \infty, -1 ) \) - - - -
    \( (-1,0) \) - - + +
    \( (0,2) \) + - + -
    \( (2, \infty) \) + + + +

    Hence \(f\) is positive on the intervals \( (-1,0) \) and \( (2, \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.

    73f014a5f1f4df1a3d101b98a87d3ed9.png
    Figure \(\PageIndex{15}\)

    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)\).

    4f5ed76e0a0d29888d8c470642c41dfa.png
    Figure \(\PageIndex{16}\)

    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:

    5d9c4984c0c6d540edcef79225c19764.png
    Figure \(\PageIndex{17}\)

    We are looking for the values where \(f (x) > 0\); the sign chart implies that any real number for \(x\) will satisfy this condition.

    f5b2ce61993fc861ec77863eba8c9c37.png
    Figure \(\PageIndex{18}\)

    Answer:

    \((-\infty, \infty)\)

    The function in the previous example is graphed below.

    002dbb2426b3523d8983c2ffd4293a5a.png
    Figure \(\PageIndex{19}\)

    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.

    a71bb021558835e8539a91e083f0ed81.png
    Figure \(\PageIndex{20}\)

    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.

    33002fc1f76e62347cb826a896239684.png
    Figure \(\PageIndex{21}\)

    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\).

    e1a8afef06a88852f99b3e0dd73e8e89.png
    Figure \(\PageIndex{22}\)

    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.

    927334bfbbcee080f1fcea1f65bf7fd4.png
    Figure \(\PageIndex{23}\)

    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.

    ea28c019017cc9de4a3975419d4ad057.png
    Figure \(\PageIndex{24}\)

    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.

    68821aefaffdd3824120f5b226732e9c.png
    Figure \(\PageIndex{25}\)

    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.

    79a5f6364113025a6d9d741608527102.png
    Figure \(\PageIndex{26}\)

    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.

    fc3ba0b1069acc9e8d2c5b9b27d74be4.png
    Figure \(\PageIndex{27}\)

    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

    5bfba05d6f38b7557f9f59a4737ce8c4.png
    Figure \(\PageIndex{28}\)

    Use the sign chart to shade in the values that have negative results \((f (x) ≤ 0)\).

    390764da1644572e8578d9b74db8d044.png
    Figure \(\PageIndex{29}\)

    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.

    4458af7998cfd166906ae58c17564a39.png
    Figure \(\PageIndex{30}\)

    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.

    bb71b28e07af7a632b8ba4a9d680dd93.png
    Figure \(\PageIndex{31}\)

    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.

    2d92bf1db240e3aeeefeca075e46c140.png
    Figure \(\PageIndex{32}\)

    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.

    0b34188938f21cabb2086b4c2f483d7e.png
    Figure \(\PageIndex{33}\)

    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.

    76bcd5626595946ab7643c0a0a961be3.png
    Figure \(\PageIndex{34}\)

    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

    388805d18d041e0442fbe86fceefaf43.png
    Figure \(\PageIndex{35}\)

    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.

    6200ff1c965a7cc7d73ca4adc16da552.png
    Figure \(\PageIndex{36}\)

    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\).

    94b6170dfcf8eae5df95a3e23c7dde39.png
    Figure \(\PageIndex{37}\)

    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.

    94b6170dfcf8eae5df95a3e23c7dde39.png
    Figure \(\PageIndex{38}\)

    Answer the question; in this case, find \(x\) where \(f(x) \leq 0\).

    d558688914af6ca4360c2ce97e71986d.png
    Figure \(\PageIndex{39}\)

    Answer

    \((-\infty,-3] \cup(-2,2)\)

    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)\)


    This page titled Page 2.3: Solving Inequalities is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Katherine Skelton.