Linear PDEs and separation of variables
We are interested in
$$ \begin{align*} \begin{cases} P\psi(\v x) = 0, & \v x\in\Omega, \\ \text{boundary conditions}, &\v x\in \partial \Omega \end{cases} \end{align*} $$
and
$$ \begin{align*} \begin{cases} Q\psi(\v x,t) = 0, & (\v x,t)\in\Omega\times (0,\infty), \\ \text{initial conditions}, &(\v x,t)\in \Omega\times\set{0}, \\ \text{boundary conditions}, &(\v x,t)\in \partial \Omega\times(0,\infty) \end{cases} \end{align*} $$
where $P$ and $Q$ are (partial) linear differential operators, and $\Omega$ is an open bounded subset of $\R^n$, $n=1,2,3$.
-
For boundary value problems, we can assume all boundary conditions = 0 on all but one endpoint/edge/face, and superpose solutions together to satsify all boundary conditions.
-
For initial boundary value problems, we can first assume all boundary conditions = 0, then assume instead all initial conditions = 0, and then superpose solutions.
We are interested in
$$ \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.
$$ \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*} $$
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*} $$
Find the Fourier series to satisfy boundary conditions. (Example)
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.
Use the completeness of the Legendre polynomials to satisfy boudnary conditions. (Example)
Derivation (wave equation on stretched string)
We want to solve $$ \begin{align*} \frac{1}{c^2} \pdfd[2]{y}{t} = \pdfd[2]{y}{x} \end{align*} $$ or in general, in higher spatial dimensions, $$ \begin{align*} \frac{1}{c^2} \pdfd[2]{y}{t} = \Delta y. \end{align*} $$
$$ \begin{align*} \begin{cases} y_{tt} = c^2 y_{xx}, & 0 < x < L, \, t>0, \\ y(0,t) = y(L,t) = 0, & t>0, \\ y(x,0) = f(x), &0<x<L, \\ y_t(x,0) = g(x), &0<x<L \end{cases} \end{align*} $$ has a separation of variables solution $$ \begin{align*} y(x,t) = \sum_{n=1}^{\infty} \sin \frac{n\pi x}{L} \left(A_n \cos \frac{n\pi ct}{L} + B_n \sin \frac{n\pi c t}{L}\right) \end{align*} $$ where $$ \begin{align*} A_n ={}& \frac{2}{L} \int_{0}^{L} f(x) \sin \frac{n\pi x}{L} \d x, \\ B_n ={}& \frac{2}{n\pi c} \int_{0}^{L} g(x) \sin \frac{n\pi x}{L} \d x. \end{align*} $$
For a 2D drum $\Omega = \sb{(r,\theta)}{0\leq r<1, \, 0\leq \theta<2\pi}$, the initial value problem $$ \begin{align*} \begin{cases} \phi_{tt} = c^2 \Delta \phi, &(\v x,t)\in \Omega\times (0,\infty), \\ \phi = 0, &(\v x,t) \in \partial \Omega\times(0,\infty), \\ \phi(r) = f(r), &(\v x,t)\in \Omega\times\set{0}, \\ \phi_t(r) = g(r), &(\v x,t)\in \Omega\times\set{0} \end{cases} \end{align*} $$ has a separation of variables solution $$ \begin{align*} \phi(r,t) = \sum_{k=1}^{\infty} J_0(j_{0k}\, r)\big(A_k \cos (j_{0k} \, ct) + B_k \sin(j_{0k}\, ct)\big) \end{align*} $$ where $J_0$ is the 0-th order Bessel function, $j_{0k}$ is its $k$-th positive root, and $$ \begin{align*} A_k ={}& \frac{2}{J_0'(j_{0k})^2}\int_{0}^{1} f(r) J_0 (j_{0k}\, r) r \d r, \\ B_k ={}& \frac{2}{c\, j_{0k}\, J_0'(j_{0k})^2} \int_{0}^{1} g(r) J_0(j_{0k}\ r)r \d r. \end{align*} $$
Let $\phi(\v x,t)$ be a solution to the initial value problem $$ \begin{align*} \begin{cases} \phi_{tt} = c^2 \Delta\phi, &\Omega\times(0,\infty), \\ \phi = f, &\Omega\times\set{0}, \\ \phi_t = g, &\Omega\times\set{0}, \\ \phi = 0, &\partial\Omega\times(0,\infty). \end{cases} \end{align*} $$ The energy, defined as $$ \begin{align*} E(t) = \frac{1}{2}\int_{\Omega} \phi_t^2 + c^2|\nabla\phi|^2 \d V, \end{align*} $$ is constant, i.e. $$ \begin{align*} E(t) = E(0) = \frac{1}{2}\int_{\Omega} |g|^2 + c^2|\nabla f|^2 \d V. \end{align*} $$
Solution to the initial value problem $$ \begin{align*} \begin{cases} \phi_{tt} = c^2 \Delta\phi, &\Omega\times(0,\infty), \\ \phi = f, &\Omega\times\set{0}, \\ \phi_t = g, &\Omega\times\set{0}, \\ \phi = 0, &\partial\Omega\times(0,\infty). \end{cases} \end{align*} $$ is unique.
For an infinite-long string with tension $\tau$ and densities $\mu_\pm$ on $\pm x>0$, the wave equations for both regions are $$ \begin{align*} \begin{cases} y_{tt} - c_-^2 y_{xx} = 0, &x<0, \\ y_{tt} - c_+^2 y_{xx} = 0, &x>0 \\ \end{cases} \end{align*} $$ where $c_\pm^2 = \tau/\mu_{\pm}$.
Assume
-
the string does not break, i.e. $y$ is continuous at $x=0$; and
-
no mass at $x=0$, i.e. $y_x$ is continuous at $x=0$.
For an incident wave from $x\to-\infty$ $$ \begin{align*} \cos\Big(\omega \big(t - \frac{x}{c_-}\big)\Big), \qquad x<0, \end{align*} $$ we obtain a reflected wave $$ \begin{align*} R \cos\Big(\omega \big(t + \frac{x}{c_-}\big)\Big) \quad \text{where } R= \frac{\mu_- - \mu_+}{\mu_- + \mu_+}, \qquad x<0 \end{align*} $$ and a transmitted wave $$ \begin{align*} T \cos\Big(\omega \big(t - \frac{x}{c_+}\big)\Big) \quad \text{where } T = \frac{2\mu_-}{\mu_- + \mu_+}, \qquad x>0. \end{align*} $$
We want to solve $$ \begin{align*} \pdfd{\phi}{t} = \kappa \Delta\phi \end{align*} $$ where $\kappa>0$ is a constant called the thermal diffusivity. This models the transfer of heat in conductive bodies.
Using separation of variables $\phi = T(t) \psi(\v x)$, we can turn the initial boundary value problem $$ \begin{align*} \begin{cases} \phi_t = \kappa \Delta\phi, &\Omega \times (0,\infty), \\ \phi = f, &\Omega\times\set{0}, \\ \phi = 0, &\partial\Omega\times (0,\infty) \end{cases} \end{align*} $$ into $$ \begin{align*} T(t) = Ae^{-\mu \kappa t}, \quad \begin{cases} \Delta\psi + \mu\psi = 0, &\Omega, \\ \psi = 0, &\partial \Omega. \end{cases} \end{align*} $$
For a square $(0,L)\times(0,L)$, we have a separation of variables solution $$ \begin{align*} \phi(x,y,t) = \sum_{n,m=1}^{\infty} A_{m,n} e^{-\kappa \mu_{m,n}t} \sin \frac{n\pi x}{L} \sin \frac{m\pi y}{L} \end{align*} $$ where $$ \begin{align*} \mu_{m,n} ={}& \left(\frac{n\pi}{L}\right)^2 + \left(\frac{m\pi}{L}\right)^2, \\ A_{m,n} ={}& \frac{4}{L^2} \int_{0}^{L} \int_{0}^{L} f(x,y) \sin \frac{n\pi x}{L} \sin \frac{m\pi y}{L} \d x \d y. \end{align*} $$
For a cylindrical rod of radius 1 and length $L$, the domain is $\Omega=[0,1) \times [0,2\pi) \times (0,L)$ in cylindrical polars $(\rho,\varphi,z)$. Assuming $f=f(\rho,z)$ is independent of $\varphi$, we can assume $\phi = \phi(\rho,z,t)$ is independent of $\varphi$ as well.
We have a separation of variables solution $$ \begin{align*} \phi(\rho, z, t) = \sum_{k,n=1}^{\infty} A_{k,n} e^{-\kappa\mu_{k,n} t} J_0(j_{0k}\, \rho) \sin \frac{n\pi z}{L} \end{align*} $$ where $$ \begin{align*} \mu_{kn} ={}& \left(\frac{n\pi}{L}\right)^2 + {j_{0k}}^2, \\ A_{kn} ={}& \frac{4}{L\,J_0'(j_{0k})^2} \int_{0}^{1} \left(\int_{0}^{L} f(\rho,z) \sin \frac{n\pi z}{L} \d z\right) J_0(j_{0k}\, \rho)\,\rho \d \rho. \end{align*} $$
Let $\phi(\v x,t)$ be a solution to the initial value problem $$ \begin{align*} \begin{cases} \phi_t = \kappa \Delta\phi, &\Omega \times (0,\infty), \\ \phi = f, &\Omega\times\set{0}, \\ \phi = 0, &\partial\Omega\times (0,\infty). \end{cases} \end{align*} $$
The energy, defined as $$ \begin{align*} Q(t) = \frac{1}{2} \int_{\Omega} \phi^2 \d V, \end{align*} $$ is decreasing with time, i.e. $Q'(t) \leq 0$. In particular $$ \begin{align*} Q(t) \leq Q(0) = \frac{1}{2}\int_{\Omega} f^2 \d V. \end{align*} $$
Solutions to the initial value problem $$ \begin{align*} \begin{cases} \phi_t = \kappa \Delta\phi, &\Omega \times (0,\infty), \\ \phi = f, &\Omega\times\set{0}, \\ \phi = 0, &\partial\Omega\times (0,\infty) \end{cases} \end{align*} $$ is unique.