Separation of Variables
From biophysics wiki
Separation of Variables is the most common approach to solve linear PDEs. The idea is that the solution is a product of functions that depend on one variable only \begin{align} u(x,t)=v(t)\cdot w(x) \end{align} To introduce the method we solve the wave equation by separation of variables \begin{align} u_{tt}=c^2u_{xx} \end{align} If we plug in the product we get \begin{align} v(t)w(x)=c^2v(t)w(x) \end{align} separating variables we have \begin{align} \frac{v(t)}{v(t)}=c^2 \frac{w(x)}{w(x)} \end{align} Now comes the key idea that allow us to solve the equation. The left side of the equation is a function of $t$ only, and the right side of the equation depends only on x. The only way this is possible is when both are constant \begin{align} \frac{v(t)}{v(t)}=c^2 \frac{w(x)}{w(x)}=\lambda \end{align} Lambda can be zero, positive or negative
Case $\lambda =0$ \begin{align} v(t)&=0 \Rightarrow v(t)=A+Bt \\ w(t)&=0 \Rightarrow w(x)=C+Dx \end{align} Case $\lambda = \beta^2 > 0$ \begin{align} v(t)&=\beta^2c^2 v(t) \Rightarrow v(t)=e^{\beta c t} + e^{-\beta c t} \\ w(t)&=\beta^2 \Rightarrow w(x)=v(t)=e^{\beta t} + e^{-\beta t} \end{align} Case $\lambda = -\beta^2 < 0$ \begin{align} v(t)&=-\beta^2c^2 v(t) \Rightarrow v(t)=sin(\beta c t) +cos(\beta c t) \\ w(t)&=-\beta^2 \Rightarrow w(x)=sin (\beta t ) +cos (\beta t) \end{align}