4.2 Conservation of mass for a fluid slab
Mass is conserved. If the mass inside a fixed control volume is changing, then more mass is flowing in than flowing out (or vice versa). This is the first of the three fluid-mechanics laws that combine to make the wave equation.
The slab picture
Consider a thin slab of fluid between and , of cross-sectional area . The mass inside the slab is . The mass flowing in through the left face per unit time is ; the mass flowing out through the right face is . Conservation of mass says
Divide by and take :
In three dimensions the same argument with a divergence on the right gives
This is the continuity equation: density changes by the negative divergence of the mass flux. We will use the 1-D version below and the full 3-D version in lesson 4.5.
Interactive
Slide the inflow and outflow velocities. When inflow exceeds outflow the slab’s density rises (compression). When outflow exceeds inflow the density falls (rarefaction). When they match, the density is parked — the incompressible case .
Linearised form
For sound we are interested in small perturbations on top of equilibrium. Write and . Substitute into the continuity equation:
The first term is since is constant. The second term, expanded, contains (linear in perturbations) and (quadratic — both factors are first-order small). Throwing away the quadratic term:
This is the linearised continuity equation. It is the first of the three equations we will combine into the wave equation in lesson 4.5.
▶ Why we can throw away $\nabla \cdot (\rho' \mathbf{v}')$
In the small-perturbation regime, and are both numerically tiny (around for conversational speech). Each is “first-order small” — keeping only first-order terms is the linearisation. The product is second-order small; the divergence of a second-order quantity is also second-order. We are throwing away -level effects in favour of -level effects.
This is not a trick or a sleight-of-hand — it is exactly the assumption from lesson 1.4. Every term we drop is one we will recover in chapter 10, where the nonlinear corrections give us wave steepening, shock formation, and the entry to cavitation.
Next: Newton’s second law for the same fluid slab.