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

Answered by Samuel C. Maths tutor

8368 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

The curve C has equation: 2x^2y + 2x + 4y – cos (piy) = 17. Use implicit differentiation to find dy/dx in terms of x and y.


Consider the functions f(x) = −x^3 + 2x^2 + 3x and g(x) = −x^3 + 3x^2 − x + 3. (a) Find df/dx (x) and hence show that f(x) has turning points at when x = 2 /3 ± √ 13/ 3 . [5] (b) Find the points where f(x) and g(x) intersect. [4]


The curve with the equation: y=x^2 - 32sqrt(x) + 20 has a stationary point P. Find the coordinates of P.


When do I use the product rule as opposed to the chain rule?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy