# Math Help - Solving for x when sin x = cos x

1. ## Solving for x when sin x = cos x

How do I solve for x when sin x = cos x?

Any help would be greatly appreciated!
3. $\sin x-\cos x=\sqrt{2}\sin \left( x-\frac{\pi }{4} \right).$