How do I find the integral ∫(ln(x))^2dx ?

This problem is all about using integration by parts, so let's start by quoting the formula for integration by parts:

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

To get the integral we want on the left hand side we can use the subtitutions u = dv/dx = ln(x). This means that we will have to find ∫ln(x)dx, this is also done using integration by parts:

To find ∫ln(x)dx we can use the substitutions u = ln(x) and dv/dx = 1. Using the formula above will then give us:

   ∫ln(x)*1dx = ln(x)*x - ∫x*(1/x)dx

 = xln(x) - ∫dx = xln(x) - x = x(ln(x)-1)

Using this we can now use our original substitutions in the formula to get:

   ∫ln(x)*ln(x)dx = ln(x)*x(ln(x)-1) - ∫x(ln(x)-1)*(1/x)dx

 = xln(x)*(ln(x)-1) - ∫(ln(x)-1)dx 

 = xln(x)*(ln(x)-1) - x(ln(x)-1) + x + c 

Now we just have to tidy this up to get our final answer:

  ∫(ln(x))^2dx = x[(ln(x)+1)^2 + 1] + c

Samuel C. A Level Physics tutor, A Level Maths tutor, A Level Further...

2 years ago

Answered by Samuel, an A Level Maths tutor with MyTutor

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


£20 /hr

Pankaj K.

Degree: Physics (Bachelors) - Kings, London University

Subjects offered:Maths, Physics+ 1 more

Further Mathematics

“Positive, Dedicated, Motivating, Calm, Patient, Understanding, Professional, Organised, Experienced, Focused, Enthusiastic, Passionate”

MyTutor guarantee

£26 /hr

Michelangelo M.

Degree: MMath Mathematics with Placement (Masters) - Bath University

Subjects offered:Maths, Italian+ 4 more

Further Mathematics

“Mathematics student at the University of Bath, willing to help you love this subject and improve your grades.”

£24 /hr

Sophie H.

Degree: Mathematics (Masters) - Bristol University

Subjects offered:Maths, Further Mathematics

Further Mathematics

“I’ll help anyone finding maths hard. I still struggle now, it's not meant to be easy! Be at my tutorial or (c^2-a^2) <- a maths joke, I apologise.”

About the author

Samuel C.

Currently unavailable: for new students

Degree: Physics (Bachelors) - Durham University

Subjects offered:Maths, Physics+ 2 more

Further Mathematics

“Hi, I'm Sam Crawford. I'm studying Maths and Physics at Durham University, with an offer from Cambridge for next year, and I absolutely love both subjects.”

You may also like...

Posts by Samuel

How do I do a proof by induction?

How do I find the integral ∫(ln(x))^2dx ?

Other A Level Maths questions

Integrate the function : F'(x)=3x^2+4x-5

Find dy/dx when y = 2ln(2e-x)

The volume of liquid in a container is given by v=(3h^2+4)^(3/2)-8, find dV/dh when h = 0.6

A stone, of mass m , falls vertically downwards under gravity through still water. The initial speed of the stone is u . Find an expression for v at time t .

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