Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to solve this equation for all solutions $$\sin(2x) = -\cos(2x)$$

Here are my steps $$\sin(2x) + \cos(2x) = 0$$ $$\cos(2x)(\tan(2x) + 1) = 0$$

Upon solving these two equations, I find:

For cosine, $x = \frac{\pi}{4} + \pi n$

For both, $x = \frac{3 \pi}{8} + \pi n$

For both, $x = \frac{7 \pi}{8} + \pi n$

Where n is an integer.

The problem is that the first solution is incorrect, because

$$\sin\left(2\times\frac{\pi}{4}\right) + \cos\left(2\times\frac{\pi}{4}\right) = 1 + 0 = 1$$


$$\cos\left(2 \times \frac{\pi}{4}\right) = 0$$

I know this solution is invalid, but why? Why, upon factorization, did one of the solutions give me an incorrect answer? Shouldn't it also be correct, mathematically speaking, because when expanding the equation I get $\sin(2x) = -\cos(2x)$

share|cite|improve this question
up vote 2 down vote accepted

Note that $\;\tan 2x = \frac{\sin 2x}{\cos 2x}\;$ is undefined when $\cos 2x = 0$, i.e., when $x = \pi/4 + k\pi$, so it cannot be a solution to either the original or factored equation.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.