The heat conduction equation is a partial differential diffusion equation of the form
|
(1)
|
Physically, the equation commonly arises in situations where is the thermal diffusivity (
) and
the temperature.
The one-dimensional heat conduction equation is
|
(2)
|
This can be solved by separation of variables using
|
(3)
|
Then
|
(4)
|
Dividing both sides by gives
|
(5)
|
For the nonconstant modes satisfying the homogeneous boundary conditions below, the separation constant is negative. Here has units of length. The
solution is
|
(6)
|
and the
solution is
|
(7)
|
The separated solution is then
|
(8)
| |||
|
(9)
| |||
|
(10)
|
On an interval of length ,
impose the boundary conditions
|
(11)
|
and
|
(12)
|
Substituting
into the separated solution gives
|
(13)
|
and substituting gives the condition for a nonzero mode
|
(14)
|
where
is a positive integer. The separated solution becomes
|
(15)
|
Superposing the modes gives the Fourier series
|
(16)
|
Now, if we are given an initial condition ,
we have
|
(17)
|
Multiplying both sides by and integrating from 0 to
gives
|
(18)
|
Using the orthogonality of and
on
,
|
(19)
| |||
|
(20)
| |||
|
(21)
|
so
|
(22)
|
If the boundary conditions are replaced by the requirement that the derivative of the temperature be zero at the edges, then (11) and (12) are replaced by
|
(23)
|
|
(24)
|
Following the same procedure as before, a similar answer is found, but with sine replaced by cosine:
|
(25)
|
where, for ,
|
(26)
|
The constant mode is the initial mean temperature. The other modes integrate
to zero, so the mean remains constant with insulated ends. For
, the decay rate of mode
is
.
Doubling
quadruples this rate, so finer spatial variations decay faster.
3Blue1Brown (2019a, 2019b) illustrates the heat equation and its Fourier series solution.