We can help you get into your dream school.

Start Magoosh SAT or Magoosh ACT Prep today!

Shaun Ault

Can a Function Have More than Two Horizontal Asymptotes?

The answer is no, a function cannot have more than two horizontal asymptotes. But let’s take some time to find out why.

Definition of Horizontal Asymptote

First of all, what is a horizontal asymptote anyway? A horizontal asymptote for a function is a horizontal line that the graph of the function approaches as x approaches ∞ (infinity) or -∞ (minus infinity). In other words, if y = k is a horizontal asymptote for the function y = f(x), then the values (y-coordinates) of f(x) get closer and closer to k as you trace the curve to the right (x→ ∞) or to the left (x→ -∞). For example, the graph shown below has two horizontal asymptotes, y = 2 (as x→ -∞), and y = -3 (as x→ ∞).


In fact, the mathematically precise definition for horizontal asymptotes involve limits. We say that y = k is a horizontal asymptote for the function y = f(x) if either of the two limit statements are true:


There are literally only two limits to look at, so that means there can only be at most two horizontal asymptotes for a given function.

Horizontal Asymptotes vs. Vertical Asymptotes

So how many horizontal asymptotes can a function have? You may know the answer for vertical asymptotes; a function may have any number of vertical asymptotes: none, one, two, three, 42, 6 billion, or even an infinite number of them! However the situation is much different when talking about horizontal asymptotes. By definition, there can be no more than two, one as you trace the curve to the left, and one as you trace the curve to the right. However a given function may have one or no asymptotes rather than two.

Graphs With No Horizontal Asymptotes

Many graphs do not have any horizontal asymptotes at all. For example, every polynomial function of degree at least 1 has no horizontal asymptotes. Instead of leveling off, the y-values simply increase or decrease without bound as x heads further to the left or to the right.


Single Horizontal Asymptotes

Some graphs have a single horizontal asymptote. This can happen when the graph levels off only towards the left or only towards the right. It also happens if the graph levels off in both directions but approaches the same y-coordinate. These situations are shown below.


On the left, the graph of a typical exponential function has one horizontal asymptote. You can see how the graph seems to get closer to the line y = -4 as x becomes more and more negative. In other words, as you trace your finger on the graph as far to the left as you can go, the y-coordinates seem to settle on the value -4.

The graph on the right shows a typical rational function. Tracing the graph either to the left or right, the y-coordinates approach a value of 1 in this example.

  • Useful fact about rational functions (fractions of polynomials): if a rational function has a horizontal asymptote at all, then it will have only one.

Multiple Horizontal Asymptotes

Ok, so what kinds of functions have two horizontal asymptotes? One important example is the arctangent function, f(x) = arctan x (also known as the inverse tangent function, f(x) = tan-1 x). As x→ ∞ the y-values approach π/2, and as x→ -∞, values approach -π/2. Thus, arctan x has two horizontal asymptotes, y = π/2 and y = -π/2.

Often when there is a radical involved as part of a fraction of two functions, then a second horizontal asymptote may appear. These are quite challenging to analyze simply from the expression of the function (you really need a good understanding of infinite limits to break these apart), so I recommend just looking at the graph whenever possible. Here’s an example.



A function can have zero, one, or two horizontal asymptotes, but no more than two.

Certain kinds of functions always have a specific number of asymptotes, so it pays to learn the classification of functions as polynomial, exponential, rational, and others. More challenging problems may require working out infinite limits or carefully graphing the function. A little knowledge goes a long way on the AP Calculus exam!

Improve your SAT or ACT score, guaranteed. Start your 1 Week Free Trial of Magoosh SAT Prep or your 1 Week Free Trial of Magoosh ACT Prep today!

magoosh logo checks

About Shaun Ault

Shaun earned his Ph. D. in mathematics from The Ohio State University in 2008 (Go Bucks!!). He received his BA in Mathematics with a minor in computer science from Oberlin College in 2002. In addition, Shaun earned a B. Mus. from the Oberlin Conservatory in the same year, with a major in music composition. Shaun still loves music -- almost as much as math! -- and he (thinks he) can play piano, guitar, and bass. Shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

4 Responses to “Can a Function Have More than Two Horizontal Asymptotes?”

  1. russell blake says:

    you use the example of y = arctan(x).

    ok, so the tan(x) function has an infinite number of vertical asymptotes.
    and arctan(x) is “just” the tan(x) function flipped onto the y-axis, no?

    for example 2 = arctan(tan(2)) … no?

    • Magoosh Test Prep Expert Magoosh Test Prep Expert says:

      Hi Russell!

      While the arctan function is the inverse of the tan function, y = arctan(x) does not have an infinite number of asymptotes. The domain of arctan(x) is all values of x (from negative infinity to positive infinity). On the other hand, the range of arctan(x) is limited -pi/2 < arctan(x) < pi/2. The two limits, -pi/2 and pi/2 are the two asymptotes of the function.

      The range reflects the "principle value" of the arctan relation. If we did not limit the range, then, as you have guessed, arctan(x) would appear as a "flipped" version of tan(x). However, the issue here is that arctan(x) would then have multiple values of y for a given value of x. Why does this pose a problem? Well, the definition of a function requires that each input (value of x) has a single output (value of y). In order for this to be true for arctan(x), the range of the function must be limited to the range I mention above. And this range results in two asymptotes for arctan(x): -pi/2 and pi/2 🙂

      I hope this helps! If you have further questions, feel free to leave another comment below my response. 🙂

  2. Shady. M says:

    For the function
    Y = ( sin x) / x
    Horizontal asymptote …..

    • Shaun Ault Shaun Ault says:

      Using the definition, we need to compute the limit of (sin x)/x as x goes to infinity (and minus infinity). Think about what happens as you plug in very large numbers. The range of sin(x) is between -1 and 1, while the x in the denominator can be as large as you like. The numerator is bounded, while the denominator is not. That implies that the limit will be 0. So y = 0 is the horizontal asymptote (and there is only one).

      Hope this helps!

Leave a Reply

Magoosh blog comment policy: To create the best experience for our readers, we will approve and respond to comments that are relevant to the article, general enough to be helpful to other students, concise, and well-written! :) If your comment was not approved, it likely did not adhere to these guidelines. If you are a Premium Magoosh student and would like more personalized service, you can use the Help tab on the Magoosh dashboard. Thanks!