Prove that $n$ is even
$$\left(\dfrac {\cos A + \cos B}{\sin A-\sin B}\right)^n + \left(\dfrac {\sin A+\sin B}{\cos A- \cos B}\right)^n = 2\cot^n \left(\dfrac {A-B}{2}\right)$$
Please help. I didn't get any idea regarding this.
Prove that $n$ is even
$$\left(\dfrac {\cos A + \cos B}{\sin A-\sin B}\right)^n + \left(\dfrac {\sin A+\sin B}{\cos A- \cos B}\right)^n = 2\cot^n \left(\dfrac {A-B}{2}\right)$$
Please help. I didn't get any idea regarding this.
Hint:
$$\dfrac {\cos A + \cos B}{\sin A-\sin B} = - \,\dfrac {\sin A+\sin B}{\cos A- \cos B} = \cot \left(\dfrac {A-B}{2}\right)$$
Or, even simplier, one could just choose any value for $A$, and $B$; then use the equality given to deduce that $n$ must be even, like this:
By substituting $A = 0$; and $B = \frac{\pi}{2}$; we'll arrive at: $$\underbrace{(-1)^n}_{\text{swap this one to the other side}} + \underbrace{1^n}_{\text{this is }1} = 2\times(-1)^n$$ Changing sides will yield: $$1 = (-1)^n$$
Which means that if the equality holds for all $A$, and $B$, then we must have $n$ is even.