1. Set up the first integration by parts
Let u=(lnx)2 and dxdv=x.
Then dxdu=2(lnx)⋅x1=x2lnx and v=2x2.
Using ∫udxdvdx=uv−∫vdxdudx,
∫x(lnx)2dx=2x2(lnx)2−∫2x2(x2lnx)dx
2. Simplify the remaining integral
∫x(lnx)2dx=2x2(lnx)2−∫xlnxdx
3. Apply integration by parts a second time to the new integral
For ∫xlnxdx, let u1=lnx and dxdv1=x.
Then dxdu1=x1 and v1=2x2.
∫xlnxdx=2x2lnx−∫2x2(x1)dx
=2x2lnx−∫2xdx
4. Integrate the final term, combine the results, and add the constant of integration
∫xlnxdx=2x2lnx−4x2
Substituting this back into the first equation:
∫x(lnx)2dx=2x2(lnx)2−(2x2lnx−4x2)+c
=2x2(lnx)2−2x2lnx+4x2+c
答案2x2(lnx)2−2x2lnx+4x2+c