MathsCalculus

Limit
calculator.

See what a function heads toward as x closes in on a point, from either side.

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.

limx→c⁡f(x)\displaystyle \lim_{x \to c} f(x)=L\displaystyle {}= L

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.

Kinds of point at c
KindWhat the limits do
RemovableThe limit exists, but f(c) is missing or different
JumpBoth side limits exist, but they differ
InfiniteA side limit is +∞ or −∞

Worked examples

Ella cancels a 0/0 on a homework problem

Ella plugs 2 into x2−4x−2\frac{x^2 - 4}{x - 2}, 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.

Open this example in the tool

Kim asks what constant compounding is heading for

Kim knows that compounding x times a year at a 100% rate multiplies her money by (1+1x)x(1 + \frac{1}{x})^x. 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.

Open this example in the tool

Jo sees why a limit can fail with both sides finite

Jo tries |x|x\frac{|x|}{x} 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 1x\frac{1}{x}, which goes to −∞ and +∞, so it has no two-sided limit either. And 1x2\frac{1}{x^2} goes to +∞ from both sides, so you can say so with a single answer.

Open this example in the tool

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 3x2+12x2−x\frac{3x^2 + 1}{2x^2 - x} 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 1−cos⁡xx2\frac{1 - \cos x}{x^2} at 0 is 0.5, which matches 12\frac{1}{2}. 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 sin⁡xx\frac{\sin x}{x} 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 1ln⁡x\frac{1}{\ln x} 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

It can. At a removable discontinuity the limit exists and only the value of f at the point is wrong or missing. At a jump, the side limits exist and differ, so the two-sided limit does not. At an infinite discontinuity, the limit fails as a real number.

Sources