Sound Waves in Fluids
~7 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)
You should be comfortable with the one-dimensional wave equation, the concept of mechanical impedance, and the distinction between phase and group velocity. Familiarity with the adiabatic process in thermodynamics is also assumed.
Why this matters
Sound is the most tangible example of a longitudinal wave, bridging the gap between mechanical oscillations and field theory.
While transverse waves on strings are easy to visualise, sound waves in fluids like air or water are longitudinal, meaning the particle displacement is parallel to the direction of propagation. Understanding how pressure variations couple to density changes allows us to derive the speed of sound from fundamental thermodynamic properties. This lecture connects the microscopic behaviour of fluid particles to the macroscopic wave equation, providing the physical basis for acoustics and the propagation of pressure disturbances in gases and liquids.
The Nature of Longitudinal Disturbances
Imagine a row of balls connected by springs. If you push one ball, it compresses the spring to its neighbour, which then pushes the next ball. The disturbance travels down the line, but the individual balls only move back and forth along the line of propagation. This is a longitudinal wave. In a fluid, there are no shear forces to support transverse motion, so sound must be longitudinal. The "spring" in this analogy is the compressibility of the fluid, and the "mass" is the inertia of the fluid elements. When a region of fluid is compressed, its pressure increases. This high-pressure region exerts a force on the adjacent lower-pressure region, accelerating it. As the fluid moves, it expands, lowering its pressure. This interplay between pressure gradients and fluid inertia creates a travelling wave of compression and rarefaction.
Deriving the Wave Equation for Fluids
To derive the wave equation, we consider a small fluid element of length \(\Delta x\) and cross-sectional area \(A\). Let \(s(x,t)\) be the displacement of the fluid element from its equilibrium position. The change in length of the element is \(\Delta s = \partial s / \partial x \cdot \Delta x\). The fractional change in volume, which is the strain, is therefore \(\partial s / \partial x\). For small displacements, the change in density \(\Delta \rho\) is related to the strain by \(\Delta \rho = -\rho_0 \frac{\partial s}{\partial x}\), where \(\rho_0\) is the equilibrium density. The negative sign indicates that compression (negative strain, \(\partial s/\partial x < 0\)) leads to an increase in density.
Newton's second law applied to the fluid element gives the equation of motion. The net force on the element is the difference in pressure forces at its two ends: \(F_{\text{net}} = -A \frac{\partial P}{\partial x} \Delta x\). The mass of the element is \(m = \rho_0 A \Delta x\). Thus, \(m \frac{\partial^2 s}{\partial t^2} = -A \frac{\partial P}{\partial x} \Delta x\), which simplifies to \(\rho_0 \frac{\partial^2 s}{\partial t^2} = -\frac{\partial P}{\partial x}\). To close this system, we need a relationship between pressure and density. For sound waves, the process is rapid enough that there is no time for heat exchange, making it adiabatic. The adiabatic equation of state is \(P = K \rho^\gamma\), where \(\gamma = C_P/C_V\) is the ratio of specific heats. Linearising this around equilibrium values \(P_0\) and \(\rho_0\), we find that the pressure variation \(\Delta P\) is proportional to the density variation \(\Delta \rho\): \(\Delta P = \frac{\gamma P_0}{\rho_0} \Delta \rho\). Substituting the expressions for \(\Delta \rho\) and \(\Delta P\) into the equation of motion yields the standard wave equation for the displacement \(s(x,t)\).
where the wave speed \(c\) is given by \(c = \sqrt{\frac{\gamma P_0}{\rho_0}}\). Using the ideal gas law \(P_0 = \frac{\rho_0 R T}{M}\), where \(R\) is the universal gas constant, \(T\) is the absolute temperature, and \(M\) is the molar mass, we can express the speed of sound in terms of temperature and molecular weight.
Pressure and Density Waves
While the displacement \(s(x,t)\) satisfies the wave equation, it is often more convenient to work with pressure \(P(x,t)\) or density \(\rho(x,t)\). Since \(\Delta P\) is proportional to \(\Delta \rho\), and \(\Delta \rho\) is proportional to \(\partial s / \partial x\), the pressure and density variations also satisfy the wave equation. For a harmonic wave \(s(x,t) = S_0 \cos(kx - \omega t)\), the pressure variation is \(P'(x,t) = \rho_0 c \omega S_0 \sin(kx - \omega t)\). Note that the pressure wave is \(90^\circ\) out of phase with the displacement wave. At points of maximum compression or rarefaction (where \(|\partial s / \partial x|\) is largest), the displacement is zero. This is a crucial distinction: where the displacement is zero the pressure variation is greatest, and where the displacement is greatest the pressure variation is zero. The amplitude of the pressure wave is related to the displacement amplitude by \(P_0' = \rho_0 c \omega S_0\). This relationship shows that for a given displacement amplitude, the pressure amplitude increases with frequency and density.
Speed of Sound in Different Media
The formula \(c = \sqrt{\gamma P_0 / \rho_0}\) provides a powerful tool for estimating the speed of sound in various fluids. In gases, \(P_0/\rho_0\) is proportional to temperature, so the speed of sound depends primarily on temperature and the molecular composition (via \(\gamma\) and \(M\)). In air at \(20^\circ\mathrm{C}\) (\(293\ \mathrm{K}\)), with \(\gamma \approx 1.4\) and \(M \approx 0.029\ \mathrm{kg/mol}\), the speed is approximately \(343\ \mathrm{m/s}\). In liquids, the bulk modulus \(K\) replaces \(\gamma P_0\), and since liquids are much less compressible than gases, \(K\) is much larger. Although the density of water is about \(800\) times that of air, its bulk modulus (about \(2.2\ \mathrm{GPa}\)) is roughly \(1.6 \times 10^{4}\) times larger than \(\gamma P_0 \approx 0.14\ \mathrm{MPa}\) for air, resulting in a speed of sound in water of about \(1480\ \mathrm{m/s}\). In solids, the speed of sound is even higher due to the high elastic moduli, although the derivation for solids is more complex due to the presence of shear waves.
The derivation
Longitudinal Sound Waves in a Fluid
For small-amplitude longitudinal disturbances in an inviscid compressible fluid, conservation of mass together with Newton's second law and an adiabatic equation of state yield the one-dimensional wave equation \(\partial_{tt}s = c^2\,\partial_{xx}s\) for the particle displacement \(s(x,t)\), with propagation speed \(c=\sqrt{\gamma P_0/\rho_0}\), where \(P_0\) and \(\rho_0\) are the equilibrium pressure and mass density and \(\gamma=C_P/C_V\) is the ratio of heat capacities.
A common misconception is that the speed of sound depends on the amplitude of the wave. For small-amplitude waves, the speed is independent of amplitude. However, for very large amplitudes (shock waves), the compression is no longer adiabatic in the simple sense, and the speed of the shock front depends on the pressure jump. This is a non-linear effect that lies outside the scope of the linear wave equation derived here. C
Worked example
Problem. Calculate the speed of sound in helium gas at a temperature of \(300\ \mathrm{K}\). Assume helium is a monatomic ideal gas with molar mass \(M = 4.00 \times 10^{-3}\ \mathrm{kg/mol}\) and \(\gamma = 5/3\). Use \(R = 8.314\ \mathrm{J/(mol \cdot K)}\).
- Identify the given values: \(T = 300\ \mathrm{K}\), \(M = 4.00 \times 10^{-3}\ \mathrm{kg/mol}\), \(\gamma = 5/3\), \(R = 8.314\ \mathrm{J/(mol \cdot K)}\).
- Use the formula \(c = \sqrt{\frac{\gamma R T}{M}}\).
- Substitute the values: \(c = \sqrt{\frac{(5/3) \times 8.314 \times 300}{4.00 \times 10^{-3}}}\).
- Calculate the numerator: \((5/3) \times 8.314 \times 300 = 4157\ \mathrm{J/mol}\).
- Divide by \(M\): \(4157 / (4.00 \times 10^{-3}) \approx 1.039 \times 10^{6}\ \mathrm{m^2/s^2}\).
- Take the square root: \(\sqrt{1.039 \times 10^{6}} \approx 1019\ \mathrm{m/s}\).
Units check. \(\mathrm{J/(mol \cdot K)} \cdot \mathrm{K} / (\mathrm{kg/mol}) = \mathrm{J/kg} = \mathrm{m^2/s^2}\). The square root gives \(\mathrm{m/s}\), which is correct for speed.
Three quick tests
- Why is the process of sound wave propagation in a gas considered adiabatic?
Answer
The timescale of the pressure oscillations is much shorter than the timescale for heat conduction, so no net heat transfer occurs between compressed and rarefied regions. - How does the speed of sound in an ideal gas depend on temperature?
Answer
It is proportional to the square root of the absolute temperature, \(c \propto \sqrt{T}\). - What is the phase relationship between the displacement wave and the pressure wave in a longitudinal sound wave?
Answer
They are \(90^\circ\) out of phase. Maximum pressure occurs where displacement is zero.
Problem set for PU-103 →
Each derivation in this unit ends with five graded problems with full solutions.
Lecture notes drafted with a local model and checked line by line by the editor; every number in the worked example was recomputed.