The heat equation by separation of variables
6 min read
Short answer
For a rod with ends held at , the solution of is , where the are the sine-series coefficients of the initial temperature. Higher modes die out faster, so the profile smooths over time.
The steps
Try . Then . The spatial problem , forces and . Each mode has . Combine them by superposition and fit the initial condition with a Fourier sine series.
What it says physically
Heat flows from hot to cold, smoothing differences. Sharp features (high ) vanish quickly; the smooth shape of the lowest mode lingers. All the heat eventually leaves through the cold ends.
Worked example
Solve on with and .
Here and , and the initial data is already a sum of modes. So . At the amplitudes are and : the second mode has nearly vanished.
Try it yourself
How fast does mode decay compared with mode for , ?
Show the answer
Mode decays like , so mode decays like versus : nine times faster in the exponent.
Keep going with practice
Vidi's differential-equation lessons give you the ODEs that separation reduces this problem to.