Show solutionHide solution
We are given \(y=\cos^{-1}\!\left(\dfrac{1-x^2}{1+x^2}\right)\) with \(0<x<1\), and we want \(\dfrac{dy}{dx}\).
Step 1: A useful substitution. Since \(0<x<1\), we may put \(x=\tan\theta\) with \(0<\theta<\dfrac{\pi}{4}\). Then \(\theta=\tan^{-1}x\) lies in the principal range \(\left(-\dfrac{\pi}{2},\dfrac{\pi}{2}\right)\), so the substitution is legitimate.
Step 2: Simplify the argument. Using \(\tan\theta=\dfrac{\sin\theta}{\cos\theta}\),
\[ \frac{1-x^2}{1+x^2} =\frac{1-\tan^2\theta}{1+\tan^2\theta} =\frac{\cos^2\theta-\sin^2\theta}{\cos^2\theta+\sin^2\theta} =\cos 2\theta. \]Step 3: Apply the inverse cosine carefully. Because \(0<\theta<\dfrac{\pi}{4}\), we have \(0<2\theta<\dfrac{\pi}{2}\), which lies inside the principal range \([0,\pi]\) of \(\cos^{-1}\). Hence
\[ \cos^{-1}(\cos 2\theta)=2\theta. \]Therefore
\[ y=2\theta=2\tan^{-1}x. \]Step 4: Differentiate.
\[ \frac{dy}{dx}=2\cdot\frac{1}{1+x^2}=\frac{2}{1+x^2}. \]Check by direct differentiation. Let \(u=\dfrac{1-x^2}{1+x^2}\). Then
\[\nu'=\frac{(-2x)(1+x^2)-(1-x^2)(2x)}{(1+x^2)^2} =\frac{-2x-2x^3-2x+2x^3}{(1+x^2)^2} =\frac{-4x}{(1+x^2)^2}. \]Also \(\dfrac{d}{du}\cos^{-1}u=-\dfrac{1}{\sqrt{1-u^2}}\), and
\[ 1-u^2=1-\left(\frac{1-x^2}{1+x^2}\right)^2 =\frac{(1+x^2)^2-(1-x^2)^2}{(1+x^2)^2} =\frac{4x^2}{(1+x^2)^2}. \]Since \(x>0\), \(\sqrt{1-u^2}=\dfrac{2x}{1+x^2}\). Thus
\[ \frac{dy}{dx}=-\frac{1}{\;\frac{2x}{1+x^2}\;}\cdot\frac{-4x}{(1+x^2)^2} =\frac{2}{1+x^2}, \]which agrees with the substitution method.
Answer: \(\displaystyle \frac{dy}{dx}=\frac{2}{1+x^2}\).