Why can $-n\cdot \pi $ be changed to $n\cdot \pi $?

69 Views Asked by At

This task was just to solve this equation: $\cos2x=\cos4x$. I solved it correctly apart from one step. My book somehow changes $-n\cdot \pi $ to $n\cdot \pi $. How is it possible?

enter image description here