Separation of Variables: Difference between revisions
From biophysics wiki
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
\begin{align} | \begin{align} | ||
v''(t)=\beta^2 v(t) \Rightarrow v(t)=e^{\beta t} + e^{-\beta t} \\ | v''(t)=\beta^2 v(t) \Rightarrow v(t)=e^{\beta t} + e^{-\beta t} \\ | ||
w''(t)=\frac{\beta^2}{c^2} \Rightarrow w(x)=v(t)=e^{\beta | w''(t)=\frac{\beta^2}{c^2} \Rightarrow w(x)=v(t)=e^{\frac{\beta}{c} t} + e^{-\frac{\beta}{c} t} | ||
\end{align} | \end{align} | ||
Case $\lambda = \beta^2 < 0$ | Case $\lambda = \beta^2 < 0$ | ||
\begin{align} | \begin{align} | ||
v''(t)=\beta^2 v(t) \Rightarrow v(t)=sin(\beta t) +cos(\beta t) \\ | v''(t)=\beta^2 v(t) \Rightarrow v(t)=sin(\beta t) +cos(\beta t) \\ | ||
w''(t)=\frac{\beta^2}{c^2} \Rightarrow w(x)==sin(\beta | w''(t)=\frac{\beta^2}{c^2} \Rightarrow w(x)==sin(\frac{\beta}{c} t) +cos(\frac{\beta}{c} t) | ||
\end{align} | \end{align} | ||
Revision as of 10:39, 3 March 2013
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^2 v(t) \Rightarrow v(t)=e^{\beta t} + e^{-\beta t} \\ w(t)=\frac{\beta^2}{c^2} \Rightarrow w(x)=v(t)=e^{\frac{\beta}{c} t} + e^{-\frac{\beta}{c} t} \end{align} Case $\lambda = \beta^2 < 0$ \begin{align} v(t)=\beta^2 v(t) \Rightarrow v(t)=sin(\beta t) +cos(\beta t) \\ w(t)=\frac{\beta^2}{c^2} \Rightarrow w(x)==sin(\frac{\beta}{c} t) +cos(\frac{\beta}{c} t) \end{align}