Hello furor celtica
You can see a similar thing if you square both sides in a simple non-trig equation. For example:
The solution is, of course, . But if you square both sides:
And the value doesn't satisfy , but . But of couse, both and give the value .
So, always beware of squaring both sides of an equation: you'll sometimes introduce extra, unwanted solutions if you do.