Limit Calculator

Calculate limits step-by-step with L'Hospital's rule and algebraic simplification

Supported: +, -, *, /, ^, sin, cos, tan, exp, ln, log, sqrt, abs
Use 'infinity' or '-infinity'

Function Syntax Reference

Basic: x^2, (x-1)/(x+1), sqrt(x), abs(x)
Trig: sin(x), cos(x), tan(x), asin(x)
Exp/Log: e^x, exp(x), ln(x), log(x,b)
Special: infinity, -infinity, pi

Indeterminate Forms

0/0 - L'Hospital or factoring
∞/∞ - L'Hospital's rule
0·∞ - Rewrite as fraction
∞-∞ - Algebraic manipulation
1^∞, 0^0, ∞^0 - Use logarithms

📚 Understanding Limits

What is a Limit?

A limit describes the value that a function approaches as the input approaches some value. Limits are fundamental to calculus - they're the foundation for derivatives, integrals, and continuity. The notation limx→a f(x) = L means "as x gets closer to a, f(x) gets closer to L."

Types of Limits

1. Two-Sided Limit:

limx→a f(x) - Approaches from both left and right

Exists only if left and right limits are equal. Example: limx→2 x² = 4

2. One-Sided Limits:

Left: limx→a⁻ f(x) - Approaches from values less than a
Right: limx→a⁺ f(x) - Approaches from values greater than a

Useful for piecewise functions and discontinuities. Example: limx→0⁻ 1/x = -∞

3. Limits at Infinity:

limx→∞ f(x) or limx→-∞ f(x)

Describes end behavior. Example: limx→∞ 1/x = 0

Indeterminate Forms

When direct substitution produces these forms, special techniques are required:

0/0

Most common. Use factoring or L'Hospital

∞/∞

Use L'Hospital's rule

0·∞

Rewrite as 0/0 or ∞/∞

∞-∞

Combine fractions or factor

1^∞

Use e and logarithms

0^0, ∞^0

Take logarithm

L'Hospital's Rule

If lim f(x)/g(x) gives 0/0 or ∞/∞, then:
limx→a f(x)/g(x) = limx→a f'(x)/g'(x)

Take derivatives of numerator and denominator separately (not quotient rule!). Can be applied repeatedly if needed.

Example:

limx→0 sin(x)/x = limx→0 cos(x)/1 = cos(0) = 1

Limit Techniques

1. Direct Substitution

Simply plug in the value. Works if function is continuous at that point.

2. Factoring & Cancellation

Factor numerator and denominator, cancel common terms.

Example: (x²-1)/(x-1) = (x+1)(x-1)/(x-1) = x+1

3. Conjugate Multiplication

Multiply by conjugate to eliminate radicals.

Example: (√(x+1)-1)/x × (√(x+1)+1)/(√(x+1)+1)

4. Divide by Highest Power

For limits at infinity, divide all terms by highest power of x.

Example: limx→∞ (3x²+5)/(2x²-1) → divide by x²

Special Limits to Remember

Limit Value
limx→0 sin(x)/x 1
limx→0 (1-cos(x))/x 0
limx→0 (ex-1)/x 1
limx→∞ (1 + 1/x)x e
limx→∞ (1 + k/x)x ek

Continuity & Limits

A function f(x) is continuous at x = a if:

  • f(a) exists (the function is defined at a)
  • limx→a f(x) exists (the limit exists)
  • limx→a f(x) = f(a) (the limit equals the function value)

Types of Discontinuities:

  • Removable: Hole in graph (limit exists but ≠ f(a))
  • Jump: Left and right limits exist but aren't equal
  • Infinite: Function goes to ±∞ (vertical asymptote)

Related Calculus Tools

Explore more calculus tools for complete mathematical analysis.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.