Proof of the integral representation of the arithmetic mean of the partial sums of Fourier series

134 Views Asked by At

The definition and the formula in question:enter image description here

enter image description here

The equations he refers to: enter image description here ................................................................................................................................................................. enter image description here

................................................................................................................................................................. enter image description here

Obtaining the formula seems straight forward but It has been quite difficult for me for some reason. My problem is with the term $$\frac{\sin^{2}\left(\frac{1}{2}nt\right)}{\sin^{2}\left(\frac{1}{2}t\right)}$$ and I get the denominator easily, but I can't get the numerator right and I checked my steps for errors multiple times.