Personal tools

Wave Equation: Difference between revisions

From biophysics wiki

Jump to: navigation, search
No edit summary
No edit summary
Line 62: Line 62:
u_{t}=\frac{1}{2} [f(x+ct)+g(x-ct)]  
u_{t}=\frac{1}{2} [f(x+ct)+g(x-ct)]  
\end{align}
\end{align}
\begin{align}
Subtracting equation \ref{e1} from \ref{e2} gives
Subtracting equation \ref{e1} from \ref{e2} gives
\begin{align}
\begin{align}

Revision as of 21:23, 24 February 2013

For a quick intuitive derivation of the wave equation we consider an elastic string, that does not resist bending. This means if we bend the string into some shape it remains in this shape and does not bend back. Suppose we displace the string by pulling, how does this displacement of the string evolves in time as we free the string? If we assume that the force acting on a string element is proportinal to the concavity $F=u_{xx}$ of the string element with mass $m$ is accelerated with $a=u_{tt}$, we get the wave equation by Newtons law $F=ma$ as. \begin{align} m \cdot u_{tt}= k \cdot u_{xx} \end{align} and we arrive at the familiar form of the wave equation \begin{align} \frac{\partial^2 u}{\partial x^2} &= c^2 \frac{\partial^2 u}{\partial t^2}\\ u_{xx}&=c^2 u_{tt} \end{align} For a more rigoros physical derivation watch the video lectures listed at the end of the article. We are now interested in solutions of the wave equation.


d'Alembert Formula

The wave equation has a general solution formula called d'Alembert formula, which is usually not the case for PDEs. One we know the initial conditions to a wave equation, we can write down the solution immediately. Let us again state the problem we want to solve \begin{align} \left( \frac{\partial^2 }{\partial x^2}-c^2 \frac{\partial^2 }{\partial t^2} \right) u =0\\ u(x,0)=f(x) \dots \text{initial position}\\ u_t(x,0)=g(x) \dots \text{initial velocity} \end{align} Notice, the linear operator \begin{align} \left( \frac{\partial^2 }{\partial x^2}-c^2 \frac{\partial^2 }{\partial t^2} \right)=\left( \frac{\partial }{\partial x}-c \frac{\partial }{\partial t} \right) \cdot \left( \frac{\partial }{\partial x}+c \frac{\partial }{\partial t} \right) \\ \end{align} nicely factors in the operators of the transport equation. Let us use this fact to construct a general solution to the wave equation. We know that the solution of the forward transport equation ($v>0$) is some function $p(x+ct)$ and for the backward transport equation ($v<0$) the solution is $q(x-ct)$. Now let us rewrite the wave equation by assuming that the solution to the an operator acting on $u$ gives the solution $h(x,t)$ \begin{align} \left( \frac{\partial }{\partial x}-c \frac{\partial }{\partial t} \right) \cdot \underbrace{\left( \frac{\partial }{\partial x}+c \frac{\partial }{\partial t} \right) u(x,t)}_{h(x,t)}=0\\ \end{align} and similarly \begin{align} \left( \frac{\partial }{\partial x}+c \frac{\partial }{\partial t} \right) \cdot \underbrace{\left( \frac{\partial }{\partial x}-c \frac{\partial }{\partial t} \right) u(x,t)}_{h(x,t)}=0\\ \end{align} We can write the wave equation as the system \begin{align} u_{t}-c \cdot u_{x}=w\label{tf} \end{align} and \begin{align} w_{t}+c \cdot w_{x}=0 \label{tb} \end{align} because plugging \ref{tf} into \ref{tb} gives \begin{align} (u_{t}-c u_{x})_{t}+c (u_{t}-c u_{x})_{x}=u_{tt}-c^2u_{xx}=0 \end{align} Thus the system of partial differential equations \ref{tf}-\ref{tb} is equivalent to the wave equation. The same thing is true for the system \begin{align} u_{t}+c \cdot u_{x}=v \end{align} \begin{align} v_{t}-c \cdot v_{x}=0 \end{align} with different signs. Since we now the solution to the (forward and backward) transport equation, we can calculate the solution to the wave equation as follows.

The solution to the transport equations are $w=f(x-ct)$ and $v=g(x+ct)$ respectively. So we have the two equations \begin{align} u_{t}-c \cdot u_{x}=f(x+ct) \label{e1} \end{align} \begin{align} u_{t}+c \cdot u_{x}=g(x-ct) \label{e2} \end{align} Adding equation \ref{e1} and \ref{e2} gives \begin{align} u_{t}=\frac{1}{2} [f(x+ct)+g(x-ct)] \end{align} Subtracting equation \ref{e1} from \ref{e2} gives \begin{align} u_{x}=\frac{1}{2c} [f(x+ct)-g(x-ct)] \end{align} Integrating these equations gives \begin{align} u(x,t)=\frac{1}{2c} [F(x+ct)-G(x-ct)]+ k_1(x) \end{align} and \begin{align} u(x,t)=\frac{1}{2c} [F(x+ct)-G(x-ct)]+k_2(t) \end{align} The only way the integrating constants $k_1(x)$ and $k_2(t)$ can be equal is when they are constant. We can choose those constants zero, and have found that the general solution of the wave equation is \begin{align} u(x,t)=\frac{1}{2c} [F(x+ct)-G(x-ct)]=p(x+ct)+q(x-ct) \end{align} where we renamed $p(x+ct)=\frac{1}{2c} F(x+ct)$ and $q(x+ct)=-\frac{1}{2c} G(x+ct)$.


Does $u(x,t)=p(s=x-ct)$ solve equation \ref{tf}? Let's plug in and see \begin{align} p(s)' \cdot (-c)-c \cdot p(s)'=-2c p' = h(s) \end{align} If $p'$ satisfys this equation it solves this equation. As we will see soon, $h(s)$ is given by the initial conditions. The same procedure for the forward transport equation gives the solution $u(x,t)=q(x+ct)$. The wave equation is linear so the superposition principle applys and the sum of solutions is again a solution. We get that the general solution of the wave equation is \begin{align} p(s)' \cdot (-c)-c \cdot p(s)'=-2c p' = h(s) \end{align}













Video Lectures:

  • PDE 7 - Wave equation: intuition [1]
  • PDE 9 - Wave equation: general solution [2]
  • PDE 10 - Wave equation: d'Alembert's formula [3]
  • NPTEL Mechanical Engineering - Vibrations of Strings [4]
  • NPTEL Mechanical Engineering - Vibrations of Bars [5]