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 ▸

Differentiate 3x^(3) + 7x^(2) -4x


Ignoring air resistance and assuming gravity to equal 9.81. If a ball of mass 1kg is dropped from a height of 100m, calculate it's final velocity before it hits the ground.


Where does the circle (x-6)^2+(y-7)^2=4 intersect with y=x+3


How do you find the turning points of a graph and how do you if the point is a maximum or a minimum?