0% found this document useful (0 votes)
15 views

lecture6-waves

Uploaded by

frostyfoley
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

lecture6-waves

Uploaded by

frostyfoley
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Matthew Schwartz

Lecture 6:
Waves in strings and air

1 Introduction
In Lecture 4, we derived the wave equation for two systems. First, by stringing together masses
and springs and taking the continuum limit, we found

∂2 2
 
2 ∂
⇒ − v A(x, t) = 0 (1)
∂t2 ∂x2

where A(x, t) is the displacement from equilibrium of the mass at position x. These are longitu-
dinal waves. In this equation, for waves in a solid, the wave speed is
r
E
v= (2)
µ
where E is the elastic modulus and µ is the density per unit length. Now we consider two more
cases: transverse oscillations on a string and longitudinal motion of air molecules (sound waves).

2 Transverse oscillations
Consider a string of tension T . We define the amplitude of the string at a point x at time t as
A(x, t). In this section, we’ll sometimes write A(x, t) just as A(x) to avoid clutter. Let us treat
the string as a bunch of massless test probes connected by a elastic strings. Then we can draw
the picture as

What is the force acting on the test mass at position x (in red)?
First, consider the downward component of the force pulling on the test mass at x from the
mass to the left (at x − ∆x). We can draw a triangle:

The force is given by


∆A
Fdow nwards, from left m ass = T sinθ = T √ (3)
∆A2 + ∆x2
If the system is close to equilibrium,
√ then the slope will be small. That is, ∆A ≪ ∆x. In this
case, we can approximate ∆A2 + ∆x2 ≈ ∆x and so
∆A A(x) − A(x − ∆x) ∂A
Fdow nwards, from left m ass = T =T =T (4)
∆x ∆x ∂x

1
2 Section 3

where we have taken ∆x → 0 in the last step turning the difference into a derivative.
Similarly, the downward force from the mass on the right is
A(x) − A(x + ∆x) ∂A(x + ∆x)
Fdownwards, from right mass = T = −T (5)
∆x ∂x
Thus,  
∂A(x + ∆x) ∂A
Ftotal downwards = −T − (6)
∂x ∂x
∂ 2A
Now we use F = ma, where a = − ∂t2 is the downward acceleration. So we should have
∂ 2A ∂ 2A
Ftotal dow nwards = −m 2
= −µ∆x 2 (7)
∂t ∂t
Plugging this into Eq. (6) we find
" #
∂A(x + ∆x) ∂A
∂ 2A T ∂x T ∂ 2A
− ∂x
= = (8)
∂t2 µ ∆x µ ∂x2
Thus,  2 2
 r
∂ 2 ∂ T
−v A(x, t) = 0 with v = (9)
∂t2 ∂x2 µ
q
T
So the wave equation is again satisfied with a wave speed v = µ .
Note that the acceleration is due to a difference of forces. The force pulling up from the
right has to be different from the force pulling down from the left to get an acceleration. Each
force is proportional to a first derivative, thus the acceleration is proportional to a second deriv-
ative.

3 Sound waves
Waves in air are just like waves in a solid: the air molecules are like little masses and the forces
between them act like springs. Thus we have already derived the wave equation. What’s left is
to think about what’s actually going on when a wave propagates through the air.
Sound waves are longitudinal density waves, which look like

Figure 1. Visualization of sound waves

What is the amplitude for a sound wave? As always, the amplitude A(x, t) measures the dis-
placement from equilibrium. In fact, in a sound wave, each individual molecule is just oscillating
back and forth around an equilibrium position, and the wave appears as a collective phenom-
enon among these moving molecules. This is easiest to see in an animation. Try the animation
on this web page http://www.acs.psu.edu/drussell/demos/waves/wavemotion.html under longi-
tudinal waves. In this animation, A(x, t) is the displacement from equilibrium at time t of the
red dot whose equilibrium position is at x. It has the form A(x, t) = A0cos(k x − ωt + φ0) for
some overall amplitude A0 and some phase φ0. From the point of view of the molecules strung
together, this system is identical to the masses and springs strung together that we discussed in
lecture 4. So the derivation of the wave equation for a gas is identical.
Sound waves 3

In a snapshot of the wave in Fig. 1, it’s hard to see which molecules are at their equilibrium
position and which are not. That is, it’s hard to see A(x, t). Instead, we see the density of the
gas ρ(x, t). In fact the two are related. Looking the animations for a long time, you can see that
in fact there is a close relation between the amplitude (displacement from equilibrium) A(x, t)
and the density ρ(x, t). As with any oscillator, the molecules move fastest as they pass through
their equilibrium going left or right, and stop when they are farthest from equilibrium. Now
note that when the molecules (red dots on the web animation) are moving fastest to the right,
they are in the most dense region, and when they moving fastest to the left, they are in the least
dense region of the gas. That is, the maximal velocity in the +x direction corresponds to the
maximal density and the minimal velocity in the +x direction to the minimal density. Therefore
dA
density agrees with velocity: ρ ∝ ρ0 + d t . In other words, if the displacement is A(x, t) =
A0cos(k x −ωt) then the density is ρ(x, t) = ρ0 + (∆ρ)sin(kx − ωt). Another way to say this is
that the density lags behind the amplitude by 90◦.

3.1 Speed of sound in a gas


Let us consider the case where the sound wave is excited by a large membrane like a drum or a
speaker. If we are interested in wavelengths much less than the size of the membrane, and much
larger than the distance between air molecules, then waves in air become exactly like waves in a
solid or waves on a string. We simply have to divide by the unit area:
µ ∂ 2A T ∂ 2A
= (10)
A ∂t2 A ∂x2
µ
Now, A is the mass per unit length per unit area, also known as mass per unit volume or den-
T
sity ρ. Also, A is the force per unit area or the pressure, so we get
∂ 2A ∂ 2A
ρ = p (11)
∂t2 ∂x2
q
p
Thus v = ρ
for a gas. It turns out that this is only correct at constant temperature.
At constant temperature, the gas doesn’t heat up. You may remember the ideal gas law from
chemistry:
pV = nRT (12)
where V is the volume, n is the number of molecules, R is the ideal gas constant and T is the
n
temperature. Dividing by V and using ρ = V m with m the molecular weight of the gas mole-
cules, we get
RT
p=ρ (13)
m
This means that  
dp RT p
= = (14)
dρ T m ρ
r 
∂p
where the subscript T means “constant temperature”. Thus we would have v = ∂ρ
for a
T
gas which could not heat up. There is unfortunately no such gas.
The correct velocity for a wave in air is
s 
∂p
v= (15)
∂ρ S

where the subscript S means “constant entropy”. It should be constant entropy since when a
wave passes through some air, it leaves the air in the same state it started in, without increasing
the entropy. If you take physical chemistry (physics 181 or chem 161), you can study these con-
strained partial derivatives to death. I will just summarize the important result
 
∂p p
=γ (16)
∂ρ S ρ
4 Section 3

where
CP
γ= (17)
CV
where CP is the specific heat at constant pressure and CV is the specific heat at constant
volume.
A more useful form of γ is
f +2
γ= (18)
f
where f is the number of decrease of freedom in the gas. For a monatomic gas, like argon, the
only degrees of freedom are from translations. For the x, y and z directions, we get f = 3. So
3+2 5
γ= = = 1.67 (monatomic gas) (19)
3 3
For a diatomic gas, like N2 or O2 (which is mostly what air is), both atoms can move, so we
would get f = 6, however, if they rotate around the bond axis, the molecule is unchanged, so in
fact f = 5. You can think of 5 as 3 translations, one rotation and one vibration along the bond
axis. Thus
5+2 7
γ= = = 1.4 (diaatomic gas like air) (20)
5 5
To match to the notation for waves in solids we sometimes define a bulk modulus
B ≡ γp (21)
Then the speed of sound in air is r r
γp B
cs = = (22)
ρ ρ
Note that B and cs are properties of the gas, not the wave. All waves have the same velocity in
the same type of air.
Another useful formula is that, using the ideal gas law,
r r
γp RT
cs = = γ (23)
ρ m
This tells us that the speed of sound only depends on the temperature of a gas, not on its den-
sity or pressure separately. It also tells us the speed of sound is different in two gases with the
same temperature but different molecular masses m.
You may also recall from
q chemistry that the root-mean-square velocity of gas is determined
3RT
by its temperature: vrm s = m
. Again, this is something you will show in a physical chemistry
class. So
γ
q
cs = vrm s (24)
3
Thus the speed of sound is proportional to, but not greater than, the speed of the molecules in
the gas. This makes sense – how could it be sound travel faster than the molecules transmitting
it?

3.2 Summary
For sound waves, the amplitude of the wave A(x, t) is the displacement from x of the molecule
whose equilibrium position is at x. The density of the wave ρ(x, t) also oscillates and lags in
π
phase behind the amplitude by a quarter wavelength, 2 . Sound waves satisfy the wave equation
with a sound speed r
r
p RT
v= γ = γ (25)
ρ m
where p is the average pressure, ρ the average density and T the average temperature. Also,
CP f + 2
γ= = (26)
CV f
Standing waves 5

where CP is the specific heat at constant pressure and CV is the specific heat at constant
volume and f is the number
q of degrees of freedom of the gas molecules. For aqmonotonic gas
p p
like Ar, f = 3 and v = 1.67 ρ . For a diatomic gas like N2 or O2, f = 5 and v = 1.4 ρ .

4 Standing waves
Now lets talk about standing wave solutions in more detail. Again, we consider the wave equa-
tion  2 2

∂ 2 ∂
− v A(x, t) = 0 (27)
∂t2 ∂x2
and we would like solutions of fixed frequency ω. These are solutions which are periodic in time.
We can write the general such solution as a sum of terms of the form
A(x, t) = A0sin(kx + φ1)sin(ωt + φ2) (28)
In this solution, A0 is the amplitude and k the wavenumber. The frequency determined from
the wavenumber through the dispersion relation
ω = vk (29)
There are two phases φ1 and φ2. Instead of using phases, we could write the general solution as
A(x, t) = A0sin(kx)sin(ωt) + A1sin(kx)cos(ωt) + A2cos(kx)cos(ωt) + A3cos(kx)sin(ωt) (30)
The two forms are equivalent and we will go back and forth between them as convenient.
Consider first the case where one of the boundary conditions is that the string is fixed at x =
0. That is
A(0, t) = 0 (31)

This is known as a fixed, closed, or Dirichlet boundary condition. If there were a


A3cos(kx)sin(ωt) component, then the x = 0 point would oscillate as x(0, t) = A3sin(ωt) meaning
it is not fixed. Thus A3 = 0. Similarly, A2 = 0. Thus the general solution with A(0, t) = 0 is
A(x, t) = A0sin(kx)sin(ωt + φ) (32)

If we fix the other end of the string at x = L then we must have sin(kL) = 0 which implies
π
k = n, n = 1, 2, 3, ··· (33)
L
This tells us which frequencies can be produced
π
ωn = vkn = v n, n = 1, 2, 3, ··· both ends fixed (34)
L
This is the spectrum for 2 Dirichlet boundary conditions.
Next, consider having the end at x = 0 fixed but the end at x = L free. To figure out what
happens if the end is free, we have to go back to our picture

Now there is no line connected A(x) to A(x + ∆x). Then, Fright = 0 and Eq. (6) becomes
∂A
Ftotal = Fleft + Fright = T (35)
∂x
So, Eq. (8) becomes
T ∂A ∂ 2A
= ∆x 2 (36)
µ ∂x ∂t
6 Section 4

∂A
In this case if we take ∆x to 0 we see that ∂x
→ 0. Thus a free end must satisfy

∂A(L, t) (37)
=0
∂x
This is known as a free, open, or Neumann boundary condition.
Now using the x = 0 fixed solution, Eq. (32), the Neumann condition at x = L implies
∂A(L, t)
0= = kA0cos(kL)sin(ωt + φ) (38)
∂x
For this to holdat all times, cos(k L) must be at a zero of the cosine curve. Now, cos(x) = 0
1
when x = n + 2 π. Thus,

1
n+ 2 one fixed end, one free end (39)
ωn = v π, n = 0, 1, 2, 3 ,
L
This solution says that the lowest frequency is
1
ω1 1 2 1 v
ν0 = = v = (40)
2π 2 L 4 L
the next frequency up is
1
1 1+ 2 3 ν
ν1 = v = = 3ν0 (41)
2 L 4L
and so on. Thus the even harmonics are missing!! This has dramatic consequences for instru-
ments like the trumpet and the clarinet.
Finally, if x = 0 is free, we must have A(x, t) = A0cos(kx)sin(ωt + φ). Then, if x = L is also
free, we find sin(kL) = 0 which implies
n
ωn = v π, n = 0, 1, 2, 3 , both ends free (42)
L
The only difference between both free ends solution and both fixed end solution is that for free
ends n = 0 is allowed. However, the n = 0 solution is A(x, t) = const which has k = ω = 0 thus it
is not physically interesting.
Here are the lowest harmonics with different boundary conditions

Figure 2. Frequencies allowed for different boundary conditions

If the fundamental note (lowest frequency) is ν, then we find

lowest next second third


both fixed ν 2ν 3ν 4ν
(43)
one fixed, one free ν 3ν 5ν 7ν
both free ν 2ν 3ν 4ν
Helmholtz resonators (optional) 7

What are the implications for this? Well for one thing different instruments correspond to
different boundary conditions. String instruments have both ends fixed. Woodwinds and brass
have one end open. A flute has both ends free. The absence of the even harmonics is one of the
reasons that clarinets tend to sound eerie. Many of the complications in the designs of brass
instruments help restore the even harmonics. This is explained well in Rick Heller’s book. See
for example this figure from page 317: (don’t worry too much about understanding this picture
now – it will make more sense after the next lecture, on music, but it naturally falls in to this
lecture):

5 Helmholtz resonators (optional)


An important object in the physics of sound is the resonance chamber or Helmholtz res-
onator. Helmholtz resonators are hollow cavities with small openings, like a bottle or a violin
body. They work because the volume of the air in the body cannot change, thus pushing down
on the air in the neck forces the air in the body to push back with essentially a linear restoring
force, like a spring. The setup is like this
8 Section 5

Figure 3. In a Helmholtz resonator, the air in the neck acts like a mass and the air in the base acts like
a spring. Figure taken from Fig 13.1 of Heller.

q
k
To work out the resonant frequency for a Helmholtz resonator we can use ω = m
. We can
extract the spring constant k from F = −k ∆x . For pressure, F = A · dp, where A is the area, in
m
this case the cross sectional area of the neck. Now, ρ = V so

d m m dV
 
dρ = dV = − 2 dV = −ρ (44)
dV V V V
dp p
Also using Eq. (16), dρ
= γ ρ for sound waves, we have

dp p p
dp = dρ = γ dρ = −γ dV (45)
dρ ρ V
Now, dV = A∆x and so
p
F = A · dp = −γA2 ∆x (46)
V
Thus
p ρ
k = γA2 = A2c2s (47)
V V

The mass on which the spring acts is the air in the neck. It has mass m = ρAL, thus
r r r
k A2c2s ρ/V A
ω= = = cs (48)
m ρAL VL

Thus Helmholtz resonators resonate at a single frequency


r
c A
ν= s (49)
2π VL

where A is the area of the opening, L is the length of the neck, and V is the volume of the
cavity.
m
For example, consider a 10 cm wide jar with a 10 cm long neck. Using v = 343 s , A = 1cm2,
c
L = 1cm, V = 1 L = 1000cm3, we find ν = 172Hz. The associated wavelength in air is λ = νs =
2 m. Note that the wavelength of sound in the resonator is much larger than the size of the res-
onator.
Helmholtz resonators (optional) 9

Since Helmholtz resonators have only one frequency, they have no harmonics (no overtones).
However, they can have low Q values. Indeed, if you blow on a bottle, you see that the sound
does not resonate for long at all. This is good, if you are building an instrument, since you want
all the audible frequencies to resonate. On a violin, the vibrations are produced on the strings,
transmitted to the wooden body of the violin through the bridge (the part of the violin which
connects the strings to the body). The body then vibrates, exciting the air in the body which
emits sound through the holes. I can’t describe the function of the body of a violin better than
Heller. Here’s his description [Heller, p. 267]
Helmholtz resonators can be used as transducers, turning mechanical energy into
sound energy. A prime example is the violin. The violin body is basically a box
containing air, with the f-holes opening to the outside. It functions deliberately as
a Helmholtz resonator, enhancing the low frequency response of the violin, giving
it much of its richness of tone...

The violin body’s broad Helmholtz resonance peaks around 300 Hz. No doubt the
shape thin but long holes serve to increase air friction and thus lower the Q of the
Helmholtz mode, spreading the resonance over a broader frequency range. This
props up the transduction of string vibrations into sound down to the frequency of
the open D string [ν ∼ 300Hz].

You might also like