What is the integral of ln(x)? Hint: use parts for this integration

We use parts for this integration even though there is only one term! make ln(x)=1ln(x)

How to do integration by parts

If you have a function that you need to integrate that is two functions of x multiplied by eachother, and youve already tried everything else (inspection and substitution) then you're going to have to use integration by parts. 

Intergrating the function §f(x)g(x) ...

we set one of the fuctions to u' and one to v

normally we'll take the hardest part to integrate as v. 

but in this general example we'll just take f(x)=u' and g(x)=v (putting a ' on a fucntion is to say it has been differentiated) 

The general equation then takes the form 

§(u')v dx = uv - §(v')u dx

or §f(x)g(x) = (§f(x)dx)g(x) - §(§f(x)dx)g'(x)dx which just looks like a mess of symbols.

Sometimes youll have to do this more than once to get the answer, but its a very handy tool in integration! 

So our problem is lnx. To make this by parts we split it up into two terms, 1(lnx) 

Therefore u'=1 and v=lnx so u=x and v'=1/x

This makes the integral....

§-use this as integration sign

§ln(x)dx = xln(x) - §x(1/x)dx

          =xln(x) -§(1)dx

      = xln(x) -x + c 

Joseph W. A Level Physics tutor, A Level Maths tutor, A Level Chemist...

10 months ago

Answered by Joseph, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£20 /hr

Guy P.

Degree: Mathematics (Masters) - Warwick University

Subjects offered: Maths, Further Mathematics + 2 more

Further Mathematics

“About:Hi. I am a 2nd Year Mathematics student at the University of Warwick. I achieved a comfortable First in Year 1 and have continued this trend into my second year. Even from an early age, I have had a burning passion to engage m...”

£22 /hr

Anuradha D.

Degree: Physics (Masters) - Durham University

Subjects offered: Maths, Physics+ 4 more

Further Mathematics
-Personal Statements-

“Hello everyone! My name is Anuradha (you can call me Anu), and I am a Physics Undergrad at Durham. I have always had a “thing” for science and am so pleased to be studying it – and hope that I can give you all the support you need to ...”

£20 /hr

Peter W.

Degree: Chemistry (Masters) - Durham University

Subjects offered: Maths, Chemistry


“Hello! Thank you so much for taking the time to read my profile. I hope that either my passion or strong tutoring ability will encourage you to drop me a message so that we can get started with your lessons. About me: I am a fourth ...”

About the author

Joseph W.

Currently unavailable: for new students

Degree: Chemical Physics (Masters) - Edinburgh University

Subjects offered: Maths, Physics+ 1 more


“Hey I'm Joe, I'm currently studying Chemistry and Physics at the University of Edinburgh. I'm a second year, and the pain of A levels still hasn't really left me! So I'd love to help you out and hopefully take a bit of the weight off y...”

You may also like...

Other A Level Maths questions

Differentiate the function f(x) = x*sin(x)

How do you integrate xcos(x)?

A curve has equation y = 6ln(x) + x^2 -8x + 3. Find the exact values of the stationary points.

Polynomial long division, how do I do it?

View A Level Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss