Skip to content
One hour with George, then a written plan the next working day. Book yours.

How many horizontal asymptotes

A function can have at most two horizontal asymptotes. A horizontal asymptote describes where the graph settles as x runs off to the far right or to the far left, and a graph has only two ends. So the possible counts are zero, one or two, and a polynomial of degree 1 or more has none.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
Six functions and their horizontal asymptotes
FunctionValue at the left endValue at the right endHorizontal asymptotes
f(x) = x squared + 1grows without boundgrows without boundnone
f(x) = (2 to the power x) - 4approaches -4grows without boundone: y = -4
f(x) = (2x squared + 1) / (x squared + 3)approaches 2approaches 2one: y = 2
f(x) = 1 / (1 + e to the power -x)approaches 0approaches 1two: y = 0 and y = 1
f(x) = arctan xapproaches -pi/2, about -1.5708approaches pi/2, about 1.5708two: y = -pi/2 and y = pi/2
f(x) = x / (square root of (x squared + 1))approaches -1approaches 1two: y = -1 and y = 1

Right end means x grows without bound, left end means x falls without bound.

Limits taken from the standard results of the calculus textbook cited above; the values were checked by evaluating each function at x = 1,000 and x = -1,000 and beyond in code

What is the definition, and why does it cap the count at two?

The line y = k counts as a horizontal asymptote of f when the limit of f(x) as x goes to infinity is k, or the limit of f(x) as x goes to negative infinity is k. There are only two limits to test, one for each end of the x-axis. Each limit has at most one value, so each end contributes at most one horizontal asymptote. Two ends, two possible lines. If both ends settle at the same value, as for (2x squared + 1) / (x squared + 3), the two ends give the same line and the function has one.

How does this compare with vertical asymptotes?

Vertical asymptotes are different because they come from trouble at a finite input, and a function can have trouble at many inputs. The tangent function has a vertical asymptote at every odd multiple of pi/2, which is infinitely many. A horizontal asymptote is about behavior at the ends, so it is capped by the number of ends.

Which functions have no, one or two?

  • No horizontal asymptote: polynomials of degree 1 or more, and any function whose values keep growing at both ends, because the values never settle.
  • One: most rational functions that have any. The numerator and denominator degrees decide: a degree lower on top gives y = 0, equal degrees give the ratio of leading coefficients, and a degree higher on top gives none. Because a rational function approaches the same value at both ends, it never has two. A basic exponential such as (2 to the power x) - 4 has one, at the end where the power fades toward 0.
  • Two: functions whose two ends settle at different values, such as arctan x, the logistic curve 1 / (1 + e to the power -x), and a fraction with a square root such as x / square root of (x squared + 1). In the last one the root of x squared is the absolute value of x, which is x on the right and -x on the left, and that sign change gives -1 on one side and 1 on the other.

Worked example: Finding both horizontal asymptotes of a root fraction

Find every horizontal asymptote of f(x) = x / (square root of (x squared + 1)).

  1. Right end: for large positive x, the square root of (x squared + 1) is very close to x. Divide top and bottom by x, which is positive: f(x) = 1 / (square root of (1 + 1/x squared)). As x grows, 1/x squared goes to 0, so f(x) goes to 1.
  2. Left end: for large negative x, the square root of (x squared + 1) is close to the positive number -x. Dividing top and bottom by x, which is negative, flips the sign of the root term, so f(x) = -1 / (square root of (1 + 1/x squared)). That goes to -1.
  3. Check numerically: f(1,000) is about 0.9999995 and f(-1,000) is about -0.9999995.

Answer: two horizontal asymptotes, y = 1 and y = -1.

Source: Original example by George Li Tutoring; the limit values were confirmed numerically at x = 1,000, x = -1,000, x = 1,000,000 and x = -1,000,000.

How is this used on an exam?

Calculus courses, including AP® Calculus, test limits at infinity and ask you to state the asymptotes. Do not assume a fraction has the same limit at both ends if it contains an even root or an absolute value, and when you are unsure, sketch the graph or test a large positive and a large negative input. For help with limits and asymptotes, see high school course tutoring, or book a first session. For slanted asymptotes, read slant asymptotes.

Common questions

Is it possible to have three horizontal asymptotes?

No. A horizontal asymptote comes from the limit as x goes to positive infinity or to negative infinity, so there are at most two.

Can a function cross its horizontal asymptote?

Yes. An asymptote describes the far ends of the graph, and the graph can cross the line at finite inputs before it settles.

Which functions have two horizontal asymptotes?

Functions whose two ends settle at different values, such as arctan x and the logistic function.

How many horizontal asymptotes does a rational function have?

At most one, because it approaches the same value as x goes to either end.

Sources