The stability condition
Von Neumann's test asks how the scheme treats a single Fourier mode
u_i^n = G^n e^{i k x_i}. Substituting into the update gives an
amplification factor
G = 1 - 4r\sin^2\!\Big(\frac{k\,\Delta x}{2}\Big).
Stability needs |G| \le 1 for every mode. The danger is the highest
frequency, where \sin^2 = 1 and G = 1 - 4r.
Requiring |1 - 4r| \le 1 gives the famous bound
\boxed{\,r = \frac{\alpha\,\Delta t}{\Delta x^2} \le \tfrac12.\,}
Cross r = \tfrac12 and the highest mode has
|G| > 1: it grows by a factor each step, flipping sign as it goes, and
swamps the true solution. This is a conditional stability — and an expensive one,
since halving \Delta x forces \Delta t down by
a factor of four.
- The explicit heat scheme amplifies mode k by G = 1 - 4r\sin^2(k\Delta x/2).
- Stable iff |G| \le 1 for all modes, i.e. r = \alpha\Delta t/\Delta x^2 \le \tfrac12.
- Beyond r = \tfrac12 the highest frequency blows up — a sign-flipping, doubling instability.