Example 1
Direct substitution
Polynomials are continuous everywhere, so substitute x = 2.
Answer
Evaluate two-sided, one-sided and infinite limits. The calculator shows whether the limit was found by substitution, algebra or L'Hôpital's rule, and it checks every answer numerically from the side you asked about.
Try an example
The limit of f(x) as x approaches a is the value f(x) gets arbitrarily close to when x gets close to a, without x ever having to equal a. That is why limits can exist at points where the function itself is undefined, such as (x² − 9)/(x − 3) at x = 3.
A one-sided limit only lets x approach from one direction: from the left (x → a⁻) or from the right (x → a⁺). The two-sided limit exists only when both one-sided limits exist and are equal. Limits at infinity describe the long-run behaviour of a function, such as horizontal asymptotes.
The calculator applies these in order and stops at the first that settles the limit.
Always try this first. Polynomials, exponentials and trig functions are continuous wherever they are defined.
For a 0/0 rational function, cancel the common factor that causes the zero.
Differentiate the top and bottom separately. Not the quotient rule.
Only the leading terms matter for rational functions.
Products are rewritten as quotients, and exponential forms are handled with logarithms.
The calculator first probes the function numerically from the requested side or sides, evaluating it closer and closer to the point. If the left and right behaviour disagree, it reports that the two-sided limit does not exist and shows both one-sided values.
It then tries to evaluate the limit exactly: direct substitution, factor-and-cancel using a polynomial greatest common divisor, L'Hôpital's rule (repeated if needed), degree comparison for rational functions at infinity, and logarithmic rewriting for forms like 1^∞. Every exact answer must agree with the numerical probe before it is shown.
If no symbolic method completes, the numerical estimate is shown and clearly labelled. When the estimate matches a simple value such as π/2 or 1/2, that value is suggested as a strong estimate, not presented as a proof.
For the full details, including how answers are verified, see how the solver works.
Work through these by hand first, then enter them above to compare each step.
Example 1
Polynomials are continuous everywhere, so substitute x = 2.
Answer
Example 2
Substitution gives 0/0, an indeterminate form. Factor the numerator.
Now substitute x = 3.
Answer
Example 3
At x = 0 this is 0/0. Differentiate numerator and denominator:
Still 0/0, so apply the rule again:
Answer
Example 4
Divide every term by x³, the highest power in the denominator.
Answer
Example 5
For x > 0, |x|/x = 1. For x < 0, |x|/x = −1.
The one-sided limits differ, so the two-sided limit does not exist.
Answer
0/0 is indeterminate: it tells you that more work is needed, not what the answer is. The limit can be any number, infinite, or nonexistent.
For lim x→0 of (x + 1)/(x + 2), substitution gives 1/2. Applying L'Hôpital anyway would give 1/1 = 1, which is wrong.
L'Hôpital's rule differentiates the numerator and denominator separately. It does not differentiate the fraction as a whole.
At a vertical asymptote such as 1/x at 0, the left and right behaviour can differ. Always check both sides for a two-sided limit.
Writing lim = ∞ means the function grows without bound. The limit does not exist as a real number, and ∞ − ∞ is not 0.
Type inf (or infinity, or ∞) in the “approaches” box. Use -inf for negative infinity. The direction setting is ignored at infinity.
A one-sided limit only looks at values of x on one side of the point. The two-sided limit exists only when both one-sided limits exist and agree.
When the one-sided limits differ (a jump), when the function oscillates without settling (sin(1/x) near 0), or when it grows without bound. In that last case we often write ±∞ to describe how it fails to exist.
If none of the symbolic methods settles the limit, the calculator evaluates the function very close to the point instead. That is reliable for well-behaved functions, but it is not a proof, so the answer is labelled accordingly.
No. It only applies to 0/0 and ∞/∞ forms, and factoring or simplifying is often faster and clearer. The calculator tries substitution and factoring first.
Pick one of the worked examples, solve it on paper, then enter it in the calculator and compare your steps with each rule shown. Spotting where your work differs is the fastest way to improve.
Back to the calculator