4.7.8 · D3Partial Differential Equations

Worked examples — Heat equation (parabolic) 1D — derivation from Fourier's law

2,230 words10 min readBack to topic

Before we start, three symbols in one place so nothing is used before it is meant:

See the parent derivation if any of this feels new, and Thermal Diffusivity and Material Properties for where comes from.


The scenario matrix

Every heat-equation question you'll meet is one (or a blend) of these cells. The examples afterward are tagged with the Cell they exercise.

Cell Case class What makes it different Example
A Curvature negative (a hill / hot bump) : point cools Ex 1
B Curvature positive (a valley / cold dip) : point warms Ex 2
C Curvature zero (straight-line / degenerate) : steady state Ex 3
D Verify a candidate solution (exponential decay) Plug into both sides, must match Ex 4
E Sign / stability twist (backward heat eq) wrong sign blow-up Ex 5
F Limiting behaviour as and scaling who wins the race to equilibrium Ex 6
G Real-world word problem with units must produce numbers + correct SI Ex 7
H Source term (non-homogeneous) extra shifts the balance Ex 8

Cells A, B, C are the three signs of curvature (all cases covered). D–H are the standard twists. Together they fill the table.


Example 1 — Cell A: a hot bump cools

Forecast: At , , so — this is the top of a bump (a hill). Guess the sign of before reading on. Hills lose heat to lower neighbours…

Step 1 — Compute the curvature. Why this step? The equation only cares about ; the constant has zero curvature, so it drops out. See the shape in the figure below.

Figure — Heat equation (parabolic) 1D — derivation from Fourier's law

Step 2 — Evaluate at . Why this step? At we sit on the peak (red dot in figure); . Negative curvature confirms a hill (∩).

Step 3 — Apply the equation. Why this step? turns curvature into a time-rate.

Verify: , so the spot cools — exactly as the hill picture predicts (neighbours are colder, energy leaks out). Units: in m²/s times in K/m² gives K/s. ✓


Example 2 — Cell B: a cold dip warms

Forecast: At , , so — the bottom of the dip. Guess the sign of : valleys sit below their neighbours…

Step 1 — Reuse the curvature. Why this step? Same profile, so the same second derivative — we only change the point.

Step 2 — Evaluate at . Why this step? flips the sign: now curvature is positive, a valley (∪).

Step 3 — Apply the equation.

Verify: , the dip warms. Notice the numbers in Ex 1 and Ex 2 are exact opposites () — the hill and valley of one curve heat/cool at mirror-image rates. Sanity ✓.


Example 3 — Cell C: the degenerate straight line

Forecast: A straight line has no bend. What is the curvature of a straight line? Guess before Step 1.

Step 1 — First derivative. Why this step? We need ; get there via first.

Step 2 — Second derivative. Why this step? The slope is constant, so its rate of change (the curvature) is zero — a straight line bends nowhere.

Step 3 — Apply the equation.

Verify: everywhere — the profile is already steady. This matches the parent note: the 1D steady state () is exactly a straight line. See Laplace Equation (steady-state heat) for the multi-dimensional cousin. ✓


Example 4 — Cell D: verify an exponential-decay solution

Forecast: A solution must make the left side equal the right side identically. Guess: the exponent — where does the have to come from?

Step 1 — Left side, . Why this step? Chain rule on the exponential: the time-derivative pulls down the factor . is a constant in .

Step 2 — Right side, first the space derivatives. Why this step? Each -derivative pulls down a factor from ; twice gives and returns to with a minus.

Step 3 — Multiply by and compare. Why this step? Both sides are now the same expression, so the equation holds for all .

Verify: They match term-for-term. The general pattern: solves the equation, decaying faster for larger (wigglier profiles die quicker). This is the seed of Separation of Variables for the Heat Equation and Fourier Series Solutions. ✓


Example 5 — Cell E: the sign twist (why the minus matters)

Forecast: In the correct equation heat spreads and dies away. Guess: will the wrong-sign version grow or shrink in time?

Step 1 — Compute the pieces. Why this step? Standard derivatives; we solve for the growth rate by matching.

Step 2 — Correct equation (α = 1). Why this step? Matching coefficients of . Negative decay — physically stable, heat smooths out.

Step 3 — Wrong-sign equation . Why this step? The flipped sign flips . Positive explosive growth — the profile amplifies forever.

Verify: Correct: (dies). Wrong: (blows up). This is precisely the [!mistake] in the parent note — the minus in is what keeps the physics stable. See Classification of PDEs (elliptic, parabolic, hyperbolic). ✓


Example 6 — Cell F: limiting behaviour and the race

Forecast: Bigger = faster diffusion. Guess which rod flattens sooner, and guess the final temperature.

Step 1 — Decay rates. Why this step? The mode decays like ; the exponent's magnitude is the decay rate.

Step 2 — Time for rod Q to reach . Peak value is ; set it to : Why this step? " time" (the time constant) is — a clean way to compare speeds.

Step 3 — Long-time limit. Why this step? Any positive exponent times sends ; the ends are held at , so the whole rod relaxes to .

Verify: (since ), so rod Q equilibrates four times faster — doubling-then-doubling compounds. Final temperature for both, matching "diffusion erases structure." ✓


Example 7 — Cell G: real-world word problem with units

Forecast: Copper conducts superbly ( huge) but also stores a fair amount of energy. Guess whether is "large" () or "tiny" ().

Step 1 — Diffusivity. Why this step? The PDE's time scale is set by , not by alone (parent [!mistake]). Units: . ✓

Step 2 — Curvature of the given profile. Why this step? is a downward parabola (a hill), so constant negative curvature everywhere.

Step 3 — Time-rate. Why this step? Same ; the negative sign says the rod's warm crest cools, slowly (copper's modest ).

Verify: m²/s — the "large" guess, correct for copper. K/s, units K/s. ✓ See Thermal Diffusivity and Material Properties.


Example 8 — Cell H: a heat source (non-homogeneous)

Forecast: Without the source, this hill would cool. The source pumps energy in. Guess: does the source help it warm, or just slow the cooling — and can they exactly cancel?

Step 1 — Curvature. Why this step? We need the diffusion term ; the profile is a shallow hill, curvature .

Step 2 — Assemble the source equation. Why this step? Diffusion contributes (cooling, it's a hill), the heater adds . Their sum is the net drive on stored energy.

Step 3 — Solve for . Why this step? Divide the energy balance by to isolate the temperature rate.

Verify: Net K/s: the source outweighs the diffusive cooling, so the spot warms despite being a hill. If the source had been exactly , the two would cancel and — a source-sustained steady state. ✓


Recap of the whole matrix

Recall Did every cell get covered?

A hill cools (Ex 1), a valley warms (Ex 2), a straight line is steady (Ex 3), an exponential mode is verified (Ex 4), a wrong sign blows up (Ex 5), bigger wins the equilibrium race (Ex 6), a real copper rod gives SI numbers (Ex 7), and a source can flip cooling into warming (Ex 8). Every sign of curvature and every standard twist is now something you have seen worked.

Sign of curvature drives sign of ?
with , so has the same sign as : hill () cools, valley () warms.
Effect of doubling on decay rate of a Fourier mode?
The rate doubles; the mode dies twice as fast.
With a source , formula for ?
; source and diffusion compete.

Connections