Class content > Oscillations and Waves > Harmonic Oscillation
Prerequisites:
The oscillatory motion of a system around a stable point is one of the most important single examples in physics. It is the basis for understanding a wide range of systems and phenomena including mechanical oscillations, electrical circuits, resonance, and is even at the heart of the basic theory of photons  quantum field theory. In this page, we will start with the simplest example of an oscillating system  a mass and a spring.
What's going on in an oscillation
There are three core ideas to the idea of oscillation:
 There is a stable point to motion of the object. If put there, it will stay, so there is no net force at that point.
 If the object is displaced in any direction from the stable point there is a growing force acting to bring it back to the stable point.
 As the object approaches the stable point it gains speed. Since the force on the object vanishes at the stable point, there is nothing to stop it and it keeps on going through; so it overshoots the stable point and the force begins to build to bring it back.
The combination of stable point, restoring force, and overshoot are the components needed to create an oscillation.
The horizontal mass/spring system
The essence of an oscillation is a restoring force and the overshoot arising from inertia. As a result, the simplest example we can construct is a spring  that provides a linear restoring force that vanishes at the stable resting point  and a mass  that provides the inertia that keeps the mass going. To set this up physically, we will imagine a small massive cart rolling on (those famous) frictionless wheels attached to a (n equally famous) massless spring.* We show a representation of the system in the figure at the right. 

We'll assume that the mass of the cart is much greater than the mass of the spring, that the wheels have negligible friction, and that the spring is well approximated (at least for the stretches we intend to consider, by Hooke's law: T = kΔL, where ΔL is the amount the spring is stretched away from its rest length. To simplify the math, we will choose our coordinate system so that the 0 of our position coordinate is when the cart is at the rest length.
Here's what we have to do to make sense of what happens:
 Pay careful attention to time. As the cart moves, everything changes. Newton 0 tells us that to figure out what is happening, we have to look at each particular instant.
 At each instant of time the cart has a position x and a velocity v.
 At that instant of time we have to figure out the net force the cart feels. At this point, F^{net} is just the force of the spring, since the vertical forces (normal and weight) cancel and we are ignoring friction (for now).
 At that instant of time, F^{net} causes the velocity to change according to Newton's second law:
Think through a situation in which the cart is pulled out to a positive position where x > 0 but v = 0. When the cart is released, what happens? Follow it through one full oscillation.
* We are OK to ignore the mass of the spring if the cart is much more massive than the spring. Also, it helps conceptually to separate the force idea and the inertia idea in separate objects. We could in fact include the mass of the spring, but it makes the problem mathematically rather difficult and what we are looking for here is a simple example that helps us think about what's happening when a system oscillates.
The math of the harmonic oscillator
If we make a freebody diagram for our cart, the vertical forces (weight and normal force) cancel leaving only the force of the spring acting on the cart. This is proportional to the amount the spring is stretched or squeezed. And the way we have set up the coordinate system gives us that F = kx with the negative sign indicating that when the cart is extended to the right (spring is stretched) the force is to the left and vice versa. The result is that N2 becomes the equation
a = F/m = kx/m = (k/m)x
or, since the acceleration is the second derivative of the position,
So this tells us that the second derivative of x is proportional to x times a constant. What kind of object is this constant? We can see from the structure of the equation that it has to look like the product of two inverse times: the second derivative of x is an acceleration so it is a rate of change of velocity  a change in (change in position per unit time) per unit time. We expect it to have a dimensionality 1/T^{2}. Let's check to see that this works. Here are the dimensionalities of the various quantities involved:
[m] = M
[k] = [F/x] = [ma/x] = ML/(LT^{2}) = M/T^{2}
[k/m] = M/(MT^{2}) = 1/T^{2}
In physics we often give quantities names that clue us in as to what kind of quantity a parameter looks like, that is, what dimensions it has. We have a couple of choices here  we could define a time period, but it turns out to be more convenient to treat this combination like the square of an angular velocity. An angular velocity has units of radian/sec (dimensionality of 1/T). Angular velocity is often given the symbol "omega" (ω) so we will define
We put a subscript "0" on it to show it is a value, not a variable. With this definition, Newton's second law becomes:
or
So up to a constant, x is a function of t whose second derivative looks like the negative of itself. You've seen this in your calculus course. We can make it look more like calculus by combining the ω_{0} with the time to get a dimensionless variable, τ = ω_{0}t. (Check the dimensions of this for yourself. Our equation then becomes:
This is pretty simple. It looks like the calculus equation "d^{2}f/dx^{2} = f" (but with different independent and dependent variables). It tells us we are looking for some function (of tau) whose second derivative is the negative of itself. You should recognize that both the sine and cosine functions satisfy this. We'll work with cosine for now, but in general we could have any sum of the two.
So our first guess at a solution is x = cos(τ). This doesn't quite work because the left and right side have different units. On the left, x is a distance, while the right side is unitless. This suggests to us that a better answer would be x = A cos(τ) where A is some distance. This would give us a final solution to Newton's law of motion:
x(t) = A cos(ω_{0}t).
(The "(t)" after the x just reminds us that x is a function of t.) This is a satisfactory solution as far as units go: ω_{0}t is dimensionless so it can be an angle (and you have to take cosine of a dimensionless quantity), and the result is a length. Now let's see how to interpret them physically.
Interpreting the solution
The result of our analysis gives a graph of the position that looks like this: just a cosine curve.
But we need to interpret the physical parameters of what the mass is doing.
The amplitude
Clearly, at t = 0, x is positive and at its maximum value. And since the slope (v = dx/dt) at t = 0 is 0, the mass has been pulled out, held at rest and released. It the oscillates down to 0, continues through and goes to compress the spring by an equal amount that it was stretched and comes back. Then it continues to repeat. Let's name the various parameters of the motion.
From looking at our equation, and knowing that cos oscillates between 1 and +1, we can see that x will vary from A to A. Our parameter A is therefore the amplitude of the oscillation  the maximum extension it travels from rest in both directions.
The period
That's the spatial parameter. What about the temporal one? Since cosine continues to oscillate as its argument gets larger and larger (see Trig Functions for Large Values of the Argument) it repeats the same motion over and over. This makes sense since after one oscillation the same initial conditions are repeated and, since we are assuming no friction or loss of energy, once we come back to our starting point the forces will make it do the same thing once again. Therefore, the time it takes to complete one oscillation is an important parameter. This is called the period and is marked on the figure at T. But we don't have a T in our equation that describes the motion. We'll have to do a little more work to figure how it relates.
For cos θ to go through one full oscillation, θ has to vary from 0 to 2π (in radians). Our argument of cosine must do the same thing to go through one full oscillation; so as t goes from 0 to T, ω_{0}t has to go from 0 to 2π. This tells us that we must have
ω_{0}T = 2π
or
T = 2π/ω_{0.}
This tells us what ω_{0} is really doing for us  it's setting the period of the oscillation. Putting in our value for ω_{0} in terms of the original parameters, we get
This makes good sense, since if we have a bigger mass (bigger m), we expect it to move more slowly and have a longer period, and if we have a stronger spring (bigger k) we expect it to move more quickly and have a shorter period.
The phase shift
We have to deal with one more issue: we don't always get to start the mass at its maximum positive displacement at time t = 0. Sometimes we have a data collection device with a builtin time delay and we can't start is precisely when we want to. We might wind up with something like the graph below:
In this case, we had the oscillation starting near its negative maximum. We don't get to +A until the time indicated by t_{0}. What should our solution look like then? Clearly, the solution it to subtract t_{0} from t, like this:
x(t) = A cos(ω_{0}(t  t_{0})).
This works the way we want it to since when t = t_{0} the argument of the cosine becomes 0 and cosine takes on the value +1 so x(t_{0}) = +A. Since both ω_{0} and t_{0} are constants, we can combine them by defining ω_{0}t_{0} = φ ("phi") and get
x(t) = A cos(ω_{0}(t  t_{0})) = A cos(ω_{0}t  ω_{0} t_{0}) = A cos(ω_{0}t  φ).
The constant φ is called the phase shift.
This, the three parameters in our expression for the position of the oscillator as a function of time, x(t) = A cos(ω_{0}t  φ) tell us:
 A  the amplitude, which tells us how far the oscillator goes in each direction;
 ω_{0}  the angular frequency (determined by the spring constant and the mass), which tells us the period by T = 2π/ω_{0;}
 φ  the phase shift, which tells us where the oscillation starts at t = 0.
Joe Redish 3/12/12
Comments (0)
You don't have permission to comment on this page.