Xerxes says that the function \begin{align*}y=\frac{x-2}{4x^2 + 7}\end{align*}, has a horizontal asymptote of \begin{align*}y = \frac{1}{4}\end{align*}, Yolanda says the function has no horizontal asymptote, Zeb says that it does have a horizontal asymptote but it's at \begin{align*}y=0\end{align*}. Which one of them is correct?

### Graphing Rational Functions

In this concept we will touch on the different possibilities for the remaining types of rational functions. You will need to use your graphing calculator throughout this concept to ensure your sketches are correct.

Let's graph \begin{align*}y=\frac{x+3}{2x^2+11x-6}\end{align*} and find all asymptotes, intercepts, and the domain and range.

In this problem *the degree of the numerator is less than the degree of the denominator.* Whenever this happens the horizontal asymptote will be \begin{align*}y = 0\end{align*}, or the \begin{align*}x\end{align*}-axis. Now, even though the \begin{align*}x\end{align*}-axis is the horizontal asymptote, there will still be a zero at \begin{align*}x = -3\end{align*} (solving the numerator for \begin{align*}x\end{align*} and setting it equal to zero). The vertical asymptotes will be the solutions to \begin{align*}2x^2+11x-6=0\end{align*}. Factoring this quadratic, we have \begin{align*}(2x-1)(x+6)=0\end{align*} and the solutions are \begin{align*}x=\frac{1}{2}\end{align*} and \begin{align*}-6\end{align*}. The \begin{align*}y\end{align*}-intercept is \begin{align*}\left(0,- \frac{1}{2}\right)\end{align*}. At this point, we can plug our function into the graphing calculator to get the general shape.

Because the middle portion crosses over the horizontal asymptote, the range will be all real numbers. The domain is \begin{align*}x \in \mathbb{R};x=-6;x \ne \frac{1}{2}\end{align*}.

Be careful when graphing any rational function. This function does not look like the graph to the left in a TI-83/84. This is because the calculator does not have the ability to draw the asymptotes separately and wants to make the function continuous. Make sure to double-check the table (\begin{align*}2^{\text{nd}} \rightarrow\end{align*} GRAPH) to find where the function is undefined.

Now, let's graph \begin{align*}f(x)=\frac{x^2+7x-30}{x+5}\end{align*} and find all asymptotes, intercepts, and the domain and range.

In this problem *the degree of the numerator is greater than the degree of the denominator*. When this happens, there is no horizontal asymptote. Instead there is a **slant asymptote**. Recall that this function represents division. If we were to divide \begin{align*}x^2+7x-30\end{align*} by \begin{align*}x+5\end{align*}, the answer would be \begin{align*}x+2-\frac{20}{x+5}\end{align*}. The slant asymptote would be the answer, minus the remainder. Therefore,for this problem the slant asymptote is \begin{align*}y=x+2\end{align*}. Everything else is the same. The \begin{align*}y\end{align*}-intercept is \begin{align*}\frac{-30}{5} \rightarrow (0,-6)\end{align*} and the \begin{align*}x\end{align*}-intercepts are the solutions to the numerator, \begin{align*}x^2+7x-30=0 \rightarrow (x+10)(x-3) \rightarrow x=-10,3\end{align*}. There is a vertical asymptote at \begin{align*}x = -5\end{align*}. At this point, you can either test a few points to see where the branches are or use your graphing calculator.

The domain would be all real numbers; \begin{align*}x \ne -5\end{align*}. Because of the slant asymptote, there are no restrictions on the range. It is all real numbers.

Finally, let's graph \begin{align*}y=\frac{x-6}{3x^2-16x-12}\end{align*} and find the asymptotes and intercepts.

Because the degree of the numerator is less than the degree of the denominator, there will be a horizontal asymptote along the \begin{align*}x\end{align*}-axis. Next, let’s find the vertical asymptotes by factoring the denominator; \begin{align*}(x-6)(3x+2)\end{align*}. Notice that the denominator has a factor of \begin{align*}(x-6)\end{align*}, which is the entirety of the numerator. That means there will be a *hole* at \begin{align*}x=6\end{align*}.

Therefore, the graph of \begin{align*}y=\frac{x-6}{3x^2-16x-12}\end{align*} will be the same as \begin{align*}y=\frac{1}{3x+2}\end{align*} except with a hole at \begin{align*}x = 6\end{align*}. There is no \begin{align*}x\end{align*}-intercept, the vertical asymptote is at \begin{align*}x=- \frac{2}{3}\end{align*} and the \begin{align*}y\end{align*}-intercept is \begin{align*}\left(0,\frac{1}{2}\right)\end{align*}.

#### Recap

For a rational function; \begin{align*}f(x)=\frac{p\left(x\right)}{q\left(x\right)}=\frac{a_mx^m+ \ldots +a_0}{b_nx^n+ \ldots +b_0}\end{align*}

- If \begin{align*}m<n\end{align*}, then there is a horizontal asymptote at \begin{align*}y = 0\end{align*}.
- If \begin{align*}m=n\end{align*}, then there is a horizontal asymptote at \begin{align*}y=\frac{a_m}{b_n}\end{align*} (ratio of the leading coefficients).
- If \begin{align*}m>n\end{align*}, then there is a slant asymptote at \begin{align*}y=(a_mx^m+\ldots+a_0) \div (b_nx^n+\ldots+b_0)\end{align*} without the remainder. In this concept, we will only have functions where \begin{align*}m\end{align*} is one greater than \begin{align*}n\end{align*}.

### Examples

#### Example 1

Earlier, you were asked to determine which student is correct.

The degree of the numerator \begin{align*}x-2\end{align*} is less than the degree of the denominator \begin{align*}4x^2 + 7\end{align*}. We know that whenever this happens the horizontal asymptote will be \begin{align*}y = 0\end{align*}, or the \begin{align*}x\end{align*}-axis.

Therefore, Zeb is correct.

**Graph the following functions. Find any intercepts and asymptotes.**

#### Example 2

\begin{align*}y=\frac{3x+5}{2x^2+9x+20}\end{align*}

\begin{align*}x\end{align*}-intercept: \begin{align*}\left(- \frac{5}{3},0\right)\end{align*}, \begin{align*}y\end{align*}-intercept: \begin{align*}\left(0,\frac{1}{4}\right)\end{align*}

horizontal asymptote: \begin{align*}y=0\end{align*}

vertical asymptotes: none

#### Example 3

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

\begin{align*}x\end{align*}-intercept: \begin{align*}(-2,0)\end{align*}, \begin{align*}y\end{align*}-intercept: \begin{align*}(0,-1)\end{align*}

horizontal asymptote: \begin{align*}y=1\end{align*}

vertical asymptotes: \begin{align*}x=4\end{align*} and \begin{align*}x=-1\end{align*}

#### Example 4

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

\begin{align*}x\end{align*}-intercepts: \begin{align*}(-4,0)\end{align*} and \begin{align*}(4,0)\end{align*}

\begin{align*}y\end{align*}-intercept: \begin{align*}\left(0,- \frac{16}{3}\right)\end{align*}

slant asymptote: \begin{align*}y=x-3\end{align*}

vertical asymptotes: \begin{align*}x=-3\end{align*}

#### Example 5

\begin{align*}y=\frac{2x+3}{6x^2-x-15}\end{align*}

\begin{align*}x\end{align*}-intercepts: none, hole at \begin{align*}x = - \frac{3}{2}\end{align*}

\begin{align*}y\end{align*}-intercept: \begin{align*}\left(0,- \frac{1}{5}\right)\end{align*}

horizontal asymptote: \begin{align*}y=0\end{align*}

vertical asymptote: \begin{align*}x=\frac{5}{3}\end{align*}

### Review

Find all asymptotes of the following functions.

- \begin{align*}y=\frac{x-2}{x^2+6x+8}\end{align*}
- \begin{align*}y=\frac{x^2-4}{x+5}\end{align*}
- \begin{align*}y=\frac{x^2}{x-3}\end{align*}
- Find the
*x*-intercepts of the function in #2. - Find the
*x*-intercepts of the function in #3.

Graph the following functions. Find any intercepts, asymptote and holes.

- \begin{align*}y=\frac{x+1}{x^2-x-12}\end{align*}
- \begin{align*}f(x)=\frac{x^2+3x-10}{x-3}\end{align*}
- \begin{align*}y=\frac{x-7}{2x^2-11x-21}\end{align*}
- \begin{align*}g(x)=\frac{2x^2-2}{3x+5}\end{align*}
- \begin{align*}y=\frac{x^2+x-30}{x+6}\end{align*}
- \begin{align*}f(x)=\frac{x^2+x-30}{2x^3-5x^2-4x+3}\end{align*}
- \begin{align*}y=\frac{x^3-2x^2-3x}{x^2-5x+6}\end{align*}
- \begin{align*}f(x)=\frac{2x+5}{x^2+5x-6}\end{align*}
- \begin{align*}g(x)=\frac{-x^2+3x+4}{2x-6}\end{align*}
- Determine the slant asymptote of \begin{align*}y=\frac{3x^2-x-10}{3x+5}\end{align*}. Now, graph this function. Is there really a slant asymptote? Can you explain your results?

### Answers for Review Problems

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