Additional Exercise - Wave Equation Solution
Exercise 0 ().
Consider the wave equation
(1) |
where is a smooth function on with . We will find a solution to the (1) by utilising the Fourier series (like the heat equation). We assume that we can write
with
and that the convergence is such that all interchanging of differentiation and integration is allowed (this will happen, for instance, if we seek a solution that is on the periodic domain).
-
(i)
Show that satisfies the equation
-
(ii)
using he boundary conditions show that
and find an explicit expression for which depends on .
-
(iii)
Write a solution to (1)
Solution.
-
(i)
Differentiating the sum and plugging it into our wave equation yields
The uniqueness of the Fourier coefficients implies that must solve the equation
which is the desired result.
-
(ii)
The solution to the above sequence of ODEs is given by
At this point we will need to use our boundary condition for and . Since
we conclude that implies, together with the uniqueness of the Fourier coefficients, that
As
we find that for all . Thus, we have that
Using the fact that we find that
and, like before, the uniqueness of the Fourier coefficients imply that
-
(iii)
Combining the previous results we conclude that our solution is given by
∎