MathorynMathematical Formula Database

Calculus

Integral of 1/x

The antiderivative of 1/x1/x is the natural logarithm of ∣x∣|x|. This is the exceptional case n=−1n=-1 of the power rule. It is used whenever a rate is inversely proportional to a quantity, for example in growth, decay and work done by a gas.

∫1x dx=ln⁡∣x∣+C\int\frac{1}{x}\,dx=\ln|x|+C
LaTeX\int\frac{1}{x}\,dx=\ln|x|+C

Variables

xx
nonzero real number
CC
constant of integration

Example

Compute ∫1edxx\int_1^{e}\frac{dx}{x}.

  1. ln⁡e−ln⁡1=1−0\ln e-\ln1=1-0.

Answer: 11.

Related formulas