Can somebody help me to prove this identity?
$$\prod_{k=1}^{n-1} \left(\;\cos\theta-\cos\frac{k\pi}{n}\;\right) = 2^{1-n}\sin(n\theta)\csc\theta$$
I was thinking of using the properties of the complex numbers and the binomial theorem, because I found this problem in the Complex Variables book from Schaum's, but it did not solve my problem.
Does anyone have an idea?
Thanks in advance!
The Chebyshev polynomials of the second kind satisfy the relation $$U_n(\cos(\theta)) = \frac{\sin((n+1)\theta)}{\sin(\theta)}$$
Hence $U_{n-1}(\cos(\theta)) = \sin(n\theta)\csc(\theta)$.
Note that $\prod\limits_{k=1}^{n-1}(x-\cos(k\pi/n))$ is a polynomial of degree $n-1$ which has $n-1$ distinct zeros corresponding to $x = \cos(k\pi/n), k = 1, \ldots, n-1$.
But $U_{n-1}(\cos(k\pi/n))=\sin(k\pi)\csc(k\pi/n) = 0, k = 1, \ldots, n-1$.
Hence $U_{n-1}(x)$ is a polynomial of degree $n-1$ with the same zeros as the product above.
This means $\prod\limits_{k=1}^{n-1}(x-\cos(k\pi/n)) =CU_{n-1}(x)$ for some constant $C$ which must be determined.
The coefficient of $x^{n-1}$ in $U_{n-1}(x)$ is $2^{n-1}$ but it is $1$ in the product. Therefore $C = 2^{1-n}$.
Therefore $\prod\limits_{k=1}^{n-1}(x-\cos(k\pi/n)) = 2^{1-n}U_{n-1}(x)$ and after substituting $x$ and using the relation stated above, we find $$\prod\limits_{k=1}^{n-1}(\cos(\theta)-\cos(k\pi/n)) = 2^{1-n}U_{n-1}(\cos(\theta)) = 2^{1-n}\sin(n\theta)\csc(\theta)$$