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

13963 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Core 3: Find all the solutions of 2cos(2x) = 1-2sin(x) in the interval 0<x<360


Solving harder exponential equations, e.g. 5/[exp(x) + 6exp(-x)] - 1 = 0 . CORE MATHS.


what is d(2x^3)/dx?


1. The curve C has equation y = 3x^4 – 8x^3 – 3 (a) Find (i) d d y x (ii) d d 2 y x 2 (3) (b) Verify that C has a stationary point when x = 2 (2) (c) Determine the nature of this stationary point, giving a reason for your answer.


We're here to help

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