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→∞ln⁡xx\lim_{x \to \infty} \frac{\ln x}{x}

lim⁡x→∞ln⁡xx=0\displaystyle \lim_{x \to \infty} \frac{\ln x}{x} = 0

Table of values

xf(x)100.2302591000.04605210000.006908100000.0009211000000.0001151.000×1061.382×10−5\displaystyle \begin{array}{c|c} x & f(x) \\ \hline 10 & 0.230259 \\ 100 & 0.046052 \\ 1000 & 0.006908 \\ 10000 & 0.000921 \\ 100000 & 0.000115 \\ 1.000\times 10^{6} & 1.382\times 10^{-5} \end{array}
Show the work
  1. Direct substitution

    Substituting the limiting value of xx gives ∞∞\frac{\infty}{\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→∞ln⁡xx  →  ∞∞\lim_{x \to \infty} \frac{\ln x}{x} \;\to\; \frac{\infty}{\infty}
  2. 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)=ln⁡xf(x) = \ln x 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→∞ln⁡xx=lim⁡x→∞1x1=lim⁡x→∞1x\begin{aligned} \lim_{x \to \infty}\frac{\ln x}{x} &= \lim_{x \to \infty} \frac{\frac{1}{x}}{1} \\ &= \lim_{x \to \infty} \frac{1}{x} \end{aligned}
  3. 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→∞1x=0\lim_{x \to \infty} \frac{1}{x} = 0
  4. Result

    The limit of ln⁡xx\frac{\ln x}{x} as x→∞x \to \infty is 00.

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

Points on the graph

  • y = ln(x)/x: zero (1, 0)
  • y = ln(x)/x: maximum (2.718282, 0.367879)

Worked examples