I am having trouble deriving y = cot(arctan(x))
I got dy/dx = [-1+tan^2(arctan(x))]/[tan^2(arctan(x))(1+x^2)]
I used the chain rule for the overall equation, and I also used
Does this look correct? Or am I way off? Perhaps, can this be simplified further?
Any help is much appreciated,