$$\require{cancel}$$

# 1.5: Analyzing Waves

### From Newton’s Laws to the Wave Equation

Everything there is to know about waves on a uniform string can be found by applying Newton’s Second Law, $$\vec{F} = m \vec{a}$$, to one tiny bit of the string.  Well, at least this is true of the small amplitude waves we shall be studying—we’ll be assuming the deviation of the string from its rest position is small compared with the wavelength of the waves being studied.  This makes the math simpler, and is an excellent approximation for musical instruments, etc.   Having said that, we’ll draw diagrams, like the one below, with rather large amplitude waves, to show more clearly what’s going on.

Let’s write down  $$\vec{F} = m \vec{a}$$  for the small length of string between x and x + Dx in the diagram above.

Taking the string to have mass density $$\mu$$ kg/m, we have $$m = \mu \Delta x$$.

The forces on the bit of string (neglecting the tiny force of gravity, air resistance, etc.) are the tensions T at the two ends.  The tension will be uniform in magnitude along the string, but the string curves if it’s waving, so the two $$\vec {T}$$ vectors at opposite ends of the bit of string do not quite cancel, this is the net force $$\vec{F}$$ we’re looking for.

Bearing in mind that we’re only interested here in small amplitude waves, we can see from the diagram (squashing it mentally in the y-direction) that both  $$\vec{T}$$  vectors will be close to horizontal, and, since they’re pointing in opposite directions, their sum—the net force  $$\vec{F}$$ —will be very close to vertical:

The vertical component of the tension  $$\vec{T}$$  at the x + Dx end of the bit of string is  $$T\space sin \space \theta$$, where  $$\theta$$  is the angle of slope of the string at that end. This slope is of course just  $$dy (x + \Delta x) /dx$$, or, more precisely,  $$dy/dxz = tan \space \theta$$.

However, if the wave amplitude is small, as we’re assuming, then $$\theta$$ is small, and we can take  $$tan \space \theta = sin \space \theta = \theta$$, and therefore take the vertical component of the tension force on the string to be  $$T \theta = Tdy(x + \Delta x) / dx$$.  So the total vertical force from the tensions at the two ends becomes

$\vec{F} = T \left( \dfrac { dy(x + \Delta x)}{dx} - \dfrac{ dy(x)}{dx} \right) \approx T \dfrac{d^2y(x)}{dx^2} \Delta x$

the equality becoming exact in the limit $$\Delta x \rightarrow 0$$.

At this point, it is necessary to make clear that y is a function of t as well as of x:  $$y = y(x,t)$$.  In this case, the standard convention for denoting differentiation with respect to one variable while the other is held constant (which is the case here—we’re looking at the sum of forces at one instant of time) is to replace $$\frac{d}{dx}$$  with $$\frac {\partial }{\partial x}$$.

So we should write:

$\vec{F} = T \dfrac{ \partial^2 y}{\partial x^2} \Delta x$.

The final piece of the puzzle is the acceleration of the bit of string: in our small amplitude approximation, it’s only moving up and down, that is, in the y-direction—so the acceleration is just $$\frac{\partial^2 y}{\partial t^2}$$, and canceling Dx between the mass $$m = \mu \Delta x$$ and $$\vec{F} = T \frac{\partial^2 y}{\partial x^2} \Delta x, \space \vec{F} = m \vec{a}$$ gives:

$T \dfrac {\partial^2 y}{\partial x^2} = \mu \dfrac{\partial^2 y}{\partial t^2}$.

This is called the wave equation

It’s worth looking at this equation to see why it is equivalent to $$\vec{F} = m \vec{a}$$.  Picture the graph $$y = y(x,t)$$, showing the position of the string at the instant t.  At the point x, the differential $$\frac{\partial y}{\partial x}$$ is the slope of the string.  The second differential, $$\frac{\partial^2y}{\partial x^2}$$, is the rate of change of the slope—in other words, how much the string is curved at x.  And, it’s this curvature that ensures the  $$\vec{T}$$’s at the two ends of a bit of string are pointing along slightly different directions, and therefore don’t cancel. This force, then, gives the mass´acceleration on the right.

### Solving the Wave Equation

Now that we’ve derived a wave equation from analyzing the motion of a tiny piece of string, we must check to see that it is consistent with our previous assertions about waves, which were based on experiment and observation.  For example, we stated that a wave traveling down a rope kept its shape, so we could write  $$y(x,t) = f(x - \nu t)$$.  Does a general function $$f(x - \nu t)$$  necessarily satisfy the wave equation?  This f is a function of a single variable, let’s call it  $$u = x - \nu t$$.  On putting it into the wave equation, we must use the chain rule for differentiation:

$\dfrac{\partial f}{\partial x} = \dfrac{ \partial f}{\partial u} \dfrac{ \partial u}{\partial x} = \dfrac{\partial f}{\partial u}, \space \space \dfrac{\partial f}{\partial t} = \dfrac {\partial f}{\partial u} \dfrac{\partial u}{\partial t} = -\nu \dfrac{\partial f}{\partial u}$

and the equation becomes

$T \dfrac{\partial^2 f}{\partial u^2} = \mu \nu^2 \dfrac{\partial^2 f}{\partial u^2}$

so the function  $$f(x - \nu t)$$  will always satisfy the wave equation provided

$\nu^2 = \dfrac {T}{\mu}$.

All traveling waves move at the same speed—and the speed is determined by the tension and the mass per unit length.  We could have figured out the equation for v2 dimensionally, but there would have been an overall arbitrary constant.  We need the wave equation to prove that constant is 1.

Incorporating the above result, the equation is often written:

$\dfrac{\partial^2 y}{\partial x^2} = \dfrac{1}{\nu^2} \dfrac{\partial^2 y}{\partial t^2}$

Of course, waves can travel both ways on a string: an arbitrary function  $$g(x + \nu t)$$ is an equally good solution.

### The Principle of Superposition

The wave equation has a very important property: if we have two solutions to the equation, then the sum of the two is also a solution to the equation.  It’s easy to check this:

$\dfrac{\partial^2 (f + g)}{\partial x^2} = \dfrac{ \partial^2 f}{\partial x^2} + \dfrac{ \partial^2 f}{\partial x^2} = \dfrac{1}{\nu^2}\dfrac{\partial^2 f}{\partial t^2} + \dfrac{1}{\nu^2} \dfrac{\partial^2 g}{\partial t^2} = \dfrac{1}{\nu^2} \dfrac{ \partial^2(f + g)}{\partial t^2}$.

Any differential equation for which this property holds is called a linear differential equation: note that  $$af(x,t) + bg(x,t)$$ is also a solution to the equation if a, b are constants. So you can add together—superpose—multiples of any two solutions of the wave equation to find a new function satisfying the equation.

### Harmonic Traveling Waves

Imagine that one end of a long taut string is attached to a simple harmonic oscillator, such as a tuning fork—this will send a harmonic wave down the string,

$f(x - \nu t) = A \space sin \space k(x- \nu t),$

The standard notation is

$f(x - \nu t) = A \space sin \space (kx - \omega t)$

where of course

$\omega = \nu k$.

More notation: the wavelength of this traveling wave is $$\lambda$$, and from the form  $$A \space sin \space (kx - \omega t)$$, at say $$t = 0$$,

$k\lambda = 2 \pi$.

At a fixed x, the string goes up and down with frequency given by  $$sin \space \omega t$$, so the frequency f in cycles per second (Hz) is

$f = \dfrac{\omega}{2\pi} Hz.$

Now imagine you’re standing at the origin watching the wave go by.  You see the string at the origin do a complete up-and-down cycle f times per second.  Each time it does this, a whole wavelength of the wave travels by.  Suppose that at t = 0 the wave, coming in from the left, has just reached you.

Then at t = 1 second, the front of the wave will have traveled f wavelengths past you—so the speed at which the wave is traveling

$\nu = \lambda f \space meters \space per \space second.$

### Energy and Power in a Traveling Harmonic Wave

If we jiggle one end of a string and send a wave down its length, we are obviously supplying energy to the string—for one thing, as the wave moves down, bits of the string begin moving, so there is kinetic energy.  And, there’s also potential energy—remember the wave won’t go down at all unless there is tension in the string, and when the string is waving it’s obviously longer than when it’s motionless along the x-axis.  This stretching of the string takes work against the tension T equal to force times distance, in this case equal to the force T multiplied by the distance the string has been stretched.  (We assume that this increase in length is not sufficient to cause significant increase in T.  This is usually ok.)

For the important case of a harmonic wave traveling along a string, we can work out the energy per unit length exactly.  We take

$y(x,t) = A \space sin \space (kx - \omega t)$

If the string has mass $$\mu$$ per unit length, a small piece of string of length  $$\Delta x$$  will have mass  $$\mu \Delta x$$, and moves (vertically) at speed  $$\frac {\partial y}{\partial t}$$, so has kinetic energy $$(\frac{1}{2}) \mu \Delta x (\frac{\partial y}{\partial t})^2$$, from which the kinetic energy of a length of string is

$K.E. = \int \frac{1}{2} \mu \left( \dfrac{ \partial y}{\partial t} \right)^2 dx$

For the harmonic wave  $$y(x,t) = A \space sin \space (kx - \omega t)$$,

$K.E. = \int \frac{1}{2} \mu A^2 \omega^2 \space cos^2 \space(kx - \omega t) dx$

and since the average value  $$\overline{ cos^2 \space (kx - \omega t)} = \frac{1}{2}$$, for a continuous harmonic wave the average K.E. per unit length

$\overline{ K.E.} /meter = \frac{1}{4} \mu \omega^2 A^2$.

To find the average potential energy in a meter of string as the wave moves through, we need to know how much the string is stretched by the wave, and multiply that length increase by the tension T.

Let’s start with a small length  $$\Delta x$$ of string, and suppose that the change in y from one end to the other is  $$\Delta y$$:

The string (red) is the hypotenuse of this right-angled triangle, so the amount of stretching  $$\Delta l$$ of this length $$\Delta x$$ is how much longer the hypotenuse is than the base  $$\Delta x$$.

So

$\Delta l = \sqrt{(\Delta x)^2 + (\Delta y)^2} - \Delta x = \Delta x \sqrt{ 1 + (\Delta y/\Delta x)^2} - \Delta x$

Remembering that we’re only considering small amplitude waves, $$\Delta y / \Delta x$$ is going to be small, so we can expand the square root using the result

$\sqrt{1 + x} \approx 1 + \dfrac{1}{2}x \space for \space small \space x$

to find

$\Delta l \approx \dfrac{1}{2} \left(\dfrac {\Delta y}{\Delta x} \right)^2 \Delta x$

To find the total stretching of a unit length of string, we add all these small stretches, taking the limit of small  $$\Delta x's$$ to find

$\dfrac {P.E.}{meter} = \int \dfrac {1}{2} T \left(\dfrac {\partial y}{\partial x} \right)^2 dx = \int \dfrac {1}{2} TA^2 k^2 \space cos^2 \space (kx - \omega t) dx.$

Now, just as for the kinetic energy discussed above, since  $$\overline{ cos^2 (kx - \omega t)} = \frac{1}{2}$$, the average potential energy per meter of string is

$\dfrac{\overline{P.E.}}{meter} = \dfrac{1}{4} Tk^2 A^2 = \dfrac{1}{4} \mu \omega^2 A^2, \space since \space \omega = \nu k \space and \space \nu^2 = \dfrac{T}{\mu}$

That is to say, the average potential energy is the same as the average kinetic energy.  This is a very general result: it is true for all harmonic oscillators (excepting the case of heavy damping).

Finally, the power in a wave traveling down a string is the rate at which it delivers energy at its destination.  Adding together the kinetic and potential energy contributions above,

$\dfrac{\overline{ total \space energy}}{meter} = \dfrac{1}{2} \mu \omega^2 A^2.$

Now, if the wave is traveling at v meters per second, and being totally absorbed at its destination (the end of the string) the energy delivered to that end in one second is all the energy in the last v meters of the string.  By definition, this is the power: the energy delivered in joules per second, That is

$power = \dfrac{1}{2} \nu \space \mu \omega^2 A^2$

### Standing Waves from Traveling Waves

An amusing application of the principle of superposition is adding together harmonic traveling waves moving in opposite directions to get a standing wave:

$A\space sin\space(kx - \omega t) = 2A\space sin \space kx\space cos\space \omega t$

You can easily check that  $$2A\space sin\space kx\space cos\space \omega t$$  is a solution to the wave equation (provided  $$\omega = \nu k$$, of course) and it is always zero at points x satisfying $$kx = n\pi$$, so for a string of length L, fixed at the two ends, the appropriate k are given by  $$kL = n\pi$$.

The longest wavelength standing wave for a string of length L fixed at both ends has wavelength  $$\lambda = 2L$$, and is termed the fundamental.

The x-dependence of this wave, sin kx,  is clearly  $$sin\space (\frac{\pi x}{L} )$$, so  $$k = \frac{\pi}{L}$$.

The radial frequency of the wave is given by  $$\omega = \nu k$$, so  $$\omega = \frac{\nu\pi}{L}$$  and the frequency in cycles per second, or Hz, is

$f = \dfrac {\omega}{2\pi} = \dfrac {\nu}{2L} \space Hz.$

(This is the same as the frequency  $$f = \frac{\nu}{\lambda}$$ of a traveling wave having the same wavelength.)

Here’s a realization of the superposition of two traveling waves to form a standing wave using a spreadsheet:

Here the red wave is  $$A\space sin\space (kx - \omega t)$$  and moves to the right, the green  $$A \space sin\space (kx + \omega t )$$  moves to the left, the black is the sum of the two and its oscillations stay in place.

But this represents just one instant!  To see the full development in time—which you need to do to get real insight into what’s going on—download the spreadsheet from http://galileo.phys.virginia.edu/classes/152.mf1i.spring02/WaveSum.xls ,then click and hold at the end of the slider bar to animate.

Exercise:  How do you think the black wave will move if the red and green have different amplitudes?  Predict it: then try it on the spreadsheet.  You might be surprised! (Try different ratios of the wave amplitudes: say, 1.1, 1.5, 2, 5.)