I am having problem solving the following question-
Differenciate $\tan^{(-1)}{(\sqrt{1-x^2}/x)}$ with respect to $\cos^{(-1)}{(2x\sqrt {1-x^2})}$, where $x$ is not $0$.
My attempt -
I took the tan function as $a$ and cos one as $b$.
Now we need ${(da/dx)/(db/dx)} $
So here if I substitute $x=\cos\theta$
or $x=\sin\theta$,
da/dx is $-1/(\sqrt{1-x^2})$.
Now for the second function if I substitute $x=\cos\theta$ or $x=\sin\theta$ I dont get the same answer. Why is it so?
My book has taken $x$ to be between $-1/\sqrt{2}$ and $1/\sqrt{2}$ for the second function and hence arrived at the answer 0.5.My book says $x=\sin\theta $
is correct and $x=\cos\theta $
is wrong. How is this implied from the question?
Please help

By the substitution indicated in the numerator
$$ \dfrac{d(\tan^{-1}{\dfrac {\sqrt{1-x^2}}{x})}}{d[ \cos^{-1}2 x{\sqrt{1-x^2}]} }= \dfrac{d\varphi}{d(\cos^{-1} (sin 2 \varphi)}= \dfrac{d \varphi}{d(\pi/2 - 2 \varphi)}= \mp \dfrac12.$$
EDIT 1:
Due to presence of square-root either sign is correct in full domain. Sign change outside $ x= \pm \frac{1}{\sqrt 2} $