Solution:
Concept: An inverse trigonometric function of an algebraic expression is often simplified by a trigonometric substitution (such as x=tanθ, x=sinθ or x=cosθ), which turns the expression into one trigonometric ratio of a multiple of θ. Then we use the principal-value rules: sin−1(sinφ)=φ for −2π≤φ≤2π, cos−1(cosφ)=φ for 0≤φ≤π, tan−1(tanφ)=φ for −2π<φ<2π and cot−1(cotφ)=φ for 0<φ<π, and after that the simplified function is differentiated with the standard results.
Step 1 — Choose the substitution and the interval.
The expression 2x1−x2 matches cot2θ=2tanθ1−tan2θ, so we put x=tanθ. We first take x>0.
x=tanθ
θ=tan−1x
For x>0 the angle θ lies between 0 and 2π, so
0<2θ<π
Step 2 — Simplify the expression inside the inverse cotangent.
We replace x by tanθ and use the double-angle formula for tan2θ, turned upside down.
2x1−x2=2tanθ1−tan2θ=tan2θ1=cot2θ
Step 3 — Remove the inverse cotangent.
Because 2θ lies in (0,π), which is exactly the principal range of cot−1, the inverse cotangent returns 2θ.
y=cot−1(cot2θ)=2θ=2tan−1x
Step 4 — Differentiate with respect to x.
We use dxd(tan−1x)=1+x21.
dxdy=2⋅1+x21=1+x22
Step 5 — Check the case x<0.
For x<0 the angle 2θ lies in (−π,0), so the inverse cotangent gives 2θ+π instead. The extra π is a constant, so its derivative is 0 and the result is unchanged.
ydxdy=π+2tan−1x=1+x22
Therefore, dxdy=1+x22 for every x=0.