MathCalculus

Antiderivative of 1/x: Evaluate ∫2/x dx

Evaluate OpenStax Calculus Volume 1 exercise 325 using the antiderivative of 1/x and explain why absolute value and x ≠ 0 matter.

Question

OpenStax Calculus Volume 1, §5.6, exercise 325: Compute the indefinite integral

∫2x dx.\int\frac{2}{x}\,dx.

Answer

The constant multiple rule and the logarithmic antiderivative give

∫2x dx=2∫1x dx=2ln⁡∣x∣+C,x≠0.\boxed{\int\frac{2}{x}\,dx =2\int\frac{1}{x}\,dx =2\ln|x|+C,\qquad x\ne0.}

Indeed, ddx[2ln⁡∣x∣+C]=2/x\frac{d}{dx}[2\ln|x|+C]=2/x for x≠0x\ne0. The absolute value lets the formula work on both positive and negative xx; the power rule for xnx^n with n≠−1n\ne-1 does not cover 1/x1/x.

Evidence boundary

The source supplies no initial condition and excludes x=0x=0 through the integrand. A general antiderivative on the disconnected domain can have a different constant on each side of zero.

Sources

Эти источники подтверждают изложенные выше концепции и методы.