Integration by parts · Exercise-INTEGRATION-BY-PARTS-004

Step-by-step solved exercise: Integrals

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

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

Step-by-step solution

  1. Take \(\displaystyle u=\ln x\) and \(\displaystyle dv=dx\).

    \[\displaystyle u=\ln x,\quad dv=dx\]
  2. Compute \(\displaystyle du=\frac{1}{x}\,dx\) and \(\displaystyle v=x\).

    \[\displaystyle du=\frac{1}{x}\,dx,\quad v=x\]
  3. Apply the formula \(\displaystyle \int u\,dv=uv-\int v\,du\).

    \[\displaystyle \int \ln x\,dx = x\ln x-\int x\cdot\frac{1}{x}\,dx\]
  4. Simplify \(\displaystyle \int dx=x\) to get the final result.

    \[\displaystyle x\ln x-\int dx = x\ln x-x+C\]

Answer

\(\displaystyle x \ln{\left(x \right)} - x + C\)

🎯 Build my path to this exercise