Asymptotes from Limits

Use limits at infinity to determine where a function is heading as x grows without bound, then identify that destination as a horizontal asymptote equation.

limxf(x)=L    y=L is a horizontal asymptote\lim_{x \to \infty} f(x) = L \implies y = L \text{ is a horizontal asymptote}

Solve a problem with Asymptotes from Limits

Type the problem. The solver will use Asymptotes from Limits where Asymptotes from Limits is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Asymptotes from Limits takes
ff
xx
LL
yy
Asymptotes from Limits
SymbolMeaning
ffA function whose behavior you are studying; could be anything from a simple rational function to a more complex expression. If you treat ff as a number instead of a function, you cannot apply this rule.
xxThe independent variable, typically representing input or position. The statement looks at what happens as xx becomes arbitrarily large (grows toward positive infinity), not at any single value.
LLA finite real number that f(x)f(x) approaches as xx \to \infty; this is the limit value. If LL is infinite or does not exist, this rule does not give you a horizontal asymptote.
yyThe dependent variable or output of the function; in the equation y=Ly = L, it represents the horizontal line itself. This line is where the graph gets closer and closer as xx increases without bound.

When to use it

When you need to describe the long-term behavior of a function or find where its graph approaches a horizontal line.

Level

Usually taught in: Calculus I

Worked examples

1. Simple rational function with zero asymptote

Problem

Find limx5x+2\lim_{x \to \infty} \frac{5}{x + 2} and identify the horizontal asymptote.
  1. A(x)=5x+2A(x) = \frac{5}{x + 2}

    We start with the function and need to find where it approaches as xx becomes very large.

  2. =5x(1+2x)=5x11+2x= \frac{5}{x(1 + \frac{2}{x})} = \frac{5}{x} \cdot \frac{1}{1 + \frac{2}{x}}

    We factor xx from the denominator so we can see what each piece does as xx \to \infty.

  3. limx(5x11+2x)=011+0=0\lim_{x \to \infty} \left( \frac{5}{x} \cdot \frac{1}{1 + \frac{2}{x}} \right) = 0 \cdot \frac{1}{1 + 0} = 0

    As xx \to \infty, we have 5x0\frac{5}{x} \to 0 and 2x0\frac{2}{x} \to 0, so the product approaches 01=00 \cdot 1 = 0.

Answer: y=0y = 0

The function approaches 0 as xx grows without bound, so y=0y = 0 is a horizontal asymptote. The graph will get arbitrarily close to the xx-axis for large positive values of xx, but will never reach it.

2. Rational function with non-zero, non-integer asymptote

Problem

Find limx3x22x+5\lim_{x \to \infty} \frac{3x - 2}{2x + 5} and identify the horizontal asymptote.
  1. limx3x22x+5\lim_{x \to \infty} \frac{3x - 2}{2x + 5}

    For rational functions where the numerator and denominator have the same degree, divide both by the highest power of xx.

  2. =limxx(32x)x(2+5x)=limx32x2+5x= \lim_{x \to \infty} \frac{x(3 - \frac{2}{x})}{x(2 + \frac{5}{x})} = \lim_{x \to \infty} \frac{3 - \frac{2}{x}}{2 + \frac{5}{x}}

    We factor xx from both numerator and denominator, then cancel the common factor.

  3. =302+0=32= \frac{3 - 0}{2 + 0} = \frac{3}{2}

    As xx \to \infty, both 2x0\frac{2}{x} \to 0 and 5x0\frac{5}{x} \to 0, leaving the ratio of leading coefficients.

Answer: y=32y = \frac{3}{2}

For rational functions with equal-degree polynomials, the horizontal asymptote is always the ratio of the leading coefficients. Here the limit is 32\frac{3}{2}, so the graph approaches the line y=32y = \frac{3}{2} as xx increases.

3. Phone plan: average cost per gigabyte approaches a constant

Problem

A wireless provider charges a $60 monthly service fee plus $3 per gigabyte of data used. The average monthly cost per gigabyte is A(x)=60+3xxA(x) = \frac{60 + 3x}{x} dollars, where xx is gigabytes used. Find limxA(x)\lim_{x \to \infty} A(x) and identify the horizontal asymptote.
  1. A(x)=60+3xxA(x) = \frac{60 + 3x}{x}

    This represents the total monthly bill divided by the number of gigabytes—the average cost per gigabyte.

  2. =60x+3xx=60x+3= \frac{60}{x} + \frac{3x}{x} = \frac{60}{x} + 3

    We split the single fraction into two pieces by dividing each term of the numerator by the denominator.

  3. limxA(x)=limx(60x+3)=0+3=3\lim_{x \to \infty} A(x) = \lim_{x \to \infty} \left( \frac{60}{x} + 3 \right) = 0 + 3 = 3

    As xx \to \infty, the fraction 60x0\frac{60}{x} \to 0 because a fixed numerator divided by a growing denominator shrinks toward 0.

Answer: y=3y = 3

As the customer uses more and more data, the fixed 60servicefeegetsspreadacrossanincreasingnumberofgigabytes,makingitscontributiontotheaveragecostnegligible.Theaveragecostpergigabytethereforeapproachesthepergigabyterateof60 service fee gets spread across an increasing number of gigabytes, making its contribution to the average cost negligible. The average cost per gigabyte therefore approaches the per-gigabyte rate of3. This means the graph has a horizontal asymptote at y=3y = 3.

Common mistakes

Where Asymptotes from Limits usually goes wrong
Answer came out wrong
Looking at the graph of f(x)=x1xf(x) = \frac{x - 1}{x}, observing that it seems to approach a horizontal line, and claiming without calculation that y=0y = 0 is a horizontal asymptote.
Compute limxx1x=limx(11x)=1\lim_{x \to \infty} \frac{x - 1}{x} = \lim_{x \to \infty} \left(1 - \frac{1}{x}\right) = 1, so the actual horizontal asymptote is y=1y = 1, not y=0y = 0.
Computing limxf(x)=L\lim_{x \to \infty} f(x) = L correctly but then writing 'y=Ly = L is a vertical asymptote' or confusing it with a different type of asymptote.
Use correct terminology: if limxf(x)=L\lim_{x \to \infty} f(x) = L, then y=Ly = L is a *horizontal* asymptote (a horizontal line), not a vertical one.
Computing limx(x2+1)=\lim_{x \to \infty} (x^2 + 1) = \infty and then writing 'y=y = \infty is an asymptote' or concluding the function has an asymptote.
If limxf(x)=\lim_{x \to \infty} f(x) = \infty or if the limit does not exist, then there is no horizontal asymptote from this rule. The function grows without bound instead.
The mistakeWhy it is wrongThe fix
Looking at the graph of f(x)=x1xf(x) = \frac{x - 1}{x}, observing that it seems to approach a horizontal line, and claiming without calculation that y=0y = 0 is a horizontal asymptote.Visual inspection of a graph is not a rigorous proof. You must verify the asymptote by computing the limit algebraically using the definition.Compute limxx1x=limx(11x)=1\lim_{x \to \infty} \frac{x - 1}{x} = \lim_{x \to \infty} \left(1 - \frac{1}{x}\right) = 1, so the actual horizontal asymptote is y=1y = 1, not y=0y = 0.
Computing limxf(x)=L\lim_{x \to \infty} f(x) = L correctly but then writing 'y=Ly = L is a vertical asymptote' or confusing it with a different type of asymptote.Horizontal asymptotes and vertical asymptotes are fundamentally different. A horizontal asymptote comes from a limit at infinity; a vertical asymptote comes from a limit approaching a finite value where the function is undefined.Use correct terminology: if limxf(x)=L\lim_{x \to \infty} f(x) = L, then y=Ly = L is a *horizontal* asymptote (a horizontal line), not a vertical one.
Computing limx(x2+1)=\lim_{x \to \infty} (x^2 + 1) = \infty and then writing 'y=y = \infty is an asymptote' or concluding the function has an asymptote.Infinity is not a real number, so a 'horizontal asymptote at y=y = \infty' does not exist. A horizontal asymptote must be a finite constant, and the rule only applies when LL is a real number.If limxf(x)=\lim_{x \to \infty} f(x) = \infty or if the limit does not exist, then there is no horizontal asymptote from this rule. The function grows without bound instead.

Tips and when to use something else

  • For rational functions, divide both numerator and denominator by the highest power of xx that appears—this is the quickest way to find horizontal asymptotes.
  • Always check limx\lim_{x \to -\infty} separately if you need a complete picture. A function can have two different horizontal asymptotes (one as xx \to \infty and another as xx \to -\infty), or an asymptote in one direction but not the other. Use Limits at Infinity for both directions.
  • Graphs are allowed to cross their horizontal asymptotes at finite xx values. A horizontal asymptote describes only the long-term behavior as xx grows arbitrarily large, not what happens everywhere.
  • If the limit at infinity does not exist (for example, if the function oscillates forever), there is no horizontal asymptote. Use Infinite Limits or graphing to understand the function's end behavior in that case.

Frequently asked questions

If the limit exists, does that guarantee the graph never touches the asymptote?
No. A horizontal asymptote describes only what happens as xx \to \infty (or xx \to -\infty), not the behaviour everywhere. The graph can cross the line y=Ly = L at any finite xx and still satisfy limxf(x)=L\lim_{x \to \infty} f(x) = L. The function must get arbitrarily close to LL for very large xx, but it does not have to stay on one side of the line to get there.
What happens if the limit is \infty or -\infty?
If limxf(x)=\lim_{x \to \infty} f(x) = \infty or limxf(x)=\lim_{x \to \infty} f(x) = -\infty, then there is no horizontal asymptote. The function grows (or shrinks) without bound instead of approaching a finite value. You can use Infinite Limits to describe this behavior more precisely.
Why should I check the limit as xx \to -\infty as well?
A function can behave very differently as xx \to \infty and as xx \to -\infty. For example, f(x)=xxf(x) = \frac{x}{|x|} approaches 11 from the right but approaches 1-1 from the left, giving two different horizontal asymptotes. A complete analysis requires checking both directions, even though this rule statement only mentions xx \to \infty.
How do I tell the difference between a horizontal asymptote and a slant (oblique) asymptote?
A horizontal asymptote occurs when limxf(x)\lim_{x \to \infty} f(x) equals a finite constant—the graph approaches a horizontal line. A slant asymptote occurs when the function approaches a non-horizontal line, typically when the numerator's polynomial degree is exactly one more than the denominator's. You can find slant asymptotes using polynomial long division or L'Hopital's Rule.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18