I'm trying to solve a problem related to the Gaussian quadrature.
The first step of the problem is to prove that the following claim holds:
I was able to prove the $\theta = \pi k$ part very easily by using some simple trigonometric identities, but I got stuck trying to prove the rest for $\theta \neq \pi k$.
The question suggested using proof by induction on the sum of the cosine function, so I followed it and got to the point where I get the following equality:
$sin(2n\theta))/(2sin\theta) - 2sin(2n\theta)sin\theta$
The left part of what I got is what I intended to get eventually, but the part on the right does not go to $0$ because of the way $\theta$ is configured.
Could somebody please help me find my mistake in this?
Thanks!!!
