Which of the following are solutions to the equation tan2x-1 = 0? Check allthat apply.

Given the equation;
[tex]\tan ^2x-1=0[/tex]Add 1 to both sides of the equation and you'll have;
[tex]\begin{gathered} \tan ^2x-1+1=0+1 \\ \tan ^2x=1 \end{gathered}[/tex]Square root both sides and you'll have;
[tex]\begin{gathered} \tan x=\pm\sqrt[]{1} \\ \tan x=\pm1 \\ \text{Therefore,} \\ x=\tan ^{-1}(1) \\ x=\frac{\pi}{4} \\ \text{Also,} \\ x=\tan ^{-1}(-1) \\ x=-\frac{\pi}{4} \end{gathered}[/tex]The correct answer is option B, which is
[tex]\frac{\pi}{4}[/tex]