Separation of Variables for Laplace's Equation
What you'll learn: How to systematically solve Laplace's equation on a rectangle by breaking it into simpler one-dimensional problems.
The Core Idea
When faced with Laplace's equation ∇²u = 0 on a rectangular domain with homogeneous boundary conditions, separation of variables transforms one difficult PDE into two ordinary differential equations (ODEs) that you already know how to solve.
The technique assumes your solution has the special form u(x,y) = X(x)·Y(y)—a product of single-variable functions. This might seem restrictive, but combined with superposition, it gives you the complete solution!
How It Works
For Laplace's equation in two dimensions: ∂²u/∂x² + ∂²u/∂y² = 0
Step 1: Substitute u(x,y) = X(x)Y(y) into the PDE:
- X''(x)Y(y) + X(x)Y''(y) = 0
Step 2: Divide by X(x)Y(y):
- X''(x)/X(x) + Y''(y)/Y(y) = 0
Step 3: The key insight: The left term depends only on x, the right only on y. For their sum to equal zero everywhere, each must equal a constant:
- X''(x)/X(x) = λ and Y''(y)/Y(y) = -λ
Step 4: Solve the two ODEs with boundary conditions to find eigenvalues and eigenfunctions (exactly like Sturm-Liouville problems).
Step 5: Build the general solution as a series of these product solutions, then match remaining boundary conditions using orthogonality—just like with the heat equation!
Why This Works
Think of it like factoring: you're betting the solution can be "factored" into independent pieces. The boundary conditions (usually u = 0 on three sides) force specific eigenvalue problems that naturally produce the right building blocks.
Key Takeaway: Separation of variables converts Laplace's equation on a rectangle into familiar eigenvalue problems, yielding solutions as infinite series of product functions X(x)Y(y).