Unit 1 · Topic 1.15

Behavior far from the origin

Builds on the limit laws, the Squeeze Theorem and infinite limits. 13 minutes.

  1. Example 1Find the end behavior of a rational function
  2. Example 2Handle positive and negative infinity separately
  3. Example 3Compare common growth rates
  4. Example 4Connect end behavior with asymptotes

Far from the origin, a graph can approach a horizontal line, rise or fall without bound, or swing up and down. Limits at infinity describe this end behavior. For a function \(f\) defined for all large \(x\), the statement

\[\lim_{x\to\infty}f(x)=\cy{L}\]

means that \(f(x)\) stays as close to the number \(\cy{L}\) as you like once \(x\) is large enough. The statement \(\lim_{x\to-\infty}f(x)=L\) means the same once \(x\) is negative and large enough in size. If either limit is \(L\), the line \(y=L\) is a horizontal asymptote of the graph of \(f\).

If \(f(x)\) stays larger than any number you choose once \(x\) is large enough, then \(\lim_{x\to\infty}f(x)=\infty\). The limit \(-\infty\) is defined in the same way. Neither is a number, so neither gives a horizontal asymptote. The function \(\sin x\) has no limit at infinity, because it takes the values 1 and \(-1\) at inputs as large as you like.

This topic finds these limits for quotients of polynomials, roots, exponentials and logarithms.

The highest powers decide

The graph of a quotient of polynomials on a window of inputs centered at the origin, with no numbers on the axes. At first the curve is 2x² + 3x over x² + 4: it dips to the height −0.25 left of the origin, rises to a peak of 2.25 right of it, and approaches a dashed orange line at the height 2 at both ends, from below on the left and from above on the right. A slider zooms out from the inputs −10 to 10 to the inputs −1000 to 1000, and the curve then lies on the orange line except near the origin. Buttons change the top to 3x, whose curve approaches the x-axis, which turns orange, or to 2x³ + 3x, whose curve leaves the figure through the top on the right and through the bottom on the left.

Figure 1The buttons choose the top of a quotient with bottom \(x^2+4\). The slider widens the window of inputs and keeps the heights. An orange dashed line marks a finite limit at infinity.

The basic limit is that of \(\frac1x\). For every positive number \(\varepsilon\), its size is less than \(\varepsilon\) once \(|x|>\frac1\varepsilon\), so \(\frac1x\to0\) as \(x\to\pm\infty\), which means at both ends. The limit laws of topic 1.5 and the Squeeze Theorem of topic 1.8 hold at infinity too. Their proofs work with “large enough” in place of “close enough.” By the product law, a constant over \(x^2\), \(x^3\) or a higher power of \(x\) also approaches 0.

The curve in Figure 1 is the graph of

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

As \(x\) grows, the top and the bottom both grow without bound, so the quotient law does not apply yet. Dividing both by the same nonzero number does not change the quotient, so divide both by \(x^2\), the highest power of \(x\) in the bottom:

\[r(x)=\frac{2+\frac3x}{1+\frac4{x^2}}\]

As \(x\to\pm\infty\), the terms \(\frac3x\) and \(\frac4{x^2}\) approach 0. The top approaches 2 and the bottom approaches 1, which is not 0, so by the quotient law \(r(x)\) approaches \(\frac21=2\). The line \(y=2\) is a horizontal asymptote at both ends.

Zoom out with the slider under Figure 1, which widens the window of inputs to \(|x|\le1000\). Far from the origin, \(3x\) and 4 become small next to \(2x^2\) and \(x^2\), and the curve comes close to the orange line \(y=2\). It also crosses the line near the origin, at \(x=\frac83\), where \(2x^2+3x=2(x^2+4)\). A limit at infinity describes only large \(x\), so a graph may cross its horizontal asymptote.

In general, let the top of a quotient of polynomials have degree \(m\) and leading term \(ax^m\), its term with the highest power. Let the bottom have degree \(n\) and leading term \(bx^n\). After a division by \(x^n\), every term of the bottom except \(b\) approaches 0, so the bottom approaches \(b\), which is not 0.

If \(m<n\), every term of the top approaches 0 too, so the quotient approaches 0. If \(m=n\), the top approaches \(a\), so the quotient approaches \(\frac ab\), the ratio of the leading coefficients.

If \(m>n\), divide by \(x^m\) instead. The top then approaches \(a\), which is not 0, and the bottom approaches 0. The size of the quotient therefore grows without bound, as near a vertical asymptote in topic 1.14. Each polynomial is its leading term times a factor that approaches 1, so for large \(|x|\) the quotient has the sign of \(\frac{ax^m}{bx^n}=\frac abx^{m-n}\).

The buttons under Figure 1 change the top. With \(3x\), of degree 1, the curve approaches the orange line \(y=0\). With \(2x^3+3x\), of degree 3, it rises without bound on the right and falls without bound on the left, like \(\frac{2x^3}{x^2}=2x\). Neither end has a horizontal asymptote.

Each end on its own

The graph of 6x over the square root of 4x² + 5 for x from −10 to 10, with the inputs −10, −5, 5 and 10 numbered. The curve is an S shape through the origin. On the right it rises toward a dashed orange line at the height 3, and on the left it falls toward a dashed orange line at the height −3. A toggle adds a red dashed line at the height 3 on the left, far above the curve.

Figure 2The orange dashed lines mark the limits of \(g\) at the two ends. The toggle adds a red dashed line at the wrong height that \(\sqrt{x^2}=x\) gives at the left end.

A quotient with a root or an absolute value can have different limits at the two ends. The curve in Figure 2 is the graph of

\[g(x)=\frac{6x}{\sqrt{4x^2+5}}\]

To divide the top and the bottom by \(x\), first factor \(x^2\) out of the root. A square root is never negative, so \(\sqrt{x^2}=|x|\), which is \(x\) for \(x>0\) but \(-x\) for \(x<0\):

\[\begin{aligned}\sqrt{4x^2+5}&=\sqrt{x^2}\,\sqrt{4+\tfrac5{x^2}}\\&=|x|\,\sqrt{4+\tfrac5{x^2}}\end{aligned}\]

For \(x>0\), replace \(|x|\) by \(x\). The factor \(x\) cancels, so \(g(x)=6\big/\sqrt{4+5/x^2}\), which approaches \(6/\sqrt4=3\) by the limit laws. For \(x<0\), replace \(|x|\) by \(-x\). The quotient \(\frac{6x}{-x}\) is \(-6\), so \(g(x)=-6\big/\sqrt{4+5/x^2}\), which approaches \(-3\).

The graph of \(g\) therefore has two horizontal asymptotes, \(y=3\) on the right and \(y=-3\) on the left. Use the toggle under Figure 2 to replace \(|x|\) by \(x\) on the left as well. It gives 3 again, but for \(x<0\) the curve stays below the axis, far from the red line, because \(6x<0\) and the root is positive.

An absolute value follows the same rule: replace \(|x|\) by \(-x\) where \(x<0\). An odd power such as \(x^3\) approaches \(\infty\) on the right and \(-\infty\) on the left.

Exponentials, powers and logarithms

For a base \(c>1\), the exponential \(c^x\) grows without bound as \(x\to\infty\) and approaches 0 as \(x\to-\infty\). A power \(x^p\) with \(p>0\) and \(\ln x\) also grow without bound as \(x\to\infty\). If the quotient of two such functions approaches 0, the function in the bottom dominates, or grows faster than, the one in the top. Of two powers, the higher dominates, because \(\frac{x^p}{x^q}=\frac1{x^{q-p}}\to0\) for \(p<q\).

The graphs of 2 to the power x, solid, and x cubed, dashed, for x from 0 to 14, with the inputs 2 to 14 numbered and grid lines at the heights 1000, 2000 and 3000. The dashed curve is the higher one from about x = 1.37 to about x = 9.94, where the curves meet near the height 982. After that the solid curve rises steeply and leaves the top of the figure near x = 11.55, while the dashed curve reaches 2744 at x = 14. Two orange points, one on each curve, share the input set by a slider.

Figure 3The solid curve is \(2^x\), the dashed curve is \(x^3\), and the grid lines are 1000 apart. The orange points mark both heights at the input set by the slider.

Every exponential with a base above 1 dominates every power, although the power can be larger for a long stretch. In Figure 3, the power \(x^3\) lies above \(2^x\) from about \(x=1.37\) to about \(x=9.94\). When \(x\) increases by 1, \(2^x\) doubles, but \(x^3\) is multiplied by

\[\frac{(x+1)^3}{x^3}=\left(1+\frac1x\right)^3\]

which is at most \(1.1^3=1.331\) when \(x\ge10\). Each such step therefore multiplies the quotient \(\frac{x^3}{2^x}\) by at most \(\frac{1.331}{2}\), which is less than 0.7. For \(x\) from 10 to 11, \(x^3\le11^3\) and \(2^x\ge2^{10}\), so the quotient is less than \(\frac{11^3}{2^{10}}\), which is less than 1.3. Every \(x\ge10\) is such a number plus \(N\) steps for some whole number \(N\), so

\[0<\frac{x^3}{2^x}<1.3\,(0.7)^N\]

As \(x\to\infty\), \(N\) grows without bound and \((0.7)^N\) approaches 0, because \(0.7<1\). By the Squeeze Theorem, \(\frac{x^3}{2^x}\to0\). Move \(x\) with the slider under Figure 3. The quotient under the figure is largest at \(x=4\), and from \(x=10\) on, each step multiplies it by less than 0.7.

The same argument works for any power \(x^p\) and any base \(c>1\). The factor \(\left(1+\frac1x\right)^p\) approaches 1, which is less than \(c\). For large \(x\), each step therefore multiplies \(\frac{x^p}{c^x}\) by at most a fixed number below 1. A constant factor does not change the limit 0, so \(2^x\) also dominates \(1000x^3\).

Every power dominates the logarithm. Write \(x=e^u\), so that \(u=\ln x\) grows without bound with \(x\). Then

\[\frac{\ln x}{x^p}=\frac{u}{e^{pu}}=\frac{u}{\left(e^p\right)^u}\]

is a power of \(u\) over an exponential with base \(e^p>1\), so it approaches 0. Of two exponentials, the larger base dominates: \(\frac{2^x}{3^x}=\left(\frac23\right)^x\to0\). In a quotient of such terms, divide the top and the bottom by the dominant term of the bottom, as with polynomials.

Example 1

Find the end behavior of a rational function

Find \(\displaystyle\lim_{x\to\infty}\frac{3-7x^2}{4x^2+x}\) and \(\displaystyle\lim_{x\to-\infty}\frac{3-7x^2}{2x+5}\).

Solution

In the first quotient, both degrees are 2, and the leading terms are \(-7x^2\) and \(4x^2\), although \(-7x^2\) is written second. Divide the top and the bottom by \(x^2\):

\[\begin{aligned}\frac{3-7x^2}{4x^2+x}&=\frac{\frac3{x^2}-7}{4+\frac1x}\\&\to\frac{0-7}{4+0}=-\frac74\end{aligned}\]

In the second quotient, the top has degree 2 and the bottom has degree 1, so there is no finite limit. Divide both by \(x^2\), the higher power:

\[\frac{3-7x^2}{2x+5}=\frac{\frac3{x^2}-7}{\frac2x+\frac5{x^2}}\]

The top approaches \(-7\), and the bottom approaches 0. For \(x<-\frac52\), the bottom \(\frac2x+\frac5{x^2}=\frac{2x+5}{x^2}\) is negative. A negative number divided by a small negative number is large and positive, so

\[\lim_{x\to-\infty}\frac{3-7x^2}{2x+5}=\infty\]

Example 2

Handle positive and negative infinity separately

Let \(h(x)=\dfrac{\sqrt{9x^2+7}}{1-2x}\). Find \(\displaystyle\lim_{x\to\infty}h(x)\) and \(\displaystyle\lim_{x\to-\infty}h(x)\).

Solution

The function \(h\) is defined for every \(x\ne\frac12\). Factor \(x^2\) out of the root, where \(\sqrt{x^2}=|x|\):

\[\sqrt{9x^2+7}=|x|\,\sqrt{9+\tfrac7{x^2}}\]

For \(x>0\), \(|x|=x\). Divide the top and the bottom of \(h(x)\) by \(x\):

\[h(x)=\frac{\sqrt{9+\frac7{x^2}}}{\frac1x-2}\to\frac{3}{-2}=-\frac32\]

For \(x<0\), \(|x|=-x\), so the same division leaves a minus sign in the top:

\[h(x)=\frac{-\sqrt{9+\frac7{x^2}}}{\frac1x-2}\to\frac{-3}{-2}=\frac32\]

The limit is \(-\frac32\) as \(x\to\infty\) and \(\frac32\) as \(x\to-\infty\).

Example 3

Compare common growth rates

Find \(\displaystyle\lim_{x\to\infty}\frac{x^5+2e^x}{3e^x-\ln x}\).

Solution

In the top, the exponential \(e^x\) dominates the power \(x^5\), and in the bottom it dominates \(\ln x\). Divide the top and the bottom by \(e^x\):

\[\frac{x^5+2e^x}{3e^x-\ln x}=\frac{\frac{x^5}{e^x}+2}{3-\frac{\ln x}{e^x}}\]

The quotient \(\frac{x^5}{e^x}\) approaches 0, because \(e^x\) dominates every power. So does \(\frac{\ln x}{e^x}=\frac{\ln x}{x}\cdot\frac{x}{e^x}\), a product of two quotients that approach 0. By the limit laws,

\[\lim_{x\to\infty}\frac{x^5+2e^x}{3e^x-\ln x}=\frac{0+2}{3-0}=\frac23\]

Example 4

Connect end behavior with asymptotes

Find all horizontal asymptotes of the graph of \(k(x)=(x^2-4)\,e^x\).

Solution

As \(x\to\infty\), both factors grow without bound, so \(k(x)\to\infty\), and the right end has no horizontal asymptote.

As \(x\to-\infty\), the factor \(x^2-4\) grows without bound while \(e^x\) approaches 0, so the factors alone do not decide the limit. Write it as a quotient, with \(e^x=\frac1{e^{-x}}\):

\[k(x)=\frac{x^2-4}{e^{-x}}=\frac{(-x)^2}{e^{-x}}-\frac{4}{e^{-x}}\]

As \(x\to-\infty\), the number \(-x\) grows without bound. The first term is a power of \(-x\) over an exponential in \(-x\), so it approaches 0. The second has a constant top, so it approaches 0 too, and so does \(k(x)\).

The only horizontal asymptote is \(y=0\), at the left end. The graph crosses it at \(x=-2\) and \(x=2\), where \(k(x)=0\), which the definition allows.

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