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 ▸

2x + y = 12. P = xy^2. Show that P = 4x^3 - 48x^2 + 144x


Differentiate y=x(e^x)


A circle A has equation x^2+y^2-6x-14y+54=0. Find a) the coordinates of the centre of A, b) the radius of the circle A.


How can I find the correct list of solutions whilst solving a trigonometry equation?