Skip to main content
K12 LibreTexts

2.3.4: Sign Test for Rational Function Graphs

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

    Sign Test for Rational Function Graphs

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

    f-d_4cd2a579e94f626f6e674a460a96209ed5180268022feedec916195f+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png[Figure1]

    Examples

    Example 1

    Earlier, you were asked how close the numbers need to be to perform the sign test.

    Solution

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

    Solution

    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:

    f-d_459394dbb036814868f5efdea03da6901b1cf94fbf5ae113d4386542+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png[Figure2]
    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.

    Solution

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

    f-d_e7f788fe795923295732f87f75f346099c4d2e6fbe4bc6e89bec1f14+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png[Figure3]
    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.

    Solution

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

    Solution

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

    f-d_9aa7c064811bc650b0a2048fcae7330595de57d45eb9316c8f741c6c+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png[Figure4]

    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.


    Review (Answers)

    To see the Review answers, open this PDF file and look for section 2.12.


    Vocabulary

    Term Definition
    End behavior End behavior is a description of the trend of a function as input values become very large or very small, represented as the 'ends' of a graphed function.
    Horizontal Asymptote A horizontal asymptote is a horizontal line that indicates where a function flattens out as the independent variable gets very large or very small. A function may touch or pass through a horizontal asymptote.
    Oblique Asymptote An oblique asymptote is a diagonal line marking a specific range of values toward which the graph of a function may approach, but generally never reach. An oblique asymptote exists when the numerator of the function is exactly one degree greater than the denominator. An oblique asymptote may be found through long division.
    Oblique Asymptotes An oblique asymptote is a diagonal line marking a specific range of values toward which the graph of a function may approach, but generally never reach. An oblique asymptote exists when the numerator of the function is exactly one degree greater than the denominator. An oblique asymptote may be found through long division.
    sign test The sign test is a procedure for determining only whether a function is above or below the x-axis at a particular x value. The specific height is not calculated.
    Vertical Asymptote A vertical asymptote is a vertical line marking a specific value toward which the graph of a function may approach, but will never reach.

    Image Attributions

    1. [Figure 1]
      Credit: CK-12 Foundation
      License: CC BY-SA
    2. [Figure 2]
      Credit: CK-12 Foundation
      License: CC BY-SA
    3. [Figure 3]
      Credit: CK-12 Foundation
      License: CC BY-SA
    4. [Figure 4]
      Credit: CK-12 Foundation
      License: CC BY-SA

    This page titled 2.3.4: Sign Test for Rational Function Graphs is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform.

    CK-12 Foundation
    LICENSED UNDER
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License