The question is:-
as shown above in the first line. The task is to find the general solution.
When I substitute secx as sqrt(1+tan^2x) and square both the sides, I get x=0 or pi/4; that is, tanx=0 or tanx=1
But when I substitute tanx as sqrt(sec^2x-1) and square both sides, I don't get the same result.
Can someone point out where am I wrong? I solved it both by myself and by using this calculator.