# Isolating $y$ in $\sin(xy)=\cos(xy)$

Given $\sin(xy)=\cos(xy)$, what is the best way to isolate $y$? Since $\sin(\frac{\pi}{2}) = \cos(\frac{\pi}{2})$ it would seem intuitive to say that $xy=\frac{\pi}{2}$ and thus that $y=\frac{\pi}{2x}$

Is this the correct approach, or am I missing something important?

• Think you mean $\pi/4$ instead of $\pi/2$. – Edward Jiang Apr 20 '16 at 0:05

Hint: $$\tan {(xy)} =1$$ and $\tan ^{-1}$ both sides.
• +1 but OP should note that $\tan^{-1}$ will not give the entire solution set, only the principle branch. To fix this note that $\tan$ is $\pi$-periodic. So if $z_0$ is a solution, so is $z_0 +n\pi$ for any $n \in \mathbb{Z}$. – MathMajor Apr 20 '16 at 0:05
• @MathMajor, the solution is $xy = \frac{\pi}{4} + n \pi$ – user1543042 Apr 20 '16 at 0:10
$$sin(xy)=cos(xy)\iff xy= \frac{\pi}{4}+k\pi;\space k\in \mathbb Z$$
Thus $$\color{red}{y=\frac{(4k+1)\pi}{4x}}$$