Worked examples · Sheet 2
Fourier series of even functions
Theory used: Cosine-only and sine-only seriesFourier coefficientsCoefficients of a trigonometric polynomial
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Find the Fourier series of the -periodic extension of , .
The absolute value is an even function, therefore the are zero and the series contains only cosines, with the given by twice the integral over , where . The coefficient equals , hence the constant term is , the mean of over one period. For we integrate by parts: the term with is zero and what remains is the integral of , which equals after division by . Therefore is zero for even and equals for odd : the series contains only the cosines of the odd harmonics, with negative sign.
Exercise 2
Find the Fourier series of .
The cosine double-angle formula rewrites as , which is already a trigonometric polynomial. Since the Fourier coefficients of a trigonometric polynomial coincide with its coefficients, no integral needs to be computed: the Fourier series has only the terms and , and it coincides with the function at every point. It is always worth checking whether the given function reduces to a trigonometric polynomial by an identity, before setting up the integrals.
Exercise 3
Find the Fourier series of .
The function is even, therefore the are zero; on the sine is nonnegative and the absolute value can be removed. The coefficient equals , hence the mean of the function is . For the the product is transformed into the sum of two sines with the product-to-sum formulas, and each sine is integrated directly; the case must be treated separately because the second term would have a zero denominator, and the direct computation with gives . Since , for odd the numerators vanish and for even both equal ; the sum of the two fractions gives . Only the even harmonics remain in the series, written with : the result reflects the fact that has period , therefore only the cosines of compatible period appear in its expansion.