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

Finding the asymptotes of a function

An asymptote is a line that a graph gets closer and closer to without settling on it. For a rational function, factor first. A zero of the denominator that does not cancel is a vertical asymptote. Compare the degrees of the top and bottom to find the horizontal or oblique one.

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
Which asymptote a rational function has, by degrees
Degree of top compared with bottomHorizontal asymptoteOblique asymptoteExample
Top is lowery = 0None3 over (x squared + 1)
Same degreey = ratio of the leading coefficientsNone(2x squared + 1) over (x squared minus 4) gives y = 2
Top is one higherNoneThe quotient of the division(x squared + 3x + 1) over (x minus 2) gives y = x + 5
Top is two or more higherNoneNone, though the graph rises without boundx cubed over (x minus 1)

The degree is the highest power of x. Take the rules after you have cancelled common factors, because a cancelled factor leaves a hole, not an asymptote.

Standard rules for rational functions, as in OpenStax Precalculus 2e, restated by us

What is a vertical asymptote?

It is a vertical line x = a where the function grows without bound as x approaches a. For a rational function, look for values that make the denominator zero. Check the numerator at the same value. If the numerator is not zero there, the line x = a is a vertical asymptote. If the numerator is also zero, the factor cancels and you may have a hole instead.

Take (x squared minus 1) over (x minus 1). The top factors as (x minus 1)(x plus 1), so the graph is the line y = x plus 1 with a hole at x = 1, where the point (1, 2) is missing. No asymptote appears. By contrast, 1 over (x minus 1) does have a vertical asymptote at x = 1, since the top stays at 1.

What is a horizontal asymptote?

It describes what the graph does as x gets very large in either direction. Compare the degrees. If the bottom has the higher degree, the values shrink toward 0, so y = 0. If the degrees match, the function settles near the ratio of the leading coefficients. If the top has a higher degree, no horizontal asymptote exists.

A graph may cross its horizontal asymptote in the middle, at moderate values of x. The line only describes the far ends.

How do you find an oblique asymptote?

It exists when the top's degree exceeds the bottom's by exactly one. Divide the top by the bottom. The quotient, which is a line, is the asymptote, and the remainder part shrinks away for large x.

Worked example. Find all the asymptotes of f(x) = (x squared + 3x + 1) over (x minus 2).

  1. The bottom is zero at x = 2. The top there is 4 + 6 + 1, which is 11, not zero. So x = 2 is a vertical asymptote.
  2. The top has degree 2 and the bottom degree 1, one higher, so there is no horizontal asymptote and we look for an oblique one.
  3. Divide: x squared + 3x + 1 equals (x minus 2)(x + 5) + 11. Check: (x minus 2)(x + 5) is x squared + 3x minus 10, and adding 11 returns x squared + 3x + 1.
  4. So f(x) = x + 5 + 11 over (x minus 2). For large x the fraction vanishes, so the graph follows y = x + 5.

Answer: a vertical asymptote at x = 2 and an oblique asymptote y = x + 5. For the slant case in more depth, read the slant asymptotes guide.

How do you work a typical two-sided case?

Take g(x) = (2x squared + 1) over (x squared minus 4). Factor the bottom as (x minus 2)(x + 2). Neither factor cancels with the top, which is never zero, so both x = 2 and x = minus 2 are vertical asymptotes. The degrees match, and the leading coefficients are 2 and 1, so the horizontal asymptote is y = 2. To check, test a large x such as 100: the top is 20001, the bottom is 9996, and the ratio is about 2.001.

How do the one-sided limits show an asymptote?

Near a vertical asymptote, check which way the function goes on each side. For 1 over (x minus 1), values just above 1 are large and positive, and values just below 1 are large and negative. Writing the two one-sided limits is how a calculus class proves the asymptote, and the signs tell you how the graph sits on each side.

What mistakes should you watch for?

  • Calling every zero of the denominator an asymptote without checking for cancellation.
  • Looking for an oblique asymptote when the degrees are equal.
  • Saying the graph can never touch the horizontal asymptote. It can cross it, just not at the far ends.
  • Dropping the remainder step in the division and reading the wrong line.

Asymptote questions test limits and graph reading, so check your own exam's official outline for them. The study planner can set your weekly hours, and a tutor can drill rational functions with you on the math tutoring page.

Common questions

How do you find a vertical asymptote?

Factor the function, cancel common factors, and set the remaining denominator to zero. Each solution is a vertical asymptote.

When is there a horizontal asymptote?

When the top's degree is less than or equal to the bottom's. It is y = 0 if the top is lower, and the ratio of leading coefficients if the degrees match.

What is the difference between a hole and an asymptote?

A hole is a single missing point where a factor cancelled. An asymptote is a line the graph approaches without bound.

Can a function have both horizontal and oblique asymptotes?

Not in the same direction. A rational function has one or the other, as the degrees decide.

Sources