Limit
calculator.
See what a function heads toward as x closes in on a point, from either side.
- From the left
- 1
- From the right
- 1
- f(0)
- Undefined
The limit exists but f(c) is missing or different, which leaves a hole. Defining f(c) as the limit would fill it.
Close in on the point
The graph of f(x) = sin(x)/x around x = 0. The curve closes in on height 1, which is the limit.
Working
- 1Direct substitution failsf(0) is undefined: the expression has the indeterminate form 0/0, so look at nearby values.
- 2From the left, x → 0⁻1
- 3From the right, x → 0⁺1
- 4The one-sided limits agreelim f(x) = 1
- 5Kind of point: removableThe limit exists but f(c) is missing or different, which leaves a hole. Defining f(c) as the limit would fill it.
- 6Check: values very close by land near the limitf(−0.00001) = 1 and f(0.00001) = 1
Values as x closes in
| x | f(x) | Side | Gap to limit |
|---|---|---|---|
| −0.1Side Left | 0.99833417 | Left | 0.0017 |
| 0.1Side Right | 0.99833417 | Right | 0.0017 |
| −0.01Side Left | 0.99998333 | Left | 1.7 × 10⁻⁵ |
| 0.01Side Right | 0.99998333 | Right | 1.7 × 10⁻⁵ |
| −0.001Side Left | 0.99999983 | Left | 1.7 × 10⁻⁷ |
| 0.001Side Right | 0.99999983 | Right | 1.7 × 10⁻⁷ |
| −0.0001Side Left | 1 | Left | 1.7 × 10⁻⁹ |
| 0.0001Side Right | 1 | Right | 1.7 × 10⁻⁹ |
| −0.00001Side Left | 1 | Left | 1.7 × 10⁻¹¹ |
| 0.00001Side Right | 1 | Right | 1.7 × 10⁻¹¹ |
How it's worked out
A limit asks what f(x) gets close to as x gets close to c, and stays close to. What f does at c itself does not matter, and f need not even be defined there. The two-sided limit exists only when the limit from the left and the limit from the right both exist and match.
The tool walks toward c from each side, halving the distance each time. It then uses Richardson extrapolation, which reads how the values change with the distance and projects them to a distance of 0. That avoids testing so near c that rounding takes over. If the values keep growing steadily, it reports +∞ or −∞.
Plugging in c can give a form with no set value, such as 0/0. Seven forms are indeterminate: 0/0, ∞/∞, 0·∞, ∞ − ∞, 1^∞, 0⁰ and ∞⁰. Such a form does not tell you the limit fails. It tells you to look closer, and the limit could be any number.
A function is continuous at c when f(c) is defined, the limit exists, and the two are equal. When that fails, the tool names the kind of break.
| Kind | What the limits do |
|---|---|
| Removable | The limit exists, but f(c) is missing or different |
| Jump | Both side limits exist, but they differ |
| Infinite | A side limit is +∞ or −∞ |
Worked examples
Ella cancels a 0/0 on a homework problem
Ella plugs 2 into , and she gets the form 0/0. So she factors the top and cancels, which leaves x + 2 for every x other than 2. The limit is 4.
The values agree: f(1.9) = 3.9, f(2.1) = 4.1, f(1.99) = 3.99, f(2.01) = 4.01. The function still has no value at 2, so the graph has a hole there, which makes it a removable discontinuity.
Kim asks what constant compounding is heading for
Kim knows that compounding x times a year at a 100% rate multiplies her money by . She wants to know where this stops as x grows. The form is 1^∞, which looks like it should be 1, and it is not.
The values at 10, 100, 1,000 are 2.5937, 2.7048, 2.7169, and the limit is 2.71828183. That is the number e, and the exact match on the tool says so.
Jo sees why a limit can fail with both sides finite
Jo tries at 0. From the left it is −1, and from the right it is 1. Each side settles, but on different numbers, so the two-sided limit does not exist. This is a jump.
Compare , which goes to −∞ and +∞, so it has no two-sided limit either. And goes to +∞ from both sides, so you can say so with a single answer.
Reading your result
Limits at infinity of a ratio. Compare the highest powers. If the top and bottom have the same degree, the limit is the ratio of the leading numbers. For that gives 1.5. A lower top gives 0, and a higher top gives ±∞.
The exact match. A numerical limit comes out as a decimal, so the tool also looks for a simple fraction, or a fraction times π, e, √2, √3, ln 2 or ln 3, within about 8 decimal places. The limit of at 0 is 0.5, which matches . A match is a strong hint and not a proof.
Oscillating functions. The values of sin(1/x) swing between −1 and 1 ever faster as x nears 0, so there is no limit, and the tool says "No limit found". Multiply by x and the swings get squeezed, so x sin(1/x) has limit 0.
Common mistakes
- Treating a table as proof. OpenStax warns that tables rely too much on guesswork. Numbers are strong evidence, and a proof still needs algebra, the squeeze theorem or a rule such as L'Hôpital's.
- Saying 0/0 means no limit. The limit of x ln x from the right is 0, and the limit of at 0 is 1, and both start from an indeterminate form.
- Reading "No limit found" as "no limit". The tool reports that when the values do not settle within its test range, and very slow limits can be missed. The limit of from the right is 0, yet the tool says "No limit found", because the values shrink too slowly.
- Forgetting the side. ln x and √x only exist to the right of 0, so a two-sided request cannot succeed. Choose "From right" for those.
Questions people ask
Sources
- OpenStax, Calculus Volume 1, section 2.2, The Limit of a Function
- OpenStax, Calculus Volume 1, section 2.3, The Limit Laws
- OpenStax, Calculus Volume 1, section 2.4, Continuity
- OpenStax, Calculus Volume 1, section 4.6, Limits at Infinity and Asymptotes
- OpenStax, Calculus Volume 1, section 4.8, L'Hôpital's Rule