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

Superposition and Non-Homogeneous Boundaries

Use superposition to construct solutions satisfying non-homogeneous boundary conditions on rectangular domains.

Superposition and Non-Homogeneous Boundaries

You'll learn how to use the superposition principle to solve boundary value problems where the boundaries aren't all zero.

The Core Challenge

When solving Laplace's equation (or other linear PDEs) on rectangular domains, we often face non-homogeneous boundary conditions—meaning one or more boundaries are held at non-zero values or variable functions. For example, you might have a rectangular plate where the bottom is at temperature 100°, the top at 50°, and the sides are insulated.

The problem? Separation of variables works beautifully when all but one boundary condition equals zero. Non-homogeneous boundaries break this clean pattern.

The Superposition Strategy

Since Laplace's equation is linear, we can decompose the problem into simpler sub-problems using superposition:

  1. Split the problem: Create multiple simpler problems, each with only one non-homogeneous boundary and all others zero
  2. Solve each sub-problem: Use separation of variables on each (now manageable) piece
  3. Add solutions together: The sum satisfies the original PDE and all boundary conditions simultaneously

Analogy: Think of a team project where everyone tackles one piece independently, then you combine all contributions for the complete answer.

Example Structure

For a rectangle with non-zero conditions on two opposite sides:

  • Problem A: Non-zero on bottom, zero elsewhere
  • Problem B: Non-zero on top, zero elsewhere
  • Final solution: u(x,y) = u_A(x,y) + u_B(x,y)

Each sub-problem yields a Fourier series expansion, which you sum at the end.

Why It Works

Linearity guarantees that if u₁ and u₂ each satisfy the PDE, then u₁ + u₂ does too. The boundary conditions also add up correctly by construction.

Key Takeaway: Superposition transforms complex non-homogeneous boundary problems into manageable pieces—solve simpler homogeneous-boundary sub-problems separately, then add their solutions.