TITLE: Solving equation $\tan(5π\cos\alpha) = \cot(5π\sin\alpha)$
QUESTION [7 upvotes]: $$\tan(5π\cos \alpha) = \cot(5π\sin 
\alpha)$$
I did that $\tan(5π\cos\alpha) = \tan\left[\frac π2-5π\sin\alpha\right]$
And then used the solution of Trigonometric Equation $\tan(\theta)=\tan(\beta)$
Which is
$\theta = nπ + \beta$, $n$ is an integer.
But the basic condition of using the above result is that $\beta$ lies between $\left(-\frac π2,\frac π2\right)$
And so gives $\sin \alpha $ lies between $\left(0,\frac 15\right)$
What is wrong with this?
PS correct answer comes by using my method..

REPLY [3 votes]: Using the formula in the question, we get $$5\pi\cos\alpha=n\pi+\frac \pi2-\sin\alpha$$Where n is an integer.
Simplifying, we get $$\sin\alpha+\cos\alpha=\frac{2n+1}{10}$$
Now, there are many ways to show that $\sin\alpha+\cos\alpha=\sqrt2\sin(\alpha+\frac\pi4)$. I'm not going to prove that here. So, we have$$\sin(\alpha+\frac\pi4)=\frac{2n+1}{10\sqrt2}$$Now, moving the sine to the other side and subtracting $\frac\pi4$ on both sides, we get$$\alpha=\arcsin(\frac{2n+1}{10\sqrt2})-\frac\pi4$$However, this only holds when the argument of the arcsine lies between 1 and -1. Or,$$-1\leq\frac{2n+1}{10\sqrt2}\leq1$$solving this, we get$$\frac{-10\sqrt2-1}{2}\leq n\leq \frac{10\sqrt2-1}{2}$$Combining this with the original restraint that n is an integer, we get $n=0, \pm1, \pm2, \pm3, \pm4, \pm5, \pm6,-7$. Therefore, our final answer is$$\alpha=\arcsin(\frac{2n+1}{10\sqrt2})-\frac\pi4,n=0, \pm1, \pm2, \pm3, \pm4, \pm5, \pm6,-7 $$Its my first time writing an answer here, so I omitted a few simple steps. Hope you don't mind.