Laplace's equation

We are interested in

Laplace's equation

$$ \begin{align*} \begin{cases} \Delta\phi(\v x) = 0, &\v x\in \Omega, \\ B\phi(\v x) = f(\v x), &\v x\in\partial\Omega \end{cases} \end{align*} $$

where $\Delta = \nabla\cdot\nabla = \nabla^2$ is the Laplacian, and either $B\phi = \phi$ (Dirichlet boundary condition) or $B\phi = \pdfd{\phi}{\v n}$ (Neumann boundary condition).

Recall results from IA Vector Calculus.

Separation of variables on a rectangle open_in_new
Problem

$$ \begin{align*} \begin{cases} \phi_{xx} + \phi_{yy} = 0, &(x,y)\in(0,1)\times(0,1), \\ \phi=0, &x=0,\ x=1,\ y=0, \\ \phi = f, &y=1 \end{cases} \end{align*} $$

can be solved using separation of variables to get, for each $n=1,2,3,\ldots$, $$ \begin{align*} \phi(x,y) &= \sum_{n=1}^{\infty} A_n \sin(n\pi x) \sinh(n\pi y) \end{align*} $$ where $$ \begin{align*} A_n = \frac{2}{\sinh(n\pi)}\int_{0}^{1} f(x)\sin(n\pi x) \d x. \end{align*} $$

(Derivation)

Separation of variables on a 2D annulus open_in_new

For $\v x\in\R^2$, $$ \begin{align*} \Delta \phi = 0, \qquad r_1 < |\v x| < r_2, \\ \end{align*} $$ has separation of variables solutions in polar coordinates $$ \begin{align*} \phi(r,\theta) = A + B\log r + \sum_{n=1}^{\infty} \left[\left(A_n r^n + \frac{B_n}{r^n}\right)\left(C_n \cos(n\theta) + D_n \sin(n\theta)\right)\right]. \end{align*} $$

(Derivation)

Find the Fourier series to satisfy boundary conditions. (Example)

Separation of variables on a 3D annulus open_in_new

For $\v x\in\R^3$, assuming $\phi$ is symmetric about the $z$-axis, i.e. $\phi=\phi(r,\theta)$, $$ \begin{align*} \Delta \phi = 0, \qquad r_1 < |\v x| < r_2 \end{align*} $$ has separation of variables solutions in spherical polar coordinates $$ \begin{align*} \phi(r,\theta) = \sum_{n=0}^{\infty} \left(\alpha_n r^n + \frac{\beta_n}{r^{n+1}}\right) P_n(\cos\theta) \end{align*} $$ where $P_n$ is the $n$-th Legendre polynomial.

(Derivation)

Use the completeness of the Legendre polynomials to satisfy boudnary conditions. (Example)