Limit Calculator
Find limits at a point, from one side or at infinity, step by step, with a table of values checking every answer.
Powers ^, sqrt( ), ln, log, log_2( ), e^x, |x|. Trig in radians.
Type a function and where x approaches, and the calculator finds the limit the way it is done by hand: substitution first, then, for an indeterminate form such as 0/0, factoring and cancelling, multiplying by the conjugate, dividing by the highest power, the standard limits such as sin(x)/x → 1, or L'Hôpital's rule. It works at a point, from one side, and at ∞ or −∞, and says when a limit does not exist, giving the value from each side.
Every answer comes with a table of the function's values closer and closer to the point, and a graph with the limit marked. An answer the table clearly contradicts is withheld rather than shown. All of it is worked out in your browser.
How to use it
Function is typed as you would write it: 2x is 2 × x, sqrt(x) or √x a square root, |x| the absolute value, and trig functions work in radians. A bare log is ln unless you set log means to log₁₀, and the Read as line shows how the text was read.
x approaches takes a number or an exact value such as 1/2, pi/2, sqrt(2) or e; 1e-3 alone is 0.001. The ∞ button enters infinity; type − before it, or −inf, for −∞. Direction asks for both sides, or the limit from the left or the right alone; it is not needed at ±∞. With another letter in the function, such as k in sin(kx)/x, the limit is worked out with k kept as a letter, and the table and graph are left out.
How it works
The calculator substitutes first, using the limit laws: the limit of a sum, product or quotient is found from its parts'. A nonzero number over 0 grows without bound, its sign decided by the side the denominator approaches 0 from, so 1/x² → ∞ while 1/x goes to −∞ on the left and ∞ on the right. A bounded factor such as sin(1/x) times one that tends to 0 gives 0, by the squeeze theorem. floor, ceil, round and sign are read just beside their jumps. A function that simplifies, as x²/x does to x, is worked on in its simpler form, which leaves the limit unchanged; its values, the table and the graph still come from the function as typed.
When substitution gives an indeterminate form, the methods are tried in this order: factor and cancel a common factor (polynomials at a rational point); multiply by the conjugate of a sum with a square root; at ±∞, divide by the highest power of x, or take out the term that grows fastest; the standard limits; and L'Hôpital's rule, up to 5 times in a row. 0 · ∞ is first rewritten as a quotient, ∞ − ∞ over a common denominator or with the conjugate, and 1^∞, 0⁰ and ∞⁰ as e to the power g·ln f. After each step the limit is substituted again.
Each side of the point is worked out on its own. When both sides come out the same way the working is shown once; when they differ, each side has its own working, and different values mean the limit does not exist.
The table gives f at the point ± 0.1, 0.01, … 0.000001 (or at 10, 100, … 1,000,000 towards ∞). Each value is computed several times, at x, at x nudged by one part in 2⁴⁰, and with every step's rounding disturbed by a few parts in 10¹⁶, and is printed only to the digits all of them share, at most 8: digits that floating-point rounding could change are left out. Near 0, 1 − cos(x) loses most of its digits, and the table shows only those that remain. If the 3 entries nearest the point agree to 4 significant digits and differ from the answer by more than 0.001, or by more than 0.1% of the answer when its size is above 1, the answer is not shown. An infinite answer is withheld when the table settles on a number.
Substitution, factoring, conjugates, standard limits, the squeeze of a bounded factor, L'Hôpital's rule and limits at infinity. Not piecewise functions, sequences, limits in two variables, or limits that need a series expansion.
sin(u)/u → 1 and tan(u)/u → 1 as u → 0
(1 − cos(u))/u² → 1/2
(eᵘ − 1)/u → 1 and (aᵘ − 1)/u → ln(a)
ln(1 + u)/u → 1
((1 + u)ʳ − 1)/u → r
L'Hôpital: lim f/g = lim f′/g′ for 0/0 or ∞/∞
1^∞, 0⁰, ∞⁰: lim fᵍ = e^(lim g·ln f)
Examples
Factor and cancel
- Function
- (x^2 - 4)/(x - 2)
- x approaches
- 2
Substituting 2 gives 0/0. Both polynomials have the factor x − 2, which is not 0 while x only approaches 2, so it cancels: lim_(x→2) (x² − 4)/(x − 2) = 4.
- Substituting x = 2 gives 0/0, an indeterminate form.: (2² − 4)/(2 − 2)
- Factor, then cancel x − 2, which is not 0 while x approaches 2.: lim_(x→2) (x² − 4)/(x − 2) = lim_(x→2) (x − 2)(x + 2)/(x − 2) = lim_(x→2) (x + 2)
- Substitute: x = 2.: lim_(x→2) (x + 2) = 2 + 2 = 4
Multiply by the conjugate
- Function
- (sqrt(x + 4) - 2)/x
- x approaches
- 0
The square root keeps the numerator from factoring, but (√(x + 4) − 2)(√(x + 4) + 2) is x + 4 − 4 = x, which cancels with the denominator: lim_(x→0) (√(x + 4) − 2)/x = 1/4.
- Substituting x = 0 gives 0/0, an indeterminate form.: (√(0 + 4) − 2)/0
- Multiply the numerator and the denominator by the conjugate √(x + 4) + 2.: lim_(x→0) (√(x + 4) − 2)/x = lim_(x→0) (√(x + 4) − 2)(√(x + 4) + 2)/(x(√(x + 4) + 2)) = lim_(x→0) x/(x(√(x + 4) + 2)) = lim_(x→0) 1/(√(x + 4) + 2)
- Substitute: x = 0.: lim_(x→0) 1/(√(x + 4) + 2) = 1/(√(0 + 4) + 2) = 1/4
A rational function at infinity
- Function
- (3x^2 + 1)/(5x^2 - x)
- x approaches
- ∞
Dividing the numerator and denominator by x² leaves terms in 1/x and 1/x² that vanish, so only the leading coefficients remain: lim_(x→∞) (3x² + 1)/(5x² − x) = 3/5.
- As x → ∞ this has the form ∞/∞, which is indeterminate.
- Divide the numerator and the denominator by x², the highest power of x in the denominator.: lim_(x→∞) (3x² + 1)/(5x² − x) = lim_(x→∞) (3 + 1/x²)/(5 − 1/x)
- As x → ∞, 1/x² and 1/x → 0.: lim_(x→∞) (3 + 1/x²)/(5 − 1/x) = (3 + 0)/(5 − 0) = 3/5
L'Hôpital's rule twice
- Function
- x^2/e^x
- x approaches
- ∞
Both parts grow without bound. Differentiating each gives 2x/eˣ, still ∞/∞, and once more 2/eˣ, which tends to 0: lim_(x→∞) x²/e^x = 0. eˣ outgrows every power of x.
- As x → ∞ this has the form ∞/∞, which is indeterminate.
- L'Hôpital's rule for ∞/∞: differentiate the numerator and the denominator separately.: lim_(x→∞) x²/e^x = lim_(x→∞) 2x/e^x
- This has the form ∞/∞, still indeterminate.
- L'Hôpital's rule for ∞/∞: differentiate the numerator and the denominator separately, again.: lim_(x→∞) 2x/e^x = lim_(x→∞) 2/e^x
- Let x → ∞.: lim_(x→∞) 2/e^x = 0
Indeterminate forms
| Form | Example | Limit |
|---|---|---|
| 0/0 | lim_(x→0) sin(x)/x | 1 |
| ∞/∞ | lim_(x→∞) ln(x)/x | 0 |
| 0 · ∞ | lim_(x→0⁺) x ln(x) | 0 |
| ∞ − ∞ | lim_(x→∞) √(x² + x) − x | 1/2 |
| 1^∞ | lim_(x→∞) (1 + 1/x)^x | e |
| 0⁰ | lim_(x→0⁺) x^x | 1 |
| ∞⁰ | lim_(x→∞) x^(1/x) | 1 |
Frequently asked questions
See also
- Derivative Calculator — for derivatives, which are limits of difference quotients, with every rule named.
- Integral Calculator — for definite and improper integrals, whose infinite bounds and singular points are limits.
- Graphing Calculator — to plot the function over any range and read its values off the graph.
- Factoring & Polynomial Calculator — to factor a 0/0 quotient before cancelling.