[Notes on Diffy Qs home] [PDF version] [Buy cheap paperback version]
[next] [prev] [prev-tail] [tail] [up]
Note: 1–2 lectures, §10.3 in [EP], not in [BD]
Suppose that we have a guitar string of length
. We have studied the wave equation problem in this case, where
was the position on the string,
was time and
was the displacement of the string. See Figure 5.3.
The problem is governed by the equations
![]() |
(5.6) |
We saw previously that the solution is of the form
|
|
where
and
were determined by the initial conditions. The natural frequencies of the system are the (circular) frequencies
for integers
.
But these are free vibrations. What if there is an external force acting on the string. Let us assume say air vibrations (noise), for example a second string. Or perhaps a jet engine. For simplicity, assume nice pure sound and assume the force is uniform at every position on the string. Let us say
as force per unit mass. Then our wave equation becomes (remember force is mass times acceleration)
|
|
(5.7) |
with the same boundary conditions of course.
We want to find the solution here that satisfies the above equation and
|
|
(5.8) |
That is, the string is initially at rest. First we find a particular solution
of (5.7) that satisfies
. We define the functions
and
as
|
|
We then find solution
of (5.6). If we add the two solutions, we find that
solves (5.7) with the initial conditions.
So the big issue here is to find the particular solution
. We look at the equation and we make an educated guess
|
|
We plug in to get
|
|
or
after canceling the cosine. We know how to find a general solution to this equation (it is a nonhomogeneous constant coefficient equation). The general solution is
|
|
The endpoint conditions imply
. So
|
|
or
, and also
|
|
Assuming that
is not zero we can solve for
to get
![]() |
(5.9) |
Therefore,
![]() |
The particular solution
we are looking for is
![]() |
Now we get to the point that we skipped. Suppose that
. What this means is that
is equal to one of the natural frequencies of the system, i.e. a multiple of
. We notice that if
is not equal to a multiple of the base frequency, but is very close, then the coefficient
in (5.9) seems to become very large. But let us not jump to conclusions just yet. When
for
even, then
and hence we really get that
. So resonance occurs only when both
and
. That is when
for odd
.
We could again solve for the resonance solution if we wanted to, but it is, in the right sense, the limit of the solutions as
gets close to a resonance frequency. In real life, pure resonance never occurs anyway.
The above calculation explains why a string will begin to vibrate if the identical string is plucked close by. In the absence of friction this vibration would get louder and louder as time goes on. On the other hand, you are unlikely to get large vibration if the forcing frequency is not close to a resonance frequency even if you have a jet engine running close to the string. That is, the amplitude will not keep increasing unless you tune to just the right frequency.
Similar resonance phenomena occur when you break a wine glass using human voice (yes this is possible, but not easy2) if you happen to hit just the right frequency. Remember a glass has much purer sound, i.e. it is more like a vibraphone, so there are far fewer resonance frequencies to hit.
When the forcing function is more complicated, you decompose it in terms of the Fourier series and apply the above result. You may also need to solve the above problem if the forcing function is a sine rather than a cosine, but if you think about it, the solution is almost the same.
Example 5.3.1: Let us do the computation for specific values. Suppose
and
and
and
. Then
|
|
Write
for simplicity.
Then plug in
to get
|
|
and after differentiating in
we see that
.
Hence to find
we need to solve the problem

|
|
(5.10) |
It is not hard to compute specific values for an odd extension of a function and hence (5.10) is a wonderful solution to the problem. For example it is very easy to have a computer do it, unlike a series solution. A plot is given in Figure 5.4.
Let
be the temperature at a certain location at depth
underground at time
. See Figure 5.5.
The temperature
satisfies the heat equation
, where
is the diffusivity of the soil. We know the temperature at the surface
from weather records. Let us assume for simplicity that
|
|
For some yearly mean temperature
, then
is midsummer (you can put negative sign above to make it midwinter if you wish).
gives the typical variation for the year. That is, the hottest temperature is
and the coldest is
. For simplicity, we will assume that
. The frequency
is picked depending on the units of
, such that when
, then
.
It seems reasonable that the temperature at depth
will also oscillate with the same frequency. This, in fact, will be the steady periodic solution, independent of the initial conditions. So we are looking for a solution of the form
|
|
for the problem
|
|
(5.11) |
We will employ the complex exponential here to make calculations simpler. Suppose we have a complex valued function
|
|
We will look for an
such that
. To find an
, whose real part satisfies (5.11), we look for an
such that
|
|
(5.12) |
Exercise 5.3.3: Suppose
satisfies (5.12). Use Euler’s formula for the complex exponential to check that
satisfies (5.11).
Substitute
into (5.12).
|
|
Hence,
|
|
or
|
|
where
. Note that
so you could simplify to
. Hence the general solution is
|
|
We assume that an
that solves the problem must be bounded as
since
should be bounded (we are not worrying about the earth core!). If you use Euler’s formula to expand the complex exponentials, you will note that the second term will be unbounded (if
), while the first term is always bounded. Hence
.
Exercise 5.3.4: Use Euler’s formula to show that
is unbounded as
, while
is bounded as
.
Furthermore,
since
. Thus
. This means that
|
|
We will need to get the real part of
, so we apply Euler’s formula to get
|
|
Then finally
|
|
Yay!
Notice the phase is different at different depths. At depth
the phase is delayed by
. For example in cgs units (centimeters-grams-seconds) we have
(typical value for soil),
. Then if we compute where the phase shift
we find the depth in centimeters where the seasons are reversed. That is, we get the depth at which summer is the coldest and winter is the warmest. We get approximately 700 centimeters, which is approximately 23 feet below ground.
Be careful not to jump to conclusions. The temperature swings decay rapidly as you dig deeper. The amplitude of the temperature swings is
. This function decays very quickly as
(the depth) grows. Let us again take typical parameters as above. We will also assume that our surface temperature swing is
Celsius, that is,
. Then the maximum temperature variation at 700 centimeters is only
Celsius.
You need not dig very deep to get an effective “refrigerator,” with nearly constant temperature. That is why wines are kept in a cellar; you need consistent temperature. The temperature differential could also be used for energy. A home could be heated or cooled by taking advantage of the above fact. Even without the earth core you could heat a home in the winter and cool it in the summer. The earth core makes the temperature higher the deeper you dig, although you need to dig somewhat deep to feel a difference. We did not take that into account above.
Exercise 5.3.5: Suppose that the forcing function for the vibrating string is
. Derive the particular solution
.
Exercise 5.3.6: Take the forced vibrating string. Suppose that
,
. Suppose that the forcing function is the square wave that is 1 on the interval
and
on the interval
. Find the particular solution. Hint: You may want to use result of Exercise 5.3.5.
Exercise 5.3.7: The units are cgs (centimeters-grams-seconds). For
,
,
. Find the depth at which the temperature variation is half (
degrees) of what it is on the surface.
Exercise 5.3.101: Take the forced vibrating string. Suppose that
,
. Suppose that the forcing function is a sawtooth, that is
on
extended periodically. Find the particular solution.
Exercise 5.3.102: The units are cgs (centimeters-grams-seconds). For
,
,
. Find the depth at which the summer is again the hottest point.
2Mythbusters, episode 31, Discovery Channel, originally aired may 18th 2005.