L'Hôpital's Rule Calculator

Type a quotient and the value x approaches to apply L'Hôpital's rule.

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.

Try

Result

You enteredlim⁡x→0ex−1x\lim_{x \to 0} \frac{e^{x} - 1}{x}

lim⁡x→0ex−1x=1\displaystyle \lim_{x \to 0} \frac{e^{x} - 1}{x} = 1

Table of values

xf(x)xf(x)−0.50.7869390.51.297443−0.10.9516260.11.051709−0.010.9950170.011.005017−0.0010.99950.0011.0005−0.00010.999950.00011.00005−1.000×10−50.9999951.000×10−51.000005\displaystyle \begin{array}{c|c|c|c} x & f(x) & x & f(x) \\ \hline -0.5 & 0.786939 & 0.5 & 1.297443 \\ -0.1 & 0.951626 & 0.1 & 1.051709 \\ -0.01 & 0.995017 & 0.01 & 1.005017 \\ -0.001 & 0.9995 & 0.001 & 1.0005 \\ -0.0001 & 0.99995 & 0.0001 & 1.00005 \\ -1.000\times 10^{-5} & 0.999995 & 1.000\times 10^{-5} & 1.000005 \end{array}
Show the work
  1. Direct substitution

    Substituting x=0x = 0 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→0ex−1x  →  00\lim_{x \to 0} \frac{e^{x} - 1}{x} \;\to\; \frac{0}{0}
  2. L'Hôpital's rule

    Substituting gives 00\frac{0}{0}, an indeterminate form, so differentiate the top and the bottom separately (not as a quotient) and take the limit of the new quotient. Here f(x)=ex−1f(x) = e^{x} - 1 and g(x)=xg(x) = x.

    Using lim⁡f(x)g(x)=lim⁡f′(x)g′(x)\lim \frac{f(x)}{g(x)} = \lim \frac{f'(x)}{g'(x)}

    lim⁡x→0ex−1x=lim⁡x→0ex1=lim⁡x→0ex\begin{aligned} \lim_{x \to 0}\frac{e^{x} - 1}{x} &= \lim_{x \to 0} \frac{e^{x}}{1} \\ &= \lim_{x \to 0} e^{x} \end{aligned}
  3. Direct substitution

    The function is continuous at x=0x = 0, 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→0ex=e0=1\begin{aligned} \lim_{x \to 0} e^{x} &= e^{0} \\ &= 1 \end{aligned}
  4. Result

    The limit of ex−1x\frac{e^{x} - 1}{x} as xx approaches 00 is 11.

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

Worked examples