Integrate the function.
∫(x2+1)logxdx.
Let I=∫(x2+1)logxdx
On taking log x as first function and (x2+1) as second function and integrating by parts, we get
I=logx∫(x2+1)dx−∫[ddx(logx)∫(x2+1)dx]⇒I=logx(x33+x)−∫1x.(x33+x)dx⇒I=(x33+x)logx−∫(x23+1)dx=(x33+x)logx−x39−x+C