Algebra

How to Find Asymptotes: Horizontal, Vertical, and Slant Step by Step

Every rational function has a story told by its asymptotes. Learn how vertical asymptotes come from the denominator's zeros, the degree-comparison rule for horizontal asymptotes, when a slant asymptote appears, how to tell a hole from a vertical asymptote, and how all three connect to limits — with worked examples for Algebra 2, AP Precalc, and Calc 1.

Frequently asked questions

How do you find the vertical asymptote of a rational function?

First cancel any factors common to the numerator and denominator. Then set the remaining denominator equal to zero and solve. Each solution x = a where the numerator is not zero is a vertical asymptote. For example, (x + 1)/(x − 2) has a vertical asymptote at x = 2.

What is the rule for horizontal asymptotes?

Compare the degrees of the numerator and denominator. If the numerator's degree is smaller, the asymptote is y = 0. If the degrees are equal, it is y = the ratio of the leading coefficients. If the numerator's degree is larger, there is no horizontal asymptote. For (3x² + 1)/(x² − 5), it is y = 3.

How do you find a slant asymptote?

A slant asymptote exists only when the numerator's degree is exactly one more than the denominator's. Divide using polynomial long division and ignore the remainder; the quotient is the line y = mx + b. For (x² + 1)/(x − 1), the quotient is x + 1 with remainder 2, so the slant asymptote is y = x + 1.

What is the difference between a hole and a vertical asymptote?

If a factor cancels from both the numerator and denominator, the graph has a hole at that x-value. If a denominator factor remains after canceling, there is a vertical asymptote. For (x² − 1)/(x − 1), the factor x − 1 cancels, so the graph is the line y = x + 1 with a hole at (1, 2).

Can a graph cross a horizontal asymptote?

Yes. A horizontal asymptote describes end behavior as x goes to ±∞, so the graph can cross it in the middle, sometimes more than once. The function y = x/(x² + 1) has the horizontal asymptote y = 0 and crosses it at x = 0. A graph can never cross a vertical asymptote, because the function is undefined there.

Try these solvers

Algebra10 min read

Domain and Range Explained: How to Find Them for Any Function

Domain and range describe every function's inputs and outputs. Learn systematic methods to find them for polynomials, rationals, radicals, and more.

Algebra11 min read

How to Solve Rational Equations: Step by Step

Master solving rational equations with the LCD method. This guide covers finding the LCD, clearing fractions, checking for extraneous solutions, and avoiding common mistakes with fully worked examples.

Algebra13 min read

How to Find x and y Intercepts: Lines, Quadratics, Rationals, Circles

Set y = 0 to find x-intercepts and x = 0 to find y-intercepts. Worked examples cover lines and special lines, quadratics with the discriminant as a count, a rational function with a hole, a circle with two y-intercepts, a thrown ball, and a summary table by equation type.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.