Logarithmic Differentiation Calculator

Type a power, product or quotient, such as x^x.

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

Try

Result

You enteredddx[x1x]\frac{d}{dx}\left[x^{\frac{1}{x}}\right]

f′(x)=x1x (1x2−ln⁡xx2)\displaystyle f'(x) = x^{\frac{1}{x}}\,\left(\frac{1}{x^{2}} - \frac{\ln x}{x^{2}}\right)
Show the work
  1. Logarithmic differentiation

    Powers, products and quotients with xx in the exponent are easier after taking the natural logarithm of both sides, because the logarithm laws turn them into sums.

    Using y=f(x)  ⇒  ln⁡y=ln⁡f(x)  ⇒  y′y=ddxln⁡f(x)y = f(x) \;\Rightarrow\; \ln y = \ln f(x) \;\Rightarrow\; \frac{y'}{y} = \frac{d}{dx}\ln f(x)

    y=x1xy = x^{\frac{1}{x}}
  2. Laws of logarithms

    Split the logarithm of the product, quotient and powers into a sum of simpler logarithms.

    Using ln⁡(ab)=ln⁡a+ln⁡b,ln⁡ab=ln⁡a−ln⁡b,ln⁡an=nln⁡a\ln(ab) = \ln a + \ln b,\quad \ln\frac{a}{b} = \ln a - \ln b,\quad \ln a^{n} = n\ln a

    ln⁡y=1x ln⁡x\ln y = \frac{1}{x}\,\ln x
  3. Differentiating both sides

    Differentiate each term (the left side gives y′y\frac{y'}{y} by the chain rule).

    Using ddxln⁡u=u′u\frac{d}{dx}\ln u = \frac{u'}{u}

    y′y=1x2−ln⁡xx2\frac{y'}{y} = \frac{1}{x^{2}} - \frac{\ln x}{x^{2}}
  4. Solving for the derivative

    Multiply both sides by y=x1xy = x^{\frac{1}{x}}.

    y′=x1x(1x2−ln⁡xx2)y' = x^{\frac{1}{x}}\left(\frac{1}{x^{2}} - \frac{\ln x}{x^{2}}\right)
  5. Result

    The derivative is x1x (1x2−ln⁡xx2)x^{\frac{1}{x}}\,\left(\frac{1}{x^{2}} - \frac{\ln x}{x^{2}}\right).

    f′(x)=x1x (1x2−ln⁡xx2)f'(x) = x^{\frac{1}{x}}\,\left(\frac{1}{x^{2}} - \frac{\ln x}{x^{2}}\right)
Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = x^(1/x)

Points on the graph

  • y = x^(1/x): maximum (2.718282, 1.444668)

Worked examples