Combining two solutions to cos x + sin x = 0

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
primarygun
Messages
233
Reaction score
0
General solution for a trigonometry equation.
I solved this equation with several method and I found two possible expressions for the answers. They should be exactly the same. Please help me check for them or combine them together to give the one which is more common. Thanks for any ideas.
[itex]\cos x + \sin x=0[/itex]
[itex]x=n\pi -\pi/4[/itex]
[itex]x=(n\pi)/2+\pi/4[/itex]
 
Last edited:
Mathematics news on Phys.org
Your first is correct.
Letting n be some integer, another way to write the solutions is:
[tex]x=\frac{2n+1}{2}\pi+\frac{\pi}{4}[/tex]
Your last equation is incorrect; set n=2.
This says that [tex]x=\frac{5\pi}{4}[/tex] is a root; but this is untrue, since it lies in the 3.quadrant where both the sine and cosine functions are negative.
 
Oh sorry, I missed to state that the n for the second expression is any odd integer. Really sorry.
 
primarygun said:
Oh sorry, I missed to state that the n for the second expression is any odd integer. Really sorry.
In that case, of course, your second equation is just the one I provided; both 1) and 2) are standard ways of writing the solutions
 
Thank you very much.