Tutorials › AP Calculus › Finding Horizontal Asymptotes from End Behavior

Infinite Limits and Continuity · Tutorial 66 of 999

Finding Horizontal Asymptotes from End Behavior

Use finite limits at each end of the real line to determine whether a graph has a horizontal asymptote there and what its height is.

Intermediate 10 min read

What You'll Learn

  • Define a horizontal asymptote using a finite limit at positive or negative infinity
  • Distinguish the behavior of a function as x approaches positive infinity from its behavior as x approaches negative infinity
  • Find horizontal asymptotes when both ends approach the same height
  • Recognize when the two ends approach different heights
  • Identify when only one end has a horizontal asymptote
  • Check limits by measuring the function’s vertical distance from a proposed asymptote

What the Ends of a Graph Tell Us

A graph has two directions of end behavior: to the right, as \(x\) increases without bound, and to the left, as \(x\) decreases without bound. The function may approach a finite height in one direction, in both directions, or in neither. The two ends do not have to behave alike.

A horizontal asymptote describes one of these end behaviors. It is a horizontal line that the graph approaches as \(x\) tends to positive infinity or negative infinity. The line is identified by a finite limit; it is not found by evaluating the function at an “infinite” input.

Definition: The line \(y=L\) is a horizontal asymptote of \(f\) as \(x\to\infty\) if \(\lim_{x\to\infty} f(x)=L\), where \(L\) is a finite real number. It is a horizontal asymptote as \(x\to-\infty\) if \(\lim_{x\to-\infty} f(x)=L\). These are separate tests, and their limiting values may differ.

Thus, one function can have two horizontal asymptotes, one for each end, and those lines can have different heights. It can also have the same horizontal asymptote at both ends, or have an asymptote at only one end. A finite limit is required for the corresponding end; behavior that grows without bound or continues to oscillate without settling to a single value does not give a horizontal asymptote there.

Reading a Limit as a Height

If \(\lim_{x\to\infty} f(x)=L\), the function values become arbitrarily close to \(L\) when \(x\) is sufficiently large and positive. The corresponding line is \(y=L\). If instead \(\lim_{x\to-\infty} f(x)=L\), then the values become arbitrarily close to \(L\) for sufficiently large negative magnitude of \(x\), and the line is again \(y=L\).

The direction matters. In \(\lim_{x\to\infty} f(x)\), we examine inputs far to the right. In \(\lim_{x\to-\infty} f(x)\), we examine inputs far to the left. A calculation for one limit alone does not establish what happens at the other end.

Key takeaway: Find the limit at each end separately. A finite value \(L\) gives the horizontal asymptote \(y=L\) at that end; an infinite or nonexistent limit does not.

Why a Finite Limit Gives an Asymptote

The connection between limits and horizontal asymptotes follows directly from the meaning of a limit. For example, the statement \(\lim_{x\to\infty}f(x)=L\) means that for every positive tolerance \(\varepsilon\), there is a threshold \(M\) such that whenever \(x>M\), the function value differs from \(L\) by less than \(\varepsilon\). The difference \(|f(x)-L|\) is the vertical distance from the point on the graph to the line \(y=L\).

1
State the proposed end and height.
For the right end, suppose \(\lim_{x\to\infty} f(x)=L\), with \(L\) finite.
2
Apply the definition of the limit.
For every \(\varepsilon>0\), some \(M\) makes \(|f(x)-L|<\varepsilon\) whenever \(x>M\).
3
Interpret the distance.
The inequality says that the graph lies within vertical distance \(\varepsilon\) of \(y=L\) for all sufficiently large \(x\). Since this holds for every positive tolerance, the graph approaches that horizontal line at the right end.

For the left end, the same reasoning uses the condition \(x<-M\) for a sufficiently large positive threshold \(M\). In that case, \(|f(x)-L|<\varepsilon\) means the graph gets arbitrarily close to \(y=L\) as \(x\) moves far to the left. This argument explains why the finite-limit definition and the geometric description of a horizontal asymptote agree.

Worked Example: The Same Asymptote at Both Ends

Worked Example: The Same Asymptote at Both Ends

Find the horizontal asymptote or asymptotes of \(f(x)=\frac{2x^2+3}{x^2-1}\) as \(x\to\infty\) and \(x\to-\infty\).

For either end, divide the numerator and denominator by \(x^2\), which is nonzero for sufficiently large \(|x|\):

$$ f(x)=\frac{2+\frac{3}{x^2}}{1-\frac{1}{x^2}}. $$

As \(x\to\infty\), both \(\frac{3}{x^2}\) and \(\frac{1}{x^2}\) tend to \(0\). Therefore,

$$ \lim_{x\to\infty}f(x) =\frac{2+0}{1-0} =2. $$

As \(x\to-\infty\), \(x^2\) also grows without bound, so the same two fractions tend to \(0\). Thus,

$$ \lim_{x\to-\infty}f(x) =\frac{2+0}{1-0} =2. $$

Both limits are finite and equal to \(2\). The horizontal asymptote at each end is \(y=2\). As a check, subtract the proposed height from the function:

$$ f(x)-2 =\frac{2x^2+3}{x^2-1}-2 =\frac{2x^2+3-2x^2+2}{x^2-1} =\frac{5}{x^2-1}. $$

Since \(\frac{5}{x^2-1}\to0\) at both ends, the function’s vertical distance from \(y=2\) tends to \(0\) in both directions, confirming the result.

Worked Example: Different Asymptotes at the Two Ends

Worked Example: Different Asymptotes at the Two Ends

Find the horizontal asymptote at each end for \(g(x)=\frac{x}{|x|+1}\).

The absolute value depends on the sign of \(x\), so treat the two directions separately. If \(x\to\infty\), then \(x>0\) eventually and \(|x|=x\). Hence,

$$ g(x)=\frac{x}{x+1} =\frac{1}{1+\frac{1}{x}} \quad (x>0). $$

As \(x\to\infty\), \(\frac{1}{x}\to0\), so

$$ \lim_{x\to\infty}g(x) =\frac{1}{1+0} =1. $$

The right-end horizontal asymptote is \(y=1\).

For \(x\to-\infty\), we have \(x<0\) eventually and \(|x|=-x\). Therefore,

$$ g(x)=\frac{x}{-x+1} =\frac{x}{1-x} =\frac{1}{\frac{1}{x}-1} \quad (x<0). $$

As \(x\to-\infty\), \(\frac{1}{x}\to0\), giving

$$ \lim_{x\to-\infty}g(x) =\frac{1}{0-1} =-1. $$

The left-end horizontal asymptote is \(y=-1\). As a check, compare the function with each proposed height on its relevant end. For \(x>0\),

$$ g(x)-1=\frac{x}{x+1}-1=-\frac{1}{x+1}\longrightarrow0 \quad\text{as }x\to\infty. $$

For \(x<0\),

$$ g(x)+1=\frac{x}{1-x}+1=\frac{1}{1-x}\longrightarrow0 \quad\text{as }x\to-\infty. $$

The function approaches different finite heights at its two ends, so the two horizontal asymptotes are \(y=1\) and \(y=-1\).

Worked Example: An Asymptote at Only One End

Worked Example: An Asymptote at Only One End

Let \(h(x)=x^2\) for \(x\leq0\), and \(h(x)=4+\frac{1}{x}\) for \(x>0\). Determine whether there is a horizontal asymptote at each end.

When \(x\to\infty\), the applicable formula is \(h(x)=4+\frac{1}{x}\). Since \(\frac{1}{x}\to0\),

$$ \lim_{x\to\infty}h(x) =\lim_{x\to\infty}\left(4+\frac{1}{x}\right) =4+0 =4. $$

Thus \(y=4\) is a horizontal asymptote at the right end. To check the distance,

$$ |h(x)-4| =\left|4+\frac{1}{x}-4\right| =\frac{1}{x} \longrightarrow0 \quad\text{as }x\to\infty. $$

When \(x\to-\infty\), the applicable formula is \(h(x)=x^2\). Its values grow without bound, rather than approaching a finite number:

$$ \lim_{x\to-\infty}h(x) =\lim_{x\to-\infty}x^2 =+\infty. $$

There is no horizontal asymptote at the left end. The conclusion is one-sided: the right end has asymptote \(y=4\), while the left end has no horizontal asymptote.

A Common Mistake: Treating Both Ends Alike

A frequent error is to simplify an expression using a sign assumption that is true at one end but false at the other. For instance, in the second example, someone might write \(|x|=x\) and then conclude that \(g(x)\to1\) as \(x\to-\infty\) as well. That substitution is incorrect: for negative \(x\), \(|x|=-x\), not \(x\).

$$ \text{Incorrect at the left end:}\qquad g(x)=\frac{x}{x+1}\longrightarrow1. $$

The correction is to use the negative-\(x\) expression:

$$ g(x)=\frac{x}{1-x} =\frac{1}{\frac{1}{x}-1} \longrightarrow\frac{1}{0-1} =-1 \quad\text{as }x\to-\infty. $$

Before simplifying a formula involving \(|x|\), a piecewise definition, or another sign-sensitive expression, decide which inputs occur at the end you are analyzing. Then compute the positive- and negative-infinity limits separately.

A Reliable Procedure

When asked to find horizontal asymptotes from end behavior, organize the work around the two limits rather than guessing from the overall shape of the formula.

  1. Compute \(\lim_{x\to\infty}f(x)\). If it equals a finite number \(L\), state that \(y=L\) is a horizontal asymptote at the right end.
  2. Compute \(\lim_{x\to-\infty}f(x)\) separately. If it equals a finite number \(K\), state that \(y=K\) is a horizontal asymptote at the left end.
  3. If an end’s limit is infinite or does not exist, do not assign a horizontal asymptote at that end.
  4. Report both results, even if the limits agree. If they differ, name the corresponding end for each line.

For rational functions, the earlier material on limits at infinity for rational functions provides useful ways to compute the limits. Whatever method is used, the final asymptote claim still depends on a finite limit, and the positive and negative directions must be checked independently.

Summary: A horizontal asymptote is determined by end behavior, not by a value of the function at infinity. A finite limit at \(+\infty\) gives a right-end asymptote; a finite limit at \(-\infty\) gives a left-end asymptote. The two limiting heights may be equal, different, or finite at only one end.

Check Your Understanding

For each question, keep the positive- and negative-infinity limits distinct.

  1. If \(\lim_{x\to\infty}f(x)=3\) and \(\lim_{x\to-\infty}f(x)=-2\), what horizontal asymptote occurs at each end?
  2. For \(p(x)=\frac{5x^2-1}{2x^2+4}\), find the horizontal asymptote at each end.
  3. For \(q(x)=\frac{x}{|x|+2}\), find the limits at positive and negative infinity and identify the two end asymptotes.
  4. If \(\lim_{x\to-\infty}r(x)=+\infty\), is there a horizontal asymptote at the left end? Explain using the definition.
  5. In one sentence, explain why finding the limit as \(x\to\infty\) does not by itself determine the left-end behavior.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon