MathCalculus

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

Read the integrand as 1/(2x), apply the logarithmic rule, and check the antiderivative on each side of zero.

Question

Use a basic integration formula to find the antiderivative:

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

Answer

For the integrand shown in the source,

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

1. Resolve the notation

The search phrase “antiderivative of 1/2 x” can be read ambiguously. The textbook explicitly places 2x2x together in the denominator, so this exercise is about 1/(2x)1/(2x).

If the intended function were (1/2)x=x/2(1/2)x=x/2, its antiderivative would instead be x2/4+Cx^2/4+C. That is a different expression and is not the integrand in this question.

2. Factor out the constant

∫12x dx=12∫1x dx=12ln⁡∣x∣+C.\int\frac{1}{2x}\,dx=\frac12\int\frac1x\,dx=\frac12\ln|x|+C.

The power-rule formula cannot be used with exponent −1-1; this is the logarithmic case.

3. Differentiate to check

For x>0x>0, ln⁡∣x∣=ln⁡x\ln|x|=\ln x. For x<0x<0, ln⁡∣x∣=ln⁡(−x)\ln|x|=\ln(-x) and the chain rule gives (−1)/(−x)=1/x(-1)/(-x)=1/x. Hence on either half-axis,

ddx(12ln⁡∣x∣+C)=12x.\frac{d}{dx}\left(\frac12\ln|x|+C\right)=\frac{1}{2x}.

No antiderivative is defined across zero for this integrand. On the disconnected domain x≠0x\ne0, the constants on x>0x>0 and x<0x<0 may be chosen independently.

Evidence boundary

This page follows the explicit fraction dx/(2x) in OpenStax Calculus Volume 2, §1.4, exercise 209. The search phrase alone does not establish parentheses. The logarithmic answer is valid on intervals excluding zero, with independent constants allowed on the two half-axes.

Sources

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