MathorynMathematical Formula Database

Calculus

Integral of ln x

The integral of ln⁡x\ln x is found by integration by parts with u=ln⁡xu=\ln x and dv=dxdv=dx. It is used in entropy and information calculations, Stirling-type estimates and whenever logarithms must be integrated.

∫ln⁡x dx=xln⁡x−x+C\int\ln x\,dx=x\ln x-x+C
LaTeX\int\ln x\,dx=x\ln x-x+C

Variables

xx
positive variable
CC
constant of integration

Example

Compute ∫1eln⁡x dx\int_1^e\ln x\,dx.

  1. [xln⁡x−x]1e=(e⋅1−e)−(0−1)[x\ln x-x]_1^e=(e\cdot1-e)-(0-1).

Answer: 11.

Related formulas