Where Exploration Meets Excellence
Jupiter Academy · Lesson

Wave Equation and Speed of Sound

Sound is a longitudinal mechanical wave, and its behaviour in any medium is governed by two quantities that IIT JEE aspirants must command with precision: the elastic restoring force of the medium and its inertial mass density. Lesson 2 of this thirty-part course moves from the qualitative picture of the previous lesson into the governing differential equation, deriving the wave equation for sound and then quantifying how temperature, pressure, humidity, and molecular mass alter propagation speed across gases, liquids, and solids. The treatment is deliberately algebraic, because JEE questions reward candidates who can manipulate the wave equation rather than merely recite it.

The central analytical result is that the speed of a sound wave in a fluid equals the square root of the ratio of bulk modulus to density, and in a gas this reduces to the Newton–Laplace expression involving the adiabatic index, the gas constant, and absolute temperature. That single formula explains why sound travels at roughly 343 m/s in air at 20 °C but at about 1,480 m/s in water and near 5,960 m/s in steel. Each comparison in this lesson is anchored to measured values, so the physics remains concrete rather than abstract.

Beyond derivation, the lesson builds examination technique. It distinguishes Newton's isothermal assumption from Laplace's adiabatic correction, isolates the pressure-independence of sound speed in an ideal gas, and prepares the ground for the superposition principle that follows. Worked numericals, a derivation checklist, and structured comparison tables give candidates a repeatable method for the wave-equation questions that recur in JEE Main and Advanced papers.

Deriving the Wave Equation for Sound in a Continuous Medium

The derivation begins with a control volume of fluid and applies Newton's second law to a thin element displaced by a passing pressure disturbance. Because the displacement varies along the direction of propagation, adjacent layers experience unequal pressures, and the resulting net force accelerates the element. Combining this dynamical statement with the continuity condition that links density changes to displacement gradients yields a single second-order partial differential equation.

A gently rising curve of sound speed in air against Celsius temperature, starting near 331 m/s at 0 °C and reaching about 361 m/s at 50 °C, showing that speed grows with temperature.
Illustrative plot of v = 331 + 0.6t showing the square-root-of-T dependence of sound speed in air over a modest Celsius range.Digital illustration created with Zartom Composer · Rahul Anand

From Newton's Second Law to the Differential Equation

Consider a tube of cross-sectional area ##S## containing a gas at equilibrium pressure ##P## and density ##\rho##. A longitudinal displacement ##y(x,t)## creates a pressure excess ##\Delta P## on one face and a slightly different excess on the opposite face, so the net force on the slice of thickness ##dx## is proportional to the pressure gradient. Writing that force as ##-S\,\partial(\Delta P)/\partial x\,dx## and equating it to mass times acceleration gives the dynamical equation of motion for the element.

The bulk modulus ##B## relates the pressure excess to the fractional volume change, so ##\Delta P = -B\,\partial y/\partial x## for a longitudinal disturbance. Substituting this constitutive relation into the force balance converts the pressure gradient into a second spatial derivative of displacement, and the equation becomes a clean balance between spatial curvature and temporal acceleration of the same variable.

A cylindrical tube segment of area S and length dx with pressure P+ΔP on the left face and P on the right face, an arrow showing displacement y along the tube, and the net force arrow pointing right.
A thin gas element in a tube feels a larger pressure on one face than the other, giving the net force that drives the wave equation.Digital illustration created with Zartom Composer · Rahul Anand

Dividing through by the element mass ##\rho S\,dx## produces the canonical form of the sound wave equation, in which the coefficient of the spatial derivative is the square of a quantity with dimensions of velocity. That quantity is the speed of sound, and its appearance is not assumed but forced by the algebra of the derivation.

###\dfrac{\partial^2 y}{\partial x^2} = \dfrac{\rho}{B}\,\dfrac{\partial^2 y}{\partial t^2} \quad\Longrightarrow\quad v = \sqrt{\dfrac{B}{\rho}}###

Dimensional analysis confirms the result: bulk modulus carries units of pressure, or force per area, and dividing by density leaves squared velocity. Candidates should verify this themselves, because JEE numericals frequently test dimensional consistency as a shortcut when the full derivation is unnecessary.

The General Wave Equation and Its Solution Form

Any disturbance satisfying ##\partial^2 y/\partial x^2 = (1/v^2)\,\partial^2 y/\partial t^2## propagates without change of shape, and its general solution is the sum of a rightward and a leftward travelling function. For a harmonic source the solution takes the sinusoidal form ##y = A\sin(kx - \omega t)##, where ##k = 2\pi/\lambda## and ##\omega = 2\pi f##, and the phase velocity follows as ##v = \omega/k = f\lambda##.

Two sine curves of equal wavelength, one shifted to the right and one to the left, plotted against position, illustrating the two counter-propagating solutions that add to give the general wave.
Two harmonic travelling waves moving in opposite directions, whose sum is the general solution of the wave equation.Digital illustration created with Zartom Composer · Rahul Anand

This relation between frequency, wavelength, and speed is the workhorse of sound-wave problem solving. When a wave crosses from one medium to another, frequency is fixed by the source while wavelength adjusts so that ##v = f\lambda## holds on both sides, a point that distinguishes sound from light in refraction questions.

For sound specifically, the displacement amplitude is often small, of order micrometres, yet the associated pressure amplitude can be substantial. The pressure wave leads the displacement wave by a quarter cycle, and the pressure amplitude relates to displacement amplitude through ##\Delta P_0 = BkA##, a relation worth memorising for intensity calculations.

Newton's Isothermal Model and Laplace's Adiabatic Correction

Newton assumed that the compressions and rarefactions in a sound wave occur isothermally, so the bulk modulus equals the pressure ##P## and the predicted speed in air is about 280 m/s. That figure falls roughly 15 per cent below the measured 331 m/s at 0 °C, a discrepancy Newton could not resolve and which stood for over a century.

Laplace recognised that the oscillations are too rapid for heat exchange with surrounding gas, so the process is adiabatic and the relevant bulk modulus is ##\gamma P##, where ##\gamma## is the ratio of specific heats. Multiplying the Newtonian result by ##\sqrt{\gamma}##, with ##\gamma = 1.4## for diatomic air, raises the prediction to about 331 m/s and reconciles theory with measurement.

A bar chart comparing three speeds in air at 0 °C: Newton's isothermal estimate near 280 m/s, Laplace's adiabatic estimate near 331 m/s, and the measured value of 331 m/s, showing the adiabatic correction fixes the discrepancy.
Newton's isothermal prediction of about 280 m/s falls short of the measured 331 m/s at 0 °C, while Laplace's adiabatic value of about 331 m/s matches it.Digital illustration created with Zartom Composer · Rahul Anand

The corrected expression for a gas becomes ##v = \sqrt{\gamma P/\rho}##, and using the ideal gas law this transforms into the temperature-dependent form that dominates JEE questions. The transformation is algebraic but conceptually vital, because it explains why pressure cancels out of the final result.

###v = \sqrt{\dfrac{\gamma P}{\rho}} = \sqrt{\dfrac{\gamma R T}{M}}###
Derivation Check

Newton versus Laplace: Predicted Speed of Sound in Air

Comparison of isothermal and adiabatic bulk moduli at 0 °C, with measured reference value.

Model Bulk Modulus Used Predicted Speed (m/s) Deviation from 331 m/s
Newton (isothermal) ##P## ≈ 280 −15.4%
Laplace (adiabatic) ##\gamma P## ≈ 331 ≈ 0%
Measured (dry air, 0 °C) Empirical 331.3 Reference
Note:
  • Air is treated as diatomic with ##\gamma = 1.4## and molar mass 28.97 g/mol.
  • The ##\sqrt{\gamma}## factor of about 1.183 accounts for the entire Newton–Laplace gap.

Factors Governing the Speed of Sound Across Media

Once the formula ##v = \sqrt{\gamma RT/M}## is established for gases, the influence of each variable can be read directly from the algebra. Temperature enters under the square root in the numerator, molar mass in the denominator, and pressure cancels entirely because density rises in exact proportion to pressure at fixed temperature. These three consequences account for most qualitative JEE questions on sound speed.

Temperature, Pressure, and the Ideal Gas Result

Because ##v \propto \sqrt{T}## with ##T## in kelvin, the speed of sound in air increases by roughly 0.61 m/s for every degree Celsius near room temperature. A useful approximation for examinations is ##v \approx 331 + 0.6\,t## m/s, where ##t## is the Celsius temperature, valid over ordinary atmospheric ranges.

A straight line rising from about 331 m/s at 0 °C to about 361 m/s at 50 °C, showing the roughly linear increase of sound speed in air with temperature near room conditions.
Using the standard approximation v ≈ 331 + 0.6t, sound speed in air rises steadily with Celsius temperature.Digital illustration created with Zartom Composer · Rahul Anand

The cancellation of pressure surprises many candidates. Doubling the pressure of a fixed mass of gas at constant temperature doubles its density as well, and the two effects offset exactly in ##\sqrt{\gamma P/\rho}##, leaving the speed unchanged. Only if temperature changes does the speed respond.

Humidity introduces a subtler effect. Water vapour has a molar mass of 18 g/mol against 28.97 g/mol for dry air, so moist air is less dense at the same temperature and pressure, and sound travels faster through it. The increase is modest, roughly 0.1 to 0.6 per cent under typical conditions, but it appears in assertion–reason items.

Speed of Sound in Liquids and Solids

In liquids the governing expression is ##v = \sqrt{B/\rho}## with the isothermal bulk modulus, since thermal conduction is comparatively fast and the adiabatic correction is small. Water's bulk modulus of about 2.2 GPa and density of 1,000 kg/m³ yield roughly 1,480 m/s, matching measurement closely.

Solids support both longitudinal and transverse waves, and the longitudinal speed depends on Young's modulus ##Y## and density through ##v = \sqrt{Y/\rho}## for a thin rod. Steel, with ##Y \approx 200## GPa and density 7,850 kg/m³, gives approximately 5,050 m/s in a rod and about 5,960 m/s in bulk, where the constrained modulus replaces Young's modulus.

The general ordering solids, then liquids, then gases follows from the ratio of elastic modulus to density. Solids possess moduli in the hundreds of gigapascals while gases possess moduli of order 10⁵ pascals, a difference of six orders of magnitude that density only partly offsets.

A bar chart with three bars: air near 331 m/s, water near 1,480 m/s and steel near 5,050 m/s, showing that sound travels fastest in the stiffest, most elastic medium.
Typical sound speeds: about 331 m/s in air, 1,480 m/s in water and 5,050 m/s in steel, following the ordering gas < liquid < solid.Digital illustration created with Zartom Composer · Rahul Anand
Data Reference

Measured Sound Speeds Across Representative Media

Longitudinal wave speeds at standard conditions, with governing elastic modulus.

Medium State Speed (m/s) Governing Modulus
Air (0 °C) Gas 331 ##\gamma P##
Helium (0 °C) Gas 965 ##\gamma P##
Water (20 °C) Liquid 1,482 ##B##
Steel (rod) Solid ≈ 5,050 ##Y##
Aluminium (bulk) Solid ≈ 6,420 Constrained modulus
Note:
  • Helium's low molar mass of 4 g/mol explains its unusually high speed despite low density.
  • Rod and bulk speeds differ because lateral strain is free in a rod but constrained in bulk.

Molecular Mass, Humidity, and Gas Composition

Since ##v \propto 1/\sqrt{M}##, lighter gases carry sound faster at the same temperature. Hydrogen, with a molar mass of 2 g/mol, supports sound at about 1,284 m/s at 0 °C, roughly four times the speed in air, and helium follows at 965 m/s. This inverse-square-root dependence is a favourite JEE calculation.

A bar chart of sound speeds at 0 °C: hydrogen about 1,284 m/s, helium about 965 m/s and air about 331 m/s, showing the inverse square-root dependence on molar mass.
Lighter gases carry sound faster: about 1,284 m/s in hydrogen and 965 m/s in helium against 331 m/s in air, reflecting the 1/√M dependence.Digital illustration created with Zartom Composer · Rahul Anand

Gas mixtures obey an effective molar mass rule. For a mixture of oxygen and helium, the effective ##M## is the mole-fraction-weighted average, and the speed follows from substituting that average into the temperature formula. Candidates should practise such mixtures because they combine stoichiometry with wave physics.

Composition also matters in planetary atmospheres. The Martian atmosphere, dominated by carbon dioxide with a molar mass of 44 g/mol, supports sound at only about 240 m/s despite its low temperature, a direct consequence of the heavier molecules and the ##1/\sqrt{M}## scaling.

Numerical Drill

Temperature Dependence of Sound Speed in Air

Values from ##v = 331\sqrt{T/273}## and the linear approximation ##v \approx 331 + 0.6t##.

Temperature (°C) Temperature (K) Exact Speed (m/s) Linear Estimate (m/s)
0 273 331.0 331.0
20 293 343.0 343.0
40 313 354.6 355.0
100 373 386.9 391.0
Note:
  • The linear rule drifts by about 1 per cent at 100 °C; use the square-root form for precision.
  • All values assume dry air with ##\gamma = 1.4## and ##M = 28.97## g/mol.

Applying the Wave Equation to JEE Problems and Real Systems

Examination questions rarely ask for the derivation verbatim; they embed it in scenarios involving gas mixtures, temperature gradients, or comparisons between media. The productive strategy is to identify which variables are held constant, then apply the appropriate form of ##v = \sqrt{\gamma RT/M}## or ##v = \sqrt{B/\rho}## without re-deriving from first principles. The following subsections organise that strategy into worked patterns.

Standard Problem Archetypes and Solution Strategy

The first archetype compares speeds in two gases at the same temperature, reducing to the ratio ##v_1/v_2 = \sqrt{M_2/M_1}## when both are diatomic. The second varies temperature at fixed composition, giving ##v_2/v_1 = \sqrt{T_2/T_1}##. Recognising which ratio applies saves substantial time under examination pressure.

A third archetype involves a gas mixture, where the effective molar mass must be computed before substitution. A fourth asks how far a sound travels in a given time, or how a time delay changes with temperature, requiring the wave equation only as a means to obtain ##v##. Each archetype maps to a single formula choice.

Numerical discipline matters. Temperatures must be converted to kelvin, molar masses to consistent units, and answers checked for plausible magnitude. A computed speed of 34 m/s in air signals an arithmetic slip, since the expected value lies near 340 m/s.

Strategy Map

JEE Problem Archetypes Mapped to Governing Relations

Which formula to invoke, and which variables cancel, for each recurring question type.

Archetype Governing Relation Variables That Cancel
Two gases, same temperature ##v_1/v_2 = \sqrt{M_2/M_1}## ##\gamma##, ##R##, ##T##
Same gas, two temperatures ##v_2/v_1 = \sqrt{T_2/T_1}## ##\gamma##, ##R##, ##M##
Pressure doubled at constant ##T## ##v = \sqrt{\gamma P/\rho}## ##P## and ##\rho## jointly
Gas mixture composition ##M_{\text{eff}} = \sum x_i M_i## None; compute ##M_{\text{eff}}## first
Solid rod versus bulk ##v = \sqrt{Y/\rho}## versus constrained modulus Density, if comparing same material
Note:
  • Always convert Celsius to kelvin before forming any temperature ratio.
  • For mixtures, mole fractions ##x_i## weight the molar masses, not the masses.

Worked Numerical: Speed in a Gas Mixture

Suppose a mixture contains 20 per cent oxygen by mole and 80 per cent helium, both treated as ideal at 300 K. The effective molar mass is ##0.2 \times 32 + 0.8 \times 4 = 9.6## g/mol, or ##9.6 \times 10^{-3}## kg/mol, which already signals a much faster speed than air.

Taking an effective ##\gamma## of about 1.63 for this mixture, the speed follows from ##v = \sqrt{\gamma RT/M}##. Substituting ##R = 8.314## J/(mol·K), ##T = 300## K, and ##M = 9.6 \times 10^{-3}## kg/mol yields approximately 651 m/s, nearly double the speed in air.

The calculation illustrates why helium-rich breathing mixtures alter vocal timbre: the resonant frequencies of the vocal tract scale with the speed of sound, so formants shift upward by the same factor. This is a direct, audible consequence of the wave equation rather than a curiosity.


import math

R = 8.314          # J/(mol K)
T = 300.0          # kelvin

def sound_speed(gamma, molar_mass_g):
    M = molar_mass_g / 1000.0          # kg/mol
    return math.sqrt(gamma * R * T / M)

def mixture_molar_mass(fractions, masses):
    return sum(x * m for x, m in zip(fractions, masses))

# 20% oxygen, 80% helium by mole
M_eff = mixture_molar_mass([0.2, 0.8], [32.0, 4.0])
v_air = sound_speed(1.40, 28.97)
v_mix = sound_speed(1.63, M_eff)

print(f"Effective molar mass: {M_eff:.2f} g/mol")
print(f"Speed in air:  {v_air:.1f} m/s")
print(f"Speed in mix:  {v_mix:.1f} m/s")
print(f"Ratio:         {v_mix / v_air:.2f}")

Real-World Consequences and Preparation for Superposition

The temperature dependence of sound speed governs atmospheric refraction: on warm days the ground-level air is faster, so sound rays bend upward, while on cool evenings they bend downward and carry distant noise further. This acoustic mirage is a macroscopic demonstration of ##v \propto \sqrt{T}## operating over a gradient.

In solids, the high speed of longitudinal waves underpins ultrasonic testing and seismic surveying, where travel-time measurements convert directly into distance through ##d = vt##. The same relation lets geophysicists infer rock composition from measured wave speeds, since modulus and density differ by material.

This lesson supplies the kinematic foundation for the next one. Superposition and interference require a well-defined wave function and a known propagation speed, both established here, so the transition to standing waves and beats will build directly on the equation derived above.

Self-Assessment

Lesson 2 Concept Checklist

Mastery indicators to verify before advancing to superposition and interference.

Concept Mastery Indicator
Wave equation derivation Can reproduce ##v = \sqrt{B/\rho}## from force balance unaided
Newton–Laplace distinction Explains the ##\sqrt{\gamma}## factor and its 15 per cent effect
Pressure independence Justifies cancellation of ##P## at constant temperature
Medium comparison Orders solids, liquids, gases correctly with moduli
Mixture problems Computes effective molar mass before substitution
Note:
  • Any unchecked indicator should be revised before Lesson 3 on superposition.
  • Practice at least ten numericals spanning all five indicators.

RESOURCES