AP Precalculus · Study guide

Rational Functions and Vertical Asymptotes

AP® Precalculus · Unit 1 · Polynomial and Rational Functions

Rational Functions and Vertical Asymptotes

When the denominator of a rational function gets close to 0 and the numerator does not, the outputs grow without bound. This guide finds where that happens, decides whether the graph shoots up or down on each side, and writes it with one-sided limits.

The idea in one paragraph

A rational function \(r(x) = \dfrac{p(x)}{q(x)}\) has a vertical asymptote at \(x = a\) when \(a\) is a real zero of the denominator but not of the numerator, or when \(a\) is a zero of both but has a higher multiplicity in the denominator. Near \(x = a\) the denominator is close to 0, so the outputs increase or decrease without bound. One-sided limits record which: \(\displaystyle\lim_{x \rightarrow a^+} r(x)\) for inputs just greater than \(a\), and \(\displaystyle\lim_{x \rightarrow a^-} r(x)\) for inputs just less.

1Where vertical asymptotes come from

Dividing by a number close to 0 makes a quotient huge. If the numerator stays away from 0 while the denominator shrinks toward it, \(\dfrac{p(x)}{q(x)}\) grows without bound. That is the vertical asymptote: a vertical line the graph runs alongside but never touches, since \(x = a\) is not in the domain.

Figure 1. Near x = 2 both denominators are close to 0, so the outputs grow without bound. x − 2 changes sign at 2, so the two sides go opposite ways; (x − 2)² stays positive, so both sides go up.

2Which way on each side

Read the sign of each factor just to the left and just to the right of \(a\). The factor that goes to 0 is small; the other factors are close to their values at \(a\). Positive over small positive is large positive; a single negative flips it.

Figure 2. The sign of r on each side of an asymptote decides whether the graph shoots up or down there. A sign chart of the factors answers it without plotting.
Worked Example 1 Find them and describe each side

Find the vertical asymptotes of \(r(x) = \dfrac{x + 1}{x^2 - 4}\) and describe the behavior near each.

  1. 1
    Factor the denominator: \((x - 2)(x + 2)\). Its zeros, 2 and \(-2\), are not zeros of the numerator, so both give vertical asymptotes.
  2. 2
    Near \(x = 2\): the numerator is near 3 and \(x + 2\) is near 4. For \(x\) just above 2, \(x - 2\) is a small positive number, so \(r\) is large and positive. Just below 2 it is small and negative, so \(r\) is large and negative.
  3. 3
    Near \(x = -2\): the numerator is near \(-1\) and \(x - 2\) is near \(-4\). Just above \(-2\), \(x + 2\) is small and positive, so the denominator is small and negative and \(r = \frac{-1}{\text{small negative}}\) is large and positive. Just below \(-2\) the signs give large and negative.
Answer: \(\displaystyle\lim_{x \rightarrow 2^-} r(x) = -\infty\), \(\displaystyle\lim_{x \rightarrow 2^+} r(x) = \infty\), \(\displaystyle\lim_{x \rightarrow -2^-} r(x) = -\infty\), \(\displaystyle\lim_{x \rightarrow -2^+} r(x) = \infty\).
Write it like this

“As \(x \rightarrow 2^+\), the numerator approaches 3 and the denominator approaches 0 through positive values, so \(\displaystyle\lim_{x \rightarrow 2^+} r(x) = \infty\).”

Worked Example 2 Same direction on both sides

Describe \(r(x) = \dfrac{x + 2}{(x - 1)^2}\) near \(x = 1\).

  1. 1
    Near 1 the numerator is about 3, which is positive.
  2. 2
    \((x - 1)^2\) is a small positive number on both sides of 1.
  3. 3
    Positive over small positive is large and positive on both sides.
Answer: \(\displaystyle\lim_{x \rightarrow 1^-} r(x) = \infty\) and \(\displaystyle\lim_{x \rightarrow 1^+} r(x) = \infty\).
Common Mistake 1 · Assuming both sides go the same way

\(\dfrac{1}{x - 2}\) goes to \(-\infty\) on the left and \(\infty\) on the right. Check each side separately; only an even power of the shrinking factor keeps the sign the same.

Common Mistake 2 · Reading the plus sign as “positive”

In \(x \rightarrow 2^+\), the plus means “from the right” (inputs a little more than 2). It says nothing about whether the outputs are positive.

3When top and bottom share a zero

If \(x = a\) makes both the numerator and the denominator 0, compare multiplicities. More copies of \((x - a)\) in the denominator than in the numerator leaves a factor in the denominator after canceling: a vertical asymptote. Otherwise the factor cancels completely and the graph has a hole instead.

Worked Example 3 A shared zero that is still an asymptote

Does \(r(x) = \dfrac{x - 3}{(x - 3)^2(x + 1)}\) have a vertical asymptote or a hole at \(x = 3\)?

  1. 1
    \(x = 3\) is a zero of the numerator with multiplicity 1 and of the denominator with multiplicity 2.
  2. 2
    The denominator’s multiplicity is greater, so a factor of \((x - 3)\) is left in the denominator after canceling: \(r(x) = \dfrac{1}{(x - 3)(x + 1)}\) for \(x \ne 3\).
  3. 3
    That leftover factor still goes to 0 near 3, so the outputs grow without bound.
Answer: A vertical asymptote at \(x = 3\) (and another at \(x = -1\)).
Common Mistake 3 · Calling every shared zero a hole

\(\dfrac{x - 3}{(x - 3)^2(x + 1)}\) shares the zero 3, but the denominator has two copies of \((x - 3)\) and the numerator only one. One copy survives in the denominator, so \(x = 3\) is an asymptote.

4Reading a table or a context

In a table, a vertical asymptote shows up as outputs that grow larger and larger in size as the inputs close in on one value. In a model, it often marks an input where something like a cost per item or a time to finish becomes unboundedly large.

Worked Example 4 From a table

Values of \(g(x) = \dfrac{3x - 3}{x - 2}\) near \(x = 2\) are shown. Describe the behavior.

\(x\)1.91.992.012.1
\(g(x)\)−27−29730333
  1. 1
    As \(x\) approaches 2 from the left, the outputs are negative and growing in size without bound.
  2. 2
    From the right, the outputs are positive and growing without bound.
Answer: \(\displaystyle\lim_{x \rightarrow 2^-} g(x) = -\infty\), \(\displaystyle\lim_{x \rightarrow 2^+} g(x) = \infty\): a vertical asymptote at \(x = 2\).
Worked Example 5 An asymptote in context

A print shop’s average cost per poster, in dollars, for an order of \(n\) posters is \(C(n) = \dfrac{300 + 4n}{n}\). What happens for very small orders?

  1. 1
    Only \(n \gt 0\) makes sense, so look at \(n \rightarrow 0^+\). The top approaches 300 while the bottom approaches 0 through positive values.
  2. 2
    Check: \(C(1) = 304\), \(C(10) = 34\), \(C(100) = 7\). The fixed 300-dollar setup fee is shared by fewer posters as \(n\) shrinks.
Answer: \(\displaystyle\lim_{n \rightarrow 0^+} C(n) = \infty\): the cost per poster grows without bound for tiny orders.

Quick reference

Situation at x = aResult
Denominator 0, numerator not 0Vertical asymptote
Both 0, higher multiplicity in denominatorVertical asymptote
Both 0, multiplicity in numerator at least as highHole, not an asymptote
\(x \rightarrow a^+\) / \(x \rightarrow a^-\)Inputs just right of a / just left of a
Odd power of (x − a) left in denominatorOpposite directions on the two sides
Even power left in denominatorSame direction on both sides