Set and . The required integrals follow from
Consequently the Fourier coefficients are
Thus the Fourier cosine series is
and its sum is everywhere on . The Fourier sine series is
and its sum is on and zero at the two endpoints. The open and filled circles in the sketches distinguish these endpoint limits from the actual values of the sum.
Figure 1.
The sums and finite partial sums of the Fourier cosine series and Fourier sine series for
. The upper panels show the exact sums on . The lower panels compare twelve-term partial sums with the exponential function: the Fourier sine series has zero endpoints and oscillations near its periodic extension's jumps. Details.
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.

Articles by others on the same topic (0)

There are currently no matching articles.