I want to prove that the sum of the squares of the diagonals of a regular $n$-gon inscribed in the unit circle is equal to $2n$. So what I've done is I considered the $n$th roots of unity and said that the diagonals are given by $$|1-\omega^k|$$ where $k=1,2,3,...,(n-1)$.
Then the sum of the squares is given by $$\sum_1^{n-1}|1-\omega^k|^2=\sum_1^{n-1}(1-2\omega^k +\omega^{2k})=n-1 -2\sum_1^{n-1}\omega^k + \sum_1^{n-1}\omega^{2k}.$$
The first sum is -1, right? But what about the second? Since the roots are repeating shouldn't the sum be equal to the first sum? But if so then the result is not $2n$ as I have to show...
Any help will be appreciated.