Learning objectives
-
Outcome
Derive the equation of motion from and Newton's second law, and state .
-
Outcome
Calculate , and at a given time from .
-
Outcome
Apply conservation of mechanical energy to find the speed at a given displacement and the maximum speed.
-
Outcome
Sketch and interpret graphs of , , over one period, identifying amplitude, period and the phase shifts between them.
Understand the idea
Kinematics and Dynamics of a Harmonic Oscillator
Text
A harmonic oscillator is any system whose restoring force is proportional to the displacement from equilibrium and directed back toward it: .
Newton's second law then gives , so the acceleration obeys , where this relation is the dynamics of the oscillator. Solving that equation gives the kinematics of the motion: Differentiating twice yields The amplitude and the initial phase are fixed by the initial position and velocity, which relies on the prerequisites concerning potential energy and conservation of mechanical energy. Because the force is conservative with , the total mechanical energy is conserved, which lets you find speeds without solving the motion in time.
Worked examples
Direct
Problem
A mass on a spring oscillates as with and period . Find , and at .
Solution
Angular frequency: . Hence .
Displacement: — the body is at the equilibrium position.
Velocity: (moving toward negative ).
Acceleration: , which agrees with . At equilibrium the speed is maximum and the acceleration is zero.
Application
Problem
A block of mass is attached to a spring of stiffness and released from rest at . Find , the period , the maximum speed, and the speed at .
Solution
Frequency: .
Period: .
Releasing from rest means starting at an endpoint, so the amplitude is .
Maximum speed (at ): .
Speed at follows from conservation of energy:
Substituting: .
Energy check: , , so and .
Transfer
Problem
The same oscillator (, , hence ) is started with and . Write and find the first time after at which the block passes through equilibrium.
Solution
Find the amplitude from energy (equivalently, from the link between and ):
Initial phase from : , so . Because and , we need , hence .
Thus
Equilibrium means , i.e. , so . Therefore
At that instant , so : the block passes equilibrium moving toward negative .
Practice
Text
Use the PhET Masses and Springs simulation or an equivalent mass–spring model; do the observing and measuring in the simulation rather than with a real hanging mass.
- Set and . Before running, predict and write the prediction down.
- Pull the mass to , release it, and record the graph. Measure the period from successive crossings of equilibrium and compare it with your prediction.
- Repeat with and . Note whether the period changes with amplitude.
- Record the speed at and at ; compare with and with zero.
- Plot , and over the same time interval and check the phase shifts: leads by , and is opposite to .
- Change the mass to ; predict the new period first, then measure it and compare with .
Visual reference
Purpose
Show how the position, velocity and acceleration of a harmonic oscillator are related in time: leads by a quarter period, and is opposite in sign to and obeys .
Representation
Three vertically stacked graphs sharing one horizontal time axis for one full period : , and . A dashed vertical line at connects the values on all three graphs; beside them is a small sketch of a mass on a spring with the -axis and the equilibrium position marked.
Real-world examples
Car suspension over a speed bump
Scenario
The front axle of a car carries , so each of its two springs supports with stiffness . A speed bump pushes the body down by and lets go. The angular frequency is , so the body bounces with period , while the largest speed and acceleration reach and (about ).
Connection
This is a textbook harmonic oscillator: the restoring force is linear, , and Newton's second law gives , whose solution is with . The scenario exercises the kinematic pair and , which lag a quarter period behind the displacement, and the fact that does not depend on the amplitude.
A guitar string
Scenario
The A2 string of a guitar sounds at . Its vibrating length is with linear density , giving ; plucked at the middle it swings with amplitude . Then , the effective stiffness is , the middle of the string moves at up to , and its acceleration reaches . The stored mechanical energy is .
Connection
The plucked string obeys the same kinematics as a mass on a spring: , , . The numbers make the phase relations visible — the speed peaks at , while the acceleration peaks at the extreme deflection of , where the speed is zero.
Step counter in a phone
Scenario
A phone in a jogger's pocket records the vertical motion of the torso: the body rises and falls twice per stride, , with amplitude . The built-in accelerometer samples at and sees a sinusoidal signal : and a peak value . The torso's speed peaks at .
Connection
The torso is treated as a harmonic oscillator, so its acceleration is proportional to the displacement and always points back towards the middle of the step — that is why the accelerometer trace is sinusoidal and why its amplitude grows as the square of the step frequency. Counting zero crossings of that trace gives the step rate, because one full cycle of corresponds to one stride.