Sound waves in a tube

We now examine sound waves in a tube, that is, in one dimension. Consider a tube filled with gas with cross sectional area AA, pressure P0P_0, and density ρ\rho. We will look at one region of this tube, from xx to x+ax+a.

Define ψ(x,t):=\psi(x,t):= the displacement of air molecules. This means that the particles whose equilibrium position is xx, will at time tt be at x+ψ(x,t)x+\psi(x,t).

The region of air moved and because ψ(x)\psi(x) may not equal ψ(x+a)\psi(x+a), its volume and pressure may have changed. We can write the change in volume as

ΔV=VafterVbefore=A(a+ψ(x+a,t)ψ(x,t))Aa=A(ψ(x+a,t)ψ(x,t))aa=A(ψ(x+a,t)ψ(x,t)a)a. \begin{align*} \Delta V &= V_\text{after} - V_\text{before} = A(a + \psi(x+a,t) - \psi(x,t)) - Aa \\ &= A(\psi(x+a,t)-\psi(x,t)) \cdot \frac{a}{a} \\ &= A \left(\frac{\psi(x+a,t) - \psi(x,t)}{a}\right) \cdot a. \end{align*}

Taking the limit as a0a \to 0

ΔV=Aaψx. \Delta V = Aa \frac{\partial \psi}{\partial x}.

From the ideal gas law, PV=nRTPV=nRT. We now assume that the compression in the cylinder is adiabatic, i.e., that energy transfer in the gas is slow relative to compression. This gives us PVγ=PV^\gamma = constant, where γ\gamma is the adiabatic index, which depends on the molecular structure of the gas. For a diatomic gas γ=75\gamma = \frac75.

We also assume small perturbations, so ΔVV\Delta V \ll V. Using these assumptions we can say

☺︎:=P0V0γ☺︎=(P0+ΔP)(V0+ΔV)γ=(P0+ΔP)V0γ(1+γΔvV0)=P0V0γThis is just ☺︎+P0γΔVV0γ1+ΔPV0γ+ΔPV0γ1γΔVInsignificant; has two small terms0=P0γΔVV0γ1+ΔPV0γΔP=P0γΔVV0. \begin{align*} ☺︎ &:= P_0 V_0^\gamma \\ ☺︎ &= (P_0 + \Delta P)(V_0 + \Delta V)^\gamma \\ &= (P_0 + \Delta P) V_0^\gamma \left(1 + \frac{\gamma \Delta v}{V_0}\right) \\ &= \underbrace{P_0 V_0^\gamma}_{\text{This is just ☺︎}} + P_0 \gamma \Delta V V_0^{\gamma-1} + \Delta P V_0^\gamma + \underbrace{\Delta P V_0^{\gamma-1} \gamma \Delta V}_{\text{Insignificant; has two small terms}} \\ 0 &= P_0 \gamma \Delta V V_0^{\gamma - 1} + \Delta P V_0^\gamma \\ \Delta P &= -\frac{P_0 \gamma \Delta V}{V_0}. \end{align*}

Plugging in ΔV\Delta V, we get ΔP=γP0ψx\Delta P = -\gamma P_0 \frac{\partial \psi}{\partial x}.

Consider the two graphs below. The first shows ψ(x)\psi(x), while the second shows the corresponding ΔP(x)\Delta P(x).

Note that the change in pressure is proportional to the negative derivative of displacement. Consider why this makes sense physically. If ψ<0\psi' < 0, then ψ(x)>ψ(x+a)\psi(x) > \psi(x+a), which means that the region is compressed, and so the pressure increases.

Now let us consider the force acting on the gas in the tube. F=PAF = P \cdot A, so

F(x,t)=(PleftPright)A=(P0+ΔP(x,t))A(P0+ΔP(x+a,t))A=A(ΔP(x,t)ΔP(x+a,t))aa=AaΔP(x+a,t)ΔP(x,t)a. \begin{align*} F(x,t) &= (P_\text{left} - P_\text{right}) A \\ &= (P_0 + \Delta P(x,t))A - (P_0 + \Delta P(x+a,t))A \\ &= A(\Delta P(x,t) - \Delta P(x+a,t)) \cdot \frac{a}{a} \\ &= -Aa \frac{\Delta P(x+a,t) - \Delta P(x,t)}{a}. \end{align*}

Again we take the limt as a0a \to 0 to find F=AΔpxa=mψ¨F = -A \frac{\partial \Delta p}{\partial x} a = m \ddot \psi. We know that the mass of the region is ρaA\rho a A, and we have already found ΔP=γP0ψx\Delta P = - \gamma P_0 \frac{\partial \psi}{\partial x}. We plug these in to find

ρaAψ¨=AaγP02ψx22ψt2=γP0ρ2ψx2. \begin{align*} \rho a A \ddot \psi &= A a \gamma P_0 \frac{\partial^2\psi}{\partial x^2} \\ \frac{\partial^2 \psi}{\partial t^2} &= \frac{\gamma P_0}{\rho} \frac{\partial^2\psi}{\partial x^2}. \tag{1} \end{align*}

This is the wave equation! We’ve already solved it, so we can just write down the solution.

ψ(x,t)=m=1Amsin(Kmx+αm)sin(ωmt+βm). \psi(x,t) = \sum_{m=1}^\infty A_m \sin(\mathcal K_m x + \alpha_m) \sin(\omega_m t + \beta_m).

Where vp2=γP0ρv_p^2 = \frac{\gamma P_0}{\rho}.

Boundary conditions

We incorporate our boundary conditions the same as in any wave. An open open end of the tube is equivalent to a massive string attached to a ring on a pole, and a closed end is equivalent to a fixed wall.