In this post we are going to explore the Fourier method for solving the 1D and 2D wave equations. The method is more known under the name of the method of separation of variables. For the 1D wave equation we are going to show the application of the method to a fixed string, and for the 2D wave equation we are going to apply the method to a rectangular membrane and a circular membrane. We are also going to attempt to outline the physical interpretations of all scenarios.
1D Wave Equation
The 1D wave equation is of the form
Fixed String
First, let's take a look at the model of a string with length \(l\) which is also fixed at both ends:
A visualisation of the string can be seen in the figure below.
We start solving the equation by taking into account only the boundary conditions \(u(0, t) = u(l, t) = 0\). The idea is to find solution \(u(x, t)\) of the form
We substitute this form of the solution into the wave equation and get
further divding by \(X(x)T(t)\) leads to
We have two functions of independent variables which are equal. This is only possible if they are equal to the same constant. Therefore, let
producing the following two equeations:
and
Let's begin with solving the second equation. The boundary conditions give
Because we are interested only in non-trivial solutions and thus \(T \neq 0\), we have
Now, we have to find the non-trivial solutions for \(X(x)\) satisfying
The above problem is an example of the so called Sturm-Liouville problem. In order to find the general solution of the second order linear homogeneous differential equation with constant coefficients \(\eqref{eq:ref}\) we should solve its characteristic equation
-
If \(\lambda < 0\), then \(r_{1, 2} = \pm \sqrt{-\lambda}\), hence the general solution is
$$ X(x) = c_1 e^{\sqrt{-\lambda}x} + c_2 e^{-\sqrt{-\lambda}x} $$for some constants \(c_1\) and \(c_2\). In order to determine the constants we substitute the above solution into the boundary conditions \(\eqref{eq:ref2}\) and get the system$$ \left\{\begin{align*} c_1 + c_2 = 0, \\ c_1 e^{\sqrt{-\lambda}l} + c_2 e^{-\sqrt{-\lambda}l} = 0. \end{align*}\right. $$This results in \(c_1 = c_2 = 0\), meaning our Sturm-Liouville problem doesn't have a non-zero solution for \(\lambda < 0\). -
If \(\lambda = 0\), then \(r_1 = r_2 = 0\) and the general solution is
$$ X(x) = c_1 + c_2 x. $$Substituing it into the boundary conditions \(\eqref{eq:ref2}\) again lead to \(c_1 = c_2 = 0\), hence no non-zero solutions of our Sturm-Liouville problem for \(\lambda \leq 0\). -
If \(\lambda > 0\), then \(r_{1, 2} = \pm i \sqrt{\lambda}\), and the general solution becomes
$$ X(x) = c_1 \cos{\left( \sqrt{\lambda} x \right)} + c_2 \sin{\left(\sqrt{\lambda}x\right)}. $$Substituting into the boundary conditions \(\eqref{eq:ref2}\) results in$$ \left\{\begin{align*} c_1 = 0, \\ c_2 \sin{\left(\sqrt{\lambda}l\right)} = 0 \end{align*}\right. $$If \(c_2 = 0\), then \(X(x) \equiv 0\) which is a trivial solution. Therefore, we set \(c_2 \neq 0\) and hence$$ \sin{\left(\sqrt{\lambda}l\right)} = 0, $$giving \(\sqrt{\lambda}l = k \pi\), \(k = \pm 1, \pm 2, ...\). Theerfore,$$ \lambda = \lambda_k = \left(\frac{k \pi}{l}\right)^2, $$meaning eigenvalues exist when \(\lambda > 0\). The eigenfunctions corresponding to the above eigenvalues are$$ X_k(x) = \sin{\left(\frac{k \pi x}{l}\right)}, \quad k > 0, k \in N. $$
Going back to \(T^{\prime\prime}(t) + a^2 \lambda T(t) = 0\), solving in analogical way, when \(\lambda = \lambda_k\) the solution becomes
for some constants \(A_k\) and \(B_k\). Hence,
are solutions to our wave equation, also satisfying the boundary conditions. Since our equation is linear, forming a linear system with its conditions, the principle of superposition is valid. In other words, if \(u_1, u_2, ..., u_n\) are solutions of our system, then
for some constants \(\alpha_1, \alpha_2, ..., \alpha_n\) is also a solution of the system. But in our case we have an infinite number of functions \(u_1, u_2, ...\) which satisfy the linear system. Therefore, we need the generalised superposition principle stating that in such case
for some arbitrary constants \(\alpha_n\) is a solution to the system if the series converges uniformly and is twice differentiable termwise. This generalisation is a Lemma and should be prooved. The proof can be found in ...
Assuming we have prooved the said Lemma, we can state that our system has a solution of the form
The next task we have to tackle is to determine the coefficients \(A_k\) and \(B_k\). We can achieve this by using the initial conditions
We get
and
Now, we have to expand both \(\varphi_1(x)\) and \(\varphi_2(x)\) into series in terms of sines only (why?). We have
and
By the Fourier series theroem of uniqueness, we get
or (why?)
and
We are left with the task of the covergence of the infinite series. We have to explore the following series
If the series on the right side (majorizing series) converge then the series on the left would also converge and the needed differentiation would exist. It is enough (why?) for the following series to converge
This is possible only if
converge. From Calculus we know (theorem) that if \(\varphi(x)\) is \(m\)-times differentiable then
convergres. Therefore, in order for all the majorzing series to converge it is enough \(\varphi_1(x)\) to be \(3\)-times differentiable, and \(\varphi_2(x)\) to be \(2\)-times differentiable.
Finally, we should note a few things about the expansion of \(\varphi_1(x)\) and \(\varphi_2(x)\) into sine series. We have to note that in order to do that the function needs to be continued as an odd function which my lead to loss of the regularity of the lower derivatives. Let \(\tilde{\varphi}_1(x)\) be the continuation of \(\varphi_1(x)\) as an odd function (see the Figure below) defined as

Hence, in order for it to be continous and continously differentibale we need to enforce the following condition
To summarise, in order for \(\sum_{k=1}^{\infty} \varphi_k^{(1)} \sin{\left( \frac{k\pi}{l}x\right)}\) to converge in \([0, l]\) it is necessary to enforce the above conditions to have zero values at both ends of the interval. As for the second derivative, if it exists it would be continuous as well. Similarly, for the third derivative to exist we enforce
and obtain the corresponding necessary condition
Finally, after these enforced conditions we can conclude that (tehorem)
is a regular solution of the problem.
Physical interpretation:
If we go back to the eigenfunction
we can rewrite it as
where
We can translate this as the points of the string to oscillate at the frequency \(\omega_k = \frac{ak\pi}{l}\) with phase \(\phi_k\). The amplitude is dependant on \(x\) and is given by
The \(u_k(x, t)\) waves are called standing-waves. Depending on the values of \(k\) we have the following scenarios:
- When \(k = 1\) there are \(2\) motionless points which are the ends of the (fixed) string
- When \(k = 2\) a third moitonless point \(x = \frac{l}{2}\) is added
These motionless points are called nodes of the standing wave. In general, \(u_k(x, t)\) has \((k + 1)\) nodes located ate \(0, \frac{1}{k}l, \frac{2}{k}l, ..., \frac{k-1}{k}l, l\). The maximum amplitude is achieved in the middle points between two nodes. These points are called crests. The fundamental tone, or the lowest tone, has frequency of \(\omega_1 = \frac{a\pi}{l}\). The frequencies \(\omega_k\) are called harmonics, while the higher tones corresponding to \(\omega_k\), \(k = 2, 3, ...\) are called overtones. It is quite natural to notice that the higher the value of \(k\) the rapidly lower the amplitude of \(u_k(x, t)\) becomes. Meaning, the effect from the higher harmonics all combined influences the quality of the sound. The below figure shows the harmonics for \(k = 1, 2, 3\).
2D Wave Equation
The 2D wave equation is of the form
Rectangular Membrane
Let's assume we have a rectangular membrane with sides of length \(l_1\) and \(l_2\). Let's also assume it is fastened along the edges. A visaulisation can be seen below.
We can describe the problem via the model
also with boundary conditions coming from the rectangular boundary \(\Gamma\)
A visualisation of the problem can be seen below.
As in the 1D wave equation, we are going to apply the Fourier method, meaning we are looking for a solution of the form
Substituting into the 2D wave equation \(\eqref{eq:tdwave}\) we get
Then, we divide by \(a^2TW\) and get
leading to the following equations
and
Now, we should do the same and apply the Fourier method to the Helmoltz equation. We are looking for a solution of the form
Substitution leads to
Further, dividing by \(XY\) gives
Once again, we obtain the following to equations
and
where
Now, the boundary conditions take the forms
and because we are looking for non-trivial solutions meaning \(T(t) \neq 0\) and \(Y(y) \neq 0\) identically, it follows
Now, with the same logic first we have the boundary conditions
then since \(X(x) \neq 0\), and \(T(t) \neq 0\) it follows
We obtain the following Sturm-Liouville problms
and
with eigenvalues and corresponing eigenfunctions, respectively,
and
As defined earlier, to every pair \(\alpha_k\), \(\beta_k\) there is a corresponding \(\lambda_{kn}^2 = \alpha_k^2 + \beta_k^2\). This is a Dirichlet eigenvalue of the Laplacian in our rectangular membrane. For each \(\lambda_{kn}\) we have
and hence the corresponding general solution of \(T^{\prime\prime} + \lambda_{kn}^2 a^2 T = 0\) is
Again, by the superposition principle, the solution of our 2D wave equation on rectangular membrane is sought in the form
...
and
...
...
...
and
Circular Membrane
Let's assume we have a circular membrane with radius of length \(\rho\). Let's also assume it is fastened along the edges. A visaulisation can be seen below.
... the polar change of coordinates
A visualisation of the polar change can be seen below.
Now, let's ...
and
First partial derivative, Chain rule
and
Now, for \(\rho\)
and for \(\varphi\)
Therefore,
Second order derivatives
...
A visualisation of the problem can be seen below.
...