# Wave equation

Last updated

A pulse traveling through a string with fixed endpoints as modeled by the wave equation.
Spherical waves coming from a point source.
A solution to the 2D wave equation

The wave equation is an important second-order linear partial differential equation for the description of waves—as they occur in classical physics—such as mechanical waves (e.g. water waves, sound waves and seismic waves) or light waves. It arises in fields like acoustics, electromagnetics, and fluid dynamics.

## Contents

Historically, the problem of a vibrating string such as that of a musical instrument was studied by Jean le Rond d'Alembert, Leonhard Euler, Daniel Bernoulli, and Joseph-Louis Lagrange. [1] [2] [3] [4] [5] In 1746, d’Alembert discovered the one-dimensional wave equation, and within ten years Euler discovered the three-dimensional wave equation. [6]

## Introduction

The wave equation is a partial differential equation that may constrain some scalar function u = u (x1, x2, , xn; t) of a time variable t and one or more spatial variables x1, x2, xn. The quantity u may be, for example, the pressure in a liquid or gas, or the displacement, along some specific direction, of the particles of a vibrating solid away from their resting positions. The equation is

${\displaystyle {\frac {\partial ^{2}u}{\partial t^{2}}}\;=\;c^{2}\left({\frac {\partial ^{2}u}{\partial x_{1}^{2}}}+{\frac {\partial ^{2}u}{\partial x_{2}^{2}}}+\cdots +{\frac {\partial ^{2}u}{\partial x_{n}^{2}}}\right)}$

where c is a fixed non-negative real coefficient.

Using the notations of Newtonian mechanics and vector calculus, the wave equation can be written more compactly as

${\displaystyle {\ddot {u}}=c^{2}\nabla ^{2}u,}$

where ${\displaystyle {\ddot {\scriptstyle \square }}}$ denotes double time derivative, ∇ is the nabla operator, and ∇2 = ∇ · ∇ is the (spatial) Laplacian operator:

${\displaystyle {\ddot {u}}={\frac {\partial ^{2}u}{\partial t^{2}}}\quad \quad \nabla =\left({\frac {\partial }{\partial x_{1}}},{\frac {\partial }{\partial x_{2}}},\ldots ,{\frac {\partial }{\partial x_{n}}}\right)\quad \quad \nabla ^{2}={\frac {\partial ^{2}}{\partial x_{1}^{2}}}+{\frac {\partial ^{2}}{\partial x_{2}^{2}}}+\cdots +{\frac {\partial ^{2}}{\partial x_{n}^{2}}}}$

A solution of this equation can be quite complicated, but it can be analyzed as a linear combination of simple solutions that are sinusoidal plane waves with various directions of propagation and wavelengths but all with the same propagation speed c. This analysis is possible because the wave equation is linear; so that any multiple of a solution is also a solution, and the sum of any two solutions is again a solution. This property is called the superposition principle in physics.

The wave equation alone does not specify a physical solution; a unique solution is usually obtained by setting a problem with further conditions, such as initial conditions, which prescribe the amplitude and phase of the wave. Another important class of problems occurs in enclosed spaces specified by boundary conditions, for which the solutions represent standing waves, or harmonics, analogous to the harmonics of musical instruments.

The wave equation is the simplest example of a hyperbolic differential equation. It, and its modifications, play fundamental roles in continuum mechanics, quantum mechanics, plasma physics, general relativity, geophysics, and many other scientific and technical disciplines.

## Wave equation in one space dimension

The wave equation in one space dimension can be written as follows:

${\displaystyle {\partial ^{2}u \over \partial t^{2}}=c^{2}{\partial ^{2}u \over \partial x^{2}}}$.

This equation is typically described as having only one space dimension x, because the only other independent variable is the time t. Nevertheless, the dependent variable u may represent a second space dimension, if, for example, the displacement u takes place in y-direction, as in the case of a string that is located in the x–y plane.

### Derivation of the wave equation

The wave equation in one space dimension can be derived in a variety of different physical settings. Most famously, it can be derived for the case of a string that is vibrating in a two-dimensional plane, with each of its elements being pulled in opposite directions by the force of tension. [7]

Another physical setting for derivation of the wave equation in one space dimension utilizes Hooke's Law. In the theory of elasticity, Hooke's Law is an approximation for certain materials, stating that the amount by which a material body is deformed (the strain) is linearly related to the force causing the deformation (the stress).

#### From Hooke's law

The wave equation in the one-dimensional case can be derived from Hooke's Law in the following way: Imagine an array of little weights of mass m interconnected with massless springs of length h. The springs have a spring constant of k:

Here the dependent variable u(x) measures the distance from the equilibrium of the mass situated at x, so that u(x) essentially measures the magnitude of a disturbance (i.e. strain) that is traveling in an elastic material. The forces exerted on the mass m at the location x + h are:

{\displaystyle {\begin{aligned}F_{\rm {Newton}}&=m\cdot a(t)=m\cdot {\frac {\partial ^{2}}{\partial t^{2}}}u(x+h,t)\\F_{\rm {Hooke}}&=F_{x+2h}-F_{x}=k\left[{u(x+2h,t)-u(x+h,t)}\right]-k[u(x+h,t)-u(x,t)]\end{aligned}}}

The equation of motion for the weight at the location x + h is given by equating these two forces:

${\displaystyle {\partial ^{2} \over \partial t^{2}}u(x+h,t)={k \over m}[u(x+2h,t)-u(x+h,t)-u(x+h,t)+u(x,t)]}$

where the time-dependence of u(x) has been made explicit.

If the array of weights consists of N weights spaced evenly over the length L = Nh of total mass M = Nm, and the total spring constant of the array K = k/N we can write the above equation as:

${\displaystyle {\partial ^{2} \over \partial t^{2}}u(x+h,t)={KL^{2} \over M}{u(x+2h,t)-2u(x+h,t)+u(x,t) \over h^{2}}.}$

Taking the limit N → ∞, h → 0 and assuming smoothness one gets:

${\displaystyle {\partial ^{2}u(x,t) \over \partial t^{2}}={KL^{2} \over M}{\partial ^{2}u(x,t) \over \partial x^{2}},}$

which is from the definition of a second derivative. KL2/M is the square of the propagation speed in this particular case.

#### Stress pulse in a bar

In the case of a stress pulse propagating longitudinally through a bar, the bar acts much like an infinite number of springs in series and can be taken as an extension of the equation derived for Hooke's law. A uniform bar, i.e. of constant cross-section, made from a linear elastic material has a stiffness K given by

${\displaystyle K={EA \over L},}$

Where A is the cross-sectional area and E is the Young's modulus of the material. The wave equation becomes

${\displaystyle {\partial ^{2}u(x,t) \over \partial t^{2}}={EAL \over M}{\partial ^{2}u(x,t) \over \partial x^{2}}.}$

AL is equal to the volume of the bar and therefore

${\displaystyle {\frac {AL}{M}}={\frac {1}{\rho }},}$

where ${\displaystyle \rho }$ is the density of the material. The wave equation reduces to

${\displaystyle {\frac {\partial ^{2}u(x,t)}{\partial t^{2}}}={E \over \rho }{\partial ^{2}u(x,t) \over \partial x^{2}}.}$

The speed of a stress wave in a bar is therefore ${\displaystyle {\sqrt {\tfrac {E}{\rho }}}}$.

### General solution

#### Algebraic approach

The one-dimensional wave equation is unusual for a partial differential equation in that a relatively simple general solution may be found. Defining new variables: [8]

{\displaystyle {\begin{aligned}\xi &=x-ct\\\eta &=x+ct\end{aligned}}}

changes the wave equation into

${\displaystyle {\frac {\partial ^{2}u}{\partial \xi \partial \eta }}=0,}$

which leads to the general solution

${\displaystyle u(\xi ,\eta )=F(\xi )+G(\eta )}$

or equivalently:

${\displaystyle u(x,t)=F(x-ct)+G(x+ct).}$

In other words, solutions of the 1D wave equation are sums of a right traveling function F and a left traveling function G. "Traveling" means that the shape of these individual arbitrary functions with respect to x stays constant, however the functions are translated left and right with time at the speed c. This was derived by Jean le Rond d'Alembert. [9]

Another way to arrive at this result is to note that the wave equation may be "factored":

${\displaystyle \left[{\frac {\partial }{\partial t}}-c{\frac {\partial }{\partial x}}\right]\left[{\frac {\partial }{\partial t}}+c{\frac {\partial }{\partial x}}\right]u=0.}$

As a result, if we define v thus,

${\displaystyle {\frac {\partial u}{\partial t}}+c{\frac {\partial u}{\partial x}}=v,}$

then

${\displaystyle {\frac {\partial v}{\partial t}}-c{\frac {\partial v}{\partial x}}=0.}$

From this, v must have the form G(x + ct), and from this the correct form of the full solution u can be deduced. [10]

For an initial value problem, the arbitrary functions F and G can be determined to satisfy initial conditions:

${\displaystyle u(x,0)=f(x)}$
${\displaystyle u_{t}(x,0)=g(x).}$

The result is d'Alembert's formula:

${\displaystyle u(x,t)={\frac {f(x-ct)+f(x+ct)}{2}}+{\frac {1}{2c}}\int _{x-ct}^{x+ct}g(s)ds}$

In the classical sense if f(x) ∈ Ck and g(x) ∈ Ck−1 then u(t, x) ∈ Ck. However, the waveforms F and G may also be generalized functions, such as the delta-function. In that case, the solution may be interpreted as an impulse that travels to the right or the left.

The basic wave equation is a linear differential equation and so it will adhere to the superposition principle. This means that the net displacement caused by two or more waves is the sum of the displacements which would have been caused by each wave individually. In addition, the behavior of a wave can be analyzed by breaking up the wave into components, e.g. the Fourier transform breaks up a wave into sinusoidal components.

#### Plane wave eigenmodes

Another way to solve for the solutions to the one-dimensional wave equation is to first analyze its frequency eigenmodes. A so-called eigenmode is a solution that oscillates in time with a well-defined constant angular frequency ${\displaystyle \omega }$, with which the temporal part of the wave function for such eigenmode takes a specific form ${\displaystyle e^{-i\omega t}}$. The rest of the wave function is then only dependent on the spatial variable ${\displaystyle x}$, hence amounting to separation of variables. Now writing the wave function as

${\displaystyle u_{\omega }(x,t)=e^{-i\omega t}f(x),}$

we can obtain an ordinary differential equation for the spatial part ${\displaystyle f(x)}$

${\displaystyle {\frac {\partial ^{2}u_{\omega }}{\partial t^{2}}}={\frac {\partial ^{2}}{\partial t^{2}}}\left(e^{-i\omega t}f(x)\right)=-\omega ^{2}e^{-i\omega t}f(x)=c^{2}{\frac {\partial ^{2}}{\partial x^{2}}}\left(e^{-i\omega t}f(x)\right),}$

Therefore:

${\displaystyle {\frac {d^{2}}{dx^{2}}}f(x)=-\left({\frac {\omega }{c}}\right)^{2}f(x),}$

which is precisely an eigenvalue equation for ${\displaystyle f(x)}$, hence the name eigenmode. It has the well-known plane wave solutions

${\displaystyle f(x)=Ae^{\pm ikx},}$

with wave number ${\displaystyle k=\omega /c}$.

The total wave function for this eigenmode is then the linear combination

${\displaystyle u_{\omega }(x,t)=e^{-i\omega t}\left(Ae^{-ikx}+Be^{ikx}\right)=Ae^{-i(kx+\omega t)}+Be^{i(kx-\omega t)},}$

where complex numbers ${\displaystyle A,B}$ depend in general on any initial and boundary conditions of the problem.

Eigenmodes are useful in constructing a full solution to the wave equation, because each of them evolves in time trivially with the phase factor ${\displaystyle e^{-i\omega t}}$. so that a full solution can be decomposed into an eigenmode expansion

${\displaystyle u(x,t)=\int _{-\infty }^{\infty }s(\omega )u_{\omega }(x,t)d\omega }$

or in terms of the plane waves,

{\displaystyle {\begin{aligned}u(x,t)&=\int _{-\infty }^{\infty }s_{+}(\omega )e^{-i(kx+\omega t)}d\omega +\int _{-\infty }^{\infty }s_{-}(\omega )e^{i(kx-\omega t)}d\omega \\&=\int _{-\infty }^{\infty }s_{+}(\omega )e^{-ik(x+ct)}d\omega +\int _{-\infty }^{\infty }s_{-}(\omega )e^{ik(x-ct)}d\omega \\&=F(x-ct)+G(x+ct)\end{aligned}}}

which is exactly in the same form as in the algebraic approach. Functions ${\displaystyle s_{\pm }(\omega )}$ are known as the Fourier component and are determined by initial and boundary conditions. This is a so-called frequency-domain method, alternative to direct time-domain propagations, such as FDTD method, of the wave packet ${\displaystyle u(x,t)}$, which is complete for representing waves in absence of time dilations. Completeness of the Fourier expansion for representing waves in the presence of time dilations has been challenged by chirp wave solutions allowing for time variation of ${\displaystyle \omega }$. [11] The chirp wave solutions seem particularly implied by very large but previously inexplicable radar residuals in the flyby anomaly, and differ from the sinusoidal solutions in being receivable at any distance only at proportionally shifted frequencies and time dilations, corresponding to past chirp states of the source.

## Scalar wave equation in three space dimensions

A solution of the initial-value problem for the wave equation in three space dimensions can be obtained from the corresponding solution for a spherical wave. The result can then be also used to obtain the same solution in two space dimensions.

### Spherical waves

The wave equation can be solved using the technique of separation of variables. To obtain a solution with constant frequencies, let us first Fourier-transform the wave equation in time as

${\displaystyle \Psi ({\vec {r}},t)=\int _{-\infty }^{\infty }\Psi ({\vec {r}},\omega )e^{-i\omega t}d\omega .}$

So we get,

${\displaystyle \left(\nabla ^{2}+{\frac {\omega ^{2}}{c^{2}}}\right)\Psi ({\vec {r}},\omega )=0.}$

This is the Helmholtz equation and can be solved using separation of variables. If spherical coordinates are used to describe a problem, then the solution to the angular part of the Helmholtz equation is given by spherical harmonics and the radial equation now becomes [12]

${\displaystyle \left[{\frac {d^{2}}{dr^{2}}}+{\frac {2}{r}}{\frac {d}{dr}}+k^{2}-{\frac {l(l+1)}{r^{2}}}\right]f_{l}(r)=0}$

Here ${\displaystyle k\equiv {\frac {\omega }{c}}}$ and the complete solution is now given by

${\displaystyle \Psi ({\vec {r}},\omega )=\sum _{lm}\left[A_{lm}^{(1)}h_{l}^{(1)}(kr)+A_{lm}^{(2)}h_{l}^{(2)}(kr)\right]Y_{lm}(\theta ,\phi ),}$

where ${\displaystyle h_{l}^{(1)}(kr)}$ and ${\displaystyle h_{l}^{(2)}(kr)}$ are the spherical Hankel functions. To gain a better understanding of the nature of these spherical waves, let us go back and look at the case when ${\displaystyle l=0}$. In this case, there is no angular dependence and the amplitude depends only on the radial distance i.e. ${\displaystyle \Psi ({\vec {r}},t)\rightarrow u(r,t)}$. In this case, the wave equation reduces to

${\displaystyle \left(\nabla ^{2}-{\frac {1}{c^{2}}}{\frac {\partial ^{2}}{\partial t^{2}}}\right)\Psi ({\vec {r}},t)=0\rightarrow \left({\frac {\partial ^{2}}{\partial r^{2}}}+{\frac {2}{r}}{\frac {\partial }{\partial r}}-{\frac {1}{c^{2}}}{\frac {\partial ^{2}}{\partial t^{2}}}\right)u(r,t)=0}$

This equation can be rewritten as

${\displaystyle {\frac {\partial ^{2}(ru)}{\partial t^{2}}}-c^{2}{\frac {\partial ^{2}(ru)}{\partial r^{2}}}=0;\,}$

where the quantity ${\displaystyle ru}$ satisfies the one-dimensional wave equation. Therefore, there are solutions in the form

${\displaystyle u(r,t)={\frac {1}{r}}F(r-ct)+{\frac {1}{r}}G(r+ct),}$

where F and G are general solutions to the one-dimensional wave equation, and can be interpreted as respectively an outgoing or incoming spherical wave. Such waves are generated by a point source, and they make possible sharp signals whose form is altered only by a decrease in amplitude as r increases (see an illustration of a spherical wave on the top right). Such waves exist only in cases of space with odd dimensions.[ citation needed ]

For physical examples of non-spherical wave solutions to the 3D wave equation that do possess angular dependence, see dipole radiation.

#### Monochromatic spherical wave

Although the word "monochromatic" is not exactly accurate since it refers to light or electromagnetic radiation with well-defined frequency, the spirit is to discover the eigenmode of the wave equation in three dimensions. Following the derivation in the previous section on Plane wave eigenmodes, if we again restrict our solutions to spherical waves that oscillate in time with well-defined constant angular frequency ${\displaystyle \omega }$, then the transformed function ${\displaystyle ru(r,t)}$ has simply plane wave solutions,

${\displaystyle ru(r,t)=Ae^{i(\omega t\pm kr)}}$,

or

${\displaystyle u(r,t)={\frac {A}{r}}e^{i\left(\omega t\pm kr\right)}}$.

From this we can observe that the peak intensity of the spherical wave oscillation, characterized as the squared wave amplitude

${\displaystyle I=|u(r,t)|^{2}={\frac {|A|^{2}}{r^{2}}}}$.

drops at the rate proportional to ${\displaystyle 1/r^{2}}$, an example of the inverse-square law.

### Solution of a general initial-value problem

The wave equation is linear in u and it is left unaltered by translations in space and time. Therefore, we can generate a great variety of solutions by translating and summing spherical waves. Let φ(ξ, η, ζ) be an arbitrary function of three independent variables, and let the spherical wave form F be a delta function: that is, let F be a weak limit of continuous functions whose integral is unity, but whose support (the region where the function is non-zero) shrinks to the origin. Let a family of spherical waves have center at (ξ, η, ζ), and let r be the radial distance from that point. Thus

${\displaystyle r^{2}=(x-\xi )^{2}+(y-\eta )^{2}+(z-\zeta )^{2}.}$

If u is a superposition of such waves with weighting function φ, then

${\displaystyle u(t,x,y,z)={\frac {1}{4\pi c}}\iiint \varphi (\xi ,\eta ,\zeta ){\frac {\delta (r-ct)}{r}}d\xi \,d\eta \,d\zeta ;}$

the denominator 4πc is a convenience.

From the definition of the delta function, u may also be written as

${\displaystyle u(t,x,y,z)={\frac {t}{4\pi }}\iint _{S}\varphi (x+ct\alpha ,y+ct\beta ,z+ct\gamma )d\omega ,}$

where α, β, and γ are coordinates on the unit sphere S, and ω is the area element on S. This result has the interpretation that u(t, x) is t times the mean value of φ on a sphere of radius ct centered at x:

${\displaystyle u(t,x,y,z)=tM_{ct}[\phi ].}$

It follows that

${\displaystyle u(0,x,y,z)=0,\quad u_{t}(0,x,y,z)=\phi (x,y,z).}$

The mean value is an even function of t, and hence if

${\displaystyle v(t,x,y,z)={\frac {\partial }{\partial t}}\left(tM_{ct}[\psi ]\right),}$

then

${\displaystyle v(0,x,y,z)=\psi (x,y,z),\quad v_{t}(0,x,y,z)=0.}$

These formulas provide the solution for the initial-value problem for the wave equation. They show that the solution at a given point P, given (t, x, y, z) depends only on the data on the sphere of radius ct that is intersected by the light cone drawn backwards from P. It does not depend upon data on the interior of this sphere. Thus the interior of the sphere is a lacuna for the solution. This phenomenon is called Huygens' principle . It is true for odd numbers of space dimension, where for one dimension the integration is performed over the boundary of an interval with respect to the Dirac measure. It is not satisfied in even space dimensions. The phenomenon of lacunas has been extensively investigated in Atiyah, Bott and Gårding (1970, 1973).

## Scalar wave equation in two space dimensions

In two space dimensions, the wave equation is

${\displaystyle u_{tt}=c^{2}\left(u_{xx}+u_{yy}\right).\,}$

We can use the three-dimensional theory to solve this problem if we regard u as a function in three dimensions that is independent of the third dimension. If

${\displaystyle u(0,x,y)=0,\quad u_{t}(0,x,y)=\phi (x,y),\,}$

then the three-dimensional solution formula becomes

${\displaystyle u(t,x,y)=tM_{ct}[\phi ]={\frac {t}{4\pi }}\iint _{S}\phi (x+ct\alpha ,\,y+ct\beta )d\omega ,\,}$

where α and β are the first two coordinates on the unit sphere, and is the area element on the sphere. This integral may be rewritten as a double integral over the disc D with center (x,y) and radius ct:

${\displaystyle u(t,x,y)={\frac {1}{2\pi ct}}\iint _{D}{\frac {\phi (x+\xi ,y+\eta )}{\sqrt {(ct)^{2}-\xi ^{2}-\eta ^{2}}}}d\xi \,d\eta .\,}$

It is apparent that the solution at (t, x, y) depends not only on the data on the light cone where

${\displaystyle (x-\xi )^{2}+(y-\eta )^{2}=c^{2}t^{2},}$

but also on data that are interior to that cone.

## Scalar wave equation in general dimension and Kirchhoff's formulae

We want to find solutions to utt − Δu = 0 for u : Rn × (0, ∞) → R with u(x, 0) = g(x) and ut(x, 0) = h(x). See Evans for more details.

### Odd dimensions

Assume n ≥ 3 is an odd integer and gCm+1(Rn), hCm(Rn) for m = (n + 1)/2. Let ${\displaystyle \gamma _{n}=1\cdot 3\cdot 5\cdot \ldots \cdot (n-2)}$ and let

${\displaystyle u(x,t)={\frac {1}{\gamma _{n}}}\left[\partial _{t}\left({\frac {1}{t}}\partial _{t}\right)^{\frac {n-3}{2}}\left(t^{n-2}{\frac {1}{|\partial B_{t}(x)|}}\int _{\partial B_{t}(x)}gdS\right)+\left({\frac {1}{t}}\partial _{t}\right)^{\frac {n-3}{2}}\left(t^{n-2}{\frac {1}{|\partial B_{t}(x)|}}\int _{\partial B_{t}(x)}hdS\right)\right]}$

then

uC2(Rn × [0, ∞))
utt − Δu = 0 in Rn × (0, ∞)
{\displaystyle {\begin{aligned}\lim _{(x,t)\to (x^{0},0)}u(x,t)&=g(x^{0})\\\lim _{(x,t)\to (x^{0},0)}u_{t}(x,t)&=h(x^{0})\end{aligned}}}

### Even dimensions

Assume n ≥ 2 is an even integer and gCm+1(Rn), hCm(Rn), for m = (n + 2)/2. Let ${\displaystyle \gamma _{n}=2\cdot 4\cdot \ldots \cdot n}$ and let

${\displaystyle u(x,t)={\frac {1}{\gamma _{n}}}\left[\partial _{t}\left({\frac {1}{t}}\partial _{t}\right)^{\frac {n-2}{2}}\left(t^{n}{\frac {1}{|B_{t}(x)|}}\int _{B_{t}(x)}{\frac {g}{(t^{2}-|y-x|^{2})^{\frac {1}{2}}}}dy\right)+\left({\frac {1}{t}}\partial _{t}\right)^{\frac {n-2}{2}}\left(t^{n}{\frac {1}{|B_{t}(x)|}}\int _{B_{t}(x)}{\frac {h}{(t^{2}-|y-x|^{2})^{\frac {1}{2}}}}dy\right)\right]}$

then

uC2(Rn × [0, ∞))
utt − Δu = 0 in Rn × (0, ∞)
{\displaystyle {\begin{aligned}\lim _{(x,t)\to (x^{0},0)}u(x,t)&=g(x^{0})\\\lim _{(x,t)\to (x^{0},0)}u_{t}(x,t)&=h(x^{0})\end{aligned}}}

## Problems with boundaries

### One space dimension

#### The Sturm–Liouville formulation

A flexible string that is stretched between two points x = 0 and x = L satisfies the wave equation for t > 0 and 0 < x < L. On the boundary points, u may satisfy a variety of boundary conditions. A general form that is appropriate for applications is

${\displaystyle -u_{x}(t,0)+au(t,0)=0,}$
${\displaystyle u_{x}(t,L)+bu(t,L)=0,}$

where a and b are non-negative. The case where u is required to vanish at an endpoint is the limit of this condition when the respective a or b approaches infinity. The method of separation of variables consists in looking for solutions of this problem in the special form

${\displaystyle u(t,x)=T(t)v(x).}$

A consequence is that

${\displaystyle {\frac {T''}{c^{2}T}}={\frac {v''}{v}}=-\lambda .}$

The eigenvalue λ must be determined so that there is a non-trivial solution of the boundary-value problem

${\displaystyle v''+\lambda v=0,}$
${\displaystyle -v'(0)+av(0)=0,\quad v'(L)+bv(L)=0.}$

This is a special case of the general problem of Sturm–Liouville theory. If a and b are positive, the eigenvalues are all positive, and the solutions are trigonometric functions. A solution that satisfies square-integrable initial conditions for u and ut can be obtained from expansion of these functions in the appropriate trigonometric series.

#### Investigation by numerical methods

Approximating the continuous string with a finite number of equidistant mass points one gets the following physical model:

If each mass point has the mass m, the tension of the string is f, the separation between the mass points is Δx and ui, i = 1, ..., n are the offset of these n points from their equilibrium points (i.e. their position on a straight line between the two attachment points of the string) the vertical component of the force towards point i + 1 is

${\displaystyle {\frac {u_{i+1}-u_{i}}{\Delta x}}f}$

(1)

and the vertical component of the force towards point i − 1 is

${\displaystyle {\frac {u_{i-1}-u_{i}}{\Delta x}}f}$

(2)

Taking the sum of these two forces and dividing with the mass m one gets for the vertical motion:

${\displaystyle {\ddot {u}}_{i}=\left({\frac {f}{m\Delta x}}\right)\left(u_{i+1}+u_{i-1}-2u_{i}\right)}$

(3)

As the mass density is

${\displaystyle \rho ={\frac {m}{\Delta x}}}$

this can be written

${\displaystyle {\ddot {u}}_{i}=\left({\frac {f}{\rho {\Delta x}^{2}}}\right)\left(u_{i+1}+u_{i-1}-2u_{i}\right)}$

(4)

The wave equation is obtained by letting Δx → 0 in which case ui(t) takes the form u(x, t) where u(x, t) is continuous function of two variables, ${\displaystyle {\ddot {u}}_{i}}$ takes the form ${\displaystyle \partial ^{2}u \over \partial t^{2}}$ and

${\displaystyle {\frac {u_{i+1}+u_{i-1}-2u_{i}}{{\Delta x}^{2}}}\to {\frac {\partial ^{2}u}{\partial x^{2}}}}$

But the discrete formulation ( 3 ) of the equation of state with a finite number of mass point is just the suitable one for a numerical propagation of the string motion. The boundary condition

${\displaystyle u(0,t)=u(L,t)=0}$

where L is the length of the string takes in the discrete formulation the form that for the outermost points u1 and un the equations of motion are

${\displaystyle {\ddot {u}}_{1}={\left({\frac {c}{\Delta x}}\right)}^{2}\left(u_{2}-2u_{1}\right)}$

(5)

and

${\displaystyle {\ddot {u}}_{n}={\left({\frac {c}{\Delta x}}\right)}^{2}\left(u_{n-1}-2u_{n}\right)}$

(6)

while for 1 < i < n

${\displaystyle {\ddot {u}}_{i}={\left({\frac {c}{\Delta x}}\right)}^{2}\left(u_{i+1}+u_{i-1}-2u_{i}\right)}$

(7)

where ${\displaystyle c={\sqrt {\tfrac {f}{\rho }}}.}$

If the string is approximated with 100 discrete mass points one gets the 100 coupled second order differential equations ( 5 ), ( 6 ) and ( 7 ) or equivalently 200 coupled first order differential equations.

Propagating these up to the times

${\displaystyle {\frac {L}{c}}k0.05k=0,\cdots ,5}$

using an 8th order multistep method the 6 states displayed in figure 2 are found:

The red curve is the initial state at time zero at which the string is "let free" in a predefined shape [13] with all ${\displaystyle {\dot {u}}_{i}=0}$. The blue curve is the state at time ${\displaystyle {\tfrac {L}{c}}(0.25),}$ i.e. after a time that corresponds to the time a wave that is moving with the nominal wave velocity ${\displaystyle c={\sqrt {\tfrac {f}{\rho }}}}$ would need for one fourth of the length of the string.

Figure 3 displays the shape of the string at the times ${\displaystyle {\tfrac {L}{c}}k(0.05),k=6,\cdots ,11}$. The wave travels in direction right with the speed ${\displaystyle c={\sqrt {\tfrac {f}{\rho }}}}$ without being actively constraint by the boundary conditions at the two extremes of the string. The shape of the wave is constant, i.e. the curve is indeed of the form f(xct).

Figure 4 displays the shape of the string at the times ${\displaystyle {\tfrac {L}{c}}k(0.05),k=12,\cdots ,17}$. The constraint on the right extreme starts to interfere with the motion preventing the wave to raise the end of the string.

Figure 5 displays the shape of the string at the times ${\displaystyle {\tfrac {L}{c}}k(0.05),k=18,\cdots ,23}$ when the direction of motion is reversed. The red, green and blue curves are the states at the times ${\displaystyle {\tfrac {L}{c}}k(0.05),k=18,\cdots ,20}$ while the 3 black curves correspond to the states at times ${\displaystyle {\tfrac {L}{c}}k(0.05),k=21,\cdots ,23}$ with the wave starting to move back towards left.

Figure 6 and figure 7 finally display the shape of the string at the times ${\displaystyle {\tfrac {L}{c}}k(0.05),k=24,\cdots ,29}$ and ${\displaystyle {\tfrac {L}{c}}k(0.05),k=30,\cdots ,35}$. The wave now travels towards left and the constraints at the end points are not active any more. When finally the other extreme of the string the direction will again be reversed in a way similar to what is displayed in figure 6.

### Several space dimensions

The one-dimensional initial-boundary value theory may be extended to an arbitrary number of space dimensions. Consider a domain D in m-dimensional x space, with boundary B. Then the wave equation is to be satisfied if x is in D and t > 0. On the boundary of D, the solution u shall satisfy

${\displaystyle {\frac {\partial u}{\partial n}}+au=0,\,}$

where n is the unit outward normal to B, and a is a non-negative function defined on B. The case where u vanishes on B is a limiting case for a approaching infinity. The initial conditions are

${\displaystyle u(0,x)=f(x),\quad u_{t}(0,x)=g(x),\,}$

where f and g are defined in D. This problem may be solved by expanding f and g in the eigenfunctions of the Laplacian in D, which satisfy the boundary conditions. Thus the eigenfunction v satisfies

${\displaystyle \nabla \cdot \nabla v+\lambda v=0,\,}$

in D, and

${\displaystyle {\frac {\partial v}{\partial n}}+av=0,\,}$

on B.

In the case of two space dimensions, the eigenfunctions may be interpreted as the modes of vibration of a drumhead stretched over the boundary B. If B is a circle, then these eigenfunctions have an angular component that is a trigonometric function of the polar angle θ, multiplied by a Bessel function (of integer order) of the radial component. Further details are in Helmholtz equation.

If the boundary is a sphere in three space dimensions, the angular components of the eigenfunctions are spherical harmonics, and the radial components are Bessel functions of half-integer order.

## Inhomogeneous wave equation in one dimension

The inhomogeneous wave equation in one dimension is the following:

${\displaystyle u_{tt}(x,t)-c^{2}u_{xx}(x,t)=s(x,t)\,}$

with initial conditions given by

${\displaystyle u(x,0)=f(x)\,}$
${\displaystyle u_{t}(x,0)=g(x)\,}$

The function s(x, t) is often called the source function because in practice it describes the effects of the sources of waves on the medium carrying them. Physical examples of source functions include the force driving a wave on a string, or the charge or current density in the Lorenz gauge of electromagnetism.

One method to solve the initial value problem (with the initial values as posed above) is to take advantage of a special property of the wave equation in an odd number of space dimensions, namely that its solutions respect causality. That is, for any point (xi, ti), the value of u(xi, ti) depends only on the values of f(xi + cti) and f(xicti) and the values of the function g(x) between (xicti) and (xi + cti). This can be seen in d'Alembert's formula, stated above, where these quantities are the only ones that show up in it. Physically, if the maximum propagation speed is c, then no part of the wave that can't propagate to a given point by a given time can affect the amplitude at the same point and time.

In terms of finding a solution, this causality property means that for any given point on the line being considered, the only area that needs to be considered is the area encompassing all the points that could causally affect the point being considered. Denote the area that casually affects point (xi, ti) as RC. Suppose we integrate the inhomogeneous wave equation over this region.

${\displaystyle \iint \limits _{R_{C}}\left(c^{2}u_{xx}(x,t)-u_{tt}(x,t)\right)dxdt=\iint \limits _{R_{C}}s(x,t)dxdt.}$

To simplify this greatly, we can use Green's theorem to simplify the left side to get the following:

${\displaystyle \int _{L_{0}+L_{1}+L_{2}}\left(-c^{2}u_{x}(x,t)dt-u_{t}(x,t)dx\right)=\iint \limits _{R_{C}}s(x,t)dxdt.}$

The left side is now the sum of three line integrals along the bounds of the causality region. These turn out to be fairly easy to compute

${\displaystyle \int _{x_{i}-ct_{i}}^{x_{i}+ct_{i}}-u_{t}(x,0)dx=-\int _{x_{i}-ct_{i}}^{x_{i}+ct_{i}}g(x)dx.}$

In the above, the term to be integrated with respect to time disappears because the time interval involved is zero, thus dt = 0.

For the other two sides of the region, it is worth noting that x ± ct is a constant, namely xi ± cti, where the sign is chosen appropriately. Using this, we can get the relation dx ± cdt = 0, again choosing the right sign:

{\displaystyle {\begin{aligned}\int _{L_{1}}\left(-c^{2}u_{x}(x,t)dt-u_{t}(x,t)dx\right)&=\int _{L_{1}}\left(cu_{x}(x,t)dx+cu_{t}(x,t)dt\right)\\&=c\int _{L_{1}}du(x,t)\\&=cu(x_{i},t_{i})-cf(x_{i}+ct_{i}).\end{aligned}}}

And similarly for the final boundary segment:

{\displaystyle {\begin{aligned}\int _{L_{2}}\left(-c^{2}u_{x}(x,t)dt-u_{t}(x,t)dx\right)&=-\int _{L_{2}}\left(cu_{x}(x,t)dx+cu_{t}(x,t)dt\right)\\&=-c\int _{L_{2}}du(x,t)\\&=cu(x_{i},t_{i})-cf(x_{i}-ct_{i}).\end{aligned}}}

Adding the three results together and putting them back in the original integral:

{\displaystyle {\begin{aligned}\iint _{R_{C}}s(x,t)dxdt&=-\int _{x_{i}-ct_{i}}^{x_{i}+ct_{i}}g(x)dx+cu(x_{i},t_{i})-cf(x_{i}+ct_{i})+cu(x_{i},t_{i})-cf(x_{i}-ct_{i})\\&=2cu(x_{i},t_{i})-cf(x_{i}+ct_{i})-cf(x_{i}-ct_{i})-\int _{x_{i}-ct_{i}}^{x_{i}+ct_{i}}g(x)dx\end{aligned}}}

Solving for u(xi, ti) we arrive at

${\displaystyle u(x_{i},t_{i})={\frac {f(x_{i}+ct_{i})+f(x_{i}-ct_{i})}{2}}+{\frac {1}{2c}}\int _{x_{i}-ct_{i}}^{x_{i}+ct_{i}}g(x)dx+{\frac {1}{2c}}\int _{0}^{t_{i}}\int _{x_{i}-c\left(t_{i}-t\right)}^{x_{i}+c\left(t_{i}-t\right)}s(x,t)dxdt.}$

In the last equation of the sequence, the bounds of the integral over the source function have been made explicit. Looking at this solution, which is valid for all choices (xi, ti) compatible with the wave equation, it is clear that the first two terms are simply d'Alembert's formula, as stated above as the solution of the homogeneous wave equation in one dimension. The difference is in the third term, the integral over the source.

## Other coordinate systems

In three dimensions, the wave equation, when written in elliptic cylindrical coordinates, may be solved by separation of variables, leading to the Mathieu differential equation.

## Further generalizations

### Elastic waves

The elastic wave equation (also known as the Navier-Cauchy equation) in three dimensions describes the propagation of waves in an isotropic homogeneous elastic medium. Most solid materials are elastic, so this equation describes such phenomena as seismic waves in the Earth and ultrasonic waves used to detect flaws in materials. While linear, this equation has a more complex form than the equations given above, as it must account for both longitudinal and transverse motion:

${\displaystyle \rho {\ddot {\mathbf {u} }}=\mathbf {f} +(\lambda +2\mu )\nabla (\nabla \cdot \mathbf {u} )-\mu \nabla \times (\nabla \times \mathbf {u} )}$

where:

• λ and μ are the so-called Lamé parameters describing the elastic properties of the medium,
• ρ is the density,
• f is the source function (driving force),
• and u is the displacement vector.

By using ${\displaystyle \nabla \times (\nabla \times \mathbf {u} )=\nabla (\nabla \cdot \mathbf {u} )-\nabla \cdot \nabla \mathbf {u} =\nabla (\nabla \cdot \mathbf {u} )-\Delta \mathbf {u} }$ the elastic wave equation can be rewritten into the more common form of the Navier-Cauchy equation.

Note that in the elastic wave equation, both force and displacement are vector quantities. Thus, this equation is sometimes known as the vector wave equation. As an aid to understanding, the reader will observe that if f and ∇ ⋅ u are set to zero, this becomes (effectively) Maxwell's equation for the propagation of the electric field E, which has only transverse waves.

### Dispersion relation

In dispersive wave phenomena, the speed of wave propagation varies with the wavelength of the wave, which is reflected by a dispersion relation

${\displaystyle \omega =\omega (\mathbf {k} ),}$

where ω is the angular frequency and k is the wavevector describing plane wave solutions. For light waves, the dispersion relation is ω = ±c|k|, but in general, the constant speed c gets replaced by a variable phase velocity:

${\displaystyle v_{\mathrm {p} }={\frac {\omega (k)}{k}}.}$

## Notes

1. Cannon, John T.; Dostrovsky, Sigalia (1981). The evolution of dynamics, vibration theory from 1687 to 1742. Studies in the History of Mathematics and Physical Sciences. 6. New York: Springer-Verlag. pp. ix + 184 pp. ISBN   978-0-3879-0626-3.
2. GRAY, JW (July 1983). "BOOK REVIEWS". Bulletin (New Series) of the American Mathematical Society. 9 (1). (retrieved 13 Nov 2012).
3. Gerard F Wheeler. The Vibrating String Controversy, (retrieved 13 Nov 2012). Am. J. Phys., 1987, v55, n1, p33–37.
4. For a special collection of the 9 groundbreaking papers by the three authors, see First Appearance of the wave equation: D'Alembert, Leonhard Euler, Daniel Bernoulli. – the controversy about vibrating strings (retrieved 13 Nov 2012). Herman HJ Lynge and Son.
5. For de Lagrange's contributions to the acoustic wave equation, one can consult Acoustics: An Introduction to Its Physical Principles and Applications Allan D. Pierce, Acoustical Soc of America, 1989; page 18 (retrieved 9 Dec 2012).
6. Speiser, David. Discovering the Principles of Mechanics 1600–1800 , p. 191 (Basel: Birkhäuser, 2008).
7. Tipler, Paul and Mosca, Gene. Physics for Scientists and Engineers, Volume 1: Mechanics, Oscillations and Waves; Thermodynamics , pp. 470–471 (Macmillan, 2004).
8. Eric W. Weisstein. "d'Alembert's Solution". MathWorld . Retrieved 2009-01-21.
9. D'Alembert (1747) "Recherches sur la courbe que forme une corde tenduë mise en vibration" (Researches on the curve that a tense cord forms [when] set into vibration), Histoire de l'académie royale des sciences et belles lettres de Berlin, vol. 3, pages 214–219.
10. V Guruprasad (2015), "Observational evidence for travelling wave modes bearing distance proportional shifts", EPL , 110 (5): 54001, arXiv:, Bibcode:2015EL....11054001G, doi:10.1209/0295-5075/110/54001
11. John David Jackson, Classical Electrodynamics, 3rd Edition, Wiley, page 425. ISBN   978-0-471-30932-1
12. The initial state for "Investigation by numerical methods" is set with quadratic splines as follows:
${\displaystyle u(0,x)=u_{0}\left(1-\left({\frac {x-x_{1}}{x_{1}}}\right)^{2}\right)}$ for ${\displaystyle 0\leq x\leq x_{2}}$
${\displaystyle u(0,x)=u_{0}\left({\frac {x-x_{3}}{x_{1}}}\right)^{2}}$ for ${\displaystyle x_{2}\leq x\leq x_{3}}$
${\displaystyle u(0,x)=0}$ for ${\displaystyle x_{3}\leq x\leq L}$
with ${\displaystyle x_{1}={\tfrac {1}{10}}L,x_{2}=x_{1}+{\sqrt {\tfrac {1}{2}}}x_{1},x_{3}=x_{2}+{\sqrt {\tfrac {1}{2}}}x_{1}}$

## Related Research Articles

Acoustic theory is a scientific field that relates to the description of sound waves. It derives from fluid dynamics. See acoustics for the engineering approach.

In physics, the Navier–Stokes equations, named after French engineer and physicist Claude-Louis Navier and Anglo-Irish physicist and mathematician George Gabriel Stokes, describe the motion of viscous fluid substances.

The Schrödinger equation is a linear partial differential equation that describes the wave function or state function of a quantum-mechanical system. It is a key result in quantum mechanics, and its discovery was a significant landmark in the development of the subject. The equation is named after Erwin Schrödinger, who postulated the equation in 1925, and published it in 1926, forming the basis for the work that resulted in his Nobel Prize in Physics in 1933.

The vorticity equation of fluid dynamics describes evolution of the vorticity ω of a particle of a fluid as it moves with its flow, that is, the local rotation of the fluid . The equation is:

The primitive equations are a set of nonlinear differential equations that are used to approximate global atmospheric flow and are used in most atmospheric models. They consist of three main sets of balance equations:

1. A continuity equation: Representing the conservation of mass.
2. Conservation of momentum: Consisting of a form of the Navier–Stokes equations that describe hydrodynamical flow on the surface of a sphere under the assumption that vertical motion is much smaller than horizontal motion (hydrostasis) and that the fluid layer depth is small compared to the radius of the sphere
3. A thermal energy equation: Relating the overall temperature of the system to heat sources and sinks

In physics, a wave packet is a short "burst" or "envelope" of localized wave action that travels as a unit. A wave packet can be analyzed into, or can be synthesized from, an infinite set of component sinusoidal waves of different wavenumbers, with phases and amplitudes such that they interfere constructively only over a small region of space, and destructively elsewhere. Each component wave function, and hence the wave packet, are solutions of a wave equation. Depending on the wave equation, the wave packet's profile may remain constant or it may change (dispersion) while propagating.

In mathematics, the method of characteristics is a technique for solving partial differential equations. Typically, it applies to first-order equations, although more generally the method of characteristics is valid for any hyperbolic partial differential equation. The method is to reduce a partial differential equation to a family of ordinary differential equations along which the solution can be integrated from some initial data given on a suitable hypersurface.

In mathematics, the Hamilton–Jacobi equation (HJE) is a necessary condition describing extremal geometry in generalizations of problems from the calculus of variations, and is a special case of the Hamilton–Jacobi–Bellman equation. It is named after William Rowan Hamilton and Carl Gustav Jacob Jacobi.

In mathematics, the eigenvalue problem for the laplace operator is called Helmholtz equation. It corresponds to the linear partial differential equation:

In mathematics, a hyperbolic partial differential equation of order n is a partial differential equation (PDE) that, roughly speaking, has a well-posed initial value problem for the first n − 1 derivatives. More precisely, the Cauchy problem can be locally solved for arbitrary initial data along any non-characteristic hypersurface. Many of the equations of mechanics are hyperbolic, and so the study of hyperbolic equations is of substantial contemporary interest. The model hyperbolic equation is the wave equation. In one spatial dimension, this is

In differential geometry, the four-gradient is the four-vector analogue of the gradient from vector calculus.

In physics, the acoustic wave equation governs the propagation of acoustic waves through a material medium. The form of the equation is a second order partial differential equation. The equation describes the evolution of acoustic pressure or particle velocity u as a function of position x and time . A simplified form of the equation describes acoustic waves in only one spatial dimension, while a more general form describes waves in three dimensions.

The electromagnetic wave equation is a second-order partial differential equation that describes the propagation of electromagnetic waves through a medium or in a vacuum. It is a three-dimensional form of the wave equation. The homogeneous form of the equation, written in terms of either the electric field E or the magnetic field B, takes the form:

The eikonal equation is a non-linear partial differential equation encountered in problems of wave propagation, when the wave equation is approximated using the WKB theory. It is derivable from Maxwell's equations of electromagnetics, and provides a link between physical (wave) optics and geometric (ray) optics.

In fluid dynamics, the Oseen equations describe the flow of a viscous and incompressible fluid at small Reynolds numbers, as formulated by Carl Wilhelm Oseen in 1910. Oseen flow is an improved description of these flows, as compared to Stokes flow, with the (partial) inclusion of convective acceleration.

In fluid dynamics, the mild-slope equation describes the combined effects of diffraction and refraction for water waves propagating over bathymetry and due to lateral boundaries—like breakwaters and coastlines. It is an approximate model, deriving its name from being originally developed for wave propagation over mild slopes of the sea floor. The mild-slope equation is often used in coastal engineering to compute the wave-field changes near harbours and coasts.

In the finite element method for the numerical solution of elliptic partial differential equations, the stiffness matrix represents the system of linear equations that must be solved in order to ascertain an approximate solution to the differential equation.

In continuum mechanics, a compatible deformation tensor field in a body is that unique tensor field that is obtained when the body is subjected to a continuous, single-valued, displacement field. Compatibility is the study of the conditions under which such a displacement field can be guaranteed. Compatibility conditions are particular cases of integrability conditions and were first derived for linear elasticity by Barré de Saint-Venant in 1864 and proved rigorously by Beltrami in 1886.