Skip to main content
K12 LibreTexts

2.12 Sign Test for Rational Function Graphs

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

    The asymptotes of a rational function provide a very rigid structure in which the function must live. Once the asymptotes are known you must use the sign testing procedure to see if the function becomes increasingly positive or increasingly negative near the asymptotes. A driving question then becomes how close does near need to be in order for the sign test to work?

    Sign Test for Rational Functions

    Consider mentally substituting the number 2.99999 into the following rational expression.

    \(f(x)=\frac{(x-1)(x+3)(x-5)(x+10)}{(x+2)(x-4)(x-3)}\)

    Without doing any of the arithmetic, simply note the sign of each term:

    \(f(x)=\frac{(+) \cdot(+) \cdot(-) \cdot(+)}{(+) \cdot(-) \cdot(-)}\)

    The only term where the value is close to zero is \((x-3)\) but careful subtraction still indicates a negative sign. The product of all of these signs is negative. This is strong evidence that this function approaches negative infinity as \(x\) approaches 3 from the left.

    Next consider mentally substituting 3.00001 and going through the same process.

    \(f(x)=\frac{(+) \cdot(+) \cdot(-) \cdot(+)}{(+) \cdot(-) \cdot(+)}\)

    The product of all of these signs is positive which means that from the right this function approaches positive infinity instead. This technique is called the sign test. The sign test is a procedure for determining only whether a function is above or below the axis at a particular value.

    The sign test helps you sketch and graph a function. Look at the following function:

    \(f(x)=\frac{1}{(x+2)^{2} \cdot(x-1)}\)

    Your first step for sketching this is to identify the vertical asymptotes. The vertical asymptotes occur at \(x=-2\) and \(x=1\).Then, you use the asymptotes to perform a sign test. The points to use the sign testing procedure with are \(-2.001,-1.9999,0.9999,1.00001 .\) The number of decimals does matter so Iong as the number is sufficiently close to the asymptote. Note that any real number squared is positive.

    \(\begin{aligned} f(-2.001) &=\frac{(+)}{(+) \cdot(-)}=-\\ f(-1.9999) &=\frac{(+)}{(+) \cdot(-)}=-\\ f(0.9999) &=\frac{(+)}{(+) \cdot(-)}=-\\ f(1.0001) &=\frac{(+)}{(+) \cdot(+)}=+\end{aligned}\)

    Later when you sketch everything you will use your knowledge of zeroes and intercepts. For now, focus on just the portions of the graph near the asymptotes. Note that the graph below is NOT complete.

    Examples

    Example 1

    Earlier, you were asked how close the numbers need to be to perform the sign test. In order to truly answer the question about how close the numbers need to be, calculus should be used. For the purposes of PreCalculus, the testing number should be closer to the vertical asymptote than any other number in the problem. If the vertical asymptote occurs at 3 and 3.01 is in the problem elsewhere, do not choose 3.1 as a sign test number.

    Example 2

    Identify the vertical asymptotes and use the sign testing procedure to roughly sketch the nature of the function near the vertical asymptotes.

    \(f(x)=\frac{(x+1)(x-4)^{2}(x-1)(x+3)^{3}}{100(x-1)^{2}(x+2)}\)

    Note that \(x=-2\) is clearly an asymptote. It may be initially unclear whether \(x=1\) is an asymptote or a hole. Just like holes have priority over zeroes, asymptotes have priority over holes. The four values to use the sign testing procedure are \(-2.001,-1.9999,0.9999,1.00001 .\)

    \begin{aligned}
    f(-2.001) &=\frac{(-) \cdot(+) \cdot(-) \cdot(+)}{(+) \cdot(-)}=-\\
    f(-1.9999) &=\frac{(-) \cdot(+) \cdot(-) \cdot(+)}{(+) \cdot(+)}=+\\
    f(0.9999) &=\frac{(+) \cdot(+) \cdot(-) \cdot(+)}{(+) \cdot(+)}=-\\
    f(1.0001) &=\frac{(+) \cdot(+) \cdot(+) \cdot(+)}{(+) \cdot(+)}=+
    \end{aligned}

    A sketch of the behavior of this function near the asymptotes is:

    Example 3

    Create a function with two vertical asymptotes at 3 and -2 such that the function approaches positive infinity from both directions at both vertical asymptotes.

    Earlier, there was a function that approached negative infinity from both sides of the asymptote. This occurred because the term was squared in the denominator. An even powered term will always produce a positive term.

    \(f(x)=\frac{1}{(x-3)^{2}(x+2)^{2}}\)

    Example 4

    Create a function with three vertical asymptotes such that the function approaches negative infinity for large and small values of \(x\) and has an oblique asymptote.

    There are an infinite number of possible solutions. The key is to create a function that may work and then use the sign testing procedure to check. Here is one possibility.

    \(f(x)=\frac{-x^{7}}{10(x-1)^{2}(x-2)^{2}(x-4)^{2}}\)

    Example 5

    Identify the vertical asymptotes and use the sign testing procedure to roughly sketch the nature of the function near the vertical asymptotes.

    \(f(x)=\frac{(x-2)^{3}(x-1)^{2}(x+1)(x+3)}{x^{3}\left(x+\frac{1}{2}\right)(x-1)(x-2)^{2}}\)

    The vertical asymptotes occur at \(x=0,-\frac{1}{2} .\) Therefore the \(x\) values to sign test are -.001,0.001 3.999,4.0001

    \(\begin{aligned} f(-0.001) &=+\\ f(0.001) &=-\\ f(3.999) &=-\\ f(4.0001) &=+\end{aligned}\)

    Review

    Consider the function below for questions 1-4.

    \(f(x)=\frac{(x-2)^{4}(x+1)(x+3)}{x^{3}(x+3)(x-4)}\)

    1. Identify the vertical asymptotes.

    2. Will this function have an oblique asymptote? A horizontal asymptote? If so, where?

    3. What values will you need to use the sign test with in order to help you make a sketch of the graph?

    4. Use the sign test and sketch the graph near the vertical asymptotes.

    Consider the function below for questions 5-8.

    \(g(x)=\frac{3(x-2)^{2}(x-1)^{2}(x+1)(x+3)}{15 x^{2}(x+5)(x+1)(x-3)^{2}}\)

    5. Identify the vertical asymptotes.

    6. Will this function have an oblique asymptote? A horizontal asymptote? If so, where?

    7. What values will you need to use the sign test with in order to help you make a sketch of the graph?

    8. Use the sign test and sketch the graph near the vertical asymptote(s).

    Consider the function below for questions 9-12.

    \(h(x)=\frac{9 x^{4}-102 x^{3}+349 x^{2}-340 x+100}{x^{3}-9 x^{2}+24 x-16}\)

    9. Identify the vertical asymptotes.

    10. Will this function have an oblique asymptote? A horizontal asymptote? If so, where?

    11. What values will you need to use the sign test with in order to help you make a sketch of the graph?

    12. Use the sign test and sketch the graph near the vertical asymptotes.

    Consider the function below for questions 13-16.

    \(k(x)=\frac{2 x^{3}-5 x^{2}-11 x-4}{3 x^{3}+11 x^{2}+5 x-3}\)

    13. Identify the vertical asymptotes.

    14. Will this function have an oblique asymptote? A horizontal asymptote? If so, where?

    15. What values will you need to use the sign test with in order to help you make a sketch of the graph?

    16. Use the sign test and sketch the graph near the vertical asymptotes.


    2.12 Sign Test for Rational Function Graphs is shared under a CC BY-NC license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?