Question
Question: How do you integrate \[{\left( {\ln x} \right)^2}\,dx\]?...
How do you integrate (lnx)2dx?
Solution
Hint : Here in this question given an indefinite integral, we have to find the integrated value of a given function. This can be solved by the method of integration by parts by separating the function as u and v , later integrated by using the standard formulas of integration. And by further simplification we get the required solution.
Complete step-by-step answer :
Integration by parts is a technique for performing indefinite integration or definite integration by expanding the differential of a product of functions d(uv) and expressing the original integral in terms of a known integral ∫vdu. A single integration by parts starts with
d(uv)=udv+vdu
and integrates both sides,
∫d(uv)=uv=∫udv+∫vdu.------(1)
Rearranging gives
∫udv=uv−∫vdu.---------(2)
Consider the given function (lnx)2dx
We have to find the value of ∫(lnx)2dx
Given an integral which is not having any upper and lower limit then it’s an indefinite integral.
Hence we add the C while integrating. Where, C is an arbitrary constant called as the constant of integration.
Let take x=ey
Take natural logarithm on both side, then
lnx=lney
lnx=y
∴(lnx)2=y2
And x=ey so that dx=eydy, then
⇒∫(lnx)2dx=∫y2eydy
Then by the method of integration by parts i.e., by the equation (2)
Where u=y2 and v=ey, then
⇒∫(lnx)2dx=∫y2eydy=y2ey−2y∫eydy+2∫eydy+C
On simplification, we get
⇒∫(lnx)2dx=y2ey−2yey+2ey+C
Substitute the value of y and ey then
⇒∫(lnx)2dx=(lnx)2x−2(lnx)x+2x+C
Rearranging gives
⇒∫(lnx)2dx=x(lnx)2−2x(lnx)+2x+C
Where C is an integrating constant.
Hence, the value of ∫(lnx)2dx is x(lnx)2−2x(lnx)+2x+C.
So, the correct answer is “x(lnx)2−2x(lnx)+2x+C ”.
Note : In integration we have two kinds one is definite integral and other one is indefinite integral. This question comes under the indefinite integral. While integrating the function which is in the form of product or division form we use the integration by parts method. By applying the integration by parts we obtain the solution.