I've got this function: $$f(x)=\left(\frac{\sec x+\tan x}{\sec x-\tan x}\right)^{1/2}$$ and I tried using pythagorean identity to simplify it, thus I've found that:
$$f(x)=\sec x+\tan x$$
and derivative is way more simple here. Is this OK? or should I consider function domain and stuff?