Separating Variables in the Heat Equation
You'll learn how to apply the separation of variables technique to solve the one-dimensional heat equation with homogeneous boundary conditions.
The Core Idea
The one-dimensional heat equation describes how temperature changes over time in a rod:
where u(x,t) is temperature, x is position, t is time, and k is thermal diffusivity.
Separation of variables assumes we can write the solution as a product of two single-variable functions:
Think of this like separating a recipe: instead of mixing ingredients while cooking simultaneously, you prepare components separately then combine them.
How It Works
Substitute u(x,t) = X(x)T(t) into the heat equation:
Now divide both sides by X(x)T(t):
Here's the key insight: the left side depends only on t, the right side only on x. For them to equal each other for all x and t, both must equal the same constant. Call it -λ (the negative is conventional):
This gives us two ordinary differential equations:
- Spatial ODE: X'' + (λ/k)X = 0
- Temporal ODE: T' + λT = 0
The boundary conditions (e.g., u(0,t) = u(L,t) = 0) create an eigenvalue problem for X(x), which determines allowed values of λ.
Key Takeaway: Separation of variables transforms the heat PDE into two simpler ODEs by assuming u(x,t) = X(x)T(t), splitting spatial and temporal dependencies through a separation constant.