Solution:
Key idea: We write the integrand as cos−1x⋅1 and integrate by parts, ∫uvdx=u∫vdx−∫(dxdu∫vdx)dx, with u=cos−1x and v=1. Here −1≤x≤1.
Step 1 — Find the pieces needed.
We use the standard derivative of cos−1x and ∫1dx=x.
dxdu=−1−x21
Step 2 — Apply the parts formula.
We put these into the formula; the two minus signs make a plus.
I=xcos−1x−∫x(−1−x21)dx
I=xcos−1x+∫1−x2xdx
Step 3 — Find the new integral by substitution.
We put t=1−x2; then dt=−2xdx.
xdx=−2dt
∫1−x2xdx=−21∫t−1/2dt
∫1−x2xdx=−t
∫1−x2xdx=−1−x2
Step 4 — Combine.
We put this back into Step 2 and add the constant.
I=xcos−1x−1−x2+C
Therefore, ∫cos−1xdx=xcos−1x−1−x2+C for −1≤x≤1.