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→∞x e−x\lim_{x \to \infty} x\,e^{-x}

lim⁡x→∞x e−x=0\displaystyle \lim_{x \to \infty} x\,e^{-x} = 0

Table of values

xf(x)100.0004541003.720×10−421000010000010000001.000×1060\displaystyle \begin{array}{c|c} x & f(x) \\ \hline 10 & 0.000454 \\ 100 & 3.720\times 10^{-42} \\ 1000 & 0 \\ 10000 & 0 \\ 100000 & 0 \\ 1.000\times 10^{6} & 0 \end{array}
Show the work
  1. Direct substitution

    Substituting the limiting value of xx gives 0⋅∞0 \cdot \infty, 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→∞x e−x  →  0⋅∞\lim_{x \to \infty} x\,e^{-x} \;\to\; 0 \cdot \infty
  2. Rewrite the product as a quotient

    The product has the form 0⋅∞0 \cdot \infty, which L'Hôpital's rule cannot take directly. Write it as a quotient, xex\frac{x}{e^{x}}, so that the rule applies.

    Using P⋅Q=P1/QP \cdot Q = \frac{P}{1/Q}

    lim⁡x→∞x e−x=lim⁡x→∞xex\lim_{x \to \infty} x\,e^{-x} = \lim_{x \to \infty} \frac{x}{e^{x}}
  3. L'Hôpital's rule

    Substituting gives ∞∞\frac{\infty}{\infty}, 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)=xf(x) = x and g(x)=exg(x) = e^{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→∞xex=lim⁡x→∞1ex=lim⁡x→∞e−x\begin{aligned} \lim_{x \to \infty}\frac{x}{e^{x}} &= \lim_{x \to \infty} \frac{1}{e^{x}} \\ &= \lim_{x \to \infty} e^{-x} \end{aligned}
  4. Direct substitution

    Each part settles down (or grows in a known direction) as xx grows without bound, so the limits combine.

    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→∞e−x=0\lim_{x \to \infty} e^{-x} = 0
  5. Result

    The limit of x e−xx\,e^{-x} as x→∞x \to \infty is 00.

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

Points on the graph

  • y = x e^(-x): zero (0, 0)
  • y = x e^(-x): maximum (1, 0.367879)

Worked examples