Question
Mathematics Question on integral
Integrate the function: (x2+1)logx
Answer
The correct answer is: (3x3+x)logx−9x3−x+C
Let I=∫(x2+1)logxdx=∫x2logxdx+∫logxdx
Let I=I1+I2...(1)
Where,I1=∫x2logxdxandI2=∫logxdx
I1=∫x2logxdx
Taking log x as first function and x2 as second function and integrating by parts,we
obtain
I1=logx−∫x2dx−∫[(dxdlogx)∫x2dx]dx
=logx.3x3−∫x1.3x3dx
=3x3logx−31(∫x2dx)
=3x3logx−9x3+C1...(2)
I2=∫logxdx
Taking log x as first function and 1 as second function and integrating by parts,we
obtain
I2=logx∫1.dx−∫(dxdlogx)∫1.dx
=logx.x−∫x1.xdx
=xlogx−∫1dx
=xlogx−x+C2...(3)
Using equations(2)and(3)in(1),we obtain
I=3x3logx−9x3+C1+xlogx−x+C2
=3x3logx−9x3+xlogx−x+(C1+C2)
=(3x3+x)logx−9x3−x+C