Given,
\(\tan \frac{1}{2}\left[\sin ^{-1} \frac{2 x}{1+x^{2}}+\cos ^{-1} \frac{1-y^{2}}{1+y^{2}}\right].....(1)\)
We will solve \(\sin ^{-1} \frac{2 x}{1+x^{2}}\) and \( \cos ^{-1}\left(\frac{1-y^{2}}{1+y^{2}}\right)\) separately.
Solving \(\sin ^{-1} \frac{2 x}{1+x^{2}}\)
Putting \(x=\tan \theta\)
\(=\sin ^{-1}\left(\frac{2 \tan \theta}{1+\tan ^{2} \theta}\right)\)
As we know,
\(1+\tan ^{2} x=\sec ^{2} x\)
\(=\sin ^{-1}\left(\frac{2 \tan \theta}{\sec ^{2} \theta}\right)\)
\(=\sin ^{-1}\left(\frac{2 \frac{\sin \theta}{\cos \theta}}{\frac{1}{\cos ^{2} \theta}}\right)\)
\(=\sin ^{-1}\left(2 \frac{\sin \theta}{\cos \theta} \times \frac{\cos ^{2} \theta}{1}\right)\)
\(=\sin ^{-1}(2 \sin \theta \cos \theta)\)
\(=\sin ^{-1}(\sin 2 \theta)\)
\(\therefore \sin ^{-1} \frac{2 x}{1+x^{2}}=2 \theta.....(2)\)
Solving \(\cos ^{-1}\left(\frac{1-y^{2}}{1+y^{2}}\right)\),
Putting \(y=\tan \alpha\)
\(=\cos ^{-1}\left(\frac{1-\tan ^{2} \alpha}{1+\tan ^{2} \alpha}\right)\)
\(=\cos ^{1}\left(\frac{1-\tan ^{2} \alpha}{\sec ^{2} \alpha}\right)\)
\(=\cos ^{-1}\left(\frac{1-\frac{\sin ^{2} \alpha}{\cos ^{2} \alpha}}{\frac{1}{\cos ^{2} \alpha}}\right)\)
\(=\cos ^{-1}\left(\frac{\frac{\cos ^{2} \alpha-\sin ^{2} \alpha}{\cos ^{2} \alpha}}{\frac{1}{\cos ^{2} \alpha}}\right)\)
\(=\cos ^{-1}\left(\frac{\cos ^{2} \alpha-\sin ^{2} \alpha}{\cos ^{2} \alpha} \times \frac{\cos ^{2} \alpha}{1}\right)\)
\(=\cos ^{-1}\left(\cos ^{2} \alpha-\sin ^{2} \alpha\right)\)
As we know,
\(\cos 2 x=\cos ^{2} x-\sin ^{2} x\)
\(=\cos ^{-1}(\cos 2 \alpha)\)
\(\therefore\cos ^{-1}\left(\frac{1-y^{2}}{1+y^{2}}\right)=2 \alpha....(3)\)
Putting the values in equation \((1)\) from equation \((2)\) and \((3)\), we get
\(=\tan \frac{1}{2}[2 \theta+2 \alpha]\)
\(=\tan (\theta+\alpha)\)
\(=\frac{\tan \theta+\tan \alpha}{1-\tan \theta \tan \alpha}\)
Putting \(x=\tan \theta \) and \( y=\tan \alpha\), we get
\(=\frac{x+y}{1-x y}\)