Concept understanding — Derivative of a Function with Respect to Another Function
Given two functions u=f(x) and v=g(x), both differentiable functions of x, the derivative of u with respect to v (rather than with respect to x) is defined as dvdu=dv/dxdu/dx, provided dv/dx=0. This is really the parametric-derivative idea applied with x itself playing the role of the parameter: think of u and v as both depending on the 'parameter' x. To compute it, differentiate u and v separately with respect to x in the usual way, then divide the two derivatives. This technique is especially useful when u and v are both composite/inverse-trig expressions that individually look complicated, because after differentiating each with respect to x, the ratio …
Assuming v must also reduce to a clean multiple of sin−1x or tan−1x by analogy with u (it does not — 21+x21+1+x2 simplifies only to cos2(θ/2) under $x=\ …