Limit Calculator

Type a function and the value x approaches to find the limit.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

A number such as 2 or 1/2, pi, inf (infinity) or -inf.

Approach from

Both sides, or only from the left or from the right.

Try

Result

You enteredlim⁡x→1x2−1x−1\lim_{x \to 1} \frac{x^{2} - 1}{x - 1}

lim⁡x→1x2−1x−1=2\displaystyle \lim_{x \to 1} \frac{x^{2} - 1}{x - 1} = 2

Table of values

xf(x)xf(x)0.51.51.52.50.91.91.12.10.991.991.012.010.9991.9991.0012.0010.99991.99991.00012.00010.999991.999991.000012.00001\displaystyle \begin{array}{c|c|c|c} x & f(x) & x & f(x) \\ \hline 0.5 & 1.5 & 1.5 & 2.5 \\ 0.9 & 1.9 & 1.1 & 2.1 \\ 0.99 & 1.99 & 1.01 & 2.01 \\ 0.999 & 1.999 & 1.001 & 2.001 \\ 0.9999 & 1.9999 & 1.0001 & 2.0001 \\ 0.99999 & 1.99999 & 1.00001 & 2.00001 \end{array}
Show the work
  1. Direct substitution

    Substituting x=1x = 1 gives 00\frac{0}{0}, which is indeterminate: it does not say what the limit is, so another method is needed.

    Using lim⁡x→af(x)=f(a)(f continuous at a)\lim_{x \to a} f(x) = f(a) \quad (f \text{ continuous at } a)

    lim⁡x→1x2−1x−1  →  00\lim_{x \to 1} \frac{x^{2} - 1}{x - 1} \;\to\; \frac{0}{0}
  2. Factor and cancel

    Substituting gives 00\frac{0}{0}, so the top and bottom share a factor that is zero at the point: (x−1)\left(x - 1\right). Factor both and cancel it. Cancelling is allowed because a limit looks at xx near the point, never at the point itself.

    Using (x−a) p(x)(x−a) q(x)=p(x)q(x)(x≠a)\frac{(x - a)\,p(x)}{(x - a)\,q(x)} = \frac{p(x)}{q(x)} \quad (x \ne a)

    x2−1x−1=(x−1)(x+1)(x−1)=x+1\begin{aligned} \frac{x^{2} - 1}{x - 1} &= \frac{\left(x - 1\right)\left(x + 1\right)}{\left(x - 1\right)} \\ &= x + 1 \end{aligned}
  3. Direct substitution

    The function is continuous at x=1x = 1, so the limit is just its value there.

    Using lim⁡x→af(x)=f(a)(f continuous at a)\lim_{x \to a} f(x) = f(a) \quad (f \text{ continuous at } a)

    lim⁡x→1(x+1)=1+1=2\begin{aligned} \lim_{x \to 1} \left(x + 1\right) &= 1 + 1 \\ &= 2 \end{aligned}
  4. Result

    The limit of x2−1x−1\frac{x^{2} - 1}{x - 1} as xx approaches 11 is 22.

    lim⁡x→1x2−1x−1=2\lim_{x \to 1} \frac{x^{2} - 1}{x - 1} = 2
Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = (x^2 - 1)/(x - 1)

Points on the graph

  • y = (x^2 - 1)/(x - 1): zero (-1, 0)

Worked examples

lim⁡x→0sin⁡xx\lim_{x \to 0} \frac{\sin x}{x}
lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1

Direct substitution, Standard limit

lim⁡x→1x2−1x−1\lim_{x \to 1} \frac{x^{2} - 1}{x - 1}
lim⁡x→1x2−1x−1=2\lim_{x \to 1} \frac{x^{2} - 1}{x - 1} = 2

Direct substitution, Factor and cancel

lim⁡x→∞(1+1x)x\lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^{x}
lim⁡x→∞(1+1x)x=e\lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^{x} = e

Direct substitution, Take logarithms of the power

lim⁡x→∞3x2+1x2−2\lim_{x \to \infty} \frac{3x^{2} + 1}{x^{2} - 2}
lim⁡x→∞3x2+1x2−2=3\lim_{x \to \infty} \frac{3x^{2} + 1}{x^{2} - 2} = 3

Direct substitution, Dominant terms

lim⁡x→0x+4−2x\lim_{x \to 0} \frac{\sqrt{x + 4} - 2}{x}
lim⁡x→0x+4−2x=14\lim_{x \to 0} \frac{\sqrt{x + 4} - 2}{x} = \frac{1}{4}

Direct substitution, Rationalise with the conjugate

lim⁡x→01x\lim_{x \to 0} \frac{1}{x}
The limit does not exist (left: −∞, right: ∞)\text{The limit does not exist (left: } -\infty \text{, right: } \infty \text{)}

Unbounded limit, Unbounded limit

lim⁡x→0+1x\lim_{x \to 0^{+}} \frac{1}{x}
lim⁡x→0+1x=∞\lim_{x \to 0^{+}} \frac{1}{x} = \infty

Unbounded limit, Result

lim⁡x→0x sin⁡(1x)\lim_{x \to 0} x\,\sin\left(\frac{1}{x}\right)
lim⁡x→0x sin⁡(1x)≈0\lim_{x \to 0} x\,\sin\left(\frac{1}{x}\right) \approx 0

Numerical estimate, Result