Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Limit Calculator

How to use
  1. Type the function in the f(x)f(x) box, for example x2−4x−2\dfrac{x^2 - 4}{x - 2} or sin⁡(x)x\dfrac{\sin(x)}{x}. Learn more about finding a limit
  2. Type the point in As x approaches. You can type a number, a fraction such as 1/3, or pi and pi/2.
  3. Read the answer under Limit, then the two one-sided limits and the value of ff at the point itself. Learn more about the two sides
  4. Look at the graph: the dashed lines cross at the point the curve heads for. A hollow dot means the curve does not actually reach it.
  5. Far out gives the limits as x→−∞x \to -\infty and x→∞x \to \infty for the same function.

Limit
Limit
lim⁡x→2f(x)=4\displaystyle \lim_{x \to 2} f(x) = 4
From the left
lim⁡x→2−f(x)=4\displaystyle \lim_{x \to 2^-} f(x) = 4
From the right
lim⁡x→2+f(x)=4\displaystyle \lim_{x \to 2^+} f(x) = 4
Value at the point
f(2) is not defined\displaystyle f(2) \text{ is not defined}
Far out
lim⁡x→−∞f(x)=−∞,lim⁡x→∞f(x)=∞\displaystyle \lim_{x \to -\infty} f(x) = -\infty, \quad \lim_{x \to \infty} f(x) = \infty
How it was found

A limit asks what f(x)=x2−4x−2f(x) = \frac{{x}^{2}-4}{x-2} gets close to as xx gets close to 22, without ever using x=2x = 2 itself.

From the left: f(1.9)=3.9f(1.9) = 3.9, f(1.99)=3.99f(1.99) = 3.99, f(1.999)=3.999f(1.999) = 3.999. The values close in on 44.

From the right: f(2.1)=4.1f(2.1) = 4.1, f(2.01)=4.01f(2.01) = 4.01, f(2.001)=4.001f(2.001) = 4.001. The values close in on 44.

Both sides agree, so the limit exists and equals 44.

Putting x=2x = 2 into the formula gives no value (a form such as 0/00/0), yet the limit exists: the graph has a hole at (2, 4)(2,\ 4).

f(x)=x2−4x−2f\left(x\right)=\frac{{x}^{2}-4}{x-2}


Finding a limit

DemoFind a limit
Step 0 of 4
Type the function in the f(x)f(x) box and the point in As x approaches. The calculator works out lim⁡x→cf(x)\lim_{x \to c} f(x) as you type and marks the point on the graph.

The function can use powers, roots (sqrt(x), cbrt(x)), fractions with a slash, exe^x, ln⁡\ln, log⁡\log, the trigonometric functions and ∣x∣|x| as abs(x). The point can be a number, a fraction such as 1/3, or a multiple of π\pi typed as pi, 2pi or pi/2.

The answer does not depend on whether ff has a value at the point. For x2−4x−2\dfrac{x^2 - 4}{x - 2} the formula gives 00\dfrac{0}{0} at x=2x = 2, and the limit is still 44.

The two sides

DemoTwo sides, and limits that fail
Step 0 of 4
    Under the main answer the calculator gives the limit from the left and from the right separately:

  • lim⁡x→c−f(x)\lim_{x \to c^-} f(x) uses only xx smaller than cc.
  • lim⁡x→c+f(x)\lim_{x \to c^+} f(x) uses only xx larger than cc.

  • The two-sided limit exists exactly when both one-sided limits exist and are the same number. If they differ, as for ∣x∣x\dfrac{|x|}{x} at 00, the answer is does not exist, and the graph shows two hollow dots at two different heights.

    If ff has values on one side only, as x\sqrt{x} at 00, the calculator gives the limit from that side and says so.

    Value at the point is f(c)f(c) itself. Comparing it with the limit tells you whether ff is continuous there.

What a limit is

    lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L means: the values f(x)f(x) can be made as close to LL as you like by taking xx close enough to cc, without letting xx equal cc.

    Take f(x)=x2−4x−2f(x) = \dfrac{x^2 - 4}{x - 2} near 22:

  • f(1.9)=3.9f(1.9) = 3.9, f(1.99)=3.99f(1.99) = 3.99, f(1.999)=3.999f(1.999) = 3.999
  • f(2.1)=4.1f(2.1) = 4.1, f(2.01)=4.01f(2.01) = 4.01, f(2.001)=4.001f(2.001) = 4.001

  • From both sides the values close in on 44, so the limit is 44. At x=2x = 2 itself the formula has no value. The limit describes where the graph is heading, not whether it arrives.

    How it was found shows the same kind of table for your function.
x2−4x−2\frac{x^2 - 4}{x - 2} heads for the point (2,4)(2, 4) from both sides and has no value there.

Limits from the left and from the right

    A one-sided limit looks at one side of the point only. It is the right tool wherever a function behaves differently on its two sides:

  • at a jump, such as ∣x∣x\dfrac{|x|}{x} at 00, where the left side gives −1-1 and the right side 11;
  • at the end of a domain, such as x\sqrt{x} at 00 or ln⁡(x)\ln(x) at 00, where only one side exists;
  • at a break point of a piecewise function, where each piece has its own formula.

  • The rule that ties them together: lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L if and only if lim⁡x→c−f(x)=L\lim_{x \to c^-} f(x) = L and lim⁡x→c+f(x)=L\lim_{x \to c^+} f(x) = L.
∣x∣x\frac{|x|}{x}: the left side closes in on −1-1, the right side on 11.

Infinite limits

Sometimes the values do not close in on a number but grow without bound. For 1x2\dfrac{1}{x^2} near 00 they are 100100, 10 00010\,000, 1 000 0001\,000\,000 and so on, from both sides. We write lim⁡x→01x2=∞\lim_{x \to 0} \dfrac{1}{x^2} = \infty.

This notation says how the limit fails to be a number. The graph has a vertical asymptote at that xx.

For 1x\dfrac{1}{x} the two sides disagree: −∞-\infty from the left, +∞+\infty from the right. Then even the infinite limit does not exist as a two-sided limit, and the calculator reports each side separately.
1x2\frac{1}{x^2} grows without bound on both sides of 00.

Limits at infinity

    A limit can also ask what happens as xx grows without bound. The Far out line answers that for both directions.

    For f(x)=2x2+1x2+1f(x) = \dfrac{2x^2 + 1}{x^2 + 1} the values approach 22 as x→∞x \to \infty and as x→−∞x \to -\infty. The line y=2y = 2 is a horizontal asymptote.

    For a fraction of two polynomials, compare the highest powers:

  • same degree on top and bottom: the limit is the ratio of the leading coefficients;
  • larger degree on the bottom: the limit is 00;
  • larger degree on top: the values grow without bound.

  • exe^x goes to 00 as x→−∞x \to -\infty and to ∞\infty as x→∞x \to \infty. A wave such as sin⁡(x)\sin(x) never settles, so it has no limit at infinity.
2x2+1x2+1\frac{2x^2 + 1}{x^2 + 1} levels off at y=2y = 2 in both directions.

Finding limits by hand

1. Substitute first. If the formula has a value at cc and no break there, that value is the limit: lim⁡x→3(x2+1)=10\lim_{x \to 3} (x^2 + 1) = 10.
2. If you get 00\dfrac{0}{0}, simplify. Factor and cancel: x2−4x−2=(x−2)(x+2)x−2=x+2\dfrac{x^2 - 4}{x - 2} = \dfrac{(x - 2)(x + 2)}{x - 2} = x + 2 for x≠2x \neq 2, so the limit at 22 is 44.
3. With a root, multiply by the conjugate. x−2x−4=1x+2\dfrac{\sqrt{x} - 2}{x - 4} = \dfrac{1}{\sqrt{x} + 2} for x≠4x \neq 4, so the limit at 44 is 14\dfrac{1}{4}.
4. Use the special limits. lim⁡x→0sin⁡(x)x=1\lim_{x \to 0} \dfrac{\sin(x)}{x} = 1, lim⁡x→01−cos⁡(x)x2=12\lim_{x \to 0} \dfrac{1 - \cos(x)}{x^2} = \dfrac{1}{2}, lim⁡x→0ex−1x=1\lim_{x \to 0} \dfrac{e^x - 1}{x} = 1, lim⁡x→0(1+x)1/x=e\lim_{x \to 0} (1 + x)^{1/x} = e.
5. If you get a nonzero number over 00, the values grow without bound: check the sign on each side.

The calculator does not do algebra; it reads the limit from the values of ff close to the point. Use it to check the answer you found by hand.

When a limit does not exist

    A two-sided limit fails in one of three ways.

  • The two sides disagree. A jump: ∣x∣x\dfrac{|x|}{x} at 00.
  • The values grow without bound. A vertical asymptote: 1x\dfrac{1}{x} at 00.
  • The values keep swinging. sin⁡(1x)\sin\left(\dfrac{1}{x}\right) near 00 runs between −1-1 and 11 faster and faster and settles on nothing.

  • In the third case the calculator answers does not exist for each side as well. Compare xsin⁡(1x)x \sin\left(\dfrac{1}{x}\right): it swings too, but inside a band that narrows to nothing, so its limit at 00 is 00.
sin⁡(1x)\sin\left(\frac{1}{x}\right) near 00: the values never settle.

What the calculator checks

The limit is read numerically. The calculator evaluates ff at a run of points closing in on cc from each side, down to distances far smaller than anything visible on the graph, and decides whether the values settle on a number, grow without bound, or keep moving.

Answers that are whole numbers, simple fractions, simple multiples of π\pi or ee are written exactly; others are given with four decimals.

Two things to keep in mind. A function that approaches its limit extremely slowly, such as 1ln⁡(x)\dfrac{1}{\ln(x)} at 00, may be reported as not settled. And a numerical answer is strong evidence, not a proof: where a proof is asked for, use the methods above.

Common mistakes

  • Reading 00\dfrac{0}{0} as "no limit". 00\dfrac{0}{0} means the formula gives no information at the point; the limit usually exists.
  • Reading 00\dfrac{0}{0} as 00 or as 11. It is neither. Simplify first.
  • Mixing up the limit and the value. lim⁡x→cf(x)\lim_{x \to c} f(x) and f(c)f(c) can differ, and either can exist without the other.
  • Checking one side only. ∣x∣x\dfrac{|x|}{x} looks fine from the right alone.
  • Treating ∞\infty as a number. lim⁡=∞\lim = \infty describes behaviour; expressions such as ∞−∞\infty - \infty are not 00.
  • Typing the wrong grouping. 1/x - 2 is 1x−2\dfrac{1}{x} - 2; for 1x−2\dfrac{1}{x - 2} type 1/(x - 2).