Goal: Understand odd/even extensions, Fourier sine/cosine series, and endpoint value problems.
1. Odd/Even Extensions
In practice, if a function \(f(t)\) is defined on the interval \(0 < t < L\), there are two natural ways to extend it to the whole real line: as an even function or as an odd function.
The even \(2L\)-periodic extension of \(f\) is the function \(f_E(t)\) defined by:
and then extended periodically by:
The odd \(2L\)-periodic extension of \(f\) is the function \(f_O(t)\) defined by:
and extended periodically by:
These constructions allow us to represent \(f(t)\) as a Fourier series—sine series in the odd extension case and cosine series in the even extension case—over the interval \([0,L]\).
Example 1.1: \(f(x) = x\) on \([0,2]\)
- Construct the odd \(2L\)-periodic extension of \(f(x)\) to the whole real line (here \(L=2\)).
- Sketch one full period of the extended function.
Example 1.2: \(f(x) = x^2\) on \([0,2]\)
- Construct the even \(2L\)-periodic extension of \(f(x)\) to the whole real line (here \(L=2\)).
- Sketch one full period of the extended function.
Example 1.3: \(f(x) = 3\) on \([0,\pi]\)
- Construct the odd \((2\pi)\)-periodic extension of \(f(x)\) to the whole real line.
- Sketch one full period of the extended function.
Example 1.4: \(f(x) = x\) on \([0,\pi]\)
- Construct the odd \((2\pi)\)-periodic extension of \(f(x)\) to the whole real line.
- Sketch one full period of the extended function.
Example 1.5: \(f(x) = e^x\) on \([0,\pi]\)
Choose the even \(2\pi\)-periodic extension of \(f(x)\) to \([- \pi,0]\):
- (A) \(f(x) = e^{-x}\)
- (B) \(f(x) = -e^x\)
- (C) \(f(x) = e^x\)
- (D) \(f(x) = -e^{-x}\)
Example 1.6 \(f(x) = \cos(\pi t) \) on \([0,1]\)
Let \( f(t) = \cos(\pi t) \), defined for \( 0 < t < 1 \). Extend \( f(t) \) as an odd function on \([-1,1]\).
Choose the correct expression for \( f_O(t) \):
-
\[ f_O(t) = \begin{cases} \cos(\pi t), & -1 < t < 0\\ \cos(\pi t), & 0 < t < 1 \end{cases} \]
-
\[ f_O(t) = \begin{cases} -\cos(\pi t), & -1 < t < 0\\ \cos(\pi t), & 0 < t < 1 \end{cases} \]
-
\[ f_O(t) = \begin{cases} \cos(-\pi t), & -1 < t < 0\\ \cos(\pi t), & 0 < t < 1 \end{cases} \]
-
\[ f_O(t) = \begin{cases} \sin(\pi t), & -1 < t < 0\\ \cos(\pi t), & 0 < t < 1 \end{cases} \]
2. Fourier Sine Series
If a function \(f(x)\) is defined on the interval \([0,L]\), the Fourier Sine Series of \(f\) is given by:
This formula represents the odd \(2L\)-periodic extension of \(f(x)\) over the whole real line. Only sine terms appear because the extended function is odd.
Example 2.1:
Find the Fourier sine series of \(f(x)\) on \([0,2]\).
Example 2.2:
Find the Fourier sine series of \(f(x)\) on \([0,2]\).
Example 2.3:
Find the Fourier sine series of \(f(x)\) on \([0,2]\).
Example 2.4:
Find the Fourier sine series of \(f(x)\) on \([0,2]\).
Example 2.5:
Calculate the first coefficient, \( b_1 \), of the Fourier Sine Series for the function \( f(t) = \cos(\pi t) \) on the interval \([0, 1]\).
-
\[ b_1 = \frac{1}{\pi} \]
-
\[ b_1 = \frac{2}{\pi} \]
-
\[ b_1 = 0 \]
-
\[ b_1 = 1 \]
3. Fourier Cosine Series
If a function \(f(x)\) is defined on the interval \([0,L]\), the Fourier Cosine Series of \(f\) is given by:
This formula represents the even \(2L\)-periodic extension of \(f(x)\) over the whole real line. Only cosine terms appear because the extended function is even.
Example 3.1:
Find the Fourier cosine series of \(f(x)\) on \([0,2]\).
Example 3.2:
Find the Fourier cosine series of \(f(x)\) on \([0,2]\).
Example 3.3:
Find the Fourier cosine series of \(f(x)\) on \([0,\pi]\).
Example 3.4:
Find the Fourier cosine series of \(f(x)\) on \([0,\pi]\).
4. Endpoint Value Problems
Consider
Note: Check endpoint conditions
- \( x(0)=x(L)=0 \) (Dirichlet) → use a sine series
- \( x'(0)=x'(L)=0 \) (Neumann) → use a cosine series
Dirichlet Conditions: \(x(0) = x(L) = 0\)
Example 4.1
Find a formal Fourier series solution of the endpoint value problem:
Example 4.2
Find a formal Fourier series solution of the endpoint value problem:
Example 4.3
Find a formal Fourier series solution of the endpoint value problem:
Example 4.4
Find a formal Fourier series solution of the endpoint value problem:
Neumann Conditions: \(x'(0) = x'(L) = 0\)
Example 4.5
Find a formal Fourier series solution of the endpoint value problem:
Example 4.6
Find a formal Fourier series solution of the endpoint value problem:
Example 4.7
Find a formal Fourier series solution of the endpoint value problem:
Example 4.8
Find a formal Fourier series solution of the endpoint value problem:
5. Worked examples
Consider
- Let \(f(t) = t\) on \(0 \le t \le 2\). In order to solve the endpoint value problem, choose an appropriate extension of \(f(t)\) (even or odd) based on the endpoint conditions. Determine whether the resulting Fourier series will involve sine or cosine terms, and compute the corresponding Fourier series.
- Find a formal Fourier series solution of the the endpoint value problem.
Solution:
Part 1:
We are given \(f(t) = t\) on \(0 \le t \le 2\) with endpoint conditions \(x'(0)=x'(2)=0\). Since the derivative vanishes at the endpoints, we use an even extension of \(f(t)\) to \([-2,2]\), which leads to a cosine Fourier series:
with coefficients:
Compute \(a_n\) using integration by parts:
Hence, the Fourier cosine series is:
Part 2:
Assume a solution in the form of a Fourier cosine series. Since the even terms (for \(n \ge 2\)) of the forcing function are zero, we only need to include the constant term and the odd harmonics:
The second derivative of this assumed solution is:
Substituting \(x(t)\) and \(x''(t)\) into the differential equation \(x'' + 2x = f(t)\):
By matching the constant term and the coefficients for each odd \(n\):
Constant term (\(n=0\)):
Odd terms (\(n = 1, 3, 5, \dots\)):
The final formal Fourier series solution is: