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

Daniel F. A Level Maths tutor, A Level Further Mathematics  tutor, GC...

2 years ago

Answered by Daniel, an A Level Maths tutor with MyTutor

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


£22 /hr

Lucy S.

Degree: Chemistry (Masters) - Durham University

Subjects offered:Maths, Chemistry


“Reading Chemistry at Durham University with expertise in Chemistry and Mathematics (A*A*) at GCSE/A-level”

£20 /hr

Jacob F.

Degree: Mathematics (Bachelors) - Warwick University

Subjects offered:Maths, German+ 2 more

Further Mathematics
-Personal Statements-

“2nd year Maths undergrad with enhanced DBS (CRB) certification and experience teaching in secondary schools and at University. Fluent German speaker.”

£24 /hr

Ayyub A.

Degree: Mathematics Msci (Bachelors) - Bristol University

Subjects offered:Maths, Further Mathematics + 1 more

Further Mathematics

“Hi I'm Ayyub, current student at Bristol university studying Maths. I have significant tutoring experience in maths and hopefully i'll be able to help you out.”

About the author

Daniel F.

Currently unavailable: for regular students

Degree: Maths and Philosophy (Bachelors) - Durham University

Subjects offered:Maths, Further Mathematics

Further Mathematics

“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

You may also like...

Posts by Daniel

How do I integrate cos^2(x)?

How do I integrate log(x) or ln(x)?

Other A Level Maths questions

Differentiation basics: What is it?

find the derivative of the following equation: a) y = 5x^3 - 4x^-4 + xb

How do you solve 3sin2AtanA=2 for 0<A<180?

A triangle has sides A, B and C. The side BC has length 20cm, the angle ABC is 50 deg and angle BAC is 68 deg. a) Show that the length of AC is 16.5cm, correct to three significant figures. b) The midpoint of BC is M, hence find the length of AM

View A Level Maths tutors

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