9.1 (Continued)
If \( f(x) \) is periodic w/ period \( 2\pi \) and defined on \( -\pi < x < \pi \), then its Fourier series representation is
where
If \( f(x) \) is periodic w/ period \( 2\pi \) and defined on \( -\pi < x < \pi \), then its Fourier series representation is
where
we found \( a_0 = 1 \), \( a_n = 0 \) for \( n \ge 1 \)
Just like Taylor series, the more terms we include, the closer the Fourier series will resemble the true \( f(x) \).
Another one:
Calculate \( a_0 \) separately:
Note: The integral represents the area under \( f(x) \).
\( = \dots \)
Calculating the Fourier coefficient \(b_n\) using integration by parts:
The resulting Fourier series representation for \(f(x)\) is:
Expanding the first few terms of the series:
One more example: \( f(x) = |x| \) for \( -\pi < x < \pi \) with a period of \( 2\pi \).
The function is defined piecewise on the interval \( [-\pi, \pi] \) as:
First, we calculate the constant term \( a_0 \):
Next, we find the cosine coefficients \( a_n \):
Finally, the sine coefficients \( b_n \) are zero because the function is even: