# Engineering Acoustics/Acoustic wave equation

To derive the wave equation, three relations are combined: the equation of state, ideal gas law; continuity equation, conservation of mass; and Newton's law, conservation of momentum. From the speed of sound, a relation between the acoustic pressure and the bulk modulus can be derived,

Using the definition of the condensation, relative change of density in a fluid, denoted by ,

and introducing the bulk modulus which makes implicit use of the ideal gas law,

The general form of the continuity equation for a control volume from fluid dynamics is simplified to its one-dimensional form in Cartesian coordinates.

Using Newton's law on the fluid element, the net force acting on the fluid boundaries causes an acceleration on the fluid proportional to its mass,

Noticing that

as approaches zero, evaluating the derivative, and neglecting small terms,

To obtain the wave equation, the partial derivative with respect to time is taken for the continuity equation and the partial derivative with respect to space for the conservation of momentum equation. By equating the two results and eliminating the density term on both sides,

the acoustic wave equation is recovered

The equation above is the acoustic wave equation in its one-dimensional form. It can be generalized to 3-D Cartesian coordinates

Using the Laplace operator, it can be generalized to other coordinate systems

### One-dimensional wave solution in Cartesian coordinatesEdit

The one-dimensional acoustic wave equation is described by the second order partial differential equation,

It can be solved using separation of variables. Suppose the pressure is the product of one function only dependent on space and another function only dependent on time,

Substituting back into the wave equation,

This substitution leads to two homogeneous second order ordinary differential equations, one in time and one in space.

The time function is expected to be dependent on the angular frequency of the wave

Substituting and solving for the constant which is define as the wave number, ,

The wave number relates the angular velocity of the wave to its propagation speed in the medium. It can be expressed in different forms,

where is the frequency in hertz and is the wavelength.The second differential equation can be solved using the wave number. The spacial function is given a general form,

Substituting and solving for ,

The solution of the 1-D acoustic wave equation is obtained,

The real and imaginary parts of the solution are also solutions to the 1-D wave equation.

Using phasor notation, the solution is written in more compact form,

The actual solution is recovered by taking the real part of the above complex form. The value of the constants above is determined by applying initial and boundary conditions. In general, any function of the following form is a solution for periodic waves,

and similarly, for progressive waves,

where and are arbitrary functions, that represent two waves traveling in opposing directions. These are known as the d'Alembert solutions. The form of these two functions can be found by applying initial and boundary conditions.

Original document^{[1]}