Those two rules handle most homework problems. The rest of this page explains why they work, so the exceptions stop being surprises: holes, graphs that cross their own asymptote, slanted asymptotes, and functions that are not rational.
What are vertical and horizontal asymptotes?
A vertical asymptote is a line that the graph approaches while the outputs grow without bound. A horizontal asymptote is a line that the graph settles toward as runs off to the far right or far left. In limit language:
The two answer different questions. A vertical asymptote asks what happens to near one particular, finite -value. A horizontal asymptote asks what does when is enormous. That is why a graph can have many vertical asymptotes but, for a rational function, never more than one horizontal asymptote: there is only one “far right” and one “far left”, and a rational function behaves the same way at both ends.
For rational functions, every vertical asymptote is a number missing from the domain of the function. The reverse is not true, since some excluded numbers produce a hole instead. Section 3 covers how to tell them apart.
means approaches from the right (2.1, 2.01, 2.001, ...). means from the left (1.9, 1.99, 1.999, ...). The two sides can behave differently.
Quick check
Answer: They go to negative infinity
How do you find vertical asymptotes of a rational function?
Near a zero of the denominator, the top settles near some nonzero number while the bottom shrinks toward . A fixed number divided by something tiny is huge, and that is the whole reason for the spike. If the numerator is also zero at that point, the argument fails, which is why cancelling comes first.
- Factor the numerator and denominator completely.
- Cancel any factor that appears in both (see simplifying rational expressions).
- Set each remaining denominator factor equal to zero and solve.
Example 1. Find the vertical asymptotes of .
The denominator factors as , and nothing cancels with . Setting each factor to zero gives and . The numerator is at and at , both nonzero, so both lines are vertical asymptotes. The sign tells you which way the graph goes: just right of , the top is , is a small positive number and is near , so . Just left of , is a small negative number, so .
When the denominator will not factor, the zeros still exist. For , the quadratic formula gives , so those are the asymptotes.
The graph of shoots to on both sides of , while flips from to . An even power keeps the sign, an odd power reverses it.
Vertical asymptote or hole: how can you tell?
A hole is a single missing point; an asymptote is a wall. If a factor appears in both the numerator and the denominator, the function equals the simpler cancelled version everywhere except at . At that one point the original is undefined, but nearby the outputs stay finite, so the graph shows an open circle (a hole) rather than a spike.
Example 2. Find all vertical asymptotes and holes of .
Factor both parts:
The factor cancels, so is a hole. Its height comes from the simplified function: , so the hole sits at . The factor does not cancel, so is the vertical asymptote. The degrees are equal, so the horizontal asymptote is .
The trap that costs the most points here is cancelling terms instead of factors. In you cannot cross out the ‘s or the ‘s. Factor first, then cancel. The same factor-and-cancel habit powers multiplying and dividing rational expressions.
How do you find horizontal asymptotes?
The rule comes from one idea: when is huge, only the highest powers matter. Divide the top and bottom by the highest power of in the denominator, and every leftover term with in its denominator vanishes:
Call the degree of the numerator and the degree of the denominator . That one trick produces all three cases:
| Comparison | Horizontal asymptote |
|---|---|
| (leading coefficients) | |
| none |
When , the bottom outgrows the top, so the quotient is crushed toward zero. When , the top wins and the quotient grows without limit, so there is no finite value to settle on. Compare degrees, not the number of terms: has two terms below and one above, but equal degrees give .
Horizontal asymptotes with negatives and fractions
Negative and fractional leading coefficients follow the same rule, but the coefficient has to be read with its sign and from the highest power, wherever that term sits. Functions written out of order are a classic trap.
Example 3. Find all asymptotes of .
The highest power on top is , even though is written first. The highest power on the bottom is . The degrees are equal, so
For the vertical asymptotes, factor the denominator: , with zeros and . The numerator is at and at , so neither cancels. The asymptotes are , and .
If a function arrives as a sum, combine it before reading off degrees. For instance, becomes after adding rational expressions, which shows asymptotes at , and at a glance.
Quick check
Answer:
Can a graph cross a horizontal asymptote?
Yes, and many textbooks bury this. A horizontal asymptote is a statement about the far ends of the graph, not a barrier. In the middle, the graph can wander across the line, even several times, before it eventually settles.
Take . Its horizontal asymptote is . To see whether the graph ever hits that height, solve :
At , the numerator is and the denominator is , a ratio of exactly . So the graph crosses its own asymptote once, then drifts back toward it as .
A vertical asymptote is different. At the function is undefined, so the graph has no point there to cross with.
Try this: Find where crosses its horizontal asymptote. Find the asymptote first, set equal to it, and you should land on .
Slant asymptotes when the degrees do not fit
When the numerator’s degree is exactly one more than the denominator’s, there is no horizontal asymptote. The graph follows a tilted line instead, called a slant asymptote. Polynomial division finds it: the quotient is the line, and the remainder term is what fades away.
Example 4. Find the slant and vertical asymptotes of .
Divide by . The quotient is and the remainder is , since and . Therefore
As , the fraction shrinks to , leaving the line in slope-intercept form. The denominator gives the vertical asymptote .
Splitting a fraction into a polynomial plus a proper fraction is also the first step of partial fraction decomposition. A function can have a horizontal or a slant asymptote, never both. If the numerator’s degree is two or more above the denominator’s, the end behavior follows a curve like a parabola, and there is no line to name.
Asymptotes of exponential, log and trig functions
Asymptotes are not exclusive to fractions. The same two ideas (blow-up at a finite , level-off at infinity) apply to any function, though the “at most one horizontal asymptote” rule no longer holds.
- : as , , so is a horizontal asymptote on the left. The right side grows without limit.
- : levels off at on the right and on the left, so it has two.
- : for it tends to . For , , so it tends to .
- : as the output drops to , so is a vertical asymptote.
The logarithm case is worth understanding rather than memorizing. A log is only defined for positive inputs, and the logarithm rules show why of a tiny positive number is a large negative one. Similarly, has vertical asymptotes wherever , which is for any integer .
Quick check
Answer:
Where asymptotes show up in real problems
Asymptotes describe limits of real quantities. A business with a fixed cost of $500 and a cost of $2 per item has an average cost per item of
The horizontal asymptote is : no matter how many items are made, the average cost never drops below the $2 per-item cost, and it only creeps toward it. At the average is $7, and at it is $2.50. The vertical asymptote at reflects that spreading $500 over almost no items is absurdly expensive.
The same shape appears in drug concentration models (the concentration of a dose in the blood tends toward ), in travel time (time blows up as speed ), and in terminal velocity, where speed levels off at a horizontal asymptote. In calculus, these ideas return as limits at infinity and infinite limits, and the work you do here carries over unchanged.
How to check your asymptotes in thirty seconds
Plug in numbers. For a vertical asymptote at , test and confirm the output is huge. For Example 1, , which fits an asymptote at . For a horizontal asymptote, test a large such as . For Example 3, , close to and creeping toward it.
Then run three sanity checks. A vertical asymptote should never also be an where the function has a finite value, so confirm your cancelling was done on factors. A rational function should have one horizontal or slant asymptote at most, and none if the numerator’s degree is two or more higher. And if a denominator has no real zeros, such as , expect no vertical asymptote at all.
Practice problems
0 of 5 solved
- Find the vertical and horizontal asymptotes of .
Answer:
The denominator is zero at and the numerator is the constant , so is a vertical asymptote. The numerator has degree , which is less than the denominator's degree . So the horizontal asymptote is . - Find the vertical and horizontal asymptotes of .
Answer:
Set to get . The numerator is there, not , so it is a vertical asymptote. Both degrees are , so the horizontal asymptote is . - Find all asymptotes and any hole of .
Answer: VA: x = -2; HA: y = 1; hole at (1, 2/3)
Factor: . The factor cancels, leaving and a hole at , where the value is . The remaining denominator gives as the vertical asymptote. The degrees are equal, so . - Find the vertical and horizontal asymptotes of .
Answer: VA: x = -3/2 and x = 1; HA: y = -1/2
Factor the denominator: . The zeros are and , and the numerator is nonzero at both. The degrees are equal, so the horizontal asymptote is the ratio of leading coefficients, . - Find the slant asymptote and vertical asymptote of .
Answer: Slant: y = 2x - 7; VA: x = -2
Divide by . The quotient is with remainder , so . The remainder term fades as , so the slant asymptote is . The denominator gives as the vertical asymptote.
Common questions
How do you find vertical and horizontal asymptotes?
For vertical asymptotes, factor and cancel, then set the remaining denominator factors equal to zero. For the horizontal asymptote, compare the degrees of the numerator and denominator: smaller gives , equal gives the ratio of leading coefficients, larger gives none.
Can a function have more than one horizontal asymptote?
A rational function has at most one. Functions like or can have two, one for and a different one for .
What is the difference between a hole and a vertical asymptote?
Both come from a zero of the denominator. If the factor cancels with the numerator, the graph has a hole. If it survives after cancelling, the graph has a vertical asymptote.
Can a graph cross a horizontal asymptote?
Yes. A horizontal asymptote only describes behavior far from the origin, so the graph can cross it any number of times in the middle. A graph can never cross a vertical asymptote, because the function is undefined there.
Why is there no horizontal asymptote when the numerator has a higher degree?
The top grows faster than the bottom, so the quotient keeps growing instead of settling on a value. If the numerator's degree is exactly one higher, the graph follows a slanted line instead.
Do all rational functions have vertical asymptotes?
No. If the denominator has no real zeros, as in , there is no vertical asymptote. If every zero cancels, only holes remain.