Use De Moivre's theorem to show that, if \(\sin\theta\ne0\)\,, then
\[
\frac{
\left(\cot \theta + \rm{i}\right)^{2n+1}
-\left(\cot \theta - \rm{i}\right)^{2n+1}}{2\rm{i}}
=
\frac{\sin \left(2n+1\right)\theta}
{\sin^{2n+1}\theta}
\,,
\]
for any positive integer \(n\).
Deduce that the solutions of the equation
\[
\binom{2n+1}{1}x^{n}-\binom{2n+1}{3}x^{n-1}
+\cdots +
\left(-1\right)^{n}=0
\]
are
\[x=\cot^{2}\left(\frac{m\pi}{2n+1}\right)
\]
where \( m=1\), \(2\), \(\ldots\) , \(n\,\).
Hence show that
\[
\sum_{m=1}^n
\cot^{2}\left(\frac{m\pi}{2n+1}\right)
=\frac{n\left(2n-1\right)}{3}.
\]
Given that \(0<\sin \theta <\theta <\tan \theta\) for \(0 < \theta < \frac{1}{2}\pi\), show that
\[
\cot^{2}\theta<\frac{1}{\theta^{2}}<1+\cot^{2}\theta.
\]
Hence show that
\[
\sum^\infty_{m=1}
\frac{1}{m^2}=
\frac{\pi^2}{6}\,.\]
Notice that the sum of the roots will be \(\displaystyle \frac{\binom{2n+1}{3}}{\binom{2n+1}{1}} = \frac{(2n+1)\cdot 2n \cdot (2n-1)}{3! \cdot (2n+1)} = \frac{n \cdot (2n-1)}{3}\) and so \[
\sum_{m=1}^n
\cot^{2}\left(\frac{m\pi}{2n+1}\right)
=\frac{n\left(2n-1\right)}{3}.
\]