Skip to main content
Mathovia

Algebra / Common Graphs

Vertical Asymptotes: How to Find Them and What They Mean

A vertical asymptote is a line the graph runs alongside forever without ever touching. Finding one is a four-step routine, but two details decide most exam marks: a denominator zero that cancels gives a hole rather than an asymptote, and the power of the surviving factor decides whether the two sides shoot the same way or opposite ways. This lesson covers both, plus the one-sided behaviour and why a graph can never cross a vertical asymptote.

Written by
Zohaib
Founder & Mathematics Content Creator
Updated

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication.

Most features of a graph are places the curve is. A vertical asymptote is the opposite — a line the curve is permanently forbidden from touching, defined entirely by where the function fails to exist.

Condition for a vertical asymptote
A vertical asymptote sits where the denominator vanishes

What Is a Vertical Asymptote?

A vertical asymptote is a vertical line that the graph approaches without ever reaching. Get close to from either side and the output grows without bound.

The graph of y equals one over x minus two, with a dashed vertical line at x equals 2 that the curve races along, going to positive infinity on one side and negative infinity on the other
Approach from the right and the curve climbs; from the left it plunges.

Take and creep toward from the right:

2.110
2.01100
2.0011000
2.000110 000

The gap on the bottom shrinks, so the fraction explodes. From the left the same thing happens with a negative sign, plunging to .

The graph never crosses it. The function is undefined at , so there is simply no point to plot. This is the sharp difference from a horizontal asymptote, which a rational function may cross freely in the middle of its domain.

How to Find Vertical Asymptotes: Four Steps

A four-step list: factor top and bottom, cancel common factors, set what is left on the bottom to zero, and each remaining solution is a vertical asymptote
Step 2 is the one that gets skipped — and it is the one that matters.
  1. Factor the numerator and the denominator completely.
  2. Cancel any factor common to both.
  3. Set what is left on the bottom to zero.
  4. Each solution is a vertical asymptote.

Step 2 is where marks are lost. Setting the original denominator to zero finds the right -values but misclassifies them — some are holes, not asymptotes.

For : the bottom factors to , nothing cancels, so the vertical asymptotes are and .

Hole or Asymptote?

Both come from a zero denominator, and telling them apart is the single most examined idea in this topic.

A graph with a vertical asymptote at x equals negative 2 and an open-circle hole at x equals 1, from the function (x minus 1) over (x minus 1)(x plus 2)
The cancelled factor leaves a hole; the surviving one leaves an asymptote.

  • cancels → a hole at .
  • survives → a vertical asymptote at .
HoleVertical asymptote
Factorcancelsdoes not cancel
On the graphone missing pointcurve runs to infinity
Drawn asopen circledashed vertical line
Nearby outputsperfectly ordinarygrow without bound
In the domain?nono

Both are excluded from the domain — that part is identical. What differs is what the graph does around them.

To find a hole’s height, cancel first and substitute into what remains: here .

Which Way Does Each Side Go?

Knowing an asymptote is at does not tell you whether the curve goes up or down on each side. The power of the surviving factor decides.

Two asymptotes compared: one from an odd-power factor where the sides go opposite ways, and one from an even-power factor where both sides go the same way
An even power sends both sides the same direction.
  • Odd power — the factor changes sign as you pass through, so the two sides go opposite ways. drops to on the left and climbs to on the right.
  • Even power — the factor stays positive on both sides, so both go the same way. goes to from both directions.

If you would rather not reason about parity, just test a point either side. Substitute a value slightly below and slightly above the asymptote and check the sign of the result. That is quicker than it sounds and never misleads.

More Than One

Each distinct uncancelled zero gets its own asymptote.

The graph of y equals one over (x minus 2)(x plus 2), with vertical asymptotes at x equals 2 and x equals negative 2 and three separate branches
Two asymptotes cut the plane into three regions, one branch in each.

For there are asymptotes at and , and the curve splits into three separate branches. In general, vertical asymptotes produce regions.

Vertical Asymptotes Beyond Rational Functions

Rational functions are the usual source, but not the only one:

  • Logarithms. has a vertical asymptote at ; the argument of a log must stay strictly positive.
  • Tangent. has one at every odd multiple of , where its cosine denominator hits zero — infinitely many.
  • Any function whose output grows without bound near a particular input, whatever the reason.

Worked Example A: Straightforward

Find the vertical asymptotes of .

Nothing to cancel; gives . One asymptote, .

Worked Example B: Two of Them

Find the vertical asymptotes of .

The numerator shares nothing with either factor, so both survive: and .

Worked Example C: One Cancels

Find the vertical asymptotes of .

cancels, so is a hole, not an asymptote. The only vertical asymptote is .

The hole’s height is .

Worked Example D: One-Sided Behaviour

Describe the behaviour of near its asymptote.

The asymptote is , from a factor to an even power, so both sides behave the same.

Test either side: and . Both go to .

Worked Example E: Reading a Domain Back

A function has domain all reals except and , with a hole at . Where is its vertical asymptote?

At . Both values are excluded from the domain, but only the one that is not a hole produces an asymptote.

This is the useful reverse test: every asymptote is a domain exclusion, but not every domain exclusion is an asymptote.

Common Mistakes to Avoid

  • Skipping the cancelling step. It is what separates holes from asymptotes.
  • Thinking a graph can cross one. It cannot — the function does not exist there.
  • Assuming both sides go the same way. Odd powers send them opposite ways.
  • Using the numerator. Only the denominator produces vertical asymptotes.
  • Forgetting the second solution. is zero at two values, not one.
  • Calling a hole an asymptote. A hole has perfectly ordinary values on either side.
  • Assuming only fractions have them. Logarithms and tangent do too.

Where Vertical Asymptotes Lead Next

  • Graphing rational functions. The asymptotes are the scaffolding you draw first — see rational functions.
  • Limits. “The output grows without bound as approaches ” is an infinite limit, written .
  • Rational inequalities. Asymptotes and intercepts split the number line into the regions you test.
  • Curve sketching in calculus. Asymptotes, turning points and inflection points together fix the shape.
  • Physical limits. Time against speed for a fixed distance has an asymptote at zero speed, which is the model saying “you never arrive”.

Practice Problems

Work each one before opening the answer.

Problem 1. Find the vertical asymptote of .

Show answer

.

Problem 2. Find the vertical asymptote of .

Show answer

.

Problem 3. Find the vertical asymptotes of .

Show answer

gives and .

Problem 4. Does have a vertical asymptote at ?

Show answer

No. The factor cancels, leaving with a hole at .

Problem 5. Find the vertical asymptotes of .

Show answer

cancels, so a hole at . The only asymptote is .

Problem 6. How many vertical asymptotes does have?

Show answer

None. is never zero for real .

Problem 7. Which way do the two sides of go?

Show answer

Both to — the factor is to an even power.

Problem 8. Which way do the two sides of go?

Show answer

Opposite ways: from the left, from the right.

Problem 9. Find the height of the hole in .

Show answer

It simplifies to , so the hole is at .

Problem 10. Find the vertical asymptotes of .

Show answer

, and nothing cancels, so and .

Problem 11. State the domain of .

Show answer

All reals except 1 and : .

Problem 12. A function is undefined at and , and its graph has an open circle at . Where is the vertical asymptote?

Show answer

At . The open circle marks as a hole.

Quick Reference

TaskMethod
Definitiona line the graph approaches but never meets
Step 1factor top and bottom
Step 2cancel common factors
Step 3set the remaining denominator to zero
Cancelled factora hole, not an asymptote
Odd powerthe two sides go opposite ways
Even powerboth sides go the same way
Crossing itnever possible
How manyone per distinct uncancelled zero
Also found inlogarithms, tangent

Vertical asymptotes are the defining feature of rational functions, and finding them depends on the cancelling step from simplifying rational expressions. Every asymptote is also a domain exclusion, though the reverse is not true. To drill the factoring and cancelling, try the simplifying rational expressions practice problems. More Algebra lessons are available.

Frequently Asked Questions

What is a vertical asymptote?+

It is a vertical line that the graph approaches without ever reaching. As gets close to , the output grows without bound in the positive or negative direction.

How do you find vertical asymptotes?+

Factor the numerator and denominator, cancel any common factors, then set what remains in the denominator equal to zero. Each solution gives a vertical asymptote.

Why does a graph never cross a vertical asymptote?+

Because the function is undefined at that -value — the denominator is zero there, so no output exists and there is no point to plot. Horizontal asymptotes are different and can be crossed.

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

Both come from a zero denominator. If the factor cancels with one in the numerator you get a hole — one missing point on an otherwise normal graph. If it does not cancel, you get an asymptote and the curve runs off to infinity.

Can a function have more than one vertical asymptote?+

Yes. Each distinct uncancelled zero of the denominator gives its own asymptote, so a denominator like produces two, and a function can have any number of them.

Do both sides of a vertical asymptote always go the same direction?+

No — it depends on the power of the factor. An odd power sends the two sides in opposite directions, one to and one to . An even power sends both the same way.

Do only rational functions have vertical asymptotes?+

No. Logarithms have one where their argument reaches zero, and the tangent function has infinitely many. Any function whose output grows without bound near a particular input has one there.

Related lessons