4.7.9 · D1Partial Differential Equations

Foundations — Solving heat equation — separation of variables

2,418 words11 min readBack to topic

Before you can read a single line of the parent derivation, you need to own every squiggle in it. This page walks through them one at a time, in the order they build on each other. Nothing is used before it is drawn.


1. A function of two things:

The picture is not a curve — it is a whole landscape. Imagine the rod laid on the ground (-axis) and time running away from you (-axis); the height of the sheet above each spot is how hot that spot is at that moment.

Figure — Solving heat equation — separation of variables

2. Slope and the derivative

Why do we need slope? Because heat flows down slopes of temperature — from hot to cold. The slope is literally the "steepness of the hill of heat," and physics says heat rolls downhill.


3. Partial derivatives: the symbol, and

Because depends on two inputs, "the slope" is ambiguous — slope in which direction? So we invent slopes that hold one input frozen.

Figure — Solving heat equation — separation of variables

4. The heat equation itself:


5. The domain and the fences: boundary & initial conditions

The equation alone has infinitely many solutions. We pin down one with extra facts.

Figure — Solving heat equation — separation of variables

6. The separation guess:


7. Sines, cosines, and — the shapes can take

Why sines here? Because the ends must be zero. is naturally at . If we also want it at , the wave must fit a whole number of half-humps in the rod:

Figure — Solving heat equation — separation of variables

8. Building solutions: sum, decay, superposition, coefficients


Equipment checklist

Self-test: can you say each in one breath before reading the parent note?

What does physically mean?
The temperature at position along the rod after time — a height above a 2-D place-and-time floor.
What does the curly symbol mean, and how does relate to ?
It marks a partial derivative — the slope when only one input changes and the rest are frozen; is just shorthand for .
What is ?
The rate a fixed point's temperature changes in time (slope of temp-vs-time at frozen ).
What is , and what does its sign tell you?
The curvature of the snapshot; is a dip that warms, is a bump that cools.
Why is written as a square?
To force it positive (diffusivity is always positive) and keep units .
State the difference between a boundary condition and an initial condition.
BC fixes the ends for all time (); IC fixes the whole rod at the one instant .
What is the separation guess, and what do and each depend on?
; depends on position only (a fixed shape), on time only (a fading dial).
Why are we allowed to make the separation guess?
It costs nothing to try the simplest form; if it works the PDE splits into two easy ODEs, and superposition lets us add many such pieces for any profile.
Why do zero-value (Dirichlet) ends force sine eigenfunctions, not cosines?
matches the ends; would leave an end hot.
Why must appear inside the sine?
So that is zero at both and (since ).
Why does mode fade at rate proportional to ?
Its decay constant is ; skinnier humps have larger curvature, so they change (and vanish) faster.
What does the coefficient represent?
How much of hump to pour into the recipe for — the Fourier coefficient measuring 's overlap with .
What property lets us add single-hump solutions together?
Linearity + homogeneity of the heat equation → the superposition principle.