**Required math: calculus **

**Required physics: Newton’s law**

The most common example of a system exhibiting harmonic oscillation is that of a mass on a spring. If you want to keep an image in your mind as we discuss things, imagine that the spring is horizontal, with the left end firmly fixed to a wall, and a mass fixed to the right end. The mass is free to slide horizontally while attached to the spring, so the spring alternately compresses and expands as the mass moves back and forth. As always in these simplified situations, we’re imagining the mass sliding along some horizontal track as it moves back and forth, and we stipulate that there is no friction between the sliding mass and the track. Even though the reader is probably aware of the approximations being made, it is worth stating explicitly that such a system does not exist in reality, since there will always be some friction in a system like this.

Having accepted the idealized situation, however, we can observe that the mass on the spring experiences a force that is directly proportional to its distance from the equilibrium point, and that is always directed towards the equilibrium point. That is, if the spring’s right end (the end attached to the oscillating mass) lies at position at equilibrium (the point at which, if the spring is released, nothing would move), then the force experienced by the mass is

where is a positive constant, and the minus sign indicates that the force resists any extension or compression of the spring. That is, if then then force tends to pull the mass back to the left towards the equilibrium point, while if , the force is in the positive direction and tends to push the mass back to the right.

Since we have the force law, we can invoke Newton’s law in the form

to get an expression for the mass’s motion as a function of time. First, we can notice that the units of must be those of , (since the units of force are ) so the quantity has the units of . To make the calculations easier, we can introduce a quantity which has the dimensions of and can thus be regarded as a frequency. We’ll see how it fits into the solution in a minute, but we can first rewrite the equation to be solved as

The general solution of this equation is

In order to determine and we need to impose some initial conditions, so let’s suppose we are doing an experiment in which we pull the mass out to a position at time and let it go. In that case, we have . Since the mass starts off with zero velocity , then we can find by calculating the derivative of the general solution:

from which we get . Thus the particular solution for our little experiment is

We can now see the significance of the frequency

It is the frequency (in radians per second) of the oscillation of the mass on the spring, since it is the frequency inside the cosine function. If we make the spring stiffer so that it exerts more force per unit distance, this increases and in turn increases the frequency of oscillation. If we increase the mass attached to the spring, this decreases the frequency.

We can also work out the kinetic and potential energies of the mass as functions of time. The kinetic energy is

On the first oscillation, the kinetic energy will be maximum when , and from the equation for the position above we see this occurs when , so the kinetic energy is maximum just as the mass passes through the spring’s equilibrium point. Since the total energy (kinetic + potential) must be a constant in the absence of any outside forces, the total energy therefore must be this maximum kinetic energy, from which we can also calculate the potential energy as a function of time:

The potential energy can obtained another way if we consider the work done by the force. The usual convention is that if a mass is moving against the action of a force, the potential energy being stored in the mass is the *negative* of the work done on the mass. As the mass oscillates on the spring, it is moving against the force on those parts of each oscillation where it is moving *away* from the equilibrium point at and moving *with* the force whenever it is moving towards the equilibrium point. If we consider part of a cycle where the mass is moving the positive direction starting at , then the mass is moving against the force and is slowing down, so its potential energy is increasing, and the work done by the spring is negative. So we can get a measure of the potential energy by calculating how much work is done as the mass moves from to some other point . This motion happens in every oscillation, of course, so we can take any oscillation we like and calculate the work. The first time at which the mass passes moving to the right is when . Let the time when the mass reaches position be . The work done is the integral of the force times the distance, so we get

In the second line, we changed the integral from one over to one over , since all our formulas are expressed in terms of time. We used the chain rule formula to write . Since was chosen to represent any time, we can drop the suffix to get a general formula for the potential energy, which is

which agrees with the previous formula.

Note that the harmonic oscillator force is conservative, since it can be expressed as the derivative of a potential function:

So the potential for the harmonic oscillator is

Pingback: Harmonic oscillator – summary « Physics tutorials

Pingback: Harmonic oscillator – asymptotic solution « Physics tutorials

Pingback: Harmonic oscillator – series solution « Physics tutorials

Pingback: Harmonic oscillator – Hermite polynomials « Physics tutorials

Pingback: Energy states: bound and scattering states « Physics tutorials

Pingback: Harmonic oscillator – probability of being outside classical region « Physics tutorials

Pingback: Are We All Newtonians? « Theory and Practice of Trying to Combine Just Anything

Pingback: Perihelion shift in planetary orbits | Physics tutorials

Pingback: Perihelion shift in planetary orbits | Physics tutorials

Marx AKLHello

What is a good classical mechanics text book for first course undergraduate after freshman physics that has good uneasy problems to best prepare physics major students from

Thanks