3.1.3Compressible Flow & Aerodynamics

Speed of sound — a = √(γRT) — derivation

2,130 words10 min readdifficulty · medium6 backlinks

WHAT is the speed of sound?

The whole game is to compute p/ρ\partial p/\partial \rho for an ideal gas under the right thermodynamic constraint.


HOW we derive it — from first principles

Step 1 — Stand still on the wave (control volume trick)

A sound wave moving at speed aa into still gas is hard to analyze because everything is unsteady. Why switch frames? In a reference frame riding with the wave, the flow becomes steady — much easier.

In the wave frame:

  • Gas enters the wave at speed aa, with pressure pp, density ρ\rho.
  • Gas leaves slightly changed: speed adVa - d V, pressure p+dpp + dp, density ρ+dρ\rho + d\rho.
Figure — Speed of sound — a = √(γRT) — derivation

Step 2 — Conservation of mass (continuity)

Mass in = mass out across the thin wave (area AA cancels): ρa=(ρ+dρ)(adV)\rho\, a = (\rho + d\rho)(a - dV)

Why this step? A wave doesn't pile up mass; whatever flows in must flow out.

Expand and drop the second-order term dρdVd\rho\, dV (it's a product of two tiny things → negligible): \rho a = \rho a - \rho\, dV + a\, d\rho \;\Rightarrow\; \boxed{\rho\, dV = a\, d\rho} \tag{1}

Step 3 — Conservation of momentum

Net pressure force on the slab = rate of change of momentum (momentum flux). For the control volume: pA(p+dp)A=m˙[(adV)a]pA - (p+dp)A = \dot m\,[(a - dV) - a]

Why this step? Newton's 2nd law for a steady flow: force = mass flow rate ×\times change in velocity. The mass flow rate m˙=ρaA\dot m = \rho a A.

-dp\,A = \rho a A\,(-dV) \;\Rightarrow\; \boxed{dp = \rho a\, dV} \tag{2}

Step 4 — Combine (1) and (2)

From (1): dV=adρ/ρdV = a\, d\rho/\rho. Substitute into (2): dp=ρaadρρ=a2dρdp = \rho a \cdot \frac{a\, d\rho}{\rho} = a^2\, d\rho \boxed{a^2 = \frac{dp}{d\rho}} \tag{3}

Why this matters: purely from mass + momentum, the speed of sound is the square root of how much pressure changes per unit density change. This is the "stiffness/inertia" idea made exact. We have not yet said anything about temperature or γ\gamma.

Step 5 — Which process? Adiabatic, not isothermal (the crucial insight)

For an isentropic ideal gas: p=Cργ(constant C)p = C\,\rho^{\gamma} \quad (\text{constant } C)

Why this relation? Combining pVγ=pV^\gamma= const with V1/ρV \propto 1/\rho gives pργp \propto \rho^\gamma. Here γ=cp/cv\gamma = c_p/c_v.

Differentiate: dpdρ=Cγργ1=γCργρ=γpρ\frac{dp}{d\rho} = C\gamma\,\rho^{\gamma-1} = \gamma\,\frac{C\rho^{\gamma}}{\rho} = \gamma\,\frac{p}{\rho}

So a^2 = \frac{dp}{d\rho} = \gamma\,\frac{p}{\rho} \tag{4}

Step 6 — Bring in the ideal gas law

Ideal gas: p=ρRTp = \rho R T (with RR the specific gas constant, R=Ru/MR = R_u/M). Hence p/ρ=RTp/\rho = RT: a2=γRT    a=γRTa^2 = \gamma R T \;\Rightarrow\; \boxed{\,a = \sqrt{\gamma R T}\,}


WHY aa depends only on TT (Feynman-check)

pp and ρ\rho both appear, but their ratio p/ρ=RTp/\rho = RT is fixed by temperature. Squeeze the gas (raise pp and ρ\rho): the stiffness goes up but so does inertia, and they cancel. Only the random thermal molecular speed — set by TT — survives. In fact aa \sim the average molecular speed, which makes sense: sound can't outrun the molecules carrying it.


Worked examples


Common mistakes


Quick recall

Recall Active recall — cover the answers
  • The defining relation for a2a^2? ::: a2=(p/ρ)sa^2 = (\partial p/\partial\rho)_s
  • Which two conservation laws give a2=dp/dρa^2 = dp/d\rho? ::: Mass (continuity) and momentum
  • What process governs the wave, and why? ::: Adiabatic — too fast for heat conduction
  • Where does γ\gamma enter? ::: From p=Cργp=C\rho^\gamma when differentiating
  • aa depends on which single state variable? ::: Temperature TT only
Recall Explain it to a 12-year-old (Feynman)

Imagine a long line of people standing shoulder to shoulder. You push the first person. They bump the next, who bumps the next — the "push" travels down the line as a wave. How fast the push moves depends on how springy the people are (stiff = fast) and how heavy they are (heavy = slow). In a gas, sound is exactly that: a push passed molecule to molecule. Hot gas has zippy molecules, so they pass the push along faster. That's why aa grows with temperature. And because the push happens super fast, there's no time for heat to leak out — that extra "no time" is what the γ\gamma in the formula accounts for.


Flashcards

What is the speed of sound (thermodynamic definition)?
a2=(p/ρ)sa^2 = (\partial p/\partial\rho)_s, the isentropic pressure-density derivative.
Which conservation laws yield a2=dp/dρa^2 = dp/d\rho?
Continuity (mass) and momentum across the wave.
Why is the process adiabatic, not isothermal?
Compressions oscillate too fast for heat conduction to equalize temperature.
How does γ\gamma enter the derivation?
Differentiating the isentropic relation p=Cργp = C\rho^\gamma gives dp/dρ=γp/ρdp/d\rho = \gamma p/\rho.
Final formula for speed of sound in an ideal gas?
a=γRTa = \sqrt{\gamma R T}.
In a=γRTa=\sqrt{\gamma RT}, what is RR?
The SPECIFIC gas constant Ru/MR_u/M (287 J/kg·K for air).
Speed of sound in air at 288 K?
≈ 340 m/s.
Does aa depend on pressure?
No — only on temperature (since p/ρ=RTp/\rho = RT).
What was Newton's error and the fix?
He assumed isothermal (a=RTa=\sqrt{RT}, ~15% low); Laplace fixed it with adiabatic γ\gamma.
Why is sound faster in helium than air?
Lighter molecules (large RR) move faster, raising aa.
Definition of Mach number?
M=V/aM = V/a, flight speed over local sound speed.

Connections

  • Mach number and flow regimes
  • Isentropic relations p ∝ ρ^γ
  • Ideal gas law and specific gas constant
  • Compressibility and why M > 0.3 matters
  • Adiabatic vs isothermal processes
  • Stagnation properties and energy equation
  • Normal shock waves

Concept Map

analyzed via

makes flow steady

makes flow steady

combine

combine

too fast for heat

constant entropy

evaluate dp/drho

apply

yields

puts gamma in

Sound wave = tiny pressure pulse

Wave-frame trick

Continuity: rho dV = a drho

Momentum: dp = rho a dV

a^2 = dp/drho

Adiabatic process

Isentropic relation adds gamma

Ideal gas p = rho R T

a = sqrt of gamma R T

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, sound ek choti si pressure disturbance hai jo gas ke through travel karti hai. Iski speed do cheezon pe depend karti hai: gas kitni "stiff" hai (squeeze karne pe kitna push-back karti hai) aur kitni "heavy" (density). Stiff zyada → fast sound, heavy zyada → slow sound. Bas isi "stiffness upon inertia" ko maths me convert karna hai.

Derivation ka trick yeh hai ki hum wave ke saath ride karte hain (control volume wave frame me), taaki flow steady ho jaye. Phir mass conservation aur momentum conservation lagate hain, second-order tiny terms drop karte hain, aur seedha milta hai a2=dp/dρa^2 = dp/d\rho. Yahan tak temperature ka koi naam nahi aaya.

Ab asli insight: sound itni fast oscillate karta hai ki heat ko leak hone ka time hi nahi milta — isliye process adiabatic hoti hai, isothermal nahi. Isi adiabatic relation p=Cργp = C\rho^\gamma ko differentiate karne se γ\gamma formula me aata hai. Newton ne yahi galti ki thi (isothermal maan liya) aur answer ~15% kam aa gaya; Laplace ne γ\gamma daal ke theek kiya.

Final: a=γRTa = \sqrt{\gamma R T}. Yaad rakho RR yahan specific gas constant hai (air ke liye 287, na ki 8.314). Aur sabse important baat — aa sirf temperature pe depend karta hai, pressure pe nahi. Isiliye altitude pe thandi hawa me sound slow ho jaati hai, aur same speed pe aircraft ka Mach number badh jaata hai. Yeh aerodynamics aur compressible flow ki neev hai.

Go deeper — visual, from zero

Test yourself — Compressible Flow & Aerodynamics

Connections