Solving linear boundary value problems using Fourier series
Example 1
Let’s try to solve the simple inhomogeneous boundary value problem
First of all, let’s find the eigenfunctions. These solve . We know from section 10.2 of Boyce that the eigenvalues are negative, so let . The general solution is . The boundary conditions then require and Therefore we look for solutions
So far everything we are doing is straight out of section 10.2. If this part has been difficult, go back there and review.
Then
Now, following section 10.3 of Boyce, we can expand in Fourier sine series on , so that we must use in our computations. The formulas give
where
Equating the coefficients of gives
so that the coefficients are
If we specify the right-hand side, we may arrive at a closed form solution. For example, we follow Example 1 on page 484, letting and taking , then
and
In fact, we can solve this problem exactly using undetermined coefficients and the ideas in the first set of supplementary notes. The exact solution is
The coefficients match those of the Fourier sine coefficients of the odd extension of this function.
Example 2
Modify the problem slightly to
Once again, we find the eigenfunctions are , but the eigenvalues are . Plugging in the same expansion as before, we now find that
So if for any integer , this equation clearly has no solution. However, as long as this condition is not satisfied, we can solve for the coefficients:
Note that if for any positive integer then the problem has no solution (at least not in the form of a Fourier sine series).
Exercises
- Find the Fourier sine-coefficients if we use and in Example 2. Find the exact solution using the method of undetermined coefficients. Suppose . Then the problem can’t be solved unless . Why not?
- Modify the above examples to satisfy Neumann boundary conditions, . This will give a Fourier cosine series, and will correspond to an even extension. You will find that Example 1 does not yield a solvable problem unless the term .
Solutions to Exercises
Solutions will appear here after the due date.
My solution (pdf).