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

15741 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

If f(x) = (3x-2) / x-5 x>6, find a.) ff(8) b.) the range of f(x) c.) f^-1(x) and state its range.


A trolley of negilible mass on horizontal tracks is at rest. A person of mass 50kg is standing on the trolley with a bag of mass 10kg. The person throws the bag off the trolley horizontally with a velocity of 3m/s. Calculate the velocity of the man.


Differentiate e^x^2


Solve the inequality 􏰂|2x + 1|􏰂 < 3|􏰂x − 2|􏰂.


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:

© 2026 by IXL Learning