# Find the smallest number p for which the equation $\cos (p\sin (x))=\sin(p\cos (x))$

Find the smallest number p for which the equation $\cos (p\sin (x))=\sin(p\cos (x))$ has a solution.

x belongs to $[0,2\pi]$

Any hints for this please.Don't know how to proceed.

• Do you mean the smallest $p>0$ for which the equation has a solution in $x$? – almagest May 29 '16 at 13:46
• @ChristianBlatter sorry.Corrected it – user220382 May 29 '16 at 13:49
We have $$\cos(p\sin x)=\sin (p\cos x)$$ $$\implies \cos (p\sin x)=\cos(\pi/2-p\cos x)$$ $$\implies p\sin x=2k\pi+\pi/2-p\cos x$$ Where $k \in \mathbb Z$ $$\implies p(\sin x+\cos x)=(4k+1)\pi/2$$ For finding smallest $p$, $k=0$, $$\implies p(\sin x+\cos x)=\pi/2$$ Now, $\sin x+\cos x\leq \sqrt {2}$, $$\implies p \geq \frac{\pi}{2\sqrt2}$$
• I think there is a mistake while transiting from second to third step.The solution should be given by $2k\pi+$ or $2k\pi-$ .You didn't take the negative sign. – user220382 May 29 '16 at 13:55
• When $p=\frac\pi{2\sqrt2}$, the equation is solved by $x=\pm\frac\pi4+2k\pi$. – Akiva Weinberger May 29 '16 at 13:55
• @SanchayanDutta $k$ can be negative as well, so the $2k\pi-$case happens when $k<0$ – Nikunj May 29 '16 at 13:57
• If $x$ solves the equation, so does $-x$. So we can, without loss of generality, replace $x$ by $-x$ (and $k$ by $-k$) in that case to turn it into the $2k\pi+$ version. @SanchayanDutta (Graphing confirms that $\frac\pi{2\sqrt2}$ is indeed the answer.) – Akiva Weinberger May 29 '16 at 13:59