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 Advanced algebraic limits
1.4 Limits and infinity
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
9. Testing details tag
Wrapping up
Achievable logoAchievable logo
1.4 Limits and infinity
Achievable AP Calculus AB
1. Limits
Our AP Calculus AB course is currently in development and is a work-in-progress.

Limits and infinity

9 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • How to evaluate limits approaching vertical asymptotes (infinite limits)
  • Evaluate limits at infinity (horizontal asymptotes)
  • Dominant term analysis for rational functions
  • Handling limits at infinity involving square roots

Infinite limits & vertical asymptotes

An infinite limit happens when a function grows without bound (toward +∞ or −∞) as the input x approaches a finite number.

We write this as

x→alim​f(x)=+∞

 or 

x→alim​f(x)=−∞

When you see an infinite limit, it usually means the graph is approaching a vertical asymptote. Many problems involve rational functions and one-sided limits, although trigonometric functions can also produce infinite limits.

Sidenote
Constant over zero

If direct substitution gives a non-zero constant in the numerator and 0 in the denominator, the result is not indeterminate. It signals a vertical asymptote at x=a.

Examples

  1. Evaluate

x→2lim​x−21​

Solution

Direct substitution gives 01​. That’s not an indeterminate form, and it tells us the function is undefined at x=2 (a vertical asymptote).

To decide whether the function goes to +∞ or −∞, look at the sign of the denominator on each side of 2.

Approaching from the left (x<2), the denominator x−2 is a small negative number, so x−21​ is a large negative number. A table confirms this:

x f(x)
1.9 −10
1.99 −100
1.999 −1000
1.9999 −10000
  • From the left:

As x→2−, f(x) decreases without bound, so

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

  • From the right:

Approaching from the right (x>2), the denominator x−2 is a small positive number, so x−21​ is a large positive number. Therefore,

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

Because the one-sided limits are different, the two-sided limit does not exist.

  1. Find the vertical asymptotes of y=x2−3x+2x−1​

Solution

(spoiler)

Answer: x=2 only​

A rational function is undefined where its denominator is 0, so start by solving

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

Now check what happens at each value.

  • At x=1, substituting into the original function gives 00​, which is indeterminate. That usually means a factor cancels, creating a hole rather than a vertical asymptote.

Compute the limit by factoring and canceling:

x→1lim​x2−3x+2x−1​

=x→1lim​Factor & cancel(x−1)​(x−2)​​(x−1)​​

=x→1lim​x−21​

=−1

So the function approaches −1 as x→1. The value f(1) is still undefined, but the graph has a hole at x=1, not an asymptote.

  • At x=2, substituting gives 01​, which indicates a vertical asymptote.

So the only vertical asymptote is x=2. The graph behaves like x−21​, except it also has a hole at x=1.

Limits at infinity & horizontal asymptotes

Limits at infinity describe what happens to f(x) as x becomes very large in the positive or negative direction (as x→±∞). These limits often reveal horizontal asymptotes, which describe the long-range behavior of the function.

If the limit approaches a finite number L, then y=L is a horizontal asymptote.

A horizontal asymptote is described by

x→+∞lim​f(x)=L

 or 

x→−∞lim​f(x)=L

For limits of rational functions as x→±∞, a quick method is to compare the highest powers (degrees) in the numerator and denominator. There are three cases:

Case 1: Degree of top < bottom: H.A.=0

  • e.g. x→∞lim​x4+1x2−1​=0

Case 2: Degree of top = bottom: H.A.= ratio of leading coefficients

  • e.g. x→∞lim​3x2−22x2+1​=32​

Case 3: Degree of top > bottom: H.A.=+∞ or −∞

  • e.g. x→∞lim​2x+1x3−1​=∞

This “compare the degrees” approach is called dominant term analysis. The idea is that when ∣x∣ is very large, the highest-power terms dominate the behavior, and lower-power terms become negligible.

For example,

x→∞lim​2x+1x3−x​

​≈x→∞lim​2xx3​=x→∞lim​2x2​=∞ (DNE)​

Sidenote
About case 3:

Dominant term analysis is most relevant for case 3. The limit can be +∞ or −∞ depending on the signs of the leading terms.

Examples

  1. Evaluate

x→−∞lim​3x2−2x+x4+1−x3+x−1​

Solution

Rewrite the denominator mentally in standard form: the highest power present is x4, so the denominator has degree 4. The numerator has degree 3.

Since top degree < bottom degree, this is case 1, so the limit should be 0. Using dominant terms:

≈x→−∞lim​x4−x3​

=x→−∞lim​−x1​

=0​

This matches the horizontal asymptote y=0.

  1. Evaluate

x→∞lim​(−5+x21​)

Solution

As x→∞, the fraction x21​→0, so the whole expression approaches −5.

If you want to see it using a single rational expression:

x→∞lim​(x2−5x2​+x21​)

=x→∞lim​x2−5x2+1​

≈x→∞lim​x2−5x2​

=−5​

This fits case 2: equal degrees, so the limit is the ratio of leading coefficients 1−5​.

  1. Evaluate

x→−∞lim​−5x3−x−2x4+x−1​

Solution

The numerator has degree 4 and the denominator has degree 3, so this is case 3. Use dominant terms:

≈x→−∞lim​−5x3−2x4​

=x→−∞lim​52x​

=−∞ (DNE)​

Square roots

Another common situation is a limit at infinity that includes square roots. A reliable strategy is:

  • Rewrite the expression so you can factor out the highest power of x inside the radical.
  • Be careful with x2​: it equals ∣x∣, not x.

Let

f(x)=3+x2​−3​x​

Evaluate:

a) x→∞lim​f(x)
b)x→−∞lim​f(x)

Solutions

a) x→∞lim​f(x)

(spoiler)

Answer: 1​

Direct substitution gives the indeterminate form ∞∞​.

Inside the square root, the highest power is x2. Factor it out:

x→∞lim​x2(x23​+1)​−3​x​

Separate the radical:

x→∞lim​(x2​⋅x23​+1​)−3​x​

The next step is important:

x2​=∣x∣ (not just x). So

x→∞lim​(∣x∣⋅x23​+1​)−3​x​

To handle ∣x∣, use the fact that for x→∞, we have ∣x∣=x. Then

x→∞lim​(x⋅x23​+1​)−3​x​

Factor x from the denominator before canceling:

x→∞lim​x​⋅(x23​+1​−x3​​)x​​

=x→∞lim​x23​+1​−x3​​1​

As x→∞, both x23​→0 and x3​​→0, so

≈x→∞lim​0+1​−01​=1​

b) x→−∞lim​f(x)

(spoiler)

Answer: −1​

The algebra is the same as in part (a) up to the point where x2​ becomes ∣x∣:

x→∞lim​(∣x∣⋅x23​+1​)−3​x​

Now x→−∞, so ∣x∣=−x. Substitute that piece:

x→∞lim​(−x⋅x23​+1​)−3​x​

Continue by factoring out x in the denominator and simplifying as before. The limit evaluates to −1​.

Graph f(x) in Desmos to confirm visually!

Not all limits at infinity are rational functions. For example, to evaluate

x→∞lim​(x2+4x​−x)

start by using the conjugate to rewrite the expression as a rational expression.

Solution

(spoiler)

Answer: 2

Direct substitution gives the indeterminate form ∞−∞ (which is not 0). Multiply by the conjugate:

x→∞lim​(x2+4x​−x)⋅Multiplied by conjugatex2+4x​+xx2+4x​+x​​​

=x→∞lim​x2+4x​+x(x2+4x)−x2​

=x→∞lim​x2+4x​+x4x​

Now factor out the highest power of x inside the square root:

x→∞lim​x2(1+x4​)​+x4x​

=x→∞lim​(x⋅1+x4​​)+x4x​

=x→∞lim​x​⋅(1+x4​​+1)4x​​

As x→∞, x4​→0, so

≈x→∞lim​1+0​+14​=2​

As a challenge problem, find

x→−∞lim​(x2+4x​−x)

instead. The answer is, interestingly, +∞.

Hint:

(spoiler)

While x4​ is close to 0 for very negative x, it’s still a small negative number. Think about how that affects the expression inside the square root and the overall subtraction.

  • Infinite limits occur when f(x)→±∞ as x→finite #

    • Expressed as x→alim​f(x)=±∞

    • Typically indicates that x=a is a vertical asymptote.

  • Limits at infinity are about what f(x) does as x→±∞

    • Expressed as x→±∞lim​f(x)=L.

    • If L is finite, then y=L is a horizontal asymptote.

    • If L=±∞, there is no horizontal asymptote (f(x) rises or falls forever).

  • Use the 3 cases (dominant term analysis) as a shortcut to determine horizontal asymptotes of rational functions.

  • For limits at infinity with square roots, turn into a rational expression with conjugates and then factor out the highest power of x in the square root.

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

All rights reserved ©2016 - 2026 Achievable, Inc.

Limits and infinity

What you’ll learn:

  • How to evaluate limits approaching vertical asymptotes (infinite limits)
  • Evaluate limits at infinity (horizontal asymptotes)
  • Dominant term analysis for rational functions
  • Handling limits at infinity involving square roots

Infinite limits & vertical asymptotes

An infinite limit happens when a function grows without bound (toward +∞ or −∞) as the input x approaches a finite number.

We write this as

x→alim​f(x)=+∞

 or 

x→alim​f(x)=−∞

When you see an infinite limit, it usually means the graph is approaching a vertical asymptote. Many problems involve rational functions and one-sided limits, although trigonometric functions can also produce infinite limits.

Sidenote
Constant over zero

If direct substitution gives a non-zero constant in the numerator and 0 in the denominator, the result is not indeterminate. It signals a vertical asymptote at x=a.

Examples

  1. Evaluate

x→2lim​x−21​

Solution

Direct substitution gives 01​. That’s not an indeterminate form, and it tells us the function is undefined at x=2 (a vertical asymptote).

To decide whether the function goes to +∞ or −∞, look at the sign of the denominator on each side of 2.

Approaching from the left (x<2), the denominator x−2 is a small negative number, so x−21​ is a large negative number. A table confirms this:

x f(x)
1.9 −10
1.99 −100
1.999 −1000
1.9999 −10000
  • From the left:

As x→2−, f(x) decreases without bound, so

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

  • From the right:

Approaching from the right (x>2), the denominator x−2 is a small positive number, so x−21​ is a large positive number. Therefore,

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

Because the one-sided limits are different, the two-sided limit does not exist.

  1. Find the vertical asymptotes of y=x2−3x+2x−1​

Solution

(spoiler)

Answer: x=2 only​

A rational function is undefined where its denominator is 0, so start by solving

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

Now check what happens at each value.

  • At x=1, substituting into the original function gives 00​, which is indeterminate. That usually means a factor cancels, creating a hole rather than a vertical asymptote.

Compute the limit by factoring and canceling:

x→1lim​x2−3x+2x−1​

=x→1lim​Factor & cancel(x−1)​(x−2)​​(x−1)​​

=x→1lim​x−21​

=−1

So the function approaches −1 as x→1. The value f(1) is still undefined, but the graph has a hole at x=1, not an asymptote.

  • At x=2, substituting gives 01​, which indicates a vertical asymptote.

So the only vertical asymptote is x=2. The graph behaves like x−21​, except it also has a hole at x=1.

Limits at infinity & horizontal asymptotes

Limits at infinity describe what happens to f(x) as x becomes very large in the positive or negative direction (as x→±∞). These limits often reveal horizontal asymptotes, which describe the long-range behavior of the function.

If the limit approaches a finite number L, then y=L is a horizontal asymptote.

A horizontal asymptote is described by

x→+∞lim​f(x)=L

 or 

x→−∞lim​f(x)=L

For limits of rational functions as x→±∞, a quick method is to compare the highest powers (degrees) in the numerator and denominator. There are three cases:

Case 1: Degree of top < bottom: H.A.=0

  • e.g. x→∞lim​x4+1x2−1​=0

Case 2: Degree of top = bottom: H.A.= ratio of leading coefficients

  • e.g. x→∞lim​3x2−22x2+1​=32​

Case 3: Degree of top > bottom: H.A.=+∞ or −∞

  • e.g. x→∞lim​2x+1x3−1​=∞

This “compare the degrees” approach is called dominant term analysis. The idea is that when ∣x∣ is very large, the highest-power terms dominate the behavior, and lower-power terms become negligible.

For example,

x→∞lim​2x+1x3−x​

​≈x→∞lim​2xx3​=x→∞lim​2x2​=∞ (DNE)​

Sidenote
About case 3:

Dominant term analysis is most relevant for case 3. The limit can be +∞ or −∞ depending on the signs of the leading terms.

Examples

  1. Evaluate

x→−∞lim​3x2−2x+x4+1−x3+x−1​

Solution

Rewrite the denominator mentally in standard form: the highest power present is x4, so the denominator has degree 4. The numerator has degree 3.

Since top degree < bottom degree, this is case 1, so the limit should be 0. Using dominant terms:

≈x→−∞lim​x4−x3​

=x→−∞lim​−x1​

=0​

This matches the horizontal asymptote y=0.

  1. Evaluate

x→∞lim​(−5+x21​)

Solution

As x→∞, the fraction x21​→0, so the whole expression approaches −5.

If you want to see it using a single rational expression:

x→∞lim​(x2−5x2​+x21​)

=x→∞lim​x2−5x2+1​

≈x→∞lim​x2−5x2​

=−5​

This fits case 2: equal degrees, so the limit is the ratio of leading coefficients 1−5​.

  1. Evaluate

x→−∞lim​−5x3−x−2x4+x−1​

Solution

The numerator has degree 4 and the denominator has degree 3, so this is case 3. Use dominant terms:

≈x→−∞lim​−5x3−2x4​

=x→−∞lim​52x​

=−∞ (DNE)​

Square roots

Another common situation is a limit at infinity that includes square roots. A reliable strategy is:

  • Rewrite the expression so you can factor out the highest power of x inside the radical.
  • Be careful with x2​: it equals ∣x∣, not x.

Let

f(x)=3+x2​−3​x​

Evaluate:

a) x→∞lim​f(x)
b)x→−∞lim​f(x)

Solutions

a) x→∞lim​f(x)

(spoiler)

Answer: 1​

Direct substitution gives the indeterminate form ∞∞​.

Inside the square root, the highest power is x2. Factor it out:

x→∞lim​x2(x23​+1)​−3​x​

Separate the radical:

x→∞lim​(x2​⋅x23​+1​)−3​x​

The next step is important:

x2​=∣x∣ (not just x). So

x→∞lim​(∣x∣⋅x23​+1​)−3​x​

To handle ∣x∣, use the fact that for x→∞, we have ∣x∣=x. Then

x→∞lim​(x⋅x23​+1​)−3​x​

Factor x from the denominator before canceling:

x→∞lim​x​⋅(x23​+1​−x3​​)x​​

=x→∞lim​x23​+1​−x3​​1​

As x→∞, both x23​→0 and x3​​→0, so

≈x→∞lim​0+1​−01​=1​

b) x→−∞lim​f(x)

(spoiler)

Answer: −1​

The algebra is the same as in part (a) up to the point where x2​ becomes ∣x∣:

x→∞lim​(∣x∣⋅x23​+1​)−3​x​

Now x→−∞, so ∣x∣=−x. Substitute that piece:

x→∞lim​(−x⋅x23​+1​)−3​x​

Continue by factoring out x in the denominator and simplifying as before. The limit evaluates to −1​.

Graph f(x) in Desmos to confirm visually!

Not all limits at infinity are rational functions. For example, to evaluate

x→∞lim​(x2+4x​−x)

start by using the conjugate to rewrite the expression as a rational expression.

Solution

(spoiler)

Answer: 2

Direct substitution gives the indeterminate form ∞−∞ (which is not 0). Multiply by the conjugate:

x→∞lim​(x2+4x​−x)⋅Multiplied by conjugatex2+4x​+xx2+4x​+x​​​

=x→∞lim​x2+4x​+x(x2+4x)−x2​

=x→∞lim​x2+4x​+x4x​

Now factor out the highest power of x inside the square root:

x→∞lim​x2(1+x4​)​+x4x​

=x→∞lim​(x⋅1+x4​​)+x4x​

=x→∞lim​x​⋅(1+x4​​+1)4x​​

As x→∞, x4​→0, so

≈x→∞lim​1+0​+14​=2​

As a challenge problem, find

x→−∞lim​(x2+4x​−x)

instead. The answer is, interestingly, +∞.

Hint:

(spoiler)

While x4​ is close to 0 for very negative x, it’s still a small negative number. Think about how that affects the expression inside the square root and the overall subtraction.

Key points
  • Infinite limits occur when f(x)→±∞ as x→finite #

    • Expressed as x→alim​f(x)=±∞

    • Typically indicates that x=a is a vertical asymptote.

  • Limits at infinity are about what f(x) does as x→±∞

    • Expressed as x→±∞lim​f(x)=L.

    • If L is finite, then y=L is a horizontal asymptote.

    • If L=±∞, there is no horizontal asymptote (f(x) rises or falls forever).

  • Use the 3 cases (dominant term analysis) as a shortcut to determine horizontal asymptotes of rational functions.

  • For limits at infinity with square roots, turn into a rational expression with conjugates and then factor out the highest power of x in the square root.