The heat equation equation is derived in the Wikipedia site. It is instructive to read this derivation.
It is based on Fourier's law which says that the heat exchanged through a surface is proportional to minus the gradient of the temperature across the surface and on energy conservation.
The equation reads
![]() |
(1) |
![]() |
(2) |
is called the thermal diffusivity.