Solution:
We use integration by parts:
∫f(x)g(x)dx=f(x)∫g(x)dx−∫[f′(x)∫g(x)dx]dx
Take (sin−1x)2 as the first function and the constant function 1 as the second function.
∫(sin−1x)2dx=(sin−1x)2⋅x−∫2sin−1x⋅1−x21⋅xdx
=x(sin−1x)2−2∫sin−1x⋅1−x2xdx…(1)
First, find ∫1−x2xdx. Put 1−x2=t, so that −2xdx=dt.
∫1−x2xdx=−21∫tdt=−t=−1−x2
Now integrate ∫sin−1x⋅1−x2xdx by parts, with sin−1x as the first function and 1−x2x as the second function.
∫sin−1x⋅1−x2xdx=sin−1x(−1−x2)−∫1−x21(−1−x2)dx
=−1−x2sin−1x+∫1dx
=−1−x2sin−1x+x
Substituting in (1),
∫(sin−1x)2dx=x(sin−1x)2−2(−1−x2sin−1x+x)+C
Therefore,
∫(sin−1x)2dx=x(sin−1x)2+21−x2sin−1x−2x+C