There are all sorts of resonances around us, in the world, in our culture, and in our technology. A tidal resonance causes the 55 foot tides in the Bay of Fundy. Mechanical and acoustical resonances and their control are at the center of practically every musical instrument that ever existed. Even our voices and speech are based on controlling the resonances in our throat and mouth. Technology is also a heavy user of resonance. All clocks, radios, televisions, and gps navigating systems use electronic resonators at their very core. Doctors use magnetic resonance imaging or MRI to sense the resonances in atomic nuclei to map the insides of their patients. In spite of the great diversity of resonators, they all share many common properties. In this blog, we will delve into their various aspects. It is hoped that this will serve both the students and professionals who would like to understand more about resonators. I hope all will enjoy the animations.

For a list of all topics discussed, scroll down to the very bottom of the blog, or click here.

Origins of Newton's laws of motion

Non-mathematical introduction to relativity

Three types of waves: traveling waves, standing waves and rotating waves new

History of mechanical clocks with animations
Understanding a mechanical clock with animations
includes pendulum, balance wheel, and quartz clocks

Water waves, Fourier analysis



Showing posts with label standing waves. Show all posts
Showing posts with label standing waves. Show all posts

Monday, February 4, 2008

Complex phasor representation of a standing wave

Standing waves and resonances are at the heart of musical instruments, electronic technology, and atomic systems. In this posting we examine standing waves in another dimension, adding the complex dimension. In the last posting, we introduced standing waves. We examined the phasors for standing waves at isolated points along the wave. We can extend this to a continuous representation of the phasors, similar to what we did for traveling waves in the posting on Waves using complex phasors.

The animation below as it initially starts, shows a single traveling wave in a rope in front of a gridded wall. We are assuming that there is no reflection of waves at the far end, in all aspects of this animation. Mouse over the animation to start it, and mouse off to suspend it, and back on again to allow it to continue. This is useful if you want to examine it stopped. You can click on the animation to cause the waves to be restarted from zero. If you click on "right", a traveling wave will be launched from the right. The "both" button will give you two traveling waves, traveling in opposite directions. Once they meet and interfere, you will see a standing wave as discussed in the last posting Superposition and standing waves.

The man and woman are holding on to either ends of the rope. Waves on the rope are the only "real" waves in this animation. The rest of the "waves", that you are about to examine, are waves in the phasors, which in turn are just a way of keeping track of waves, but are not real, physical waves themselves...just like a clock face is not the time, but it shows a representation of the time. On the other hand, even though waves in phasors are not physical waves, understanding them is central to the understanding of waves.

If you turn on (click on) "both" and "components", you will see the two traveling waves that make up a standing wave. As before, you can observe the two traveling waves sliding in opposite directions to cause (or add up to) the standing wave. As before, the appearance of the two traveling waves is quite different than the standing wave. The traveling waves maintain their shapes as they slide along, while the standing wave does not move, but oscillates in place. I should state again, that only the wave on the gray rope is real or physical. The pink and bluish "waves" show what you would observe if you had only one of the traveling waves. The two waves represent the mathematical dissection of the standing wave.


Click "components" again to turn off that feature for a minute. Now click on "phasors". This will show you a continuous helical representation of the complex phasor of the wave, similar to that seen in Waves using complex phasors. I show phasor diagrams every so often on the x axis. In principle there should be a phasor diagram for every possible point on the x axis, but that would obscure the phasor waves. Alternately, I could have not shown the phasor diagrams and said the phasor wave is plotted in a special "space", where one axis is imaginary displacement of the wave, one is the real displacement of the wave, and one is the propagation direction. To see such a plot of the phasor wave in this special space, click on "phasor dials" to hide the phasor diagrams.

When the animation starts afresh, (click on it to restart it if needed) and if the "left" or the "right" button is activated, a helical phasor wave will be launched from the appropriate end. This phasor wave represents the loci of all the tips of the phasor vectors in the phasor diagrams for varying x and time. When "both" is active, helical phasor waves are launched from both ends and come together in the center to interfere. What results is quite unintuitive. It is not at all a helix. Instead, the resulting phasor wave lies entirely in a plane, a plane that rotates about the axis of propagation. It looks like the standing wave at its maximum (see the standing wave to the left of the phasor) but now instead of oscillating in place, the complex phasor wave spins around the x axis. The phasor looks a bit like a potato masher twisting along its axis. This illustrates on of the important features of a standing wave, that the phase is the same (or 180° different, equivalent to a minus amplitude) at all point along it. This phase changes in time, but it is not a function of position, as it is with a traveling wave.

If you read the labeling on the phasor diagram axes carefully, you will see that we have twisted the axes of the complex plane by 90° from the normal orientation; so that the real axis is vertical. In this orientation, the actual standing wave is the projection of the phasor wave, projected to the left. That is to say, the actual wave is like a shadow of the phasor if the light were coming in horizontally and casting the shadow of the phasor onto the vertical tiled surface.

You can now turn on the "components". The result is somewhat complicated .... quite a tangle so don't be too disappointed if you have trouble following my explanation. If you skipped some of the discussion above, you might want to revisit it. You need to understand that before working on the full complexity of phasors with the components showing. It also might be useful to mouse off the animation from time to time to stop it and examine all the details better. The animation shows the red and blue helical phasor waves for the two traveling waves, in addition to their sum, the standing wave. Note that there are red and blue vectors on the phasor diagrams (the "phasor dial" need to be on to see this). If you study the animation carefully in this setting, you will see that the phasor wave of one component is a helix traveling in one direction, and that of the other traveling wave is a helix traveling in the other direction. At any particular plane, for example, at one of the planes of the phasor diagrams, the three waves are represented by vectors, all of which are rotating in the same direction (counterclockwise) and at the same rotational speed. At different phasor diagrams, the angle between the red and blue vectors differ and consequently their sum varies.

You may have noticed that the wave motion slows down when the "phasor" button is activated and that the "components" slow it down even more. These additional features increase the amount of computations that your computer is doing and can result in a slower animation. A faster computer will slow down less.

The math of complex helical phasors for standing waves

In the previous posting Superposition and standing waves, we derived equations for the cosine representation of a standing wave:

.

The complex representation of the same wave was derived to be:

complex equation for a standing wave .

We see that in the cosine representation, the x function, cos κx, is multiplied by the time oscillating function, cos ωt, producing an oscillating version of the original x function. This is what we see in the animation above for the actual wave, the one on the left against the gridded wall. On the other hand, in the complex representation, the space function cos κx is multiplied by the complex rotor function eiωt. The complex rotor function has a constant magnitude of one and rotates in time in the complex plane as seen in a previous animation on Complex phasors. It is this complex rotor that is responsible for spinning the phasor in the complex plane. Thus in the complex representation, we see a constant space function rotating in the complex plane as shown in the animation above.

As is always the case, the actual wave is the real part of the complex phasor. So it makes sense that the actual wave is the horizontal projection of the complex phasor wave, remembering that our real axis is vertical.

Physical helical waves on a rope

One additional point, that I might clear up is that you can easily make an actual or physical helical wave on a rope, and also that a superposition of two such waves propagating in opposite directions looks just like the phasor wave in the animation above. You might get a rope and a friend and try this. At the same time, such a helical wave is not exactly the same thing as what we are trying to portray in the animation above. In the animation, the rightmost wave is the complex phasor wave representing the actual flat standing wave to the left. One of its axes is imaginary. The helical wave in the animation is solely a mathematical representation of a real planar wave on a rope. The complete complex phasor representation of an actual helical wave on a rope would require five dimensions and thus is very hard to illustrate. Most scientists and engineers simply write the complex formula for the phasor of this wave and stop there. If they really want a picture or animation, they would draw a complex phasor drawing for each component of the wave, that is, two complex phasor wave drawings. We'll stop here, since this is probably a little too much complication for this level. Even though these complex phasors can be difficult to draw, animate, or visualize, wave related calculations are made much easier by their use.

The animations in this posting can be downloaded free from George Mason University Archival Repository. Please read the fair use policy for this work.
© P. Ceperley, 2008.


NEXT: Reflection of waves as a process to make standing waves PREVIOUS TOPIC: Superposition and standing waves
Good references on WAVES Good general references on resonators, waves, and fields
Scroll down farther for a list of the various related topics covered in postings on this blog.

Monday, January 21, 2008

Superposition and standing waves

The animation below shows two types of waves: transverse waves on a rope and longitudinal compression (i.e. very slow acoustical) waves propagating through a line of squishy balls full of water. The compression waves are made clearer by having the color of each ball change in response to the compression of the ball, to red as a ball is compressed and to blue as it is stretched. To see the animation, mouse over it. To stop it, mouse off it. To restart it, click on it.

As the animation first opens (with only the pulse option clicked on... having a red square), it shows two short bursts of traveling waves being launched from the two ends of each wave system. At first, these bursts separately travel towards each other. At some point, they overlap and cause a complicated interference pattern. Then once they are through each other, they resume their simple sinusoidal shape and travel to the end where they are absorbed. During the interference time, we see a brief glimpse of the standing waves we will be discussing below.

If we click on "phasors" we see a phasor diagram in each of the balls, showing the "state of the wave" at each point along the medium. Just to remind you, a phasor is a vectorial diagram showing the amplitude and phase of a sinusoidal wave at a particular point. The phasor in a particular ball is correct, both for the longitudinal wave going through that ball and for the transverse wave in the rope directly above the ball. The phasor diagrams normally would be drawn so they are stationary, but we took artistic liberties on this, having them move back and forth with each ball. They also compress and stretch with the balls.

We can use the animation to understand the phasors and the waves they represent in three regions:

  • In the non-interfering part of the wave, i.e. inside the pure traveling wave part, we see that the amplitudes (magnitude or length of the vectors) are constant, while the phases (the angles of the phasors) are continually changing, i.e. the phasors constantly rotate in a counter-clockwise direction.
  • Where there is no wave, the magnitudes are zero. The angles, i.e. phases, are indeterminate since the vectors have zero lengths.
  • In the interference zone, the phasors have different magnitudes at the different points and they also still rotate.

If we click "components" we now see extra red and blue ropes once the waves are launched. Note that in the sections with no waves, all three colored ropes are bunched together and hard to distinguish. The red rope shows only the wave launched from the left, while the blue one shows the wave launched from the right. The black rope shows the sum of the two waves. That is, at each point in the horizontal direction, if we sum (for a particular x value) the deflections of the red and blue ropes, we will get the deflection of the black rope. This is the principle of superposition, that in a linear system, such as these, when two waves travel through each other, the response of the medium is just to add the deflections of the two waves at each point. We also see that in the interference region, the phasors now show red and blue vectors in addition to the black one. Note that in each ball, the black vector is the vector sum of the red and blue vectors. Note also that the red phasor is the correct phasor for the red rope's wave, and the blue one is correct for the blue wave. Because the red phasor is in front of the blue one which is in front of the black one, the red tip is made a little smaller than the blue tip which is smaller than the black tip to allow you to see a little of all of them when they are together. At the same time, they are very small and it takes sharp eyes to distinguish them in this case. For example, you will have to look very closely to see the red and blue phasors in the interference region at the very center where all three vectors are aligned.

    Animation showing the process of superposition of two traveling waves to make a standing wave

If we click the "continuous" button, a continuous sinusoidal wave will be launched from the two ends (this may take a bit of time to get started). At first, we see two waves traveling towards each other and interfering. In time, the interference zone takes over the whole space. When this happens, we have what is called a standing wave on the black rope. A standing wave results from the superposition of two traveling waves. You can probably see the standing wave best by unclicking the "components", i.e. just click on "components" again to turn off its red indicator.

  • A standing wave has a different appearance from a traveling wave.
    • A traveling wave keeps its shape and appears to slide along (focus on just the red wave to see the "sliding" of a pure traveling wave).
    • A standing wave, the black wave, oscillates in place and appears stationary.
  • A standing wave has "nodes", places where the wave amplitude is zero, pointed out on the animation above by the stationary black arrows.
  • It also has "anti-nodes" half way between the nodes where the wave oscillates at its maximum amplitude.
  • This author prefer the terms "zeroes" and "maxima" instead of nodes and anti-nodes.

Looking at the waves on the rope, we can understand the mechanics of the standing wave formation. The red and blue traveling wave, propagate to the right and left, respectively (click again on "components" to see this and focus on the red or blue wave). The zeroes (nodes) are located at points where the red and blue waves are mirror images of each other and cancel, producing zero sums at these locations. We see in the phasors, below the zeroes, that the red and blue vectors (or phasors) are pointing in opposite directions (180° apart) and the black sum vector is zero, and therefore not visible.

The maximums (anti-nodes) occur where the two traveling waves equal each other. When the red wave is maximum, the blue wave is also maximum at these points. It is rather fascinating to center your attention on a maximum and watch the red and blue waves slide in a symmetrical way towards this point from opposite directions. A look at the phasors below these point reveals red and blue vectors pointing in the same direction, which is also the direction of their sum, the black phasor. As pointed out before, when the vectors are aligned it takes a sharp eye to distinguish the individual vectors. At these maximums (anit-nodes), the red and blue waves are "in phase" with each other, have 0° phase difference, and add in a maximal way.

At other points besides the zeroes and maximums, the phase shift is somewhere between 0° and 180°. At these points, you can see all three vectors: the red, blue, and black (sum) ones. Note that the phasors in all the balls rotate counterclockwise. Also note that the black, sum phasors, all are pointing in the same, or in exact opposite, directions at any point in time (mouse off the animation to freeze the motion). On the other hand, the traveling waves (such as the red or blue waves) have phasors that vary in direction along the length of the wave.

Math of standing waves done with cosines

The cosine equations for transverse traveling waves propagating in the positive and negative directions are

    .

The similar equations for the pressure in longitudinal compression (acoustical) waves are

    .

A standing wave is a superposition of two equal traveling waves, propagating in opposite directions and is given by the sum of the two above waves:

.

The above is correct for transverse waves. For the compression wave, the equation is practically the same:

.

By using the cosine equation,

,

we can change these sum formulas into

.

The right most part can be rewritten with emphasize on the relevant terms as

.

Thus we see that the basic x sinusoid, cos κx, is multiplied by the time varying function 2A cos ωt. By the process of adding two shifting, traveling waves together, by interfering them, we no longer have a shifting function f(ωt ± κx), and instead have a stationary cosine whose amplitude cyclically varies with time. This is just what the animation above shows. When we have a fully developed standing wave, the magnitudes or lengths of the phasors vary in proportion to cos κx.

Almost as if by magic, two oppositely moving traveling waves interfere to produce a quite different, standing wave.

Math of standing waves with complex phasors

Complex phasors can be used to simplify the above math. We do that here, repeating the above work using complex notation for the waves.

The sum of the two oppositely moving traveling waves is

.

In contract to cosines, exponentials are easy to factor using

.

Thus our complex superposition equation becomes

.

This can be further reduced with the equation

,

which is easy to derive from Euler's formula. Using this gives

.

Just as in the cosine derivation, we end up with the conclusion that the sinusoid, cos κx, is multiplied by the time varying function 2A exp iωt. Of course there is the implied "real part of" associated with complex phasors. If we take the real part of the last equation, we get:

which is the same as the result in the cosine derivation.

If we hadn't explained all the steps, our derivation would have looked like:

.

The animations in this posting can be downloaded free from George Mason University Archival Repository. Please read the fair use policy for this work.
© P. Ceperley, 2008.


NEXT: Complex phasor representation of a standing wave PREVIOUS TOPIC: Types of waves (2D waves, EM waves, longitudinal waves)
Good references on WAVES Good general references on resonators, waves, and fields
Scroll down farther for a list of the various related topics covered in postings on this blog.