2.11 Asymptotes

Story (The Horizon of Mathematics).

In physics, when you approach the event horizon of a black hole, the laws of classical mechanics begin to break down, stretching space and time into infinity. In mathematics, we have our own event horizons and infinite expanses. What happens to a function f⁢(x)f(x) when we push xx to the absolute limits of its domain, or when we evaluate it at a point where its very definition fractures?

To answer this, we study asymptotes—the straight lines that our curved functions desperately wish to become as they march toward infinity or plunge into singularities.

In this section, we investigate end behaviors of a function—what it does in the asymptotic regimes. The behaviors are characterized by lines named asymptotes.

There are three types of asymptotes, cataloged by how limits behave at infinity or at finite points:

  1. 1.
    ​

    Horizontal: determined by finite limits at infinity. The function settles down to a constant value.

  2. 2.
    ​

    Vertical: determined by infinite limits at a finite point. The function experiences a catastrophic blow-up.

  3. 3.
    ​

    Slant (or Oblique): determined by infinite limits at infinity, but with a highly structured, linear growth rate.

Intuition (The Tao of Asymptotes).

Before diving into the ε\varepsilon-δ\delta or limit definitions, let us establish an intuition. An asymptote provides a simple linear approximation for a complex function in extreme regions. For |x|\left\lvert x\right\rvert very large, a function with a slant asymptote y=a⁢x+by=ax+b is essentially saying, “I might be a complicated mess of roots, polynomials, and trigonometric functions near the origin, but out here, I am basically just a straight line.”

2.11.1 Horizontal Asymptotes: The Ends of the Universe

We begin by asking what happens when we send our input variable out to the far right (x→∞x\to\infty) or the far left (x→−∞x\to-\infty).

Definition 2.11.1 (Horizontal Asymptote).

Let ff be a function defined on some interval (a,∞)(a,\infty). If

equation (2.42) (2.42)
limx→∞f⁢(x)=R\lim_{x\to\infty}f(x)=R

where R∈ℝR\in\mathbb{R}, then we say the line y=Ry=R is a horizontal asymptote of ff. Similarly, if limx→−∞f⁢(x)=L\lim_{x\to-\infty}f(x)=L for some L∈ℝL\in\mathbb{R}, the line y=Ly=L is a horizontal asymptote of ff.

Figure 2.17 illustrates the concept of horizontal asymptote.

A coordinate plot showing left and right horizontal asymptotes. A red line at y = L represents the left asymptote, and a blue line at y = R represents the right asymptote. A black curve starts slightly above y = L on the left, rises to a peak at the x-axis, dips below y = L to a local minimum, then rises sharply through the origin to asymptotically approach the blue line y = R from below on the right.
Figure 2.17: Visualization of horizontal asymptotes, showing a function approaching y=Ly=L as x→−∞x\to-\infty and y=Ry=R as x→∞x\to\infty.
Example 2.11.2.

Consider the function f⁢(x)=2+10x2f(x)=2+\frac{10}{x^{2}}. Its domain is dom⁡(f)=(−∞,0)∪(0,∞)\operatorname{dom}(f)=(-\infty,0)\cup(0,\infty). Taking the limit as x→±∞x\to\pm\infty:

limx→∞f⁢(x)=2limx→−∞f⁢(x)=2\begin{split}\lim_{x\to\infty}f(x)&{}=2\\ \lim_{x\to-\infty}f(x)&{}=2\end{split}

Thus, ff has exactly one horizontal asymptote: the line y=2y=2.

Example 2.11.3.

Now consider something more oscillatory: f⁢(x)=1+sin⁡xxf(x)=1+\frac{\sin x}{\sqrt{x}}. The domain is dom⁡(f)=(0,∞)\operatorname{dom}(f)=(0,\infty), meaning the limit as x→−∞x\to-\infty does not exist. To find the limit as x→∞x\to\infty, we bound the oscillating numerator:

−1x≤sin⁡xx≤1x.-\frac{1}{\sqrt{x}}\leq\frac{\sin x}{\sqrt{x}}\leq\frac{1}{\sqrt{x}}.

Since ±1/x→0\pm 1/\sqrt{x}\to 0 as x→∞x\to\infty, by the Squeeze Theorem, limx→∞f⁢(x)=1\lim_{x\to\infty}f(x)=1. Thus, y=1y=1 is the only horizontal asymptote.

A mathematically plotted curve of f(x) = 1 + sin(x)/sqrt(x) in royal blue. A red dashed horizontal line at y = 1 represents the horizontal asymptote. The curve oscillates cleanly above and below this line, intersecting it at multiples of pi (pi, two pi, three pi, four pi) marked with black dots.
Figure 2.18: Graph demonstrating a function repeatedly intersecting its horizontal asymptote y=1y=1.
Caveat.

A common myth perpetuated in high school calculus is that “a function cannot cross its asymptote.” The previous example completely shatters this notion! The function f⁢(x)=1+sin⁡xxf(x)=1+\frac{\sin x}{\sqrt{x}} crosses the line y=1y=1 infinitely many times as it decays, see Figure 2.18. An asymptote dictates limit behavior, not intersection properties.

Example 2.11.4.

Consider f⁢(x)=xx2+1f(x)=\frac{x}{\sqrt{x^{2}+1}}. Let us compute the limits at both infinities. As x→∞x\to\infty, the dominant term in the denominator is x2=|x|=x\sqrt{x^{2}}=\left\lvert x\right\rvert=x. Thus, the limit is 11. However, as x→−∞x\to-\infty, x2=|x|=−x\sqrt{x^{2}}=\left\lvert x\right\rvert=-x, yielding a limit of −1-1. Hence, there are two distinct horizontal asymptotes: y=1y=1 and y=−1y=-1.

Exercise 2.11.5 (The Asymptote Counting Problem).

We have just seen functions with 11 and 22 horizontal asymptotes. We can easily construct a function with no horizontal asymptotes (e.g., f⁢(x)=xf(x)=x).

  • •
    ​

    Can you invent a function with 0 horizontal asymptotes, 11 horizontal asymptote, and 22 horizontal asymptotes? Hint: use piecewise functions.

  • •
    ​

    Challenge: Can a function f:ℝ→ℝf:\mathbb{R}\to\mathbb{R} have 33 horizontal asymptotes? Hint: Re-read the definition. How many “infinities” does the real line have?

2.11.2 Vertical Asymptotes: Singularities

If horizontal asymptotes describe finite limits at infinity, vertical asymptotes describe infinite limits at a finite point. Physically, this is a singularity—a point where forces become infinite, densities diverge, and our equations demand we look closer.

Definition 2.11.6 (Vertical Asymptote).

If either one-sided limit diverges:

equation (2.43) (2.43)
limx→a+f⁢(x)=±∞orlimx→a−f⁢(x)=±∞,\lim_{x\to a^{+}}f(x)=\pm\infty\quad\text{or}\quad\lim_{x\to a^{-}}f(x)=\pm\infty,

then we say the vertical line x=ax=a is a vertical asymptote of ff.

Figure 2.19 illustrates the concept of vertical asymptote.

A plot of the piecewise function which is f(x) = 1/x^2 for positive values of x (shown in royal blue) and f(x) = tan(x) for negative values of x (shown in brick red). The positive branch curves sharply upwards near the y-axis, highlighting a vertical asymptote at x = 0. The negative branch shows two distinct curves of the tangent function bounded by dashed vertical asymptotes at x = -pi/2 and x = -3pi/2. A small hollow circle is placed at the origin to denote that the point is excluded.
Figure 2.19: Graph of a function with multiple vertical asymptotes.
Example 2.11.7.

Let f⁢(x)=1x−1f(x)=\frac{1}{x-1}. It is immediately apparent that as x→1+x\to 1^{+}, f⁢(x)→∞f(x)\to\infty. Thus, x=1x=1 is a vertical asymptote.

Example 2.11.8.

Consider f⁢(x)=sin⁡xx2f(x)=\frac{\sin x}{x^{2}}. As x→0x\to 0, the numerator approaches 0 and the denominator approaches 0: we run into the undetermined form 0/0. However, using limx→0sin⁡xx=1\lim_{x\to 0}\frac{\sin x}{x}=1, we see limx→0±f⁢(x)=limx→0±1x=±∞\lim_{x\to 0^{\pm}}f(x)=\lim_{x\to 0^{\pm}}\frac{1}{x}=\pm\infty. Thus, x=0x=0 is a vertical asymptote.

2.11.3 Slant (Oblique) Asymptotes: Linear Escapes

We now arrive at the most sophisticated of the three: the slant asymptote. What if a function escapes to infinity, but does so by mirroring a slanted straight line?

Definition 2.11.9 (Slant Asymptote).

If there exist real numbers aa and bb (with a≠0a\neq 0) such that

equation (2.44) (2.44)
limx→∞(f⁢(x)−(a⁢x+b))=0orlimx→−∞(f⁢(x)−(a⁢x+b))=0,\lim_{x\to\infty}\big{(}f(x)-(ax+b)\big{)}=0\quad\text{or}\quad\lim_{x\to-% \infty}\big{(}f(x)-(ax+b)\big{)}=0,

then we say the line y=a⁢x+by=ax+b is a slant (or oblique) asymptote of ff.

Figure 2.20 illustrates the concept of slant asymptote.

A mathematically precise coordinate plot of the function f(x) = (x^2+4x+2)/(x+2) in royal blue. A vertical dotted line at x = -2 marks the vertical asymptote. A red dashed diagonal line representing the slant asymptote y = x + 2 runs from bottom-left to top-right. The curve has two branches: the left branch lies above the slant asymptote and goes to infinity as it approaches x = -2 from the left, while the right branch lies below the slant asymptote and goes to negative infinity as it approaches x = -2 from the right.
Figure 2.20: Graph of a function and its slant asymptote and verical asymptote.
Remark 2.11.10.

A horizontal asymptote is merely a special case of a slant asymptote where the slope a=0a=0. By structuring our definition this way, we unify the two concepts.

From the definition, we can extract formulas for aa and bb. If f⁢(x)−(a⁢x+b)→0f(x)-(ax+b)\to 0, then dividing by xx implies that f⁢(x)/x→af(x)/x\to a. Once aa is known, we can cleanly extract bb:

equation (2.45) (2.45)
a=limx→∞f⁢(x)x,b=limx→∞(f⁢(x)−a⁢x).a=\lim_{x\to\infty}\frac{f(x)}{x},\qquad b=\lim_{x\to\infty}\big{(}f(x)-ax\big% {)}.

(Similar formulas hold for x→−∞x\to-\infty). Let us test this on a non-trivial function.

Example 2.11.11.

Find the slant asymptote(s) of the function:

equation (2.46) (2.46)
f⁢(x)=x2+2⁢x+xx+1f(x)=\frac{x^{2}+2x+\sqrt{x}}{x+1}

First, a quick check of the domain reveals dom⁡(f)=[0,∞)\operatorname{dom}(f)=[0,\infty). Therefore, we only need to find the limit as x→∞x\to\infty; the limit as x→−∞x\to-\infty does not exist, meaning there are no asymptotes to the left.

We will solve this using two distinct methods.

  1. 1.
    ​

    Method 1: Algebraic Manipulation (Long Division) We can rewrite the numerator to cleverly force cancellation with the denominator:

    f⁢(x)=x2+2⁢x+1−1+xx+1=(x+1)2−1+xx+1=x+1+x−1x+1.\begin{split}f(x)&{}=\frac{x^{2}+2x+1-1+\sqrt{x}}{x+1}\\ &{}=\frac{(x+1)^{2}-1+\sqrt{x}}{x+1}\\ &{}=x+1+\frac{\sqrt{x}-1}{x+1}.\end{split}

    Now, examine the residual term as x→∞x\to\infty:

    limx→∞(f⁢(x)−(x+1))=limx→∞x−1x+1.\lim_{x\to\infty}\big{(}f(x)-(x+1)\big{)}=\lim_{x\to\infty}\frac{\sqrt{x}-1}{x% +1}.

    To evaluate this rigorously, use the substitution t=xt=\sqrt{x}. As x→∞x\to\infty, t→∞t\to\infty. Thus:

    limx→∞(f⁢(x)−(x+1))=limt→∞t−1t2+1=0.\lim_{x\to\infty}\big{(}f(x)-(x+1)\big{)}=\lim_{t\to\infty}\frac{t-1}{t^{2}+1}% =0.

    Because the difference between f⁢(x)f(x) and the line y=x+1y=x+1 vanishes at infinity, the slant asymptote is precisely ℓ⁢(x)=x+1\ell(x)=x+1.

  2. 2.
    ​

    Method 2: The Analytic Limit Formulas Using the formulas derived in (2.45), we first find the slope aa:

    a=limx→∞f⁢(x)x=limx→∞x2+2⁢x+xx⁢(x+1)=limx→∞x2⁢(1+2x+1x3/2)x2⁢(1+1x)=1.a=\lim_{x\to\infty}\frac{f(x)}{x}=\lim_{x\to\infty}\frac{x^{2}+2x+\sqrt{x}}{x(% x+1)}=\lim_{x\to\infty}\frac{x^{2}(1+\frac{2}{x}+\frac{1}{x^{3/2}})}{x^{2}(1+% \frac{1}{x})}=1.

    Next, we find the intercept bb:

    b=limx→∞(f⁢(x)−1⋅x)=limx→∞(x2+2⁢x+xx+1−x)=limx→∞(x2+2⁢x+x−x⁢(x+1)x+1)=limx→∞x+xx+1.\begin{split}b=\lim_{x\to\infty}\big{(}f(x)-1\cdot x\big{)}&{}=\lim_{x\to% \infty}\left(\frac{x^{2}+2x+\sqrt{x}}{x+1}-x\right)\\ &{}=\lim_{x\to\infty}\left(\frac{x^{2}+2x+\sqrt{x}-x(x+1)}{x+1}\right)\\ &{}=\lim_{x\to\infty}\frac{x+\sqrt{x}}{x+1}.\end{split}

    Applying the same substitution t=xt=\sqrt{x} (or dividing top and bottom by xx) yields:

    limt→∞t2+tt2+1=1.\lim_{t\to\infty}\frac{t^{2}+t}{t^{2}+1}=1.

    Thus, the slant asymptote is ℓ⁢(x)=1⋅x+1=x+1\ell(x)=1\cdot x+1=x+1.

Moral.

Albeit it seems that Method 2 is longer and more tedious than Method 1, it is actually vastly more powerful. Method 1 (polynomial division) is merely an algebraic trick that works beautifully for rational functions. However, if transcendental functions (ex,sin⁡x\mathrm{e}^{x},\sin x) are introduced, Method 1 completely fails, whereas the analytic limits of Method 2 hold universally.

Why do we labor over these limit calculations? Slant (and horizontal) asymptotes provide a simple linear approximation for a function at infinity. For very large xx, computing f⁢(x)≈a⁢x+bf(x)\approx ax+b is computationally cheap and analytically transparent. This is not merely an academic exercise; it is good for numerical calculation when simulating real world phenomena.

To solidify your grasp on these concepts, I leave you with a few exercises to explore the end behaviors of varied functions.

Exercise 2.11.12.

Find all asymptotes (if any) of the following functions:

  1. (a)
    ​

    f⁢(x)=x⁢x2+1⁢sin⁡(1x)f(x)=x\sqrt{x^{2}+1}\sin\left(\frac{1}{x}\right)  (Hint: Recall limθ→0sin⁡θθ=1\lim_{\theta\to 0}\frac{\sin\theta}{\theta}=1.)

  2. (b)
    ​

    f⁢(x)=10⁢x3−3⁢x2+825⁢x6+x4+2f(x)=\frac{10x^{3}-3x^{2}+8}{\sqrt{25x^{6}+x^{4}+2}}

  3. (c)
    ​

    f⁢(x)=x2+2x2+1f(x)=\frac{x^{2}+2}{\sqrt{x^{2}+1}}

Exercise 2.11.13.

Determine the complete end behaviors of the fundamental transcendental functions: ex\mathrm{e}^{x}, log⁡x\log x, and cos⁡x\cos x, strictly within their respective domains.

Exercise 2.11.14.

Can you find a quadratic function g⁢(x)=a⁢x2+b⁢x+cg(x)=ax^{2}+bx+c that approximates f⁢(x)=(x3+3⁢x2+1)⁢(1+e−x)x2−1f(x)=\frac{(x^{3}+3x^{2}+1)(1+\mathrm{e}^{-x})}{\sqrt{x^{2}-1}} for large xx? That is

limx→∞(f⁢(x)−g⁢(x))=0.\begin{split}\lim_{x\to\infty}(f(x)-g(x))=0.\end{split}