Posts Tagged ‘Simple Harmonic Motion’

Today I was planning to post the fourth and final part of my series of blogs about the derivation of Planck’s radiation law. But, I realised on Sunday that it would not be ready, so I’m postponing it until next Thursday (17th). Parts 1, 2 and 3 are here, here and here respectively).

One of the reasons for this is that my time is being consumed by writing articles for 30-second Einstein which I talked about on Tuesday. Another reason is that I am scrambling to finish a slew of things by the 15th (next Tuesday!!), as I have been asked to go on another cruise to give astronomy lectures. More about that next week 🙂

There is a third reason, I have realised that I have not yet done a blog about harmonic oscillators, which is a necessary part of understanding Planck’s derivation. So, that is the subject of today’s blogpost.

Harmonic oscillators is another term for something which is exhibiting simple harmonic motion, and I did blog here about how a pendulum exhibits simple harmonic motion (SHM), and how this relates to circular motion. Another example of SHM is a spring oscillating back and forth. Whether the spring is vertical or horizontal, if it is displaced from its equilibrium position it will exhibit SHM. So, a spring is a harmonic oscillator.

The frequency of a harmonic oscillator

The restoring force on a spring when it is displaced from its equilibrium position is given by Hooke’s law, which states

\vec{F} = - k \vec{x}

where \vec{F} \text{ and } \vec{x} are the force and displacement respectively (vector quantities), and the minus sign is telling us that the force acts in the opposite direction to the displacement; that is it is a restoring force which is directed back towards the equilibrium position. The term k is known as Hooke’s constant, and is basically the stiffness of the spring.

Because we can also write the force in terms of mass and acceleration (Newton’s 2nd law of motion), and acceleration is the second derivate of displacement, we can write

m \vec{a} = m \frac{ d^{2}\vec{x} }{ dt^{2} }= - k \vec{x}

If we divide by m we get an expression for the acceleration, which is

\boxed{ \vec{a} = - \frac{k}{m} \vec{x} }

which, if you compare it to the equation for SHM for a pendulum, has the same form. The usual way to write equations of SMH is to write

\vec{a} = - \omega^{2} \vec{x}

where \omega is the angular velocity, and as I mentioned in the blog I did on the pendulum, \omega is related to the period of the SHM, via T = 2 \pi / \omega.

For our derivation of Planck’s radiation law, the parts which we need to know about are that the frequency of a harmonic oscillator, \nu is given by \nu = \omega / 2 \pi, and so depends only on \omega, \; \boxed{\nu \propto \omega }. So the frequency of the spring’s oscillations depends only on k/m, we can write \boxed{ \nu \propto k/m }. A stiffer spring oscillates with a higher frequency, more mass (in either the spring or what is attached to it) will reduce the frequency of the oscillations.

The energy of a harmonic oscillator

The other thing we need to know about to understand Planck’s derivation of his blackbody radiation law is the energy of the harmonic oscillator. This is always constant, but is divided between kinetic energy and potential energy. The kinetic energy is at a maximum when the spring is at its equilibrium position, at this moment it actually has zero potential energy.

The velocity of a harmonic oscillator v can be found my differentiating the displacement x with respect to time. The expression for displacement (see my blog here on SHM in a pendulum) is

x(t) = A sin ( \omega t )

where A is the maximum displacement (amplitude) of the oscillstions. So

v = \frac{dx}{dt} = A \omega cos ( \omega t)

This will be a maximum when cos( \omega t) = 1 and so

v_{max} = A \omega

which means that the maximum kinetic energy, and hence the total energy of the harmonic oscillator is given by 

\text{Total energy} = E = \frac{1}{2}mv_{max}^{2} = \frac{1}{2} m A^{2} \omega^{2}

As the frequency \nu is just \omega / 2 \pi, this tells us that, for a harmonic oscillator of a given mass, the energy depends on both the square of frequency \nu and the square of the size of the oscillations (larger oscillations mean more energy, double the size of the oscillations and the energy goes up by a factor of four). Mathematically we can write this as \boxed{ E \propto A^{2} } and \boxed{ E \propto \nu^{2} }.

As we shall see, the theoretical explanation which Planck concocted to explain his blackbody curve involved assuming the walls of the cavity producing the radiation oscillated in resonance with the radiation; this is why I needed to derive these things on this blog today.

Read Full Post »

Legend has it that it was Galileo who first noticed that the period of a pendulum’s swing does not depend on how large the swing is, but only on the length of the pendulum. The swinging back and forth of a pendulum is an example of a very important type of motion which crops up in many places in Nature, so called Simple Harmonic Motion (SHM). In this blog I will derive the basic equations of SHM, and then go on and talk about the deep connection between SHM and circular motion.

A swinging pendulum

If we start off by looking at a simple pendulum which has been displaced so that the bob is to the right of the vertical position, the angle the line of the pendulum makes with the vertical is given by \theta, and for this derivation to work \theta needs to be small.

A simple pendulum will swing back and forth, exhibiting Simple Harmonic Motion.

A simple pendulum will swing back and forth, exhibiting Simple Harmonic Motion.

The force restoring the pendulum bob back to the middle, which I have called F in the diagram above, is given by F = -T\sin(\theta) (the minus sign comes about because the the force is back towards the centre, even though the angle \theta increases as we move the bob to the right).

The restoring force, F, can be written using Newton’s 2nd law as F=ma=-T\sin(\theta). The angle \theta is measured in radians (see my blog here for a tutorial on radians). When \theta is small, \sin(\theta) \approx \theta and so we can write that

\sin(\theta) \approx \theta = \frac{x}{l}

where l is the length of the pendulum and x is the horizontal displacement of the pendulum bob.

Finally, the tension T in the pendulum chord can be written as T \approx mg where m is the mass of the bob and g is the acceleration due to gravity (9.8 m/s/s for the Earth).

Putting all of this together, we can write that the restoring force F can be written as

F = - mg\theta = -mg\frac{x}{l}

This means that the acceleration a can be written as

\vec{a} = -\frac{g}{l} \vec{x}

It is more common to write this as

\boxed{ \vec{a} = -\omega^{2} \vec{x} }

where \omega^{2} = \frac{g}{l} for the pendulum. \omega is called the angular frequency and it is related to how long the pendulum takes to complete one full swing, the period, by the equation T = \frac{2\pi}{\omega}. The frequency is just the reciprocal of the period, so we can write \nu = \frac{\omega}{2\pi} and so the angular frequency is related to the time frequency as \omega = 2\pi \nu.

Whenever the acceleration can be written as being proportional to the displacement, and in the opposite direction to the displacement, we have Simple Harmonic Motion. Other examples of SHM are an object bouncing vertically on a spring, or moving horizontally back and forth due to a spring attached at one end, even the vibrations of atoms in molecules.

Solutions to the SHM equation

What are the solutions to the second order differential equation \frac{d^{2}\vec{x}}{dt^{2}} = \vec{a} = - \omega^{2} \vec{x}? We have a displacement, \vec{x}, and it is proportional to the acceleration \vec{a}, but the acceleration acts in the opposite direction to the displacement.

We differentiate the displacement twice with respect to time to produce the acceleration (remember \vec{a} = \frac{d^2}{dx^2} \vec{x}), and for SHM, when we do this, the acceleration is proportional to the displacement and in the opposite direction.

Let us suppose we try the displacement

x = A \sin(\omega t) \text{ (remember that } \theta = \omega t)

If we differentiate this once with respect to time we get the velocity

v = \frac{dx}{dt} = \frac{d}{dt} A \sin(\omega t) = A\omega \cos(\omega t)

To get the acceleration we need to differentiate the velocity with respect to time so

a = \frac{dv}{dt} = \frac{d}{dt} A\omega \cos(\omega t) = - A \omega^{2} \sin(\omega t) = -\omega^{2}x

Loh and behold, we now have that a \propto - x, so we have shown that, if x = A \sin(\omega t) that an object which has this displacement as a function of time will display SHM.

As the acceleration is proportional to the displacement, it will be at its maximum when the displacement is maximum, so for a pendulum when the bob is at its extreme positions. The acceleration at the centre is zero, as the displacement at the centre is zero.

Conversely the velocity behaves in the opposite sense. Remember, as \vec{v} = \frac{d}{dt}\vec{x} = A\omega\cos(\omega t) it means that the velocity and displacement are 90^{\circ} out of phase with each other, when the displacement is a maximum the velocity is zero, and when the displacement is zero the velocity is a maximum. So, the bob will be travelling at its quickest when it passes through the centre, and at its extremes the velocity is (temporarily) zero.

SHM and circular motion

If an object is moving at a constant speed in a circle in the x-y plane we can write that it’s position at any time is given by

x = A \cos(\theta) \text{ and } y = A \sin(\theta)

For an object moving with a constant speed in a circle, its x-position and y-position can be written in terms of the radius A and the angular velocity.

For an object moving with a constant speed in a circle, its x-position and y-position can be written in terms of the radius A and the angular velocity \omega.

But notice that the expression for x is exactly the same as the expression which we had above, so an object moving in a circle performs SHM. But how? Surely, if it is moving with a constant speed (and hence constant angular velocity \omega), how is it also displaying SHM?

The SHM comes in when we look at the object’s x or y-position as a function of time. So, for example, if we look at the circle from below, as if we were looking along the plane of the screen from below, we would only see the x-displacement of the object, as the y-displacement would be invisible to us. The x-displacement is given by x=A \cos(\theta) = A \cos(\omega t), so the x-position will move back and forth about the central point, displaying SHM. This regular “wobble” is one of the things we look for in trying to find exoplanets – planets around other stars. If we see a regular, rhythmic wobble in the position of the parent star, it’s a pretty good bet that it has a planet going around it with the force of gravity between the host star and its planet producing the apparent SHM.

Read Full Post »