Question
Question: How do you evaluate the integral of \[{\left( {\ln x} \right)^2}dx\]?...
How do you evaluate the integral of (lnx)2dx?
Solution
In the given question, we have been given a function. The function is a logarithmic function. This logarithmic function contains a variable as an argument. Then this logarithmic function is raised to a power. We have to calculate the value of the integral of this whole logarithmic function. To solve the integral, we are going to need to use integration by parts.
Formula Used:
In the question, we are going to use the formula of integration by parts:
∫udv=uv−∫vdu
Complete step-by-step answer:
The given expression to be integrated is (lnx)2dx.
Let u=(lnx)2 and dv=dx
Then, we can say that,
du=x2lnx and also, v=x
Using the formula of integration by parts, we get:
⇒ ∫(lnx)2dx=x(lnx)2−2∫lnxdx
Now, we know that
⇒ ∫lnxdx=xlnx−x+c
Hence by replacing the values we get,
⇒ ∫(lnx)2dx=x(lnx)2−2(xlnx−x)+c
Therefore, on simplifying we get, ∫(lnx)2dx=x(lnx)2−2xlnx+2x+c.
Note: In the given question, we had to find the value of the integral of a logarithmic function. There can be many ways by which we can attempt to find the answer, but the only correct way is to solve by using integration by parts. We figure that out by seeing the dx part – the differential is of the argument of the determining function – the logarithmic function. So, we must know the concept of the things being used.