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.

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

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

\begin{align*}f(x)=\frac{(+) \cdot (+) \cdot (-) \cdot (+)}{(+) \cdot (-) \cdot (-)}\end{align*}

The only term where the value is close to zero is \begin{align*}(x-3)\end{align*} 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 \begin{align*}x\end{align*} approaches 3 from the left.

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

\begin{align*}f(x)=\frac{(+) \cdot (+) \cdot (-) \cdot (+)}{(+) \cdot (-) \cdot (+)}\end{align*}

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:

\begin{align*}f(x)=\frac{1}{(x+2)^2 \cdot (x-1)}\end{align*}

Your first step for sketching this is to identify the vertical asymptotes. The vertical asymptotes occur at \begin{align*}x=-2\end{align*} and \begin{align*}x=1\end{align*}. 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{align*}f(-2.001) &= \frac{(+)}{(+) \cdot (-)}=-\\ f(-1.9999) &= \frac{(+)}{(+) \cdot (-)}=-\\ f(0.9999) &= \frac{(+)}{(+) \cdot (-)}=-\\ f(1.0001) &= \frac{(+)}{(+) \cdot (+)}=+\end{align*}

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.

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

Note that \begin{align*}x=-2\end{align*} is clearly an asymptote. It may be initially unclear whether \begin{align*}x=1\end{align*} 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{align*}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{align*}

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.

\begin{align*}f(x)=\frac{1}{(x-3)^2(x+2)^2}\end{align*}

#### Example 4

Create a function with three vertical asymptotes such that the function approaches negative infinity for large and small values of \begin{align*}x\end{align*} 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.

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

#### Example 5

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

\begin{align*}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}\end{align*}

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

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

### Review

Consider the function below for questions 1-4.

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

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.

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

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.

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

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.

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

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.