# Multidimensional Heat Equation

Before moving onto the method of separation of variables, let us enhance our one-dimensional heat equation to three dimensions by first introducing the

It clearly follows that our multidimensional heat equation then turns into$$\frac{d}{dt}\iiint_Rc\rho u\,dV=-\!\int\!\!\!\!\int_{\text{ }}\!\!\!\!\!\!\!\!\bigcirc\,\,\varphi\cdot\hat n\,dS+\iiint_RQ\,dV$$But this is pretty hard to work with since the closed surface integral is expressed in terms of the scalar product of two vectors. However, there is this really cool theorem called the

I had to get sidetracked there a little bit, but stay tuned for the next entry, where we

**gradient**operator:$$\nabla=\frac{\partial}{\partial x}\hat i+\frac{\partial}{\partial y}\hat j+\frac{\partial}{\partial z}\hat k$$With that in mind, let us enhance the**heat energy**to encompass a three-dimensional, arbitrary subregion $R$:$$\iiint_Rc\rho u\,dV$$In three dimensions, the**heat flux**becomes a*vector*instead of a scalar 'direction' ($\varphi>0$, etc.). Because of this, our heat flux becomes$$\int\!\!\!\!\int_{\text{ }}\!\!\!\!\!\!\!\!\bigcirc\,\,\varphi\cdot\hat n\,dS$$where $\hat n$ is the unit normal vector to the region's surface.It clearly follows that our multidimensional heat equation then turns into$$\frac{d}{dt}\iiint_Rc\rho u\,dV=-\!\int\!\!\!\!\int_{\text{ }}\!\!\!\!\!\!\!\!\bigcirc\,\,\varphi\cdot\hat n\,dS+\iiint_RQ\,dV$$But this is pretty hard to work with since the closed surface integral is expressed in terms of the scalar product of two vectors. However, there is this really cool theorem called the

**divergence theorem**which, simply put, states that$$\iiint_R\nabla\cdot\vec A\,dV=\int\!\!\!\!\int_{\text{ }}\!\!\!\!\!\!\!\!\bigcirc\,\,\vec A\cdot\hat n\,dS$$We can use it to rewrite our heat equation above like this:$$\frac{d}{dt}\iiint_Rc\rho u\,dV=-\iiint_R\nabla\cdot\varphi\,dV+\iiint_RQ\,dV$$After manipulating this equation a bit, we end up with$$c\rho\frac{\partial u}{\partial t}=-\nabla\cdot\varphi+Q$$This is analogous to the one-dimensional heat equation we derived in the last entry! All we need now is the three-dimensional equivalent of**Fourier's law of heat conduction**.$$\varphi=-K_0\nabla u$$That was pretty straightforward. Now, substituting, treating $c$, $\rho$ and $K_0$ as constants and letting $Q=0$ yields our desired, three-dimensional heat equation$$\frac{\partial u}{\partial t}=k\nabla^2u$$where $\nabla^2$ is often called the**Laplacian**.I had to get sidetracked there a little bit, but stay tuned for the next entry, where we

**will**be discussing the method of separation of variables!
## No comments: