How do you verify #(1+tan x) / (1+cot x) = 2#?
It is not possible to verify #(1+tan(x))/(1+cot(x)) = 2
because it isn't (in general) true.
As an obvious counter example consider the case when
In fact with very little manipulation it is easy to show: