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

Answered by Daniel F. Maths tutor

14076 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Differentiate x^x


Find the exact value of sin(75°). Give your answer in its simplest form.


What is a stationary point and how do I find where they occur and distinguish between them?


Find all solutions to the trig equation 2sin(x)^2 + 3sin(x) - 2 = 0 in the range 0 <= x <= 360 degrees


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences