Mathematics
Partial Differential Equations and the Heat Equation Diffusion Model
Quick fact
The heat equation, also known as the diffusion equation, is a linear PDE that describes how heat (or any diffusing quantity) spreads over time. It says that the rate of temperature change at a point is proportional to the curvature of the temperature distribution at that point—so hot spots cool down and cold spots warm up as heat evens out.
Why this is interesting
If you heat one end of a metal rod, how does the temperature change along the rod over time? The answer to this everyday question is a partial differential equation called the heat equation, which models the flow of heat as a smooth, predictable process.
Read the full explanation
Understanding Partial Differential Equations and the Heat Equation Diffusion Model
Imagine you have a long, thin metal rod, insulated along its sides so heat can only flow along its length. If you touch one end with a flame, that end gets hot, but the temperature is not the same everywhere—it varies along the rod. The temperature depends on two variables: position (let's call it x) and time (t). So temperature is a function T(x,t). To describe how this temperature changes, we need information about both spatial variation and temporal change. This is where a partial differential equation comes in. A partial derivative like ∂T/∂t measures how temperature changes with time at a fixed position, while ∂T/∂x measures how temperature changes with position at a fixed time. The heat equation connects these rates: it tells us that the rate at which temperature changes at a point is proportional to how quickly the temperature gradient (the slope of the temperature curve) is changing at that point. In one dimension, the heat equation is: ∂T/∂t = k ∂²T/∂x² where k is the thermal diffusivity, a material-specific constant. If you have a sharp hot spot (large curvature), the temperature changes quickly; if the temperature is linear (no curvature), the change is zero. This is exactly how heat spreads—from high to low temperature, smoothing out differences.
A deeper explanation
The heat equation is an example of a partial differential equation, which involves partial derivatives of an unknown function. Its structure is simple: the time derivative on the left equals the second spatial derivative on the right. The second derivative, ∂²T/∂x², is a measure of curvature or the concavity of the temperature profile. If the profile is concave down (hot spot), the curvature is negative, so ∂T/∂t is negative—meaning the hot spot cools down. Conversely, a concave up (cold spot) leads to warming. This is the essence of diffusion: the flow of heat is driven by the imbalance, and the PDE ensures that the total heat energy is conserved while the temperature distribution evolves toward a uniform state. Why does this work? Because Fourier's law of heat conduction says that heat flux is proportional to the negative temperature gradient, and the continuity equation (conservation of energy) leads to the heat equation. The beauty is that this equation appears everywhere—not just in heat, but in the diffusion of particles, the spread of pollutants, and even in financial option pricing (Black–Scholes). Solving the heat equation often involves techniques like separation of variables, which reduces the PDE to ordinary differential equations, and the superposition principle, which allows building complex solutions from simple ones. This is why the heat equation is so important: it is the prototype of a parabolic PDE, and its analysis provides tools essential for studying more complex PDEs.