The limit of as approaches is the value the function gets close to — whether or not itself exists. Limits define derivatives and integrals, describe asymptotes and settle questions such as "what happens to at 0?". This limit calculator answers them for any function of , at a finite point, from the left or the right, or at and .
It works the way a careful student would. First it tries direct substitution: if is continuous at , the limit is simply . If substitution gives an indeterminate form — , , , or — it names the form, and for quotients it applies L’Hôpital’s rule with symbolic derivatives, showing each step. Finally it checks the answer numerically from both sides, using Richardson and Aitken extrapolation, so it can also tell you when the limit is , or does not exist.
When the one-sided limits are infinite, the calculator points out the vertical asymptote; a finite limit at gives a horizontal asymptote.
How to use this calculator
- Type the function in Function f(x), for example
sin(x)/x,(x^2-1)/(x-1)or(1+1/x)^x. - Enter the point in x approaches a: a number, a constant such as
pi/2, orinf/-inffor limits at infinity. - For a finite point choose Two-sided, Left a⁻ or Right a⁺.
- Read the limit, the left- and right-hand limits and the indeterminate form, if any.
- Open the steps for the substitution, the L’Hôpital derivatives and the conclusion.
The formula
Formally, means that can be made as close to as you like by taking close enough to (but ). The two-sided limit exists only when both one-sided limits exist and are equal:
L’Hôpital’s rule. If and (or both tend to ), then
provided the right-hand limit exists. A product is first rewritten as a quotient, e.g. .
Numerical check. The calculator evaluates for (or at infinity) and extrapolates , which detects convergence, unbounded growth and oscillation.
Worked example
0/0 at a point. For , substitution gives . L’Hôpital: .
Removable discontinuity. is undefined at 1, but — the same as factoring .
Two L’Hôpital steps. .
Does not exist. For at 0, the left-hand limit is and the right-hand limit , so the limit does not exist and is a vertical asymptote.
At infinity. (form ), and .
Finding asymptotes with limits
- Vertical asymptote : at least one one-sided limit at is (e.g. at 0, at ).
- Horizontal asymptote : is finite.
- Oblique asymptote : and . For , enter
((x^2+1)/x)/xatinfto get , then(x^2+1)/x - xto get : the asymptote is .
Limits, derivatives and integrals
The derivative is the limit of a difference quotient, and the definite integral the limit of Riemann sums. The derivative calculator gives the symbolic derivatives this page uses for L’Hôpital’s rule, and the integral calculator handles improper integrals, which are limits too.
Frequently asked questions
What does "does not exist" mean?
Either the left- and right-hand limits differ (|x|/x at 0 gives −1 and 1), the function grows to +∞ on one side and −∞ on the other (1/x at 0), or it oscillates without settling (sin(1/x) at 0, sin(x) at ∞).
Is an infinite limit a limit that exists?
Strictly, a limit of +∞ or −∞ means the function grows without bound in a definite direction. The calculator reports +∞ or −∞ in that case, which tells you more than "does not exist" and signals a vertical asymptote at a finite point.
Which indeterminate forms are recognised?
0/0 and ∞/∞ (solved with L’Hôpital’s rule), 0·∞ (rewritten as a quotient), ∞ − ∞ and 1^∞. For the last two the value comes from the numerical analysis; for 1^∞ you can also take logarithms by hand.
Can L’Hôpital’s rule fail?
Yes, when the limit of f′/g′ does not exist. For (x + sin x)/x at ∞, the derivative quotient 1 + cos x oscillates, yet the original limit is 1. The calculator then keeps the numerical value of f itself and tells you so.
How do I enter a limit at infinity?
Type inf (or ∞) for +∞ and -inf for −∞ in the point field. The direction buttons are hidden because x can only approach infinity from one side.
Sources
Last updated: