Solution:
Key idea: The factor xdx is half the differential of x2, so we put x2=t. Then ∫tan−1tdt is found by parts, ∫uvdx=u∫vdx−∫(dxdu∫vdx)dx, with 1 as the second function.
Step 1 — Substitute.
We put x2=t; differentiating gives 2xdx=dt.
xdx=2dt
I=21∫tan−1tdt
Step 2 — Integrate by parts.
We take u=tan−1t and v=1, so dtdu=1+t21 and ∫1dt=t.
∫tan−1tdt=ttan−1t−∫1+t2tdt
∫tan−1tdt=ttan−1t−21log(1+t2)
Step 3 — Halve and return to x.
We multiply by 21, put t=x2, so t2=x4, and add the constant.
I=21x2tan−1x2−41log(1+x4)+C
Therefore, ∫xtan−1x2dx=21x2tan−1x2−41log(1+x4)+C.