Course contentsShow
← Mathematics
Lesson 2452 of 3,12149. Partial Differential Equations (Intro)Free lesson

Separation of Variables for the Wave Equation

Apply the separation technique to the one-dimensional wave equation and identify its eigenvalue problem.

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:

∂2u∂t2=c2∂2u∂x2\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}

We assume a solution of the form:

u(x,t)=X(x)⋅T(t)u(x,t) = X(x) \cdot T(t)

Substituting into the wave equation and separating variables gives:

T′′(t)c2T(t)=X′′(x)X(x)=−λ\frac{T''(t)}{c^2 T(t)} = \frac{X''(x)}{X(x)} = -\lambda

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:

X′′(x)+λX(x)=0X''(x) + \lambda X(x) = 0 X(0)=0,X(L)=0X(0) = 0, \quad X(L) = 0

These conditions yield eigenvalues λₙ = (nπ/L)² and eigenfunctions Xₙ(x) = sin(nπx/L).

The Temporal Part

The time equation becomes:

T′′(t)+λc2T(t)=0T''(t) + \lambda c^2 T(t) = 0

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.