Integrate the function.
∫xtan−1xdx.
Let I=∫xtan−1xdx
On taking tan−1x as first function and x as second function and integrating by parts, we get
(∵ Inverse functions comes before algebraic function in ILATE)
∴I=tan−1x∫xdx−∫[ddx(tan−1x)∫xdx]dx
=tan−1x.x22−∫[11+x2.x22]dx=x22.tan−1x−12∫[x2+1−11+x2]dx
[Add and subtract 1 in numerator of second term]
=x22.tan−1x−12[∫1+x21+x2dx−∫11+x2dx]=x22tan−1x−12[∫1dx−∫11+x2dx]=x22tan−1x−12x+12tan−1x+C=(x2+12)tan−1x−12x+C