Solution:
Let x2=cos2θ or
θ=21cos−1x2
.
LHS:
LHS=tan−1(2cos2θ−2sin2θ2cos2θ+2sin2θ)
=tan−1(cosθ−sinθcosθ+sinθ)
=tan−1((1+tanθ)÷(1−tanθ))
=tan−1(tan(4π+θ))
=4π+θ
=4π+21cos−1x2(RHS)
Note: the step
tan−1(tan(4π+θ))=4π+θ
needs 0≤θ<4π, i.e. x=0. At x=0 the left side is undefined (its denominator is 0), so the identity holds for
0<∣x∣<1
.