Consider the given integral.
I=∫cos−1xdx
I=∫1.cos−1xdx
We know that
∫uvdx=u∫vdx−∫(ddx(u)∫vdx)dx
Therefore,
I=cos−1x(x)−∫(−1√1−x2)(x)dx
I=xcos−1x+∫x√1−x2dx
Let t=1−x2
dtdx=0−2x
−dt2=xdx
Therefore,
I=xcos−1x−12∫dt√t
I=xcos−1x−12(2√t)+C
I=xcos−1x−√t+C
On putting the value of t, we get
I=xcos−1x−√1−x2+C
Hence, this is the answer.