We are asked to construct the Fourier series for the function $f(x) = x$ on the interval $-\pi < x < \pi$.
2025/5/13
1. Problem Description
We are asked to construct the Fourier series for the function on the interval .
2. Solution Steps
The Fourier series of a function defined on the interval is given by
where the Fourier coefficients are given by
In this problem, and . Thus, we have
Since is an odd function, the integral of from to is
0. Similarly, $x \cos(nx)$ is an odd function, so its integral from $-\pi$ to $\pi$ is also
0. Therefore, $a_0 = 0$ and $a_n = 0$ for all $n$.
Since is an even function, we have
We integrate by parts with and . Then and .
Therefore,
Thus,