The classical Fourier partial sums are
Here , and functions are extended periodically. One version of the Dini test for Fourier series states that if one-sided limits at exist and
then . A step function on a finite interval is constant on each side of any given point for sufficiently small distance, so its displayed numerator is zero there. Dini test for Fourier series gives exactly the asserted midpoint of the two one-sided values, including at jumps.
Let on . It is the orthogonal projection onto the span of the displayed trigonometric functions through frequency , hence . For a step-function approximation ,
The convergence on a dense set under a uniform operator bound, here applied using the allowed convergence for and density of step functions, proves in . Consequently the union of these finite trigonometric spans is dense, which is precisely completeness of the orthonormal system. It also proves Parseval's equality by passing to the limit in the Pythagorean projection identity.
For , oddness gives , direct integration gives , and two integrations by parts give . Thus
Dini test for Fourier series justifies this pointwise on the interval, or absolute coefficient summability gives its continuous extension after the identification. At zero it yields . Parseval gives
Therefore .