Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
1.1 Tables and graphs
1.2 Analytical limits
1.3 Algebraic limits
1.4 Limits and infinity
1.4.1 Vertical asymptotes
1.4.2 Horizontal asymptotes
1.5 Special limits
1.6 Continuity
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
Wrapping up
Achievable logoAchievable logo
1.4.1 Vertical asymptotes
Achievable AP Calculus AB
1. Limits
1.4. Limits and infinity
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Vertical asymptotes

5 min read
Font
Discuss
Share
Feedback

What you’ll learn

  • Infinite limits: Evaluate limits that increase or decrease without bound at vertical asymptotes.

A vertical asymptote occurs at x=a when f(x) approaches +∞ or −∞ from one or both sides of a. This is often described using one-sided limits:

x→a−lim​f(x)=±∞

 or 

x→a+lim​f(x)=±∞

Limits that approach ±∞ are called infinite limits. These commonly appear when evaluating one-sided limits of rational functions, though they can also occur with trigonometric and logarithmic ones.

Vertical asymptote:

If direct substitution of x=a into a rational function yields the form

0c​ ,c=0

then x→alim​f(x)=±∞, and the function has a vertical asymptote at x=a.

Examples

Evaluate

x→2−lim​x−21​

(spoiler)

Direct substitution gives 01​, which suggests a vertical asymptote at x=2.

The simplest way to evaluate the left-hand limit of this rational expression is to plug in values close to but less than 2.

Using values like 1.9,1.99,1.999, etc. the denominator (x−2) stays negative but gets closer to 0.

As a result, x−21​ becomes a large negative number and

x→2−lim​x−21​=−∞​

This behavior can be confirmed with either its graph or a table:

x x−21​
1.9 −10
1.99 −100
1.999 −1000
1.9999 −10000

A similar analysis can be made for trigonometric functions.

Evaluate

x→2π​+lim​cos(x)x​

(spoiler)

Direct substitution results in 0π/2​, which suggests x=2π​ is a vertical asymptote.

As x approaches 2π​ from the right, cos(x) is negative and approaching 0. Since the denominator becomes smaller in magnitude (−0.1,−0.01,−0.001, etc.), the fraction as a whole becomes increasingly negative.

Therefore

x→2π​+lim​cos(x)x​=−∞​

Asymptotes vs. holes

Limits can also be used to distinguish between vertical asymptotes and holes, also called removable discontinuities.

In both cases, f(a) is undefined. However, for a hole, x→alim​f(x) exists and is finite.

Removable discontinuity:

If direct substitution of x=a into a rational function yields the indeterminate form

00​

and the common factor (x−a) can be algebraically canceled from the numerator and denominator, then the function has a hole at x=a.

  • To find the y-coordinate of the hole, evaluate the limit of the simplified function as x→a.

Example

Identify any vertical asymptotes and holes of the following functions.

a) y=x2−3x+2x−1​

b) y=x2−4x+4x2−7x+10​

Answers

(spoiler)

a) VA: x=2, hole: x=1
b) VA: x=2, hole: none

Solutions

a) y=x2−3x+2x−1​

(spoiler)

1. Find where the function is undefined.

A rational function is undefined when its denominator is 0:

x2−3x+2=0(x−1)(x−2)=0x=1,2

Next, check what happens at each value.

2. Test x=1:

Substituting into the original function gives 00​.

Compute the limit by factoring and canceling:

x→1lim​x2−3x+2x−1​=x→1lim​(x−1)​(x−2)(x−1)​​=x→1lim​x−21​=−1

Conclusion: Hole at (1,−1)

Although f(1) is still undefined, the function approaches −1 as x approaches 1.

3. Test x=2:

Direct substitution gives 01​, which indicates that x→2lim​f(x)=±∞.

Conclusion: Vertical asymptote at x=2.

In fact, after factoring and simplifying the function, its graph behaves like the simplified expression x−21​.

b) y=x2−4x+4x2−7x+10​

(spoiler)

Find where the function is undefined by setting the denominator equal to 0:

x2−4x+4=0(x−2)2=0x=2

Direct substitution of x=2 gives 00​. Evaluate the limit by factoring and canceling:

x→2lim​x2−4x+4x2−7x+10​=x→2lim​(x−2)​(x−2)(x−2)​(x−5)​=x→2lim​x−2x−5​=0−3​

Conclusion: Because the simplified form still results in a non-zero constant over zero, the limit does not exist. There is a vertical asymptote at x=2 (not a hole).

Challenge problem

If the graph of

y=3x2+bx+2x−1​

has a removable discontinuity at x=1 and only one vertical asymptote, find the value of b.

(spoiler)

1. Use the condition for the hole:

For a hole to exist at x=1, direct substitution must yield 00​. Therefore, the denominator must equal 0 when x=1:

3(1)2+b(1)+2=03+b+2=0b=−5

2. Verify the vertical asymptote condition:

Substitute b=−5 back into the original equation and factor:

y=3x2+bx+2x−1​=(x−1)(3x−2)x−1​

The (x−1) factors cancel, confirming the hole at x=1. The remaining factor in the denominator yields exactly one vertical asymptote at x=32​.

Infinite limits

  • Function grows without bound as x approaches a finite value → vertical asymptote at x = a
  • “Constant over zero” (c/0, c ≠ 0): not indeterminate, indicates vertical asymptote
  • Evaluate one-sided limits by testing values close to a from the appropriate direction

Vertical asymptotes vs. removable discontinuities

  • Vertical asymptote: direct substitution gives c/0 (c ≠ 0) → limit does not exist
  • Removable discontinuity (hole): direct substitution gives 0/0, but a common factor cancels and the limit exists as a finite value
  • 0/0 alone is insufficient — must factor to determine which type of discontinuity

Identifying asymptotes in rational functions

  • Set denominator = 0 to find candidate x-values
  • Test each candidate: factor and simplify to check if discontinuity is a hole or asymptote
  • After canceling, if the simplified expression still gives c/0, a vertical asymptote remains

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Vertical asymptotes

What you’ll learn

  • Infinite limits: Evaluate limits that increase or decrease without bound at vertical asymptotes.

A vertical asymptote occurs at x=a when f(x) approaches +∞ or −∞ from one or both sides of a. This is often described using one-sided limits:

x→a−lim​f(x)=±∞

 or 

x→a+lim​f(x)=±∞

Limits that approach ±∞ are called infinite limits. These commonly appear when evaluating one-sided limits of rational functions, though they can also occur with trigonometric and logarithmic ones.

Vertical asymptote:

If direct substitution of x=a into a rational function yields the form

0c​ ,c=0

then x→alim​f(x)=±∞, and the function has a vertical asymptote at x=a.

Examples

Evaluate

x→2−lim​x−21​

(spoiler)

Direct substitution gives 01​, which suggests a vertical asymptote at x=2.

The simplest way to evaluate the left-hand limit of this rational expression is to plug in values close to but less than 2.

Using values like 1.9,1.99,1.999, etc. the denominator (x−2) stays negative but gets closer to 0.

As a result, x−21​ becomes a large negative number and

x→2−lim​x−21​=−∞​

This behavior can be confirmed with either its graph or a table:

x x−21​
1.9 −10
1.99 −100
1.999 −1000
1.9999 −10000

A similar analysis can be made for trigonometric functions.

Evaluate

x→2π​+lim​cos(x)x​

(spoiler)

Direct substitution results in 0π/2​, which suggests x=2π​ is a vertical asymptote.

As x approaches 2π​ from the right, cos(x) is negative and approaching 0. Since the denominator becomes smaller in magnitude (−0.1,−0.01,−0.001, etc.), the fraction as a whole becomes increasingly negative.

Therefore

x→2π​+lim​cos(x)x​=−∞​

Asymptotes vs. holes

Limits can also be used to distinguish between vertical asymptotes and holes, also called removable discontinuities.

In both cases, f(a) is undefined. However, for a hole, x→alim​f(x) exists and is finite.

Removable discontinuity:

If direct substitution of x=a into a rational function yields the indeterminate form

00​

and the common factor (x−a) can be algebraically canceled from the numerator and denominator, then the function has a hole at x=a.

  • To find the y-coordinate of the hole, evaluate the limit of the simplified function as x→a.

Example

Identify any vertical asymptotes and holes of the following functions.

a) y=x2−3x+2x−1​

b) y=x2−4x+4x2−7x+10​

Answers

(spoiler)

a) VA: x=2, hole: x=1
b) VA: x=2, hole: none

Solutions

a) y=x2−3x+2x−1​

(spoiler)

1. Find where the function is undefined.

A rational function is undefined when its denominator is 0:

x2−3x+2=0(x−1)(x−2)=0x=1,2

Next, check what happens at each value.

2. Test x=1:

Substituting into the original function gives 00​.

Compute the limit by factoring and canceling:

x→1lim​x2−3x+2x−1​=x→1lim​(x−1)​(x−2)(x−1)​​=x→1lim​x−21​=−1

Conclusion: Hole at (1,−1)

Although f(1) is still undefined, the function approaches −1 as x approaches 1.

3. Test x=2:

Direct substitution gives 01​, which indicates that x→2lim​f(x)=±∞.

Conclusion: Vertical asymptote at x=2.

In fact, after factoring and simplifying the function, its graph behaves like the simplified expression x−21​.

b) y=x2−4x+4x2−7x+10​

(spoiler)

Find where the function is undefined by setting the denominator equal to 0:

x2−4x+4=0(x−2)2=0x=2

Direct substitution of x=2 gives 00​. Evaluate the limit by factoring and canceling:

x→2lim​x2−4x+4x2−7x+10​=x→2lim​(x−2)​(x−2)(x−2)​(x−5)​=x→2lim​x−2x−5​=0−3​

Conclusion: Because the simplified form still results in a non-zero constant over zero, the limit does not exist. There is a vertical asymptote at x=2 (not a hole).

Challenge problem

If the graph of

y=3x2+bx+2x−1​

has a removable discontinuity at x=1 and only one vertical asymptote, find the value of b.

(spoiler)

1. Use the condition for the hole:

For a hole to exist at x=1, direct substitution must yield 00​. Therefore, the denominator must equal 0 when x=1:

3(1)2+b(1)+2=03+b+2=0b=−5

2. Verify the vertical asymptote condition:

Substitute b=−5 back into the original equation and factor:

y=3x2+bx+2x−1​=(x−1)(3x−2)x−1​

The (x−1) factors cancel, confirming the hole at x=1. The remaining factor in the denominator yields exactly one vertical asymptote at x=32​.

Key points

Infinite limits

  • Function grows without bound as x approaches a finite value → vertical asymptote at x = a
  • “Constant over zero” (c/0, c ≠ 0): not indeterminate, indicates vertical asymptote
  • Evaluate one-sided limits by testing values close to a from the appropriate direction

Vertical asymptotes vs. removable discontinuities

  • Vertical asymptote: direct substitution gives c/0 (c ≠ 0) → limit does not exist
  • Removable discontinuity (hole): direct substitution gives 0/0, but a common factor cancels and the limit exists as a finite value
  • 0/0 alone is insufficient — must factor to determine which type of discontinuity

Identifying asymptotes in rational functions

  • Set denominator = 0 to find candidate x-values
  • Test each candidate: factor and simplify to check if discontinuity is a hole or asymptote
  • After canceling, if the simplified expression still gives c/0, a vertical asymptote remains

More from Limits and infinity

  • Horizontal asymptotes