Separation of Variables for the Wave Equation
What You'll Learn
You'll learn how to apply the separation of variables technique specifically to the one-dimensional wave equation and discover the eigenvalue problem that emerges from the boundary conditions.
The Core Idea
Just as we separated variables in the heat equation, we can tackle the wave equation the same way—but with one crucial difference: the wave equation is second-order in time, not first-order.
Recall the one-dimensional wave equation:
We assume a solution of the form:
Substituting into the wave equation and separating variables gives:
Here, λ is our separation constant (the eigenvalue). The key difference from the heat equation: both sides yield second-order ODEs.
The Eigenvalue Problem
The spatial part, combined with boundary conditions (say, fixed ends at x = 0 and x = L), produces the familiar eigenvalue problem:
These conditions yield eigenvalues λₙ = (nπ/L)² and eigenfunctions Xₙ(x) = sin(nπx/L).
The Temporal Part
The time equation becomes:
This produces oscillatory solutions (sines and cosines in time), reflecting the wave's periodic nature—unlike the exponential decay in the heat equation.
Key Takeaway: Separation of variables transforms the wave equation into two ODEs: a spatial eigenvalue problem (identical to the heat equation's) and a temporal ODE that yields oscillations rather than decay, capturing the wave's back-and-forth motion.