tan^2x = sec^2x-1