Limit Calculator
A limit describes the value a function approaches as x gets closer to a point, even if the function is not defined there. This limit calculator tries direct substitution first, uses L'Hôpital's rule for 0/0 forms, compares degrees for limits at infinity, and checks the answer by approaching from both sides.
How to use the limit calculator
- Type the function, such as sin(x)/x.
- Enter the value x approaches, or type inf for infinity.
- Press Calculate to see the limit, the method and the graph.
Formula
Worked example: sin(x)/x as x → 0
- f(x) =: sin(x)/x
- x approaches: 0
✓ Answer checked
Step-by-step working (4 steps)
Read the function
This is how the input was understood.
0/0 form L'Hôpital's rule
Substituting x = 0 gives 0/0, which is indeterminate. Apply L'Hôpital's rule: differentiate the top and the bottom separately.
Differentiate top and bottom
Take the derivative of each part.
Substitute
Now substitute x = 0.
Formulas used
How this was checked
- ✓ Numerically, f(0 − 0.0001) ≈ 1 and f(0 + 0.0001) ≈ 1, both close to 1.
Frequently asked questions
What is the limit of sin(x)/x as x approaches 0?
It is 1. Substituting gives 0/0, and L'Hôpital's rule gives cos(0)/1 = 1.
When does a limit not exist?
When the values from the left and from the right approach different numbers, or grow without bound in different directions, like 1/x at 0.
What is L'Hôpital's rule?
If substituting gives 0/0, the limit of f/g equals the limit of f′/g′, the ratio of the derivatives.
Related calculators
Derivative Calculator
Differentiate any function with every rule shown: power, product, quotient and chain rules.
Graphing Calculator
Plot up to three functions with an animated graph.
Integral Calculator
Find indefinite and definite integrals with steps: power rule, substitution and integration by parts.
