A solution of the equation (1−tanθ)(1+tanθ)sec2θ+2tan2θ=0 which θ lies in the interval (−π/2,π/2) is given by
θ=0
θ=π3
θ=-π3
θ=π6
(1−tanθ)(1+tanθ)sec2θ+2tan2θ=0⇒1−tan4θ+2tan2θ=0⇒2t=t2−1 where t=tan2θ
By inspection (or by graph) we find
y=2t and y=t2−1 intersect in t=3⇒ tan2θ=3⇒ tanθ=±3⇒θ=±π/3