I am trying to solve an equation in Wolfram Mathematica and I get different results although the equation is technically the same. I am really confused. so basically:
$\sin(2x) - \cos(2x)= 1$ is the same as $\sin(2x) = 1 + \cos(2x)$.
For the first equation it gives me $x=\frac{1}{2}\left(2\pi n+\pi \right)$ and $x=\frac{1}{4}\left(4\pi n+\pi \right)$ as solution,
but for the second one it returns: $x=-\frac{3}{4}\pi n+\pi n$ and $x=-\frac{\pi }{2}+\pi n$. So which one is true and how should I exactly write the formula to show me the "correct" solution? I appreciate any help.