Unit 1 · Topic 1.14

Infinite limits and vertical asymptotes

Builds on one-sided limits, the limit laws and canceling a common factor. 12 minutes.

  1. Example 1Find candidate vertical asymptotes
  2. Example 2Determine the sign on each side
  3. Example 3Distinguish a hole from an asymptote
  4. Example 4Connect limits with asymptote behavior

The values of a function can grow without bound near an input, which means that they become larger than any number (topic 1.2). An infinite limit describes this growth on one side of an input \(c\). The statement

\[\lim_{x\to c^+}f(x)=\infty\]

means that for every positive number \(M\), \(f(x)>M\) for all \(x\) close enough to \(c\) on the right of \(c\). The statement \(\lim_{x\to c^+}f(x)=-\infty\) means that \(f(x)<-M\) instead, so the values fall below any number. The limits from the left, as \(x\to c^-\), use the inputs close to \(c\) on the left. A two-sided limit is \(\infty\) when both one-sided limits are \(\infty\), and \(-\infty\) when both are \(-\infty\).

The symbols \(\infty\) and \(-\infty\) are not numbers, so an infinite limit is not a limit that exists. It describes how the limit fails to exist. If either one-sided limit at \(c\) is \(\infty\) or \(-\infty\), the line \(x=c\) is a vertical asymptote of the graph of \(f\) (topic 1.3). If \(f\) is defined on both sides of \(c\), the break at \(c\) is an infinite discontinuity (topic 1.10).

This topic finds where vertical asymptotes can occur, decides the sign of each infinite limit, and tells an asymptote from a hole.

A nonzero number divided by a number near 0

The graph of f of x equals x plus 1 over x minus 2, for x from −4 to 6, beside a dashed vertical line at x = 2. The graph is green where it lies above the x-axis and red where it lies below. The branch on the right of the line climbs out of the top of the figure, and the branch on the left falls out of the bottom. An orange point sits on the right branch, and a slider moves it toward 2. A button moves the zero of the numerator from −1 to 2: the branches flatten into the horizontal line y = 1, the dashed line fades, and an open ring marks the missing point (2, 1).

Figure 1The graph of \(f\) is green where \(f(x)>0\) and red where \(f(x)<0\), and the dashed line is \(x=2\). The numbers under the figure are for the orange point. When the numerator is 0 at 2 as well, an open ring marks a point that the graph approaches but does not reach.

Figure 1 shows the graph of \(f(x)=\dfrac{x+1}{x-2}\), which has no value at \(x=2\), where its denominator is 0. Use the slider to move the orange point toward 2 from the right. The numerator approaches 3, while the denominator is a small positive number, so the quotient is large and positive. At \(x=2.01\) it is \(3.01/0.01=301\), far above the top of the figure. Move the point to the left of 2. There the denominator is a small negative number, so the quotient is large and negative. At \(x=1.99\) it is \(2.99/(-0.01)=-299\).

The same reasoning applies whenever a numerator \(N(x)\) approaches a number \(L\neq 0\) and a denominator \(D(x)\) approaches 0 as \(x\) approaches \(c\) from one side. Suppose that \(x\) approaches \(c\) from the right, with \(L>0\) and with \(D(x)>0\) close to \(c\). Choose any number \(M>0\). By the definition of a limit, \(N(x)\) is within \(L/2\) of \(L\) for \(x\) close enough to \(c\), so \(N(x)>L/2\) there. Also, \(D(x)\) is as close to 0 as you like, so \(D(x)<L/(2M)\) there. For all such \(x\),

\[\frac{N(x)}{D(x)}>\frac{L/2}{L/(2M)}=M\]

This means that \(\lim_{x\to c^+}N(x)/D(x)=\infty\). If \(L<0\) or \(D(x)<0\), the same argument applies to \(-N(x)\) or to \(-D(x)\), and each change of sign reverses the sign of the limit. The argument from the left is the same with \(x<c\). On each side where \(D(x)\) keeps one sign close to \(c\), the limit is therefore \(\infty\) or \(-\infty\), with the sign that \(N(x)/D(x)\) has there.

For a polynomial denominator with \(D(c)=0\), the Factor Theorem (topic 1.6), used repeatedly, gives \(D(x)=(x-c)^n B(x)\), where \(B(c)\neq 0\). Near \(c\), \(N(x)/B(x)\) approaches \(L/B(c)\) by the quotient law (topic 1.5), so it has the sign of \(L/B(c)\). The factor \(x-c\) is positive on the right of \(c\) and negative on the left. The power \((x-c)^n\) therefore changes sign at \(c\) if \(n\) is odd, and it is positive on both sides if \(n\) is even. On each side, \(N(x)/D(x)\) has the sign of \(L/B(c)\) times the sign of \((x-c)^n\).

In Figure 1, \(n=1\) and \(B(x)=1\), so \(L/B(c)=3\), and close to 2, \(f(x)\) has the sign of \(x-2\). The graph has a part on each side of the dashed line, called a branch. The branch on the right is green and rises without bound, so \(\lim_{x\to 2^+}f(x)=\infty\). The branch on the left is red close to the line and falls without bound, so \(\lim_{x\to 2^-}f(x)=-\infty\). The branches go opposite ways, so \(\lim_{x\to 2}f(x)\) is neither \(\infty\) nor \(-\infty\). For \(\dfrac{x+1}{(x-2)^2}\), \(n=2\), and both branches would rise.

The argument needs \(L\neq 0\), which keeps \(N(x)\) away from 0. Use the button under Figure 1 to make the numerator 0 at 2 as well. The zero of the numerator moves from \(-1\) to 2, and the numerator becomes \(x-2\). The dashed line fades, and the graph becomes the horizontal line \(y=1\) with an open ring at \((2,1)\). The quotient \(\frac{x-2}{x-2}\) is 1 for every \(x\neq 2\), so the limit at 2 is the number 1. The break is a hole (topic 1.10), not an asymptote.

Finding and testing the candidates

Polynomial, rational, root, exponential, logarithmic and trigonometric functions, and their sums, products, quotients and compositions, are continuous at every input inside their domains (topic 1.12). At such an input, the limit is the value of the function, a number. A vertical asymptote can therefore occur only at an input that is not inside the domain but has inputs of the domain close by. These inputs are the candidates: the zeros of a denominator and the ends of the domain, such as 0 for \(\ln x\). Each candidate needs a test.

For \(\tan x=\dfrac{\sin x}{\cos x}\), the candidates are the zeros of \(\cos x\), such as \(\tfrac{\pi}{2}\). As \(x\) approaches \(\tfrac{\pi}{2}\), \(\sin x\) approaches 1, while \(\cos x\) approaches 0 and is positive on the left of \(\tfrac{\pi}{2}\) and negative on the right. The limit of \(\tan x\) is therefore \(\infty\) from the left and \(-\infty\) from the right.

The function \(\ln x\) has values only for \(x>0\), so at its candidate 0, \(x\) can approach only from the right. For every positive number \(M\), \(\ln x<-M\) when \(0<x<e^{-M}\), because \(\ln\) increases and \(\ln e^{-M}=-M\). This means that \(\lim_{x\to 0^+}\ln x=-\infty\), and the line \(x=0\) is a vertical asymptote, although the graph has no branch on the left.

If the numerator is 0 at a candidate \(c\) as well, the quotient has the indeterminate form \(\frac00\) (topic 1.6). For a rational function, write the numerator as \((x-c)^m A(x)\) and the denominator as \((x-c)^n B(x)\), with \(A(c)\neq 0\) and \(B(c)\neq 0\). Cancel \(x-c\) as many times as it divides both. If \(m<n\), the reduced fraction is \(A(x)\) over \((x-c)^{n-m}B(x)\). Its numerator approaches \(A(c)\neq 0\) and its denominator approaches 0, so \(x=c\) is an asymptote. If \(m\ge n\), no factor \(x-c\) is left in the denominator, so the reduced fraction is continuous at \(c\), where its denominator is \(B(c)\neq 0\). Its value there is the limit, a number, and the break is a hole.

Example 1

Find candidate vertical asymptotes

Find the vertical asymptotes of the graph of \(h(x)=\dfrac{x}{\ln x}\).

Solution

The function is defined and continuous for \(x>0\) except at \(x=1\), where \(\ln x=0\). Its candidates are \(x=1\), the zero of the denominator, and \(x=0\), the left end of the domain.

At \(x=1\), the numerator \(x\) approaches 1, and \(\ln x\) approaches 0. The logarithm is negative on the left of 1 and positive on the right, so

\[\begin{aligned}\lim_{x\to 1^-}h(x)&=-\infty\\ \lim_{x\to 1^+}h(x)&=\infty\end{aligned}\]

and \(x=1\) is a vertical asymptote. At \(x=0\), the input can approach only from the right. For \(0<x<\frac1e\), \(\ln x<-1\), so \(\frac{1}{\ln x}\) lies between \(-1\) and 0, and

\[-x<\frac{x}{\ln x}<0\]

Both bounds approach 0, so the Squeeze Theorem (topic 1.8) gives \(\lim_{x\to 0^+}h(x)=0\). This limit is a number, so \(x=0\) is not an asymptote. The only vertical asymptote is \(x=1\).

Example 2

Determine the sign on each side

Let \(q(x)=\dfrac{x-1}{x^2(x+2)}\). Find \(\displaystyle\lim_{x\to -2^-}q(x)\), \(\displaystyle\lim_{x\to -2^+}q(x)\) and \(\displaystyle\lim_{x\to 0}q(x)\).

Solution

The denominator is 0 at \(-2\) and at 0, and the numerator is not 0 at either. Every one-sided limit there is therefore \(\infty\) or \(-\infty\), with the sign that \(q\) has on that side.

Near \(-2\), the factor \(x+2\) approaches 0, and the rest of the fraction approaches a negative number:

\[\frac{x-1}{x^2}\to\frac{-3}{(-2)^2}=-\frac34\]

On the left of \(-2\), \(x+2<0\), so \(q(x)>0\). On the right, \(x+2>0\), so \(q(x)<0\). Therefore

\[\begin{aligned}\lim_{x\to -2^-}q(x)&=\infty\\ \lim_{x\to -2^+}q(x)&=-\infty\end{aligned}\]

Near 0, the rest of the fraction, \(\frac{x-1}{x+2}\), approaches \(-\frac12\), and \(x^2\) is positive on both sides. Both one-sided limits are therefore \(-\infty\), so \(\lim_{x\to 0}q(x)=-\infty\).

Example 3

Distinguish a hole from an asymptote

Let \(r(x)=\dfrac{x^2-2x-3}{(x+1)^2(x-3)}\). Find the vertical asymptotes of the graph of \(r\) and the coordinates of each hole.

Solution

The candidates are \(x=-1\) and \(x=3\), and the numerator \(x^2-2x-3=(x+1)(x-3)\) is 0 at both. Cancel the common factors, which is allowed for \(x\neq -1\) and \(x\neq 3\):

\[r(x)=\frac{(x+1)(x-3)}{(x+1)^2(x-3)}=\frac{1}{x+1}\]

At \(x=3\), the factor \(x-3\) cancels completely, so the limit is the value of \(\frac{1}{x+1}\) at 3, which is \(\frac14\). The graph has a hole at \(\left(3,\frac14\right)\).

At \(x=-1\), one factor \(x+1\) is left in the denominator, and the numerator 1 is not 0, so the limits are infinite. The line \(x=-1\) is the only vertical asymptote.

Example 4

Connect limits with asymptote behavior

The graph of \(g\) is shown in Figure 2. Find \(\displaystyle\lim_{x\to -2}g(x)\), \(\displaystyle\lim_{x\to 1^-}g(x)\) and \(\displaystyle\lim_{x\to 1^+}g(x)\). Is the line \(x=1\) a vertical asymptote of the graph of \(g\)?

The graph of g for x from −4.5 to 5, with the inputs −4, −3, −2, −1 and 1 to 5 numbered. Near x = −2 the graph climbs out of the top of the figure on both sides. Between −2 and 1 it falls from the top of the figure to the bottom, and it leaves through the bottom a little to the left of x = 1. On the right of x = 1 the graph starts at an open ring at height 2, rises to height 3 at x = 3, and returns to height 2 at x = 5.

Figure 2Branches that leave the figure at the top or at the bottom rise or fall without bound. The open ring marks a point that the graph approaches but does not reach.

Solution

Each one-sided limit describes the graph on one side of the input. Near \(x=-2\), both branches rise without bound, so both one-sided limits are \(\infty\):

\[\lim_{x\to -2}g(x)=\infty\]

Near \(x=1\), the branch on the left falls without bound, and the graph on the right approaches the open ring at height 2:

\[\begin{aligned}\lim_{x\to 1^-}g(x)&=-\infty\\ \lim_{x\to 1^+}g(x)&=2\end{aligned}\]

One infinite one-sided limit is enough, so \(x=1\) is a vertical asymptote. The two-sided limit at 1 does not exist, and it is not \(-\infty\), because the values on the right approach 2.

Each example is one of the four skills of topic 1.14 in Which & Why: AP Calculus.