Odd Extensions and Fourier Sine Series
So, we want odd extensions in this example for \( f(t) = 1 \), with \( L = \pi \).
\[ f(t) = \begin{cases} -1 & -\pi < t < 0 \\ 1 & 0 < t < \pi \end{cases} \quad \text{period } 2\pi \]
We write out a Fourier series for this:
\[ f(t) \sim \sum_{n=1}^{\infty} \frac{2}{n\pi} [1 - (-1)^n] \sin(nt) \quad \text{(sine series)} \]
Back to the Differential Equation
Back to \( x'' + 2x = 1 \) with boundary conditions \( x(0) = x(\pi) = 0 \).
If right side is 0: Sine series
Express \( x(t) \) as a sine series with unknown coefficients with \( L = \pi \):
\[ x(t) = \sum_{n=1}^{\infty} B_n \sin(nt) \]
Sub into \( x'' + 2x = 1 \).
\[ x'(t) = \sum_{n=1}^{\infty} n B_n \cos(nt) \]