First, the Fourier coefficients of the Fourier cosine series decay as , whereas those of the Fourier sine series are of order . In particular, the absolute convergence bound for the Fourier cosine series gives a uniform tail estimate
Thus its tail is absolutely controlled using fewer Fourier harmonics. The Fourier sine series does not have an absolutely summable sequence of Fourier coefficients.
Second, the even extension is continuous, so its Fourier cosine series converges uniformly on the closed interval and approximates the nonzero endpoint limits correctly. The odd periodic extension has jumps, producing the Gibbs phenomenon in its Fourier sine series near zero and . Every Fourier sine series partial sum is zero at both endpoints, so by approaching from inside one obtains
Hence the Fourier sine series approximation cannot converge uniformly even on the whole open interval, despite pointwise convergence at each interior point. The Fourier cosine series approximation has faster coefficient decay and avoids the persistent errors near the endpoints.
Take . It vanishes at both endpoints. Its odd periodic extension is continuously differentiable across the joins, whereas its even extension has corners because and are nonzero.
Two integrations by parts, with , give
The Fourier coefficients are therefore
The Fourier sine series has a uniform absolute tail , and each of its partial sums satisfies both zero boundary values exactly. The Fourier cosine series has an absolute tail bound ; at its omitted even-index Fourier coefficients have the same sign and yield an error of order . This verifies a strictly faster uniform error bound for the sine approximation in this example.