The main question was how many values of $x$ satisfy the equation $\tan x+\sec x=2\cos x$ in the interval $[0,2\pi]$
Solving for $x$ gives two valid solutions (namely $\frac\pi 6$ and $\frac{5\pi} 6$) and one invalid solution (namely $\frac{3\pi}{2}$) because $\tan(\frac{3\pi}{2})$ is undefined. But graphing the equation over the given interval in Desmos shows $\frac{3\pi}{2}$ as a valid solution, why is that? Or is it really a valid solution?
My guess is that since Desmos is showing a decimal approximation instead of the exact form of $\frac{3\pi}{2}$ maybe the $0$ as well is an approximate of some value really really close to $0.$
at a highschool level, since we don't deal with removable singularities, this solution would usually not be accepted (at least in Singapore).
– Tveltzel Aug 16 '25 at 12:25