How do I integrate log(x) or ln(x)?

The integral of log(x) is not necessarily straight-forward. Though we can use the fact that d/dx(log(x)) = 1/x to help us.

Rather than simply trying to integrate log(x), we can use integration by parts on 1 x log(x) (as in 'one times' log(x)).

So we can differentiate the log(x) part and integrate the 1 part to give:

xlog(x) - ∫ 1 dx = xlog(x) - x

Note: if the middle step isn't clear, we can write it more explicitly as

u = log(x)  v' = 1

u' = 1/x     v = x

Where the rule for integration by parts is written as:

uv' = uv - ∫ u'v    ,  where u and v are functions of x

DF

Related Maths A Level answers

All answers ▸

The curve C has equation y=(2x-3)^5, the point P lies on C and has coordinates (w, – 32), find (a) the value of w and (b) the equation of the tangent to C at the point P in the form y=mx+c , where m and c are constants.


Evaluate the integral ∫(sin3x)(cos3x)dx (C4 Integration)


Differentiate x^x


How would you solve (2x+16)/(x+6)(x+7) in partial fractions?