Confusion about the derivation of the speed of sound

Click For Summary

Discussion Overview

The discussion revolves around the derivation of the speed of sound waves, particularly in the context of sound traveling through water in a cylindrical pipe. Participants explore various premises and equations related to the derivation, including the continuity equation and the assumptions made regarding thermodynamic properties.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about the second premise of the derivation, questioning its validity since neither water density nor speed is constant.
  • Another participant points out that the mass flux should be expressed as a spatial derivative rather than a temporal one, highlighting the need for clarity in the mathematical formulation.
  • A later reply introduces the continuity equation, suggesting it could resolve the initial participant's confusion.
  • One participant references the standard derivation from Landau & Lifshitz, emphasizing the assumption of adiabatic changes in a perfect fluid and the treatment of small perturbations around a static state.
  • Another participant questions the assumption that pressure depends only on density in the equation of state, noting that temperature may not remain constant during wave propagation.
  • Discussion includes the relationship between internal energy, pressure, and density, with references to thermodynamic principles and the nature of adiabatic processes.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the validity of certain assumptions in the derivation, particularly regarding the continuity equation and the dependence of pressure on temperature. Multiple competing views and interpretations remain present throughout the discussion.

Contextual Notes

Some participants highlight the need for clarity regarding the assumptions made in the derivation, particularly concerning the treatment of density, pressure, and temperature. There is also mention of the limitations of the mathematical steps involved in the derivation.

snoopies622
Messages
852
Reaction score
29
I've having trouble understanding a derivation of the speed of sound waves, which is actually similar to another derivation I found a couple days ago.

Let's suppose the sound is moving through water in a long cylindrical horizontal pipe. The premises of the derivation are

1.) For a given cylindrical slice of water of thickness \Delta x, the net horizontal (direction of the wave motion) force acting on the water is proportional to the hoizontal pressure gradient times \Delta x, so \rho \frac {dv}{dt} = \frac {- \partial P}{\partial x}
2.) the mass flux through any infinitely thin cylindrical slice is constant, or
\frac {d ( \rho v) }{dt} =0

And from these premises one can arrive at v^2 = \frac {dP }{d \rho }.

What I don't understand is why the second premise is true, since neither the water density nor water speed is constant. Or perhaps I don't understand the second premise: Is it supposed to be for an infinitely thin slice, or for a cylinder of thickness \Delta x, or something else?

Thanks.
 
Physics news on Phys.org
For the Wikipedia entry "Speed of sound" they refer to "the two ends of the tube", which seems to me to be a very strange body of fluid to be looking at when the wave itself can be contained within a small fraction of that length.
 

Attachments

  • wave-speed.jpg
    wave-speed.jpg
    42.7 KB · Views: 214
What you describe in words as equation 2) would be more like ##d(\rho v) / d x##. But what you state mathematically is that the mass flux doesn't change in time at any point. That is of course weird. Furthermore, these are all partial derivatives since ##v## and ##\rho## are dependent on both time and location. It is however close-ish to the linearized continuity equation:
$$
\frac{\partial\tilde{\rho}}{\partial t} + \rho_0 \frac{\partial \tilde{v}}{\partial x} = 0
$$
If you write ## v = \tilde{v} ##, ##\rho = \rho_0 + \tilde{\rho}## and ##p = p_0 + \tilde{p}## where all quantities with a tilde are small amplitude disturbances. I.e. you can neglect second order terms. This equation simply states that no mass is destroyed, i.e. a density change is compensated with an influx of mass (no 'gaps' in the flow field).

From this equation and your first equation you can derive the wave equation and speed of sound as you stated.
 
  • Like
Likes   Reactions: vanhees71
Ah, the continuity equation! Thanks Arjan82, I don't know why neither essay mentioned that. I think that will completely solve my problem.
 
I'm puzzled by the derivation in the attachment to #2 too. I think the standard derivation (e.g., Landau Lifshitz vol. 6) is more transparent. All you need to know is that assuming a perfect fluid implies that the thermodynamic changes at any point in the fluid are adiabatic (at constant entropy).

You get sound waves as small perturbations around the static state of the fluid, i.e.,
$$\rho=\rho_0 + \delta \rho, \quad P=P_0 + \delta P, \quad \vec{v}=\delta \vec{v}.$$
Then take Euler's equation (just Newton's law ##F=m a## for an ideal-fluid element):
$$\rho [\partial_t \vec{v} + (\vec{v} \cdot \nabla) \vec{v}]=-\vec{\nabla} P.$$
Now since ##\vec{v}=\delta \vec{v}## we can neglect the 2nd term at the left-hand side and use that ##P_0=\text{const}##, leading to
$$\rho_0 \partial_t \delta \vec{v}=-\vec{\nabla} \delta P. \qquad (1)$$
The continuity equation (mass conservation law) reads
$$\partial_t \rho+\vec{\nabla} \cdot (\rho \vec{v})=0.$$
Now expanding up to the first order in ##\delta \rho## and ##\delta \vec{v}## you get
$$\vec{\nabla} \cdot (\rho \vec{v})=\vec{v} \cdot \vec{\nabla} \rho + \rho \vec{\nabla} \cdot \vec{V} = \rho_0 \vec{\nabla} \cdot \delta \vec{v}.$$
Thus the continuity equation simplifies to
$$\partial_t \delta \rho + \rho_0 \vec{\nabla} \cdot \delta \vec{v}=0.$$
So taking the divergence of Eq. (1) and using this equation you get
$$\rho_0 \partial_t \vec{\nabla} \cdot \delta \vec{v}=-\partial_t^2 \delta \rho=-\Delta \delta P. \qquad(2)$$
Now you need an equation of state, i.e., ##P=P(\rho)##, where you have to assume the entropy to be constant. Given that equation of state, you get
$$\delta P = \left (\frac{\partial P}{\partial \rho} \right)_{S,0} \delta \rho=:c^2.$$
The notation of the partial derivative means that you have to take the derivative at constant ##S## and for the thermodynamic quantities of the unperturbed fluid in thermal equilibrium. So plugging this into (2) you find
$$\partial_t^2 \delta \rho -c^2 \Delta \delta \rho=0,$$
which is a wave equation for a wave with phase velocity ##c## which thus is the sound velocity.
 
  • Like
Likes   Reactions: Arjan82
That is more transparent, thanks vanhees71!
 
Just looked at this derivation in Landau & Lifshitz again and wondered why the equation of state looks like $$\delta P = \left (\frac{\partial P}{\partial \rho} \right)_{S,0} \delta \rho$$ Sure, the entropy is constant, but why can you assume the pressure to be only dependent on the density, and not on the temperature, which is surely not constant when the wave passes through.
 
Here the internal energy is the natural thermodynamic potential, and you have
$$\mathrm{d} U = T \mathrm{d} S - P \mathrm{d} V = T \mathrm{d} S+P/\rho^2 \mathrm{d} \rho.$$
So you get ##P## as function of ##S## and ##\rho## by
$$P=\rho^2 (\partial_{\rho} U)_{S}.$$
For an ideal fluid all changes are adiabatic, i.e., you have ##\mathrm{d} S=0##. That's why the equation of state is given in the form above.
 
  • Informative
Likes   Reactions: TOAsh2004
Thanks a lot, that makes perfect sense.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
772
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K