Put , so the nonzero half-cycle is . The constant coefficient isThe sine coefficients satisfyby sine orthogonality. For the cosine coefficients, the product-to-sum identity gives, when ,The case is zero directly. HenceThe first five nonzero terms, counting the constant as the zero-frequency term, areThe general coefficient formula specifies every remaining term. This is the Fourier series of a half-wave rectified sinusoid; the waveform is continuous at the joins, so the series gives its actual value there.