What is the difference between a vertical and a horizontal asymptote
A vertical asymptote occurs where the function grows without bound as x approaches a certain value, while a horizontal asymptote describes the value that the function approaches as x goes to infinity or minus infinity. Vertical asymptotes come from zeros of the denominator that are not canceled, and horizontal asymptotes depend on the relative degrees of numerator and denominator.
Algebra · Rational functions
Definition of vertical asymptote
A vertical asymptote is a line x = a that the graph approaches but never crosses as the function values become arbitrarily large in magnitude. It appears when the denominator of a rational function equals zero at x = a and the factor (x‑a) does not cancel with the numerator. For example, f(x)= has denominator zero at x=3, and because (x‑3) is not a factor of the numerator, the line x=3 is a vertical asymptote. Formally, \lim_{x\to3^-}f(x)=- and \lim_{x\to3^+}f(x)=+, and the graph never crosses the line x=3 but can approach it arbitrarily close.
Definition of horizontal asymptote
A horizontal asymptote is a line y = b that the graph approaches as x moves toward positive or negative infinity. Whether such a line exists depends on the degrees of the numerator (n) and denominator (m) of the rational function. If n < m, the horizontal asymptote is y = 0. If n = m, the asymptote is y = leading coefficient of numerator divided by leading coefficient of denominator. If n > m, there is no horizontal asymptote, only an oblique one. For instance, g(x)= has equal degrees, so its horizontal asymptote is y = . Formally, \lim_{x\to\infty}g(x)= and \lim_{x\to-}g(x)=, and the function may cross its horizontal asymptote at finite x values but settles toward it as |x| grows.
Key differences between vertical and horizontal asymptotes:
- Vertical asymptotes are vertical lines (x = a); horizontal asymptotes are horizontal lines (y = b).
- Vertical asymptotes arise from non‑canceled zeros of the denominator; horizontal asymptotes arise from degree comparison of numerator and denominator.
- Near a vertical asymptote the function magnitude grows without bound; near a horizontal asymptote the function values settle to a constant.
How to find each asymptote:
- 1Factor numerator and denominator completely.
- 2Cancel any common factors.
- 3For vertical asymptotes, set each remaining denominator factor equal to zero.
- 4For horizontal asymptotes, compare the highest powers of x in numerator and denominator and apply the degree rules.
Summary of horizontal asymptote cases based on degree:
| Degree relation | Horizontal asymptote |
|---|---|
| n < m | y = 0 |
| n = m | y = ratio of leading coefficients |
| n > m | none (oblique possible) |
Check yourself
Which condition guarantees a vertical asymptote for a rational function?
Get this as a lesson built for you
Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.
Try itNo account needed to try it.
What people ask next
- How do I find an oblique asymptote?Ask
- Can a rational function have both vertical and horizontal asymptotes?Ask
- What happens if a factor cancels completely?Ask
- how do you find a hole in a rational function
- what is an extraneous solution and why does it happen
- what is the difference between domain and range
- why can't you divide by zero
