Solution:
Given, sin−1(cosx)
Let us assume cosx=t ... (i)
Then, substitute ' t ' in place of cosx
=sin−1(t)
sinx=1−cos2x=1−t2
So, now differentiating both sides of (i), we get,
(−sinx)dx=dt
dx=sinx−dt=1−t2−dt
By applying the integrals, we get,
∫sin−1(cosx)dx=∫sin−1t(1−t2−dt)=−∫1−t2sin−1tdt
Let us assume that, sin−1t=v
1−t2dt=dv
∫sin−1(cosx)dx=−∫vdv
On integrating,
=−2v2+C
Now, by substituting the value of v and t, we get,
=−2(sin−1t)2+C
=−2(sin−1(cosx))2+C
As we know that, sin−1θ+cos−1θ=2π, so sin−1(cosx)=2π−cos−1(cosx)=2π−x (taking 0≤x≤π).
Therefore,
=−21(2π−x)2+C=2πx−2x2+C1