How do I integrate ln(x)?

There is a subtle, but very neat trick to this when applying the rules of integration by parts.

If we take ∫ln(x)dx = ∫1*ln(x)dx, and then let our term to be differentiated, u = ln(x), and our term to be integrated, dv/dx = 1, then it follows that:


du/dx = x⁻¹, v = x


and from the integration by parts formula:

∫u * (dv/dx) dx = uv - ∫v * (du/dx) dx


∴ ∫ln(x)dx = xln(x) - ∫(x⁻¹ * x)dx (+ constant)

∫ln(x)dx = xln(x) - ∫dx (+ constant)

Hence, our results turns out to be:

∫ln(x)dx = xln(x) - x + c


NB. While our trick here gives us a very straightforward solution to an integration which could have been very laborious via other methods, integration by parts tends to be a last resort, as more, seemingly contrived steps are required. One should generally try integration by substitution, for non-standard integrations, first when unsure of which method to use, as the steps to a result are often far simpler and quicker.

Jacan C. A Level Maths tutor, A Level Physics tutor, GCSE Physics tut...

2 years ago

Answered by Jacan, an A Level Maths tutor with MyTutor

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


Alex W. A Level Maths tutor, GCSE Maths tutor, A Level Further Mathem...
View profile
£20 /hr

Alex W.

Degree: Mathematics (Masters) - Warwick University

Subjects offered: Maths, Physics+ 1 more

Further Mathematics

“Hi i'm Alex. I am currently a first year Maths student at Warwick University, and can tutor you in Maths, Further Maths and Physics at both GCSE and A-Level. I have had plenty of teaching experience before so I can hopefully help you ...”

MyTutor guarantee

James T. GCSE German tutor, A Level Maths tutor, A Level German tutor...
View profile
£20 /hr

James T.

Degree: Mathematics with Study in Continental Europe (Masters) - Bristol University

Subjects offered: Maths, German


“Grammar school educated tutor studying Mathematics at the University of Bristol with experience in tutoring in Maths and German”

PremiumLouise R. A Level Biology tutor, A Level Chemistry tutor, A Level Mat...
View profile
£24 /hr

Louise R.

Degree: Chemistry (Masters) - Edinburgh University

Subjects offered: Maths, Chemistry+ 1 more


“Hi my name is Louise Roberts and I am a 1st year Chemistry student at the University of Edinburgh.  I am very much looking forward to meeting some of you and hopefully helping you with your studies inBiology, Maths and of course, Chem...”

About the author

PremiumJacan C. A Level Maths tutor, A Level Physics tutor, GCSE Physics tut...
View profile
£26 /hr

Jacan C.

Degree: Theoretical Physics (Masters) - York University

Subjects offered: Maths, Science+ 3 more

Further Mathematics

“Hi, my name is Jacan. I am a Theoretical Physics third year at the University of York. I have had a real excitement for gaining an understanding in science at all levels through my education. This was, however, not always facilitated...”

You may also like...

Other A Level Maths questions

Find the positive value of x such that log (x) 64 = 2

If y = (1+3x)^2, what is dy/dx?

Given df/dx=2x+3 and the graph goes through (1,1), what is the function f?

How do I use numerical methods to find the root of the equation F(x) = 0?

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