Gradient operator in two dimensions
Let \(u:\mathbb{R}^2\to \mathbb{R}\) be a differentiable function. The gradient of \(u\), denoted \(\nabla u\), is the vector field with
\[ (\nabla u)(x,y) = \begin{bmatrix} \displaystyle \frac{\partial u}{\partial x}(x,y) \\ \displaystyle \frac{\partial u}{\partial y}(x,y) \end{bmatrix}. \]
Divergence operator in two dimensions
Let \(\mathbf{F}:\mathbb{R}^2\to \mathbb{R}^2\) be a continuously differentiable vector field with components \(F_1\) and \(F_2\). The divergence of \(\mathbf{F}\), denoted \(\nabla \cdot \mathbf{F}\), is the scalar field with
\[ (\nabla \cdot \mathbf{F})(x,y) = \frac{\partial F_1}{\partial x}(x,y) + \frac{\partial F_2}{\partial y}(x,y). \]
How should you think of the divergence?
Theorem (Divergence Theorem).
Let \(\mathbf{F}:\mathbb{R}^2\to \mathbb{R}^2\) be a continuously differentiable vector field, and let \(R\) be a region in \(\mathbb{R}^2\) with a piecewise smooth boundary \(\partial R\). Then \[ \int_{\partial R} \mathbf{F} \cdot \mathbf{n} \, ds = \int_R (\nabla \cdot \mathbf{F}) \, dA. \]
Laplacian operator in two dimensions
Let \(u:\mathbb{R}^2\to \mathbb{R}\) be a function with continuous second-order partial derivatives. The Laplacian of \(u\), denoted \(\nabla^2 u\), is the scalar field with
\[ (\nabla^2 u)(x,y) = \frac{\partial^2 u}{\partial x^2}(x,y) + \frac{\partial^2 u}{\partial y^2}(x,y). \]
The motivation for the notation comes from: \[ \nabla^2 u = \nabla \cdot (\nabla u), \] which shows that the Laplacian is the divergence of the gradient of \(u\).
How should you think of the Laplacian?
The gradient, divergence, and Laplacian all have natural generalizations to higher dimensions: \[ \nabla u = \begin{bmatrix} \frac{\partial u}{\partial x_1} \\ \vdots \\ \frac{\partial u}{\partial x_n} \end{bmatrix}, \quad \nabla \cdot \mathbf{F} = \sum_{i=1}^n \frac{\partial F_i}{\partial x_i}, \quad \nabla^2 u = \sum_{i=1}^n \frac{\partial^2 u}{\partial x_i^2}. \]
But the Laplacian has a slightly different interpretation if \(u\) is “time-dependent.”
The heat equation in arbitrary dimensions
Let \(u:\mathbb{R}^{n+1} \to \mathbb{R}\) be function with continuous second-order partial derivatives, and write \[ u = u(x_1,\dots,x_n,t). \] Then the heat equation is \[ \frac{\partial u}{\partial t} = k \nabla^2 u, \] where \(\nabla^2\) is the Laplacian acting only on the first \(n\) spatial variables and \(k\) is a positive constant.
The wave equation in arbitrary dimensions
Let \(u:\mathbb{R}^{n+1} \to \mathbb{R}\) be function with continuous second-order partial derivatives, and write \[ u = u(x_1,\dots,x_n,t). \] Then the wave equation is \[ \frac{\partial^2 u}{\partial t^2} = a^2 \nabla^2 u, \] where \(\nabla^2\) is the Laplacian acting only on the first \(n\) spatial variables and \(a\) is a positive constant.
Laplace’s equation in arbitrary dimensions
Let \(u:\mathbb{R}^{n} \to \mathbb{R}\) be function with continuous second-order partial derivatives, and write \[ u = u(x_1,\dots,x_n). \] Then Laplace’s equation is \[ \nabla^2 u = 0, \] where \(\nabla^2\) is the Laplacian acting on all \(n\) spatial variables.
Find all solutions \(u(x)\) to Laplace’s equation \(\nabla^2 u =0\) over the unit interval \([0,1]\), subject to the boundary conditions \[ u(0) = a \quad \text{and} \quad u(1) = b, \] where \(a\) and \(b\) are given constants.