Skip to main content
Mathematics LibreTexts

2.4: Solution of Rational Inequalities by Graphing

  • Page ID
    40902
  • \( \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}}\)

    In the previous section, we saw how to solve polynomial inequalities by graphing. In this section, we will use similar methods to solve rational inequalities. Rational inequalities involve ratios of polynomials or fractions. Because these types of problems involve fractions, the graphs of the functions that we work with will have what are known as asymptotes. This word comes from a Greek root having to do with two lines that come very close to each other but never meet.

    The vertical asymptotes of a graph will appear at places where the original expression has a zero denominator. This means that the function is not defined at those \(x\) values and so, rather than having a \(y\) value at that point, the graph has an asymptote.

    Example
    Below is a graph of the function \(y=\frac{x+2}{x-1}\)
    clipboard_e8b5be7579424cdf40d488fe69acc33b2.png
    Rather than having a \(y\) value at the point where \(x=1\), the dotted line indicates the asymptote where the function is not defined. In the previous section, we were interested in finding the roots of the function because these are the places where \(y=0,\) and can be the dividing points between where the \(y\) values are greater than zero \((y>0)\) and the where the \(y\) values are less than zero \((y<0)\)

    The importance of the asymptotes in analyzing rational functions is that, like the roots, these represent \(x\) values that can be the dividing points between where \(y>0\) and where \(y<0\)

    Example
    Solve the given inequality.
    \(\frac{2}{x-3}>0\)
    First we examine the graph:
    clipboard_e7b47bfaba055a7809f9d294d419ab03a.png

    Notice that the asymptote for this graph occurs at the value \(x=3,\) because this is the \(x\) value that creates a zero denominator. Also notice that the \(y\) values switch from being negative to being positive across the asymptote.

    There are no roots for this function because there are no \(x\) values that make \(y=0\) For a fraction to be zero, the numerator must equal zero. In this example the numerator is 2 and no value of \(x\) will make it equal zero. Therefore the only possible dividing point on the graph is \(x=3,\) and the solution to the inequality is \(x>3\)

    Example
    Solve the given inequality.
    \(\frac{x-2}{x-3}>0\)
    clipboard_e4cb4d84afd9db47405f3ee30cf9ebecf.png
    In this inequality, there is again an asymptote at \(x=3,\) but there is also a root at the value \(x=2,\) because when \(x=2 . y=\frac{2-2}{2-3}=\frac{0}{-1}=0 .\) So we have two dividing points to consider, \(x=2\) and \(x=3 .\) We can see from the graph that \(y>0\) for \(x<2\) or \(x>3,\) so that is the solution to the given inequality.

    Example
    Solve the given inequality.
    \(\frac{x^{2}-2}{x-3}>0\)
    In this problem, we have the same asymptote as the previous two problems: \(x=\)
    3. However, in this inequality, there are two roots, because there are two \(x\) values that make the numerator equal zero.
    \(x^{2}-2=0\) means that \(x^{2}=2\) and \(x=\pm \sqrt{2} \approx \pm 1.414\)
    We can see these roots on the graph.
    clipboard_eb2306569ea50055c456320b49314925d.png
    In the graph above, we can see the asymptote at \(x=3\) and the two roots at \(x \approx 1.414,-1.414\)
    The \(x\) values that make \(y>0\) are \(-1.414<x<1.414\) OR \(x>3\)

    Example
    Solve the given inequality.
    \(\frac{x-2}{x^{2}-3}>0\)
    clipboard_e08e2d260d00d03e93dbc53f8309b1e46.png
    The roots for this function are the \(x\) values that make the numerator equal zero:
    \(x-2=0,\) therefore \(x=2,\) and we can see this root on the graph.

    The asymptotes for the function are the \(x\) values that make the denominator equal
    zero:
    \(x^{2}-3=0\) means that \(x^{2}=3\) and \(x=\pm \sqrt{3} \approx \pm 1.732\)

    clipboard_e0ba49fcb9c6b107b8ce7bf2168c0702c.png
    Therefore the solution for the given inequality is:
    \(-1.732<x<1.732\) OR \(x>2\)
    Example
    Solve the given inequality
    \(\frac{5 x+1}{x^{2}+3 x-4}<0\)

    clipboard_e74857b29ddc7c11e98c94557a0591108.png
    Roots
    \(5 x+1=0\)
    \(5 x=-1\)
    \(x=-0.2=-\frac{1}{5}\)
    Asymptotes
    \(x^{2}+3 x-4=0\)
    \((x+4)(x-1)=0\)
    \(x=-4,1\)

    clipboard_e9275738b798e4d03c9e36e3f3614bb96.png
    If we combine the algebraic analysis above with what we see in the graph, then we know that the dividing points important to the solution of this inequality are at \(x=-4,-0.2,1 .\) The intervals where the \(y\) values are less than zero are \(x<-4\) \(\mathrm{OR}-0.2<x<1\)

    Example
    \(\frac{x^{2}+2 x-1}{x^{2}+7 x+5} \leq 0\)
    clipboard_e643bedb58045d34286655db276af608a.png
    Roots
    \[
    \begin{array}{l}
    x^{2}+2 x-1=0 \\
    x \approx-2.414,0.414
    \end{array}
    \]
    Asymptotes
    \(x^{2}+7 x+5=0\)
    \[
    x \approx-6.193,-0.807
    \]
    We can see that the dividing points important to the solution of the inequality are \(x \approx-6.193,-2.414,-0.807,0.414 .\) The intervals where the \(y\) values are less than or equal to zero are \(-6.193 \leq x \leq-2.414\) OR \(-0.807 \leq x \leq 0.414\)

    Exercises 2.4
    Solve each inequality.
    1) \(\quad \frac{x+4}{x^{2}-8 x+12}>0\)
    2) \(\quad \frac{2 x+3}{x^{2}-2 x-35}<0\)
    3) \(\quad \frac{x^{2}-5 x-14}{x^{2}+3 x-10}<0\)
    4) \(\quad \frac{2 x^{2}-x-3}{x^{2}+10 x+16}>0\)
    5) \(\quad \frac{3 x+2}{x^{2}+x-5}<0\)
    6) \(\quad \frac{x^{2}+2 x+5}{x^{2}-3 x-7}>0\)
    7) \(\quad \frac{x^{3}+9}{x^{2}+x-1}>0\)
    8) \(\quad \frac{x^{3}+9}{x^{2}+x+1}>0\)

    Solve each inequality.
    9) \(\quad \frac{x^{2}-2 x-9}{3 x+11}>0\)
    10) \(\quad \frac{x^{2}+4 x+3}{2 x+1}<0\)
    11) \(\quad \frac{x^{2}+x-5}{x^{2}-x-6}>0\)
    12) \(\quad \frac{x^{3}+2}{x^{2}-2}>0\)
    13) \(\quad \frac{x^{2}+2 x-7}{x^{2}+3 x-6}<0\)
    14) \(\quad \frac{2 x-x^{2}}{x^{2}-4 x+6}<0\)
    15) \(\quad \frac{x^{2}-7}{x^{2}+5 x-1}<0\)
    16) \(\quad \frac{x-5}{3 x^{2}-2 x-3}>0\)


    This page titled 2.4: Solution of Rational Inequalities by Graphing is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Richard W. Beveridge.

    • Was this article helpful?