The Heat Equation
Heat flows from hot to cold, and faster where the temperature drops more steeply. Keep track of what flows into and out of a tiny slice and you get : a point warms up when it's cooler than the average of its neighbors.
What the symbols mean
- Warming rate
How fast the temperature at a point changes.
- Thermal diffusivity
Conductivity divided by heat capacity per volume: how fast heat spreads.
- Curvature
Positive where the point is cooler than its neighbors' average, so it warms.
What the symbols mean
- Heat flux
Heat energy per unit time crossing a point, positive to the right.
- Thermal conductivity
How easily the material conducts heat.
- Temperature gradient
Heat flows downhill: opposite to the gradient.
Explanation
The heat equation is simply the rule for how temperature evens itself out over time: cold spots warm up and hot spots cool down. The same equation describes anything that spreads by diffusion, so it's just as good for ink in still water or a drug moving through tissue as for a hot rod. The equation has three small pieces: (how fast the temperature at a point is changing), (how much colder or hotter that point is than its neighbors' average), and (how quickly the material lets heat spread). So the rule is "the more out of line a point is with its neighbors, the faster it catches up." It looks like a lot of symbols, but that one sentence is the whole equation.
Two physical facts go in. First, heat flows downhill, from hot to cold, and the steeper the drop, the faster it flows. That's Fourier's law above; the minus sign is there because heat moves opposite to the direction the temperature increases. Second, energy is conserved: the heat in a piece of rod only changes by what crosses its ends.
Derivation. Take a thin slice of rod from to . Its heat energy changes because of the flux in at the left minus the flux out at the right:
With Fourier's law , dividing by gives with . Notice where the second derivative came from: conservation turned the flux into its derivative, and the flux was already a derivative of .
Why curvature? If at a point, the profile curves upward there, so the neighbors on either side are warmer on average. Heat flows in and the point warms up. If the point is a local hot spot and it cools. Either way, bumps get flattened, which is why heat always smooths things out.
Boundary conditions:
- Fixed temperature (Dirichlet): , an end held in an ice bath.
- Insulated (Neumann): , no heat flows through the end.
- Newton cooling (Robin): heat leaves at a rate proportional to the difference with the surroundings.
Equilibrium. When nothing changes in time, , so . The only functions with zero second derivative are straight lines, so a steady temperature profile is a straight line between the end temperatures. That's the line the rod settled onto in the first picture of this unit.
In 2D and 3D: , with .
See it
Worked examples
A 10 cm rod has its ends held at 20° and 70°. Find the equilibrium temperature at cm.
- 1
At equilibrium , so the profile is a straight line from at to at : .
Practice
Type your answer and check it. Solve them all to complete the lesson.
A 10 cm rod's ends are held at 20° and 70°. Find the equilibrium temperature at .
At a point where , the temperature is:
What does an insulated end mean mathematically?
solves . Find .
Solve with (and at ).
A single-pane window is 5 mm thick, with thermal conductivity W/(m·K). It's 20 °C inside and 0 °C outside, and the temperature drops linearly through the glass. Using Fourier's law , find the heat flux through the glass, in W/m².
At one instant a rod's temperature is , and it obeys . At what rate is the temperature changing at each point?
The hardest one here. Get it, and you've got this lesson.
A wire on generates heat unevenly, so its steady temperature satisfies with . What is the hottest temperature along the wire?
Where it's used
The same equation describes heat in engine blocks and CPUs, the diffusion of chemicals and drugs, the spread of a pollutant in still water, and the smoothing of images.