Solution:
We use integration by parts:
∫f(x)g(x)dx=f(x)∫g(x)dx−∫[f′(x)∫g(x)dx]dx
Take cos−1x as the first function and x as the second function.
∫xcos−1xdx=cos−1x⋅2x2−∫(−1−x21)2x2dx
=2x2cos−1x+21∫1−x2x2dx…(1)
To find ∫1−x2x2dx, put x=sinθ, so that dx=cosθdθ and 1−x2=cosθ.
∫1−x2x2dx=∫sin2θdθ=2θ−2sinθcosθ=21sin−1x−2x1−x2
Using sin−1x=2π−cos−1x,
∫1−x2x2dx=4π−21cos−1x−2x1−x2
Substituting in (1),
∫xcos−1xdx=2x2cos−1x+8π−41cos−1x−4x1−x2+C1
The constant 8π is absorbed into the constant of integration, C=C1+8π.
Therefore,
∫xcos−1xdx=42x2−1cos−1x−4x1−x2+C