Example 1, Direct substitution
lim x→2 (x² + 3)
- 1
Substitute x = 2
(2)² + 3 = 4 + 3 - 2
Result
7
If the function is continuous at the point, just plug in.
Evaluate limits at finite points and at infinity, including indeterminate forms via L'Hôpital's rule. Step-by-step solutions for five common limit types.
For complex problems, use the photo solver.
L'Hôpital's Rule
When direct substitution gives an indeterminate form, differentiate the top and bottom separately, then try the limit again. Apply repeatedly if needed.
A limit asks: what value does f(x) approach as x gets arbitrarily close to some target? It might be a finite number, infinity, or might not exist. Limits are the foundation that makes derivatives and integrals rigorous.
When direct substitution gives an indeterminate form (0/0, ∞/∞, 0·∞, ∞ − ∞, 1^∞, 0⁰, ∞⁰), use algebraic manipulation (factor, rationalize) or L'Hôpital's rule (differentiate top and bottom separately) to resolve it.
Worked Examples
Direct substitution, factor-and-cancel, infinity, L'Hôpital's rule, and one-sided limits.
Example 1, Direct substitution
lim x→2 (x² + 3)
Substitute x = 2
(2)² + 3 = 4 + 3Result
7If the function is continuous at the point, just plug in.
Example 2, Factor and cancel
lim x→3 (x² − 9)/(x − 3)
Factor numerator
x² − 9 = (x − 3)(x + 3)Cancel (x − 3)
lim x→3 (x + 3)Substitute
= 3 + 3 = 6Direct substitution gives 0/0 (indeterminate); factor to simplify.
Example 3, Limit at infinity
lim x→∞ (3x² + 1)/(2x² + 5x)
Divide by x²
(3 + 1/x²) / (2 + 5/x)As x → ∞
1/x² → 0, 5/x → 0Result
3 / 2Divide top and bottom by the highest power of x.
Example 4, L'Hôpital's rule
lim x→0 sin(x) / x
Confirm 0/0
sin(0)/0 = 0/0 indeterminateDifferentiate
d/dx(sin x) = cos x, d/dx(x) = 1New limit
lim x→0 cos(x)/1 = cos(0) = 10/0 form, differentiate top and bottom separately.
Example 5, One-sided limit
lim x→0⁺ 1/x
Consider x > 0 approaching 0
1/x grows without boundCompare to left side
From left (x < 0), 1/x → −∞Conclusion
Right limit = +∞, two-sided limit does not existApproaching from the right side only.
Limits are the gateway to calculus, every derivative and every definite integral is defined in terms of a limit. This calculator helps you evaluate limits with the full reasoning shown. The worked examples cover the five most common limit types: direct substitution, factor-and-cancel, limits at infinity, L'Hôpital's rule, and one-sided limits.
If a function is continuous at the target point, the limit equals the function value, just plug in. This is the easiest case and covers polynomials, exponentials, sines, cosines at all points in their domain. If substitution gives a well-defined number, you're done.
Common indeterminate forms include 0/0, ∞/∞, 0·∞, and ∞ − ∞. They don't have a fixed value, the actual limit depends on which functions are producing them. Tools to resolve: factoring and cancelation, rationalizing (multiply by conjugate), and L'Hôpital's rule. The goal is to transform the expression into something where substitution works.
If lim f/g gives 0/0 or ∞/∞, then lim f/g = lim f'/g' (provided the second limit exists). Differentiate the numerator and denominator separately (NOT using the quotient rule), then try the limit again. Apply repeatedly if needed. The famous lim x→0 sin(x)/x = 1 is the textbook example.
For lim x→∞, divide top and bottom by the highest power of x to see what dominates. For one-sided limits (x → a⁺ or x → a⁻), consider only values approaching from the specified side, this matters for functions with jumps, vertical asymptotes, or piecewise definitions. The two-sided limit exists only if both one-sided limits agree.
Need help with a more complex problem?
Upload a photo or type your question on our main solver, our AI handles algebra, calculus, geometry, statistics, and word problems.
Photo solver handles ε-δ proofs, sequence limits, and uniform convergence.
Open Photo Solver