Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Find Horizontal Asymptotes

A horizontal asymptote is a limit at infinity: y=Ly = L if f(x)→Lf(x) \to L as x→∞x \to \infty or as x→−∞x \to -\infty. Compute both limits; a function can have two different horizontal asymptotes, one, or none.

Recognize the task

"Find the horizontal asymptotes", "end behaviour", a rational function, a root, exe^x, arctan⁡x\arctan x. Test: what does ff do as x→+∞x \to +\infty, and separately as x→−∞x \to -\infty?
The horizontal asymptote condition is the definition; the lesson section is horizontal asymptotes.

Two ways to do it

Rational functions: compare degreesshortcut
n<m: y=0,n=m: y=anbm,n>m: nonen < m:\ y = 0, \qquad n = m:\ y = \frac{a_n}{b_m}, \qquad n > m:\ \text{none}
The same rule as for limits at infinity of rational functions; one asymptote serves both directions.
Everything else: compute both limitsroots, exponentials, arctan
y=L  ⟺  lim⁡x→∞f(x)=L   or   lim⁡x→−∞f(x)=Ly = L \iff \lim_{x\to\infty} f(x) = L \;\text{ or }\; \lim_{x\to-\infty} f(x) = L
Roots and exponentials can behave differently at the two ends (exponential end behaviour); check each.

Steps

StepOn f(x)=ex1+exf(x) = \frac{e^x}{1 + e^x}
1Take the limit as x → +∞. Rational: compare degrees. Roots: factor out the highest power. Exponentials: divide by the dominant exponential.Limit laws ↗ex1+ex=1e−x+1→10+1=1\frac{e^x}{1 + e^x} = \frac{1}{e^{-x} + 1} \to \frac{1}{0 + 1} = 1
2Take the limit as x → −∞ separately. Do not assume it matches.ex→0e^x \to 0, so ex1+ex→01=0\frac{e^x}{1 + e^x} \to \frac{0}{1} = 0
3Each finite limit gives an asymptote y = L. An infinite limit gives none in that direction.y=1y = 1 (right) and y=0y = 0 (left)
4Optional: check whether the graph crosses the asymptote. It may, at finite xx; the asymptote only describes the far ends. Solve f(x)=Lf(x) = L if asked.ex1+ex=1\frac{e^x}{1 + e^x} = 1 has no solution; =0= 0 has none either

Worked examples

Example 1 · two different asymptotes

logistic curve
f(x)=ex1+exf(x) = \frac{e^x}{1 + e^x}
right limit 11, left limit 00
horizontal asymptotes y=1y = 1 and y=0y = 0

Example 2 · rational, equal degrees

one asymptote both ways
f(x)=3x2−x2x2+5f(x) = \frac{3x^2 - x}{2x^2 + 5}
n=m=2n = m = 2
horizontal asymptote y=32y = \frac{3}{2}
ratio of leading coefficients

Example 3 · none

top degree larger
f(x)=x3x2+1→±∞f(x) = \frac{x^3}{x^2 + 1} \to \pm\infty
n>mn > m
no horizontal asymptote (the graph follows the oblique line y=xy = x)

Example 4 · arctangent

two asymptotes
lim⁡x→∞arctan⁡x=π2,lim⁡x→−∞arctan⁡x=−π2\lim_{x\to\infty}\arctan x = \frac{\pi}{2}, \qquad \lim_{x\to-\infty}\arctan x = -\frac{\pi}{2}
horizontal asymptotes y=±π2y = \pm\frac{\pi}{2}

See it happen

The logistic curve ex1+ex\frac{e^x}{1 + e^x} flattens toward 00 on the left and toward 11 on the right: two horizontal asymptotes, because the two ends of the xx-axis are different places. Rational functions behave the same at both ends; roots and exponentials need not.

Common mistakes

Assuming one limit covers both ends

✗ arctan⁡x\arctan x has the asymptote y=π2y = \frac{\pi}{2} only
✓ also y=−π2y = -\frac{\pi}{2} as x→−∞x \to -\infty

"The graph never crosses an asymptote"

✗ ruling out solutions of f(x)=Lf(x) = L
✓ sin⁡xx\frac{\sin x}{x} crosses y=0y = 0 infinitely often; the asymptote describes only the far ends

Mixing up x = and y =

✗ horizontal asymptote x=32x = \frac{3}{2}
✓ horizontal asymptotes are horizontal lines: y=32y = \frac{3}{2}

Misreading the degree rule

✗ n>mn > m gives y=anbmy = \frac{a_n}{b_m}
✓ n>mn > m gives no horizontal asymptote