What is the antiderivative of 1/(2x)12x?

1 Answer
Mar 15, 2016

1/2 ln abs x +C12ln|x|+C

Explanation:

d/dx(lnx) = 1/xddx(lnx)=1x and d/dx(ln(-x)) = 1/xddx(ln(x))=1x,

so the antiderivative of 1/x1x is ln abs x +Cln|x|+C

The constant 1/212 just hangs out in front.

Caution
In some treatments (James Stewart's Calculus , for example) there is a subtle difference between the antiderivative of a function with a discontinuity and the indefinite integral of such a function.

In such a treatment, the antiderivative of 1/x1x is

F(x) = {(lnx+C_1,"if",x < 0),(lnx+C_2,"if",x > 0) :}

The integral is assumed to take place only on one side or the other, so int 1/x dx = ln absx +C