Chapter 12 - Simple harmonic motion
12.1Overview¶
In this chapter, we look at oscillating systems that undergo “simple harmonic motion”, such as the motion of a mass attached to a spring. Many systems in the physical world, such as an oscillating pendulum, can be described by the same mathematical formalism that describes the motion of a mass attached to a spring.
12.2The motion of a spring-mass system¶
As an example of simple harmonic motion, we first consider the motion of a block of mass that can slide without friction along a horizontal surface. The mass is attached to a spring with spring constant which is attached to a wall on the other end. We introduce a one-dimensional coordinate system to describe the position of the mass, such that the axis is co-linear with the motion, the origin is located where the spring is at rest, and the positive direction corresponds to the spring being extended. This “spring-mass system” is illustrated in Figure 1.
We assume that the force exerted by the spring on the mass is given by Hooke’s Law:
where is the position of the mass. The only other forces exerted on the mass are its weight and the normal force from the horizontal surface, which are equal in magnitude and opposite in direction. Therefore, the net force on the mass is the force from the spring.
As we saw in Section Section 8.5, if the spring is compressed (or extended) by a distance relative to the rest position, and the mass is then released, the mass will oscillate back and forth between [32], which is illustrated in Figure 1. We call the “amplitude of the motion”. When the mass is at , its speed is zero, as these points correspond to the location where the mass “turns around”.
12.2.1Description using energy¶
We can describe the motion of the mass using energy, since the mechanical energy of the mass is conserved. At any position, , the mechanical energy, , of the mass will have a term from the potential energy, , associated with the spring force, and kinetic energy, :
We can find the mechanical energy, , by evaluating the energy at one of the turning points. At these points, the kinetic energy of the mass is zero, so . We can then write the expression for mechanical energy as:
We can thus always know the speed, , of the mass at any position, , if we know the amplitude :
12.2.2Kinematics of simple harmonic motion¶
We can use Newton’s Second Law to obtain the position, , velocity, , and acceleration, , of the mass as a function of time. The component of Newton’s Second Law for the mass attached to the spring can be written:
We can write the acceleration in Newton’s Second Law more explicitly as the second derivative of the position, , with respect to time. If we do this, we can see that Newton’s Second Law for the mass attached to the spring is a differential equation for the function (we call it an “equation of motion”):
We want to find the position function, . Equation {\ref{eq:simpleharmonicmotion:shmspring}} tells us that the second derivative of with respect to time must equal the negative of the function multiplied by a constant, . Without having taken a course on differential equations, it might not be obvious what the function could be. Several, equivalent functions can satisfy this equation. One possible choice, which we present here as a guess, is\footnote{Other possible guesses that work are , and .}:
where , ω, and ϕ are constants that we need to determine. We can take the second order derivative with respect to time of the function above to verify that it indeed “solves” the differential equation:
The last equation has exactly the same form as (6), which we obtained from Newton’s Second Law, if we define ω as:
We call ω the “angular frequency” of the spring-mass system. We have found that our guess for satisfies the differential equation.
We still need to identify what the constants and ϕ have to do with the motion of the mass. The constant is the maximal value that can take (when the cosine is equal to 1). This corresponds to the amplitude of the motion of the mass, which we already had labelled, . The constant, ϕ, is called the “phase” and depends on when we choose to be. Suppose that we define time to be when the mass is at ; in that case:
If we define to be when the mass is at , then the phase, ϕ, is zero. In general, the value of ϕ can take any value between and [33] and, physically, corresponds to our choice of when (i.e. the position of the mass when we choose ).
Since we have determined the position as a function of time for the mass, its velocity and acceleration as a function of time are easily found by taking the corresponding time derivatives:
The position of the mass is described by a sinusoidal function of time; we call this type of motion “simple harmonic motion”. The position and velocity as a function of time for a spring-mass system with , , are shown in Figure 2 for two different choices of the phase, and .
We can make a few observations about the position and velocity illustrated in Figure 2:
- Changing the phase, ϕ, results in an horizontal shift of the functions. A positive phase results in a shift of the functions to the left.
- The highest speed corresponds to a position of and the largest position, , corresponds to a speed of zero.
- corresponds to the “initial condition” at , where the position of the mass is and its speed is .
- corresponds to the “initial condition” at , where the position of the mass is and its velocity is in the negative direction, and with maximal amplitude.
- The position is always between , and the velocity is always between .
The motion of the spring is clearly periodic. If the period of the motion is , then the position of the mass at time will be the same as its position at . The period of the motion, , is easily found:
And the corresponding frequency is given by:
It should now be clear why ω is called the angular frequency, since it is related to the frequency of the motion.
12.2.3Analogy with uniform circular motion¶
We can make an analogy between the mathematical description of the motion of a spring-mass system and that of uniform circular motion. Consider a particle that is moving along a circle of radius , with constant angular speed ω, as illustrated in Figure 3.
The angular position, , of the particle is given by:
if the particle was located at an angular position at ( in Figure 3). The coordinate of the particle is given by:
We can see that the coordinate of the particle has the same functional form as the position for simple harmonic motion. The same is true for the particle’s velocity. The magnitude of the particle’s velocity is given by:
where is the radius of the circle. The component of the particle’s velocity is easily found from the figure and is given by:
We can visualize simple harmonic motion as if it were the projection onto the axis of uniform circular motion with angular speed ω about a circle with radius . The phase ϕ corresponds to the angular position of the particle around the circle, , at time . When the particle crosses the axis (), its velocity is in the direction, so the component of the velocity is maximal. When the particle crosses the axis (), the component of the velocity is zero.
12.3Vertical spring-mass system¶
Consider the vertical spring-mass system illustrated in Figure 5.
When no mass is attached to the spring, the spring is at rest (we assume that the spring has no mass). We choose the origin of a one-dimensional vertical coordinate system ( axis) to be located at the rest length of the spring (left panel of Figure 5). When a mass is attached to the spring, the spring will extend and the end of the spring will move to a new equilibrium position, , given by the condition that the net force on the mass is zero. The only forces exerted on the mass are the force from the spring and its weight. The condition for the equilibrium is thus:
Now, consider the forces on the mass at some position when the spring is extended downwards relative to the equilibrium position (right panel of Figure 5). Newton’s Second Law at that position can be written as:
Note that the net force on the mass will always be in the direction so as to “restore” the position of the mass back to the equilibrium position, . If the mass had been moved upwards relative to , the net force would be downwards.
We can substitute the equilibrium condition, , into the equation that we obtained from Newton’s Second Law:
Consider a new variable, . This is the same as defining a new axis that is shifted downwards by ; in other words, this the same as defining a new axis whose origin is at (the equilibrium position) rather than at the position where the spring is at rest. Noting that the second time derivative of is the same as that for :
we can write the equation of motion for the mass, but using to describe its position:
This is the same equation as that for the simple harmonic motion of a horizontal spring-mass system (6), but with the origin located at the equilibrium position instead of at the rest length of the spring. In other words, a vertical spring-mass system will undergo simple harmonic motion in the vertical direction about the equilibrium position. In general, a spring-mass system will undergo simple harmonic motion if a constant force that is co-linear with the spring force is exerted on the mass (in this case, gravity). That motion will be centred about a point of equilibrium where the net force on the mass is zero rather than where the spring is at its rest position.
12.3.1Two-spring-mass system¶
Consider a horizontal spring-mass system composed of a single mass, , attached to two different springs with spring constants and , as shown in Figure 6.
We introduce a horizontal coordinate system, such that the end of the spring with spring constant is at position when it is at rest, and the end of the spring is at when it is as rest, as shown in the top panel. A mass is then attached to the two springs, and corresponds to the equilibrium position of the mass when the net force from the two springs is zero. We will assume that the length of the mass is negligible, so that the ends of both springs are also at position at equilibrium. You can see in the middle panel of Figure 6 that both springs are in extension when in the equilibrium position. It is possible to have an equilibrium where both springs are in compression, if both springs are long enough to extend past when they are at rest.
If we assume that both springs are in extension at equilibrium, as shown in the figure, then the condition for equilibrium is given by requiring that the sum of the forces on the mass is zero when the mass is located at . The extension of the spring on the left is , and the extension of the spring on the right is :
Note that if the mass is displaced from in any direction, the net force on the mass will be in the direction of the equilibrium position, and will act to “restore” the position of the mass back to .
When the mass is at some position , as shown in the bottom panel (for the spring in compression and the spring in extension), Newton’s Second Law for the mass is:
Note that, mathematically, this equation is of the form , which is the same form of the equation that we had for the vertical spring-mass system (with ), so we expect that this will also lead to simple harmonic motion. We can use the equilibrium condition () to re-write this equation:
Let us define as the “effective” spring constant from the two springs combined. We can also define a new coordinate, , which simply corresponds to a new axis whose origin is located at the equilibrium position (in a way that is exactly analogous to what we did in the vertical spring-mass system). We can thus write Newton’s Second Law as:
and we find that the motion of the mass attached to two springs is described by the same equation of motion for simple harmonic motion as that of a mass attached to a single spring. In this case, the mass will oscillate about the equilibrium position, , with a an effective spring constant . Combining the two springs in this way is thus equivalent to having a single spring, but with spring constant . The angular frequency of the oscillations is given by:
12.4Simple harmonic motion¶
In the previous sections, we modelled the motion of a mass attached to a spring and found that its position, , was described by the following differential equation:
A possible solution to that equation was given by:
We then saw that the motion of a vertical spring-mass system, as well as that of a mass attached to two springs, could also be described by (28). Any physical system that can described by (28) is said to undergo “simple harmonic motion”, or to be a “simple harmonic oscillator”. If we find that the physical model of a system leads to (28), then we immediately know that the position of system can be described by (29).
The key physical characteristic of a simple harmonic oscillator is that there is a “restoring force” whose magnitude is proportional to the displacement from the equilibrium position. A restoring force is a force that acts to place the system back in equilibrium, and is thus always in the direction that is opposite of the displacement relative to an equilibrium position. In the three systems that we considered so far, the net force on the mass was always such that it would restore the mass back to the equilibrium position, where the net force on the mass is zero.
Many systems in nature are well modelled as simple harmonic oscillators. Some examples are: the motion of a pendulum as it oscillates, the motion of a buoy bobbing up and down in the sea, the motion of electrons in a shorted capacitor, and the vibrations of atoms in a molecule.
12.5The motion of a pendulum¶
In this section, we show how and when the motion of a pendulum can be described as simple harmonic motion. Consider the simple pendulum that is constructed from a mass-less string of length, , attached to a fixed point on one end and to a point mass on the other, as illustrated in Figure 7.
The pendulum can swing in the vertical plane, and we have shown our choice of coordinate system (the axis, not shown, is out of the page). The only two forces on the mass are the tension from the string and its weight. We can describe the position of the mass by the angle, , that the string makes with the vertical. We can model the dynamics of the simple pendulum by considering the net torque and angular acceleration about the axis of rotation that is perpendicular to the plane of the page and that goes through the point on the string that is fixed.
The force of tension cannot create a torque on the mass about the axis of rotation, as it is anti-parallel to the vector from the point of rotation to the mass. The net torque is thus the torque from the force of gravity:
where is the magnitude of the vector, , from the axis of rotation to where the force of gravity is exerted. The net torque is equal to the angular acceleration, α, multiplied by the moment of inertia, , of the mass:
where is the moment of inertia for a point mass a distance away from the axis of rotation. For the position illustrated in Figure 7, the angular acceleration of the pendulum is in the negative direction (into the page) and corresponds to a clockwise motion for the pendulum, as we would expect. The angular acceleration is the second time derivative of the angle, θ:
We can thus re-write the equation that we obtained from the rotational dynamics version of Newton’s Second Law as:
where we only used the magnitudes in the second equation, since all of the angular quantities are in the direction. This equation of motion for almost looks like the equation for simple harmonic oscillation for the angle θ (except that we have instead of θ). However, consider the “the small angle approximation”\footnote{Look up the Maclaurin/Taylor series for the sine function!} for the sine function:
If the oscillations of the pendulum are “small”, such that the small angle approximation is valid, then the equation of motion for the pendulum is:
and the angle that the pendulum makes with the vertical is described by the equation for simple harmonic oscillation with angular frequency:
The angle, θ, as a function of time is thus described by the function:
where is the maximal amplitude of the oscillations and ϕ is a phase that depends on when we choose to define .
12.5.1The physical pendulum¶
A physical pendulum is defined as any object that is allowed to rotate in the vertical plane about some axis that goes through the object, as illustrated in Figure 8.
The only forces exerted on the pendulum are its weight (exerted at its centre of mass) and a contact force exerted at the axis of rotation. The physical pendulum can be modelled in exactly the same way as the simple pendulum, except that we use the moment of inertia of the object about the axis of rotation. Only the weight results in a torque about the rotation axis, since the contact force is exerted at the rotation axis:
where is the distance from the axis of rotation to the centre of mass. In the small angle approximation, this becomes:
and we find that the physical pendulum oscillates with an angular frequency:
12.6Summary¶
The equation of motion for the position, , of the mass in a one-dimensional spring-mass system with no friction can be written:
and has a solution:
where is the amplitude of the motion, ϕ is the phase, which depends on our choice of initial conditions (when we choose time ), and ω:
is the angular frequency of the motion. The mass will oscillate about an equilibrium position with a period, , and frequency, , given by:
The velocity and acceleration of the mass are found by taking the time derivatives of the position :
The total mechanical energy of the mass, at some position , is given by:
and is conserved.
Any system that can be described by the equation of motion:
is said to be a simple harmonic oscillator, and its position will be described by:
A simple harmonic oscillator will always oscillate about an equilibrium position, where the net force on the oscillator is zero. The net force on a simple harmonic oscillator is always directed towards the equilibrium position, and has a magnitude proportional to the distance of the oscillator from its equilibrium position. The force is called a restoring force. A vertical spring-mass system, and a mass attached to two springs will both undergo simple harmonic motion about their respective equilibrium position.
A simple pendulum will undergo simple harmonic oscillations, if the amplitude of the oscillations is small. The angular frequency for the oscillations of a simple pendulum only depends on the length of the pendulum:
This is valid in the small angle approximation, where:
A physical pendulum of mass which oscillates about an axis through the object will also undergo simple harmonic oscillation in the small angle approximation. The angular frequency of the oscillations for a physical pendulum is given by:
where is the distance between the centre of mass and the axis of rotation, and is the moment of inertia of the object about the rotation axis.
12.7Thinking about the material¶
12.8Sample problems and solutions¶
12.8.1Problems¶
12.8.2Solutions¶
Solution 12.1
First, we need to solve for the new equilibrium position of the platform, , when Ty is standing on the platform. We define the axis so that the origin is above the ground (the equilibrium position when no one is standing on the platform) and choose the positive direction to be downwards (Figure 12).
Even though we do not know the mass of the platform, or the actual resting lengths of the spring, we do not need to know these, since we can model the platform with nobody on it as a single spring with spring constant and rest position .
When Ty is standing on the platform, the sum of the forces is given by his weight and the force from the “effective spring”:
where we noted that, when the platform moves down, both the top and bottom spring will exert a force upwards (Figure 13).
At equilibrium, the sum of the forces is equal to zero. We can use this to solve for the displacement at :
We will confirm that this is a simple harmonic oscillator by showing that the system’s motion can be described by the equation:
For some position below equilibrium, we can rewrite Newton’s second law as:
In order to show that this is simple harmonic motion, we need to combine the right hand side of the equation into one term. We found earlier that , which we can use here:
We now define an axis such that . This means that the origin of the axis is at the new equilibrium position:
We can now rewrite our expression using the axis:
This equation tells us that this is simple harmonic motion about the new equilibrium position, where . We know that the lowest point that the platform reaches is above the ground, which, on our axis, corresponds to (Figure 13). Thus, the amplitude of the oscillation is . Because this is simple harmonic motion, we know that the position of the platform can be described by the following function:
We set to be when the platform is at its lowest point (). The value of ϕ is thus:
The velocity is given by:
The speed will be maximized when . So, the maximum speed will be:
Solution 12.2
- a. The only force that creates a torque on the masses is the restoring force from the twisting of the wire. The rotational dynamics version of Newton’s Second Law relates this torque to the angular acceleration, α of the rod:
where is the moment of inertia of the rod. Rewriting α more explicitly as the second time derivative of the angle, we get:
By inspection, we can see that the torsional pendulum is a simple harmonic oscillator, where . The period of the motion is therefore:
We can rearrange this expression to get κ:
The moment of inertia for one of the masses is , where is the distance from the mass to the axis of rotation. The moment of inertia for the two masses attached to the mass-less rod is:
Putting this into our expression for κ:
- b. The two forces that provide torques for the small spheres are gravity and the force exerted by the twisting wire. Each of the small spheres will experience a force due to gravity from the nearest large sphere. At equilibrium, the force due to gravity on one of the small spheres is therefore:
Assuming that, at equilibrium, the force vector is perpendicular to the rod, the torque from one of the large spheres is just the force multiplied by the distance to the axis of rotation. Since there are two large spheres, each of which creates a torque on the pendulum, the total torque due to gravity is:
(Note that is the torque due to gravity at equilibrium only). We can use Newton’s second law for the pendulum to find an expression for . At equilibrium, the net torque is equal to zero, and the angle of deflection is β:
Using our expression for κ found in part a), this becomes: