Separation of Variables for Laplace's Equation
You'll learn how to solve Laplace's equation in rectangular coordinates by breaking it into simpler one-dimensional problems.
The Core Idea
Laplace's equation in two dimensions is ∇²u = ∂²u/∂x² + ∂²u/∂y² = 0. When you have a rectangular domain with boundary conditions on all four sides, separation of variables lets you assume a product solution: u(x,y) = X(x)Y(y).
Substituting this into Laplace's equation and dividing by XY gives:
(1/X)(d²X/dx²) + (1/Y)(d²Y/dy²) = 0
Since the first term depends only on x and the second only on y, each must equal a constant. Setting (1/X)(d²X/dx²) = λ and (1/Y)(d²Y/dy²) = -λ, we get two ordinary differential equations:
- d²X/dx² = λX
- d²Y/dy² = -λY
Working with Boundary Conditions
The boundary conditions determine which values of λ (eigenvalues) are allowed. For example, if u = 0 on three sides of a rectangle and u is given on the fourth, the homogeneous boundary conditions create an eigenvalue problem—just like you've seen with the heat equation.
Typically, you'll find λ < 0 produces the physically meaningful solutions (sine/cosine in one direction, exponential/hyperbolic in the other). You then superpose infinitely many product solutions and match the non-homogeneous boundary using a Fourier series.
Example Pattern
For a rectangle [0,a] × [0,b] with u(0,y) = u(a,y) = u(x,0) = 0 and u(x,b) = f(x), you'd find X_n(x) = sin(nπx/a) and Y_n(y) = sinh(nπy/a), then build u(x,y) = Σ B_n sin(nπx/a)sinh(nπy/a).
Key Takeaway: Separation of variables transforms Laplace's equation into two ODEs whose solutions combine via superposition to satisfy boundary conditions on rectangular domains.