Frequent Links
Heat equation
The heat equation is a parabolic partial differential equation that describes the distribution of heat (or variation in temperature) in a given region over time.
Contents
 1 Statement of the equation
 2 General description
 3 The physical problem and the equation
 4 Solving the heat equation using Fourier series
 5 Heat conduction in nonhomogeneous anisotropic media
 6 Fundamental solutions
 7 Meanvalue property for the heat equation
 8 Stationary heat equation
 9 Applications
 10 See also
 11 Notes
 12 References
 13 External links
Statement of the equation
For a function u(x,y,z,t) of three spatial variables (x,y,z) (see cartesian coordinates) and the time variable t, the heat equation is
 <math>\frac{\partial u}{\partial t} \alpha\left(\frac{\partial^2u}{\partial x^2}+\frac{\partial^2u}{\partial y^2}+\frac{\partial^2u}{\partial z^2}\right)=0</math>
More generally in any coordinate system:
<math>\frac{\partial u}{\partial t}  \alpha \nabla^2 u=0 </math>
where α is a positive constant, and Δ or ∇^{2} denotes the Laplace operator. In the physical problem of temperature variation, u(x,y,z,t) is the temperature and α is the thermal diffusivity. For the mathematical treatment it is sufficient to consider the case α = 1.
The heat equation is of fundamental importance in diverse scientific fields. In mathematics, it is the prototypical parabolic partial differential equation. In probability theory, the heat equation is connected with the study of Brownian motion via the Fokker–Planck equation. In financial mathematics it is used to solve the Black–Scholes partial differential equation. The diffusion equation, a more general version of the heat equation, arises in connection with the study of chemical diffusion and other related processes.
General description
Suppose one has a function u that describes the temperature at a given location (x, y, z). This function will change over time as heat spreads throughout space. The heat equation is used to determine the change in the function u over time. The rate of change of u is proportional to the "curvature" of u. Thus, the sharper the corner, the faster it is rounded off. Over time, the tendency is for peaks to be eroded, and valleys filled in. If u is linear in space (or has a constant gradient) at a given point, then u has reached steadystate and is unchanging at this point.
The image to the right is animated and describes the way heat changes in time along a metal bar. One of the interesting properties of the heat equation is the maximum principle that says that the maximum value of u is either earlier in time than the region of concern or on the edge of the region of concern. This is essentially saying that temperature comes either from some source or from earlier in time because heat permeates but is not created from nothingness. This is a property of parabolic partial differential equations and is not difficult to prove mathematically (see below).
Another interesting property is that even if u has a discontinuity at an initial time t = t_{0}, the temperature becomes smooth as soon as t > t_{0}. For example, if a bar of metal has temperature 0 and another has temperature 100 and they are stuck together end to end, then very quickly the temperature at the point of connection will become 50 and the graph of the temperature will run smoothly from 0 to 100.
The heat equation is used in probability and describes random walks. It is also applied in financial mathematics for this reason.
It is also important in Riemannian geometry and thus topology: it was adapted by Richard Hamilton when he defined the Ricci flow that was later used by Grigori Perelman to solve the topological Poincaré conjecture.
The physical problem and the equation
Derivation in one dimension
The heat equation is derived from Fourier's law and conservation of energy (Cannon 1984). By Fourier's law, the rate of flow of heat energy per unit area through a surface is proportional to the negative temperature gradient across the surface,
 <math>\mathbf{q} =  k \, \nabla u \ </math>
where k is the thermal conductivity and u is the temperature. In one dimension, the gradient is an ordinary spatial derivative, and so Fourier's law is
 <math>\mathbf{q} = k \frac{\partial u}{\partial x} \,</math>
In the absence of work done, a change in internal energy per unit volume in the material, ΔQ, is proportional to the change in temperature, Δu. (In this section only, Δ is the ordinary difference operator, not the Laplacian.) That is,
 <math>\Delta Q = c_p\rho \, \Delta u \,</math>
where c_{p} is the specific heat capacity and ρ is the mass density of the material. Choosing zero energy at absolute zero temperature, this can be rewritten as
 <math>Q = c_p\rho u. \,</math>
The increase in internal energy in a small spatial region of the material
 <math>x\Delta x \le \xi \le x+\Delta x</math>
over the time period
 <math>t\Delta t\le \tau \le t+\Delta t</math>
is given by^{[1]}
 <math>c_p\rho \int_{x\Delta x}^{x+\Delta x} [u(\xi,t+\Delta t)u(\xi,t\Delta t)]\, d\xi = c_p\rho\int_{t\Delta t}^{t+\Delta t}\int_{x\Delta x}^{x+\Delta x} \frac{\partial u}{\partial\tau}\,d\xi \, d\tau</math>
where the fundamental theorem of calculus was used. If no work is done and there are neither heat sources nor sinks, the change in internal energy in the interval [x−Δx, x+Δx] is accounted for entirely by the flux of heat across the boundaries. By Fourier's law, this is
 <math>k\int_{t\Delta t}^{t+\Delta t}\left[\frac{\partial u}{\partial x}(x+\Delta x,\tau)\frac{\partial u}{\partial x}(x\Delta x,\tau)\right]\,d\tau = k\int_{t\Delta t}^{t+\Delta t}\int_{x\Delta x}^{x+\Delta x}\frac{\partial^2u}{\partial\xi^2}\,d\xi\, d\tau</math>
again by the fundamental theorem of calculus.^{[2]} By conservation of energy,
 <math>\int_{t\Delta t}^{t+\Delta t}\int_{x\Delta x}^{x+\Delta x} [c_p\rho u_\tau  k u_{\xi\xi}]\, d\xi \, d\tau = 0.</math>
This is true for any rectangle [t −Δt, t + Δt] × [x − Δx, x + Δx]. By the fundamental lemma of the calculus of variations, the integrand must vanish identically:
 <math>c_p\rho u_t  k u_{xx} = 0. \,\!</math>
Which can be rewritten as:
 <math>u_t = \frac{k}{c_p\rho}u_{xx},</math>
or:
 <math>\frac{\partial u}{\partial t} = \frac{k}{c_p\rho} \left(\frac{\partial^2u}{\partial x^2}\right) </math>
which is the heat equation, where the coefficient (often denoted α)
 <math>\alpha = \frac{k}{c_p\rho}\,\!</math>
is called the thermal diffusivity.
An additional term may be introduced into the equation to account for radiative loss of heat, which depends upon the excess temperature u = T − T_{s} at a given point compared with the surroundings. At low excess temperatures, the radiative loss is approximately μu, giving a onedimensional heattransfer equation of the form
 <math>\frac{\partial u}{\partial t}= \frac{k}{c_p\rho} \left(\frac{\partial^2u}{\partial x^2}\right)\mu u. </math>
At high excess temperatures, however, the Stefan–Boltzmann law gives a net radiative heatloss proportional to <math>T^4T_s^4</math>, and the above equation is inaccurate. For large excess temperatures, <math>T^4  T_s^4 \approx u^4</math>, giving a hightemperature heattransfer equation of the form
 <math>\frac{\partial u}{\partial t}=\alpha\left(\frac{\partial^2u}{\partial x^2}\right)\ m u^4</math>
where <math>\ m= \epsilon\sigma p/\rho Ac_p</math>. Here, σ is Stefan's constant, ε is a characteristic constant of the material, p is the sectional perimeter of the bar and A is its crosssectional area. However, using T instead of u gives a better approximation in this case.
Threedimensional problem
In the special cases of wave propagation of heat in an isotropic and homogeneous medium in a 3dimensional space, this equation is
 <math>{\partial u\over \partial t} =
\alpha \left({\partial^2 u\over \partial x^2 } + {\partial^2 u\over \partial y^2 } + {\partial^2 u\over \partial z^2 }\right)</math> <math> = \alpha ( u_{xx} + u_{yy} + u_{zz} ) \quad </math>
where:
 u = u(x, y, z, t) is temperature as a function of space and time;
 <math>\frac{\partial u}{\partial t}</math> is the rate of change of temperature at a point over time;
 u_{xx}, u_{yy}, and u_{zz} are the second spatial derivatives (thermal conductions) of temperature in the x, y, and z directions, respectively;
 <math>\alpha = \frac{k}{c_p\rho}</math> is the thermal diffusivity, a materialspecific quantity depending on the thermal conductivity k, the mass density ρ, and the specific heat capacity c_{p}.
The heat equation is a consequence of Fourier's law of conduction (see heat conduction).
If the medium is not the whole space, in order to solve the heat equation uniquely we also need to specify boundary conditions for u. To determine uniqueness of solutions in the whole space it is necessary to assume an exponential bound on the growth of solutions.^{[3]}
Solutions of the heat equation are characterized by a gradual smoothing of the initial temperature distribution by the flow of heat from warmer to colder areas of an object. Generally, many different states and starting conditions will tend toward the same stable equilibrium. As a consequence, to reverse the solution and conclude something about earlier times or initial conditions from the present heat distribution is very inaccurate except over the shortest of time periods.
The heat equation is the prototypical example of a parabolic partial differential equation.
Using the Laplace operator, the heat equation can be simplified, and generalized to similar equations over spaces of arbitrary number of dimensions, as
 <math>u_t = \alpha \nabla^2 u = \alpha \Delta u, \quad \,\!</math>
where the Laplace operator, Δ or ∇^{2}, the divergence of the gradient, is taken in the spatial variables.
The heat equation governs heat diffusion, as well as other diffusive processes, such as particle diffusion or the propagation of action potential in nerve cells. Although they are not diffusive in nature, some quantum mechanics problems are also governed by a mathematical analog of the heat equation (see below). It also can be used to model some phenomena arising in finance, like the Black–Scholes or the OrnsteinUhlenbeck processes. The equation, and various nonlinear analogues, has also been used in image analysis.
The heat equation is, technically, in violation of special relativity, because its solutions involve instantaneous propagation of a disturbance. The part of the disturbance outside the forward light cone can usually be safely neglected, but if it is necessary to develop a reasonable speed for the transmission of heat, a hyperbolic problem should be considered instead – like a partial differential equation involving a secondorder time derivative. Some models of nonlinear heat conduction (which are also parabolic equations) have solutions with finite heat transmission speed.^{[4]}^{[5]}
Internal heat generation
The function u above represents temperature of a body. Alternatively, it is sometimes convenient to change units and represent u as the heat density of a medium. Since heat density is proportional to temperature in a homogeneous medium, the heat equation is still obeyed in the new units.
Suppose that a body obeys the heat equation and, in addition, generates its own heat per unit volume (e.g., in watts/litre  W/L) at a rate given by a known function q varying in space and time.^{[6]} Then the heat per unit volume u satisfies an equation
 <math>\frac{\partial u}{\partial t} = \alpha \left({\partial^2 u\over \partial x^2 } + {\partial^2 u\over \partial y^2 } + {\partial^2 u\over \partial z^2} \right) + \frac{1}{c_p\rho}q.</math>
For example, a tungsten light bulb filament generates heat, so it would have a positive nonzero value for q when turned on. While the light is turned off, the value of q for the tungsten filament would be zero.
Solving the heat equation using Fourier series
The following solution technique for the heat equation was proposed by Joseph Fourier in his treatise Théorie analytique de la chaleur, published in 1822. Let us consider the heat equation for one space variable. This could be used to model heat conduction in a rod. The equation is

1
<p style="margin:0; fontsize:4pt;"> </p>
({{{3}}})
</dl>
 x is the space variable, so x ∈ [0, L], where L is the length of the rod.
 t is the time variable, so t ≥ 0.

2
<p style="margin:0; fontsize:4pt;"> </p>
({{{3}}})
</dl>

3
<p style="margin:0; fontsize:4pt;"> </p>
({{{3}}})
</dl>

4
<p style="margin:0; fontsize:4pt;"> </p>
({{{3}}})
</dl>
 <math>\frac{T'(t)}{\alpha T(t)} = \frac{X(x)}{X(x)}.</math>

5
<p style="margin:0; fontsize:4pt;"> </p>
({{{3}}})
</dl>

6
<p style="margin:0; fontsize:4pt;"> </p>
({{{3}}})
</dl>
 Suppose that λ < 0. Then there exist real numbers B, C such that
 <math>X(x) = B e^{\sqrt{\lambda} \, x} + C e^{\sqrt{\lambda} \, x}.</math>
 Suppose that λ = 0. Then there exist real numbers B, C such that X(x) = Bx + C. From equation (3) we conclude in the same manner as in 1 that u is identically 0.
 Therefore, it must be the case that λ > 0. Then there exist real numbers A, B, C such that
 <math>T(t) = A e^{\lambda \alpha t}</math>
and
 <math>X(x) = B \sin(\sqrt{\lambda} \, x) + C \cos(\sqrt{\lambda} \, x).</math>
From (3) we get C = 0 and that for some positive integer n,
 <math>\sqrt{\lambda} = n \frac{\pi}{L}.</math>
 <math>u(x,t) = \sum_{n = 1}^{\infty} D_n \sin \left(\frac{n\pi x}{L}\right) e^{\frac{n^2 \pi^2 \alpha t}{L^2}}</math>
 <math>D_n = \frac{2}{L} \int_0^L f(x) \sin \left(\frac{n\pi x}{L}\right ) \, dx.</math>
 <math> e_n(x) = \sqrt{\frac{2}{L}}\sin \left(\frac{n\pi x}{L}\right)</math>
 <math> \Delta e_n = \frac{n^2 \pi^2}{L^2} e_n. </math>
 <math> \langle e_n, e_m \rangle = \int_0^L e_n(x) e^*_m(x) dx = \delta_{mn}</math>
 The time rate of heat flow into a region V is given by a timedependent quantity q_{t}(V). We assume q has a density <math>Q</math>, so that
 <math> q_t(V) = \int_V Q(x,t)\,d x \quad </math>
 Heat flow is a timedependent vector function H(x) characterized as follows: the time rate of heat flowing through an infinitesimal surface element with area dS and with unit normal vector n is
 <math> \mathbf{H}(x) \cdot \mathbf{n}(x) \, dS </math>
 Thus the rate of heat flow into V is also given by the surface integral
 <math> q_t(V)=  \int_{\partial V} \mathbf{H}(x) \cdot \mathbf{n}(x) \, dS </math>
 where n(x) is the outward pointing normal vector at x.
 The Fourier law states that heat energy flow has the following linear dependence on the temperature gradient
 <math> \mathbf{H}(x) = \mathbf{A}(x) \cdot \nabla u (x) </math>
 where A(x) is a 3 × 3 real matrix that is symmetric and positive definite.
 By the divergence theorem, the previous surface integral for heat flow into V can be transformed into the volume integral
 <math>\begin{align}
 The time rate of temperature change at x is proportional to the heat flowing into an infinitesimal volume element, where the constant of proportionality is dependent on a constant κ
 <math> \partial_t u(x,t) = \kappa(x) Q(x,t)\, </math>
 <math> \partial_t u(x,t) = \kappa(x) \sum_{i, j} \partial_{x_i} \bigl( a_{i j}(x) \partial_{x_j} u (x,t)\bigr) </math>
 The coefficient κ(x) is the inverse of specific heat of the substance at x × density of the substance at x.
 In the case of an isotropic medium, the matrix A is a scalar matrix equal to thermal conductivity.
 In the anisotropic case where the coefficient matrix A is not scalar (i.e., if it depends on x), then an explicit formula for the solution of the heat equation can seldom be written down. Though, it is usually possible to consider the associated abstract Cauchy problem and show that it is a wellposed problem and/or to show some qualitative properties (like preservation of positive initial data, infinite speed of propagation, convergence toward an equilibrium, smoothing properties). This is usually done by oneparameter semigroups theory: for instance, if A is a symmetric matrix, then the elliptic operator defined by
 <math>Au(x):=\sum_{i, j} \partial_{x_i} a_{i j}(x) \partial_{x_j} u (x)</math>
 is selfadjoint and dissipative, thus by the spectral theorem it generates a oneparameter semigroup.
 <math>\begin{cases}
 <math>\Phi(x,t)=\frac{1}{\sqrt{4\pi kt}}\exp\left(\frac{x^2}{4kt}\right).</math>
 <math>u(x,t) = \int \Phi(xy,t) g(y) dy.</math>
 <math>\begin{cases}
 <math>\Phi(\mathbf{x},t) = \Phi(x_1,t)\Phi(x_2,t)\dots\Phi(x_n,t)=\frac{1}{\sqrt{(4\pi k t)^n}}\exp \left (\frac{\mathbf{x}\cdot\mathbf{x}}{4kt} \right ).</math>
 <math>u(\mathbf{x},t) = \int_{\mathbf{R}^n}\Phi(\mathbf{x}\mathbf{y},t)g(\mathbf{y})d\mathbf{y}.</math>
 <math> \begin{cases}
 <math>u_{t}=ku_{xx}+f.</math>
 Initial value problem on (−∞,∞)
 <math>\begin{cases} u_{t}=ku_{xx} & (x, t) \in \mathbf{R} \times (0, \infty) \\
 <math>u(x,t)=\frac{1}{\sqrt{4\pi kt}} \int_{\infty}^{\infty} \exp\left(\frac{(xy)^2}{4kt}\right)g(y)\,dy </math>
 <math>\Phi(x,t):=\frac{1}{\sqrt{4\pi kt}}\exp\left(\frac{x^2}{4kt}\right),</math>
 <math>\left (\partial_tk\partial_x^2 \right )(\Phi*g)=\left [\left (\partial_tk\partial_x^2 \right )\Phi \right ]*g=0.</math>
 <math>\Phi(x,t)=\frac{1}{\sqrt{t}}\,\Phi\left(\frac{x}{\sqrt{t}}\right)</math>
 <math>\int_{\infty}^{\infty}\Phi(x,t)\,dx=1,</math>
 Initial value problem on (0,∞) with homogeneous Dirichlet boundary conditions
 <math>\begin{cases} u_{t}=ku_{xx} & (x, t) \in [0, \infty) \times (0, \infty) \\
 <math>u(x,t)=\frac{1}{\sqrt{4\pi kt}} \int_{0}^{\infty} \left[\exp\left(\frac{(xy)^2}{4kt}\right)\exp\left(\frac{(x+y)^2}{4kt}\right)\right] g(y)\,dy </math>
 Initial value problem on (0,∞) with homogeneous Neumann boundary conditions
 <math>\begin{cases} u_{t}=ku_{xx} & (x, t) \in [0, \infty) \times (0, \infty) \\ u(x,0)=g(x) & IC \\ u_{x}(0,t)=0 & BC \end{cases} </math>
 <math>u(x,t)=\frac{1}{\sqrt{4\pi kt}} \int_{0}^{\infty} \left[\exp\left(\frac{(xy)^2}{4kt}\right)+\exp\left(\frac{(x+y)^2}{4kt}\right)\right]g(y)\,dy </math>
 Problem on (0,∞) with homogeneous initial conditions and nonhomogeneous Dirichlet boundary conditions
 <math>\begin{cases} u_{t}=ku_{xx} & (x, t) \in [0, \infty) \times (0, \infty) \\ u(x,0)=0 & IC \\ u(0,t)=h(t) & BC \end{cases} </math>
 <math>u(x,t)=\int_{0}^{t} \frac{x}{\sqrt{4\pi k(ts)^3}} \exp\left(\frac{x^2}{4k(ts)}\right)h(s)\,ds, \qquad\forall x>0</math>
 <math>\psi(x,t):=2k \partial_x \Phi(x,t)=\frac{x}{\sqrt{4\pi kt^3}}\exp\left(\frac{x^2}{4kt}\right)</math>
 <math>\partial_tk\partial^2_x,</math>
 <math>\psi(x,t)=\frac{1}{x^2}\,\psi\left(1,\frac{t}{x^2}\right)</math>
 <math>\int_0^{\infty}\psi(x,t)\,dt=1,</math>
 Problem on (∞,∞) homogeneous initial conditions
 <math>\begin{cases}
 <math>u(x,t)=\int_{0}^{t}\int_{\infty}^{\infty} \frac{1}{\sqrt{4\pi k(ts)}} \exp\left(\frac{(xy)^2}{4k(ts)}\right)f(y,s)\,dy\,ds </math>
 <math>\Phi(x,t):=\frac{1}{\sqrt{4\pi kt}}\exp\left(\frac{x^2}{4 kt}\right)</math>
 <math>\left (\partial_tk \partial_x^2 \right )(\Phi*f)=f,</math>
 <math>\left (\partial_tk \partial_x^2 \right )\Phi=\delta,</math>
 Problem on (0,∞) with homogeneous Dirichlet boundary conditions and initial conditions
 <math>\begin{cases} u_{t}=ku_{xx}+f(x,t) & (x, t) \in [0, \infty) \times (0, \infty) \\ u(x,0)=0 & IC \\ u(0,t)=0 & BC \end{cases} </math>
 <math>u(x,t)=\int_{0}^{t}\int_{0}^{\infty} \frac{1}{\sqrt{4\pi k(ts)}} \left(\exp\left(\frac{(xy)^2}{4k(ts)}\right)\exp\left(\frac{(x+y)^2}{4k(ts)}\right)\right)
 Problem on (0,∞) with homogeneous Neumann boundary conditions and initial conditions
 <math>\begin{cases} u_{t}=ku_{xx}+f(x,t) & (x, t) \in [0, \infty) \times (0, \infty) \\ u(x,0)=0 & IC \\ u_x(0,t)=0 & BC \end{cases} </math>
 <math>u(x,t)=\int_{0}^{t}\int_{0}^{\infty} \frac{1}{\sqrt{4\pi k(ts)}} \left(\exp\left(\frac{(xy)^2}{4k(ts)}\right)+\exp\left(\frac{(x+y)^2}{4k(ts)}\right)\right)
 <math>\begin{cases} u_{t}=ku_{xx}+f & (x, t) \in \mathbf{R} \times (0, \infty) \\ u(x,0)=g(x) & IC\end{cases} </math>
 <math>\begin{cases}
 <math>\begin{cases} u_{t}=ku_{xx}+f & (x, t) \in [0, \infty) \times (0, \infty) \\ u(x,0)=g(x) & IC \\ u(0,t)=h(t) & BC\end{cases} </math>
 <math>\begin{cases}
 <math>(\partial_t \Delta)u=0</math>
 <math>\Delta u=0</math>,
 <math>(\partial_t \Delta)u=0</math>
 <math>(x,t)+E_\lambda\subset\mathrm{dom}(u)</math>
 <math>u(x,t)=\frac{\lambda}{4}\int_{E_\lambda}u(xy,ts)\frac{y^2}{s^2}ds\,dy,</math>
 <math>E_\lambda:=\{(y,s)\,:\,\Phi(y,s)>\lambda\},</math>
 <math>\Phi(x,t):=(4t\pi)^{\frac{n}{2}}\exp\left(\frac{x^2}{4t}\right).</math>
 <math>\mathrm{diam}(E_\lambda)=o(1)</math>
 <math>\frac{\partial u}{\partial t}=0</math>
 <math>\frac{\partial u}{\partial t}=0</math>
 <math>k \nabla^2 u=q</math>
 <math>\nabla^2 u=0</math>
 the volumetric concentration of particles, denoted c, in the case of collective diffusion of a large number of particles, or
 the probability density function associated with the position of a single particle, denoted P.
 <math>c_t = D \Delta c, \quad </math>
 <math>P_t = D \Delta P. \quad </math>
 <math>P(\bold R,t) = G(\bold R,t) = \frac{1}{\sqrt{(2 \pi)^3 (\det(D) t)}} \exp\left (\frac{\bold{R}^{T} D^{1} \bold{R}}{2t}\right )</math>
 <math>\psi_t = \frac{i \hbar}{2m} \Delta \psi</math>,
 <math>\begin{align}
 <math>\psi(\bold R, t) = \int \psi(\bold R^0,t=0) G(\bold R  \bold R^0,t) dR_x^0\,dR_y^0\,dR_z^0,</math>
 <math>G(\bold R,t) = \bigg( \frac{m}{2 \pi i \hbar t} \bigg)^{3/2} e^{\frac {\bold R^2 m}{2 i \hbar t}}.</math>
 <math>\frac{T_C  T_S}{T_0  T_S} =2 \sum_{n = 1}^{\infty} (1)^{n+1} \exp\left({\frac{n^2 \pi^2 \alpha t}{L^2}}\right)</math>
 ↑ Here we are assuming that the material has constant mass density and heat capacity through space as well as time, although generalizations are given below.
 ↑ In higher dimensions, the divergence theorem is used instead.
 ↑ Stojanovic, Srdjan (2003), "3.3.1.3 Uniqueness for heat PDE with exponential growth at infinity", Computational Financial Mathematics using MATHEMATICA®: Optimal Trading in Stocks and Options, Springer, pp. 112–114, ISBN 9780817641979.
 ↑ The Mathworld: Porous Medium Equation and the other related models have solutions with finite wave propagation speed.
 ↑ Juan Luis Vazquez (20061228), The Porous Medium Equation: Mathematical Theory, Oxford University Press, USA, ISBN 0198569033
 ↑ Note that the units of u must be selected in a manner compatible with those of q. Thus instead of being for thermodynamic temperature (Kelvin  K), units of u should be J/L.
 ↑ "EXACT". Exact Analytical Conduction Toolbox. University of Nebraska. January 2013. Retrieved 24 January 2015.
 ↑ The Green's Function Library contains a variety of fundamental solutions to the heat equation.
 Cannon, John Rozier (1984), The One–Dimensional Heat Equation, Encyclopedia of Mathematics and Its Applications 23 (1st ed.), ReadingMenlo Park–London–Don Mills–Sidney–Tokyo/ Cambridge–New York–New Rochelle–Melbourne–Sidney: AddisonWesley Publishing Company/Cambridge University Press, pp. XXV+483, ISBN 9780521302432, MR 0747979, Zbl 0567.35001.
 Crank, J.; Nicolson, P. (1947), "A Practical Method for Numerical Evaluation of Solutions of Partial Differential Equations of the HeatConduction Type", Proceedings of the Cambridge Philosophical Society 43: 50–67, Bibcode:1947PCPS...43...50C, doi:10.1017/S0305004100023197
 Einstein, Albert (1905), "Über die von der molekularkinetischen Theorie der Wärme geforderte Bewegung von in ruhenden Flüssigkeiten suspendierten Teilchen", Ann. Phys. Leipzig 17 322 (8): 549–560, Bibcode:1905AnP...322..549E, doi:10.1002/andp.19053220806
 Evans, L.C. (1998), Partial Differential Equations, American Mathematical Society, ISBN 0821807722
 Cole, K.D.; Beck, J.V.; HajiSheikh, A.; Litkouhi, B. (2011), Heat Conduction Using Green's Functions (2nd ed.), CRC Press, ISBN 9781439813546
 John, Fritz (1991), Partial Differential Equations (4th ed.), Springer, ISBN 9780387906096
 Wilmott, P.; Howison, S.; Dewynne, J. (1995), The Mathematics of Financial Derivatives:A Student Introduction, Cambridge University Press
 Carslaw, H. S.; Jaeger, J. C. (1959), Conduction of Heat in Solids (2nd ed.), Oxford University Press, ISBN 9780198533689
 Thambynayagam, R. K. M. (2011), The Diffusion Handbook: Applied Solutions for Engineers, McGrawHill Professional, ISBN 9780071751841
 Perona, P; Malik, J. (1990), "ScaleSpace and Edge Detection Using Anisotropic Diffusion", IEEE Transactions on Pattern Analysis and Machine Intelligence 12 (7): 629–639, doi:10.1109/34.56205
 Unsworth, J.; Duarte, F. J. (1979), "Heat diffusion in a solid sphere and Fourier Theory", Am. J. Phys. 47 (11): 891–893, Bibcode:1979AmJPh..47..981U, doi:10.1119/1.11601
 Derivation of the heat equation
 Linear heat equations: Particular solutions and boundary value problems  from EqWorld
where u = u(x, t) is a function of two variables x and t. Here
We assume the initial condition
where the function f is given, and the boundary conditions
Let us attempt to find a solution of (1) that is not identically zero satisfying the boundary conditions (3) but with the following property: u is a product in which the dependence of u on x, t is separated, that is:
This solution technique is called separation of variables. Substituting u back into equation (1),
Since the right hand side depends only on x and the left hand side only on t, both sides are equal to some constant value −λ. Thus:
and
We will now show that nontrivial solutions for (6) for values of λ ≤ 0 cannot occur:
This solves the heat equation in the special case that the dependence of u has the special form (4).
In general, the sum of solutions to (1) that satisfy the boundary conditions (3) also satisfies (1) and (3). We can show that the solution to (1), (2) and (3) is given by
where
Other closedform solutions are available.^{[7]}
Generalizing the solution technique
The solution technique used above can be greatly extended to many other types of equations. The idea is that the operator u_{xx} with the zero boundary conditions can be represented in terms of its eigenvectors. This leads naturally to one of the basic ideas of the spectral theory of linear selfadjoint operators.
Consider the linear operator Δu = u_{xx}. The infinite sequence of functions
for n ≥ 1 are eigenvectors of Δ. Indeed
Moreover, any eigenvector f of Δ with the boundary conditions f(0) = f(L) = 0 is of the form e_{n} for some n ≥ 1. The functions e_{n} for n ≥ 1 form an orthonormal sequence with respect to a certain inner product on the space of realvalued functions on [0, L]. This means
Finally, the sequence {e_{n}}_{n ∈ N} spans a dense linear subspace of L^{2}((0, L)). This shows that in effect we have diagonalized the operator Δ.
Heat conduction in nonhomogeneous anisotropic media
In general, the study of heat conduction is based on several principles. Heat flow is a form of energy flow, and as such it is meaningful to speak of the time rate of flow of heat into a region of space.
q_t(V) &=  \int_{\partial V} \mathbf{H}(x) \cdot \mathbf{n}(x) \, dS \\ &= \int_{\partial V} \mathbf{A}(x) \cdot \nabla u (x) \cdot \mathbf{n}(x) \, dS \\ &= \int_V \sum_{i, j} \partial_{x_i} \bigl( a_{i j}(x) \partial_{x_j} u (x,t) \bigr)\,dx \end{align}</math>
Putting these equations together gives the general equation of heat flow:
Remarks.
Fundamental solutions
A fundamental solution, also called a heat kernel, is a solution of the heat equation corresponding to the initial condition of an initial point source of heat at a known position. These can be used to find a general solution of the heat equation over certain domains; see, for instance, (Evans 1998) for an introductory treatment.
In one variable, the Green's function is a solution of the initial value problem
u_t(x,t)  k u_{xx}(x,t) = 0& (x, t) \in \mathbf{R} \times (0, \infty)\\ u(x,0)=\delta(x)& \end{cases}</math>
where δ is the Dirac delta function. The solution to this problem is the fundamental solution
One can obtain the general solution of the one variable heat equation with initial condition u(x, 0) = g(x) for −∞ < x < ∞ and 0 < t < ∞ by applying a convolution:
In several spatial variables, the fundamental solution solves the analogous problem
u_t(\mathbf{x},t)  k \sum_{i=1}^nu_{x_ix_i}(\mathbf{x},t) = 0 & (\mathbf{x}, t) \in \mathbf{R}^n \times (0, \infty)\\ u(\mathbf{x},0)=\delta(\mathbf{x}) \end{cases}</math>
The nvariable fundamental solution is the product of the fundamental solutions in each variable; i.e.,
The general solution of the heat equation on R^{n} is then obtained by a convolution, so that to solve the initial value problem with u(x, 0) = g(x), one has
The general problem on a domain Ω in R^{n} is
u_t(\mathbf{x},t)  k \sum_{i=1}^nu_{x_ix_i}(\mathbf{x},t) = 0& (\mathbf{x}, t) \in \Omega\times (0, \infty)\\ u(\mathbf{x},0)=g(\mathbf{x})&\mathbf{x}\in\Omega \end{cases}</math>
with either Dirichlet or Neumann boundary data. A Green's function always exists, but unless the domain Ω can be readily decomposed into onevariable problems (see below), it may not be possible to write it down explicitly. Other methods for obtaining Green's functions include the method of images, separation of variables, and Laplace transforms (Cole, 2011).
Some Green's function solutions in 1D
A variety of elementary Green's function solutions in onedimension are recorded here; many others are available elsewhere.^{[8]} In some of these, the spatial domain is (−∞,∞). In others, it is the semiinfinite interval (0,∞) with either Neumann or Dirichlet boundary conditions. One further variation is that some of these solve the inhomogeneous equation
where f is some given function of x and t.
Homogeneous heat equation
u(x,0)=g(x) & IC \end{cases} </math>
Comment. This solution is the convolution with respect to the variable x of the fundamental solution
and the function g(x). Therefore, according to the general properties of the convolution with respect to differentiation, u = g ∗ Φ is a solution of the same heat equation, for
Moreover,
so that, by general facts about approximation to the identity, Φ(⋅, t) ∗ g → g as t → 0 in various senses, according to the specific g. For instance, if g is assumed bounded and continuous on R then Φ(⋅, t) ∗ g converges uniformly to g as t → 0, meaning that u(x, t) is continuous on R × [0, ∞) with u(x, 0) = g(x).
u(x,0)=g(x) & IC \\ u(0,t)=0 & BC \end{cases} </math>
Comment. This solution is obtained from the preceding formula as applied to the data g(x) suitably extended to R, so as to be an odd function, that is, letting g(−x) := −g(x) for all x. Correspondingly, the solution of the initial value problem on (−∞,∞) is an odd function with respect to the variable x for all values of t, and in particular it satisfies the homogeneous Dirichlet boundary conditions u(0, t) = 0.
Comment. This solution is obtained from the first solution formula as applied to the data g(x) suitably extended to R so as to be an even function, that is, letting g(−x) := g(x) for all x. Correspondingly, the solution of the initial value problem on R is an even function with respect to the variable x for all values of t > 0, and in particular, being smooth, it satisfies the homogeneous Neumann boundary conditions u_{x}(0, t) = 0.
Comment. This solution is the convolution with respect to the variable t of
and the function h(t). Since Φ(x, t) is the fundamental solution of
the function ψ(x, t) is also a solution of the same heat equation, and so is u := ψ ∗ h, thanks to general properties of the convolution with respect to differentiation. Moreover,
so that, by general facts about approximation to the identity, ψ(x, ⋅) ∗ h → h as x → 0 in various senses, according to the specific h. For instance, if h is assumed continuous on R with support in [0, ∞) then ψ(x, ⋅) ∗ h converges uniformly on compacta to h as x → 0, meaning that u(x, t) is continuous on [0, ∞) × [0, ∞) with u(0, t) = h(t).
Inhomogeneous heat equation
u_{t}=ku_{xx}+f(x,t) & (x, t) \in \mathbf{R} \times (0, \infty) \\ u(x,0)=0 & IC \end{cases} </math>
Comment. This solution is the convolution in R^{2}, that is with respect to both the variables x and t, of the fundamental solution
and the function f(x, t), both meant as defined on the whole R^{2} and identically 0 for all t → 0. One verifies that
which expressed in the language of distributions becomes
where the distribution δ is the Dirac's delta function, that is the evaluation at 0.
f(y,s)\,dy\,ds </math>
Comment. This solution is obtained from the preceding formula as applied to the data f(x, t) suitably extended to R × [0,∞), so as to be an odd function of the variable x, that is, letting f(−x, t) := −f(x, t) for all x and t. Correspondingly, the solution of the inhomogeneous problem on (−∞,∞) is an odd function with respect to the variable x for all values of t, and in particular it satisfies the homogeneous Dirichlet boundary conditions u(0, t) = 0.
f(y,s)\,dy\,ds </math>
Comment. This solution is obtained from the first formula as applied to the data f(x, t) suitably extended to R × [0,∞), so as to be an even function of the variable x, that is, letting f(−x, t) := f(x, t) for all x and t. Correspondingly, the solution of the inhomogeneous problem on (−∞,∞) is an even function with respect to the variable x for all values of t, and in particular, being a smooth function, it satisfies the homogeneous Neumann boundary conditions u_{x}(0, t) = 0.
Examples
Since the heat equation is linear, solutions of other combinations of boundary conditions, inhomogeneous term, and initial conditions can be found by taking an appropriate linear combination of the above Green's function solutions.
For example, to solve
let u = w + v where w and v solve the problems
v_{t}=kv_{xx}+f, \, w_{t}=kw_{xx} \, & (x, t) \in \mathbf{R} \times (0, \infty) \\ v(x,0)=0,\, w(x,0)=g(x) \, & IC \end{cases} </math>
Similarly, to solve
let u = w + v + r where w, v, and r solve the problems
v_{t}=kv_{xx}+f, \, w_{t}=kw_{xx}, \, r_{t}=kr_{xx} & (x, t) \in [0, \infty) \times (0, \infty) \\ v(x,0)=0, \; w(x,0)=g(x), \; r(x,0)=0 & IC\\ v(0,t)=0, \; w(0,t)=0, \; r(0,t)=h(t) & BC \end{cases}</math>
Meanvalue property for the heat equation
Solutions of the heat equations
satisfy a meanvalue property analogous to the meanvalue properties of harmonic functions, solutions of
though a bit more complicated. Precisely, if u solves
and
then
where E_{λ} is a "heatball", that is a superlevel set of the fundamental solution of the heat equation:
Notice that
as λ → ∞ so the above formula holds for any (x, t) in the (open) set dom(u) for λ large enough. Conversely, any function u satisfying the above meanvalue property on an open domain of R^{n} × R is a solution of the heat equation. This can be shown by an argument similar to the analogous one for harmonic functions.
Stationary heat equation
The (time) stationary heat equation is not dependent on time. In other words, it is assumed conditions exist such that:
This condition depends on the time constant and the amount of time passed since boundary conditions have been imposed. Thus, the condition is fulfilled in situations in which the time equilibrium constant is fast enough that the more complex timedependent heat equation can be approximated by the stationary case. Equivalently, the stationary condition exists for all cases in which enough time has passed that the thermal field u no longer evolves in time.
In the stationary case, a spatial thermal gradient may (or may not) exist, but if it does, it does not change in time. This equation therefore describes the end result in all thermal problems in which a source is switched on (for example, an engine started in an automobile), and enough time has passed for all permanent temperature gradients to establish themselves in space, after which these spatial gradients no longer change in time (as again, with an automobile in which the engine has been running for long enough). The other (trivial) solution is for all spatial temperature gradients to disappear as well, in which case the temperature become uniform in space, as well.
The equation is much simpler and can help to understand better the physics of the materials without focusing on the dynamic of the heat transport process. It is widely used for simple engineering problems assuming there is equilibrium of the temperature fields and heat transport, with time.
Stationary condition:
The stationary heat equation for a volume that contains a heat source (the inhomogeneous case), is the Poisson's equation:
where u is the temperature, k is the thermal conductivity and q the heatflux density of the source.
In electrostatics, this is equivalent to the case where the space under consideration contains an electrical charge.
The stationary heat equation without a heat source within the volume (the homogeneous case) is the equation in electrostatics for a volume of free space that does not contain a charge. It is described by Laplace's equation:
Applications
Particle diffusion
One can model particle diffusion by an equation involving either:
In either case, one uses the heat equation
or
Both c and P are functions of position and time. D is the diffusion coefficient that controls the speed of the diffusive process, and is typically expressed in meters squared over second. If the diffusion coefficient D is not constant, but depends on the concentration c (or P in the second case), then one gets the nonlinear diffusion equation.
Brownian motion
The random trajectory of a single particle subject to the particle diffusion equation (or heat equation) is a Brownian motion. If a particle is placed at R = 0 at time t = 0, then the probability density function associated with the position vector of the particle R will be the following:
which is a (multivariate) normal distribution evolving in time.
Schrödinger equation for a free particle
With a simple division, the Schrödinger equation for a single particle of mass m in the absence of any applied force field can be rewritten in the following way:
where i is the imaginary unit, ħ is the reduced Planck's constant, and ψ is the wave function of the particle.
This equation is formally similar to the particle diffusion equation, which one obtains through the following transformation:
c(\bold R,t) &\to \psi(\bold R,t) \\ D &\to \frac{i \hbar}{2m} \end{align}</math>
Applying this transformation to the expressions of the Green functions determined in the case of particle diffusion yields the Green functions of the Schrödinger equation, which in turn can be used to obtain the wave function at any time through an integral on the wave function at t = 0:
with
Remark: this analogy between quantum mechanics and diffusion is a purely formal one. Physically, the evolution of the wave function satisfying Schrödinger's equation might have an origin other than diffusion.
Thermal diffusivity in polymers
A direct practical application of the heat equation, in conjunction with Fourier theory, in spherical coordinates, is the prediction of thermal transfer profiles and the measurement of the thermal diffusivity in polymers (Unsworth and Duarte). This dual theoreticalexperimental method is applicable to rubber, various other polymeric materials of practical interest, and microfluids. These authors derived an expression for the temperature at the center of a sphere T_{C}
where T_{0} is the initial temperature of the sphere and T_{S} the temperature at the surface of the sphere, of radius L. This equation has also found applications in protein energy transfer and thermal modeling in biophysics.
Further applications
The heat equation arises in the modeling of a number of phenomena and is often used in financial mathematics in the modeling of options. The famous Black–Scholes option pricing model's differential equation can be transformed into the heat equation allowing relatively easy solutions from a familiar body of mathematics. Many of the extensions to the simple option models do not have closed form solutions and thus must be solved numerically to obtain a modeled option price. The equation describing pressure diffusion in a porous medium is identical in form with the heat equation. Diffusion problems dealing with Dirichlet, Neumann and Robin boundary conditions have closed form analytic solutions (Thambynayagam 2011). The heat equation is also widely used in image analysis (Perona & Malik 1990) and in machinelearning as the driving theory behind scalespace or graph Laplacian methods. The heat equation can be efficiently solved numerically using the Crank–Nicolson method of (Crank & Nicolson 1947). This method can be extended to many of the models with no closed form solution, see for instance (Wilmott, Howison & Dewynne 1995).
An abstract form of heat equation on manifolds provides a major approach to the Atiyah–Singer index theorem, and has led to much further work on heat equations in Riemannian geometry.
See also
Notes
References
External links
40x40px  Wikiversity has learning materials about Heat equation 
40x40px  Wikimedia Commons has media related to Heat equation. 