Integration by substitution · Exercise-U-SUBSTITUTION-010

Step-by-step solved exercise: Integrals

Compute \(\displaystyle\int \frac{\ln x}{x}\,dx\).

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Choose u equal to the logarithm.

    \[\displaystyle u=\ln x\]
  2. Compute the differential of u.

    \[\displaystyle du=\frac{dx}{x}\]
  3. Rewrite the integral; the factor dx/x becomes du and the remaining factor is u.

    \[\displaystyle \int u\,du\]
  4. Integrate the power function.

    \[\displaystyle \frac{u^{2}}{2}+C\]
  5. Return to the variable x.

    \[\displaystyle \frac{(\ln x)^{2}}{2}+C\]

    Comment: Check: differentiating gives \(\displaystyle \frac{\ln x}{x}\).

Answer

\(\displaystyle \frac{(\ln x)^{2}}{2} + C\)

🎯 Build my path to this exercise