All courses › Laplace, Fourier and PDEs › The heat equation

The heat equation

The heat equation describes how the temperature u(x,t)u(x,t) in a rod evolves over time, and is often solved by separation of variables. The solution becomes a sum of modes that each decay at their own rate - higher modes fastest.

ut=c2uxxu_t = c^2u_{xx}the heat equation (1D)
un(x,t)=sin⁡nπxL e−c2(nπ/L)2tu_n(x,t) = \sin\frac{n\pi x}{L}\,e^{-c^2(n\pi/L)^2t}mode n, with u=0u=0 at both ends

Symbols

c2c^2diffusion coefficient
LLlength of the rodm

Example

c2=4c^2=4, L=πL=\pi, n=3n=3: the decay rate is λ=c2(nπ/L)2=4⋅9=36\lambda=c^2(n\pi/L)^2=4\cdot9=36.

Because higher modes decay fastest, the temperature profile smooths out faster as time passes.
Practise partial differential equations for free →

← The Gibbs phenomenon · The wave equation →

Part of Laplace, Fourier and PDEs: Partial differential equations.