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
Answered by Daniel F. Maths tutor

15411 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A particle of mass 0.5 kg is moving down a rough slope (with coefficient of friction = 0.2) inclined at 30 degrees to the horizontal. Find the acceleration of the particle. Use g = 9.8 ms^-2.


Express 3 cos θ + 4 sin θ in the form R cos(θ – α), where R and α are constants, R > 0 and 0 < α < 90°.


Differentiate with respect to x: 4(x^3) + 2x


Solve the simultaneous equations: y=x+1, x^2+y^2=13


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning