How do you integrate ln(x)?

Tricky. Definitely can't do it by inspection (we don't know any fuction that just differentaties to ln(x)), it's not like we've really got anything to substitute u for if we wanted to do it by substitution and integration by parts requires two different terms being multiplied together; and we only have one! It seems like all of the ways we know how to integrate aren't going to help us much??

Maybe one of them could though. If we rewrite ln(x) = 1*ln(x) we at least have two terms in order to do integrate by parts. choosing which is u and which is dV/dx isn't going to be very hard; if we took ln(x) = dV/dx then we'd have to integrate it immediately, which was the whole problem! u = ln(x) it is then.

this gives us du/dx = 1/x and V = the integral of 1 dx = x

This looks promising. Our formula for integration by parts ( derived from the product rule) is:

Integral(udV/dx) = uV - Integral(du/dxV)       Substiting the values we just got into this gets us:

Integral(ln(x)) = xln(x) - Integral(x1/x)   Awesome. x1/x = 1 and we can definitely integrate that;

Answer = xlnx - Integral(1) = xlnx - x  = x(lnx-1) + c        [try not to forget the plus c!]

There you go. A little bit of creativity required, and we turned a seeming dead end into a complete solution! This result could definitely be useful when we're integrating more complex functions, like x/ln(x).

RG
Answered by Ross G. Maths tutor

95879 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

The first term of an arithmetic series is a and the common difference is d. The 12th term is 66.5 and the 19th term is 98. Write down two equations in a and d then solve these simultaneous equations to find a and d.


Why is the derivative of inverse tan(x) 1/(1+x^2)?


Let y = x^x. Find dy/dx.


How do I integrate 3^x?


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