Solution:
Key idea: The substitution x=tanθ turns 1+x1−x into 1+tan2θ1−tan2θ, which is the double-angle form of cos2θ.
Also cos−1(cosϕ)=ϕ whenever 0≤ϕ≤π.
Step 1 — Make the substitution.
The term x needs x≥0. Let x=tanθ with 0≤θ<2π.
Then x=tan2θ, and θ=tan−1x.
Step 2 — Simplify the fraction.
We replace x by tan2θ and use the double-angle formula.
1+x1−x=1+tan2θ1−tan2θ
1+x1−x=cos2θ
Step 3 — Remove the inverse cosine.
Since 0≤2θ<π, the inverse cosine of cos2θ is 2θ itself.
21cos−1(1+x1−x)=21cos−1(cos2θ)=21⋅2θ=θ=tan−1x
Therefore, 21cos−1(1+x1−x)=tan−1x for every x≥0.