Simple Harmonic Motion
Pull it, let go, and watch nature's favourite rhythm appear.
What Is Simple Harmonic Motion?
A force that always points home, growing with distance, makes a perfect rhythm.
A child on a swing, a guitar string, the air in a flute, atoms in a crystal: all of them move back and forth around a resting point. The simplest and most important of these motions has a name: simple harmonic motion.
Periodic motion and oscillation
Motion that repeats itself after a fixed interval of time is called periodic, and that interval is the time period. When the body moves to and fro over the same path, the periodic motion is called an oscillation. The Earth going round the Sun is periodic but not an oscillation; a swinging pendulum is both.
What makes it “simple harmonic”
Put the fixed point (the centre of oscillation) at the origin and the line along x:
In an inertial frame a = F/m, so the same statement in terms of force is:
The net force is zero at x = 0, so the centre of oscillation is the equilibrium position. A force that always pushes back toward equilibrium is called a restoring force; SHM is what a restoring force proportional to displacement produces.
A particle in SHM feels a net force of 6.0 N when it is 4.0 cm from the centre of oscillation. Find the force constant.
A block on a spring
Put a block of mass m on a smooth table, attached to a wall by a spring of constant k. At O the spring has its natural length. Pull the block to P, a distance A to the right, and let go. Its displacement x always equals the stretch of the spring, and the spring force is −kx: by definition, this is SHM. Follow one cycle:
- From P to O the force points toward O, so the block speeds up. It is fastest at O.
- Past O the spring is compressed and pushes right, so the block slows, stopping at some point Q.
- Then it is pushed back, speeds up to O, slows again and stops at P. And so on.
The block is momentarily at rest at both P and Q, so all the energy is in the spring at those points. With no friction,
The block swings equal distances either side of the centre. That maximum distance is the amplitude A.
A 0.80 kg body moves in SHM under a force F = −(200 N/m)x. It passes the centre at 3.0 m/s. Find the amplitude.
- 1Periodic motion repeats after a time period; oscillation is periodic to-and-fro motion.
- 2SHM: , or equivalently with .
- 3The centre of oscillation is the equilibrium position; the restoring force always points toward it.
- 4With no friction the body swings equally far either side: the amplitude A.
Check yourself
Videos, simulations & further reading (7)
The Equation of SHM
One sine curve, three knobs: amplitude, angular frequency and phase.
From a = −ω²x alone, a little calculus gives the complete story: where the particle is, how fast it moves, at every moment.
Speed at each position
Write . Then . Integrate from the starting state (x₀, v₀) to a general (x, v):
Position at each moment
Now . Integrating, , where δ is a constant fixed by the starting position. So:
The vocabulary of SHM
Amplitude A
Since sin lies between −1 and +1, x lies between −A and +A: A is the greatest displacement from the centre.
Time period T
One complete oscillation brings the particle back to the same position moving the same way (Q → P → Q, or O → P → Q → O). Both sin and cos repeat when the angle grows by 2π, so :
Frequency ν and angular frequency ω
The frequency is the number of oscillations per second, (12.9, 12.10), measured in hertz (Hz). ω itself is the angular frequency, in rad/s.
Phase and phase constant
The angle is the phase. It tells you the state of the motion: φ = 0 means passing the centre moving in the +x direction; φ = π/2 means at +A, momentarily at rest; φ = π, passing the centre moving in the −x direction; φ = 3π/2, at −A. Adding 2π brings you back to the same state.
δ, the phase constant, depends only on which instant you call t = 0. Start the clock as the particle passes the centre going forward and δ = 0, so x = A sin ωt; start it at the positive extreme and δ = π/2, so x = A cos ωt. The sine and cosine forms describe the same motion with different δ.
A 500 g mass oscillates on a spring of constant 50 N/m. Find the period and frequency.
A particle in SHM of amplitude A is at x = −A/2 at t = 0 and moving in the +x direction. Find δ if x = A sin(ωt + δ).
A particle oscillates with ω = 4.0 rad/s and amplitude 5.0 cm. Find its maximum speed, its maximum acceleration, and its speed 3.0 cm from the centre.
- 1, .
- 2, ; independent of amplitude.
- 3Phase ωt + δ fixes the state; δ depends on the choice of t = 0.
- 4v_max = Aω at the centre; a_max = Aω² at the extremes.
Check yourself
Videos, simulations & further reading (5)
SHM as a Shadow of Circular Motion
Watch a point go round a circle from the side, and it bobs in SHM.
Shine a light from the side at a ball going round a turntable and watch its shadow on the wall. The shadow bobs back and forth in perfect simple harmonic motion.
The projection
Let a point P move round a circle of radius A at constant angular speed ω, starting on the x-axis at t = 0. Take the centre as the origin. At time t the radius OP has turned through ωt, so the feet of the perpendiculars from P onto the axes are at
Each is exactly the equation of SHM, with amplitude A (the circle’s radius) and angular frequency ω (the angular speed). The two shadows are a quarter-cycle apart, because .
- 1The projection of uniform circular motion onto any diameter is SHM.
- 2Amplitude = circle radius; angular frequency = angular speed; phase = angle of the radius.
- 3Projections on two perpendicular diameters are SHMs differing in phase by π/2.
Check yourself
Videos, simulations & further reading (2)
Energy in SHM
Energy sloshes between spring and motion while the total stays fixed.
An oscillator is an energy exchange. At the ends of the swing everything is stored; in the middle everything is motion. The total never changes.
Potential energy of a linear restoring force
The force F = −kx does work as the displacement grows from 0 to x. Potential energy rises by the negative of that work. Choosing U = 0 at the centre:
Kinetic and total energy
With x = A sin(ωt + δ) and v = Aω cos(ωt + δ):
At the centre U = 0 and all of E is kinetic: . At x = ±A the body is momentarily still and all of E is potential.
A 60 g mass oscillates in SHM with amplitude 5.0 cm and period 0.50 s. Find the total mechanical energy.
- 1, .
- 2, constant in time.
- 3All kinetic at the centre, all potential at the extremes.
- 4Energy goes as the square of the amplitude.
Check yourself
Videos, simulations & further reading (3)
The Simple Pendulum
For small swings, a pendulum keeps time regardless of how far it swings.
Galileo, so the story goes, timed a swinging cathedral lamp with his pulse and noticed that big and small swings took the same time. The pendulum became the world’s timekeeper for three centuries.
Angular SHM
A body free to turn about an axis (a hanging umbrella nudged aside, say) can oscillate in angle. We call it angular simple harmonic motion when there is a position θ = 0 of zero torque, and a displacement θ produces a torque proportional to θ that tries to bring the body back:
This is the SHM equation with θ in place of x, so everything carries over:
A body performs angular SHM with amplitude π/20 rad and period 0.40 s. At t = 0 it is at its maximum displacement. Write θ(t).
The simple pendulum
Let the string, of length l, make angle θ with the vertical. The tension passes through the pivot (no torque); the weight mg has lever arm l sin θ about the pivot and tries to restore θ = 0:
That isn’t proportional to θ, so a pendulum is not exactly SHM. But for small angles (in radians), giving Γ = −mglθ. With :
You get the same result treating the bob’s motion along its arc (x = lθ) as linear SHM: the tangential force is −mg sin θ ≈ −mg x/l, so .
Find the period of a 1.5 m simple pendulum where g = 9.8 m/s². What length would beat seconds (T = 2.0 s)?
Measuring g with a pendulum
Hang a small ball from a clamp by a light thread. The effective length l runs from the point of suspension to the centre of the ball: thread length plus the ball’s radius (measured with slide callipers). Pull the ball slightly aside, release it, time 20 or 50 oscillations with a stopwatch, and divide to get T. Then . Repeat for several lengths to reduce random errors.
With an effective length of 80.5 cm, a pendulum makes 25 oscillations in 45.0 s. Find g.
- 1Angular SHM: , .
- 2Simple pendulum, small swings: , independent of mass and amplitude.
- 3Large swings take longer: the restoring torque grows only as sin θ.
- 4Measure g from g = 4π²l/T², timing many swings and using the length to the bob's centre.
Check yourself
Physical & Torsional Pendulums
Real swinging objects and twisting wires follow the same rhythm with I in charge.
Real swinging things are not point masses on threads. A ring on a nail, a swinging leg, a door closer: their rhythms follow the same rule once we let the moment of inertia take charge.
The physical pendulum
Any rigid body hung from a fixed pivot O is a physical (or compound) pendulum. It hangs at rest with its centre of mass C directly below O. Let OC = l. Turned through θ, the support force at O has no torque, and the weight has torque
Comparing with 2π√(L/g), it swings like a simple pendulum of length , the equivalent length. For a point bob, and L = l, as it should.
A thin uniform ring of radius 20 cm hangs on a nail through its rim and is set swinging gently in its own plane. Find the period.
The torsional pendulum
Hang a body (a disc, say) from a thin wire and twist it through θ about the wire. The wire twists too, and its elasticity produces a restoring torque proportional to the twist, , where k is the wire’s torsional constant. This is exactly angular SHM:
A uniform disc of mass 300 g and radius 6.0 cm is fixed at its centre to a vertical wire. Twisted and released, it oscillates with a period of 0.50 s. Find the torsional constant.
- 1Physical pendulum: , with I about the pivot; equivalent length I/ml.
- 2A uniform rod pivoted at one end: T = 2π√(2L/3g).
- 3Torsional pendulum: , .
Check yourself
Combining Two Oscillations
Add two rhythms along a line and you get another; add them at right angles and you draw ellipses.
What if two restoring forces act on the same particle at once? The answer is pleasantly simple: the motions just add.
Motions add
Suppose force F₁ alone would move a particle along , and F₂ alone along . Then and . Adding, , so is the motion under both forces (with matching starting conditions). Find each motion separately and add the displacements.
Two SHMs along the same line
Take equal frequencies with a phase difference δ:
Expanding the second and collecting, , which can be rewritten as a single sine:
The result is another SHM of the same frequency. Its amplitude depends on the phase difference:
- δ = 0 (in phase): , the largest possible.
- δ = π (out of phase): ; equal amplitudes cancel completely and the particle stays still.
- Anything in between gives an amplitude between these limits.
The phasor (vector) method
Represent each SHM by an arrow whose length is its amplitude, drawn at an angle equal to its phase: A₁ along a reference line, A₂ at angle δ to it. Their vector sum has exactly the magnitude and angle given above. It works for any number of SHMs of the same frequency: draw the arrows head to tail.
Find the amplitude of the motion x = (3.0 cm) sin ωt + (4.0 cm) sin(ωt + δ) when (a) δ = π/2, (b) δ = π/3.
Two SHMs at right angles
Now let one force produce motion along x and the other along y, again at the same frequency:
The particle moves in a plane. Eliminating t gives the path:
- δ = 0: , a straight line along one diagonal of the rectangle: SHM of amplitude .
- δ = π: a straight line along the other diagonal.
- δ = π/2: , an ellipse with axes along x and y. With A₁ = A₂ it is a circle: two equal perpendicular SHMs a quarter-cycle apart make uniform circular motion (clockwise or anticlockwise depending on which leads).
- 1Displacements due to separate forces add.
- 2Same direction, same frequency: SHM with .
- 3In phase: A₁ + A₂; out of phase: |A₁ − A₂|. Phasors add like vectors.
- 4Perpendicular directions: ellipse; δ = 0 or π gives a line; δ = π/2 with equal amplitudes gives a circle.
Check yourself
Videos, simulations & further reading (3)
Damped & Forced Oscillations; Resonance
Friction makes swings die away; a well-timed push makes them grow.
A real swing doesn’t go on forever; it dies away unless someone keeps pushing. And if the pushes come at just the right rhythm, even small ones build a huge swing.
Damping
Friction at joints, air resistance and many other effects add a damping force that opposes the velocity and steadily removes energy. In many practical cases it is proportional to the speed, , and Newton’s second law becomes
For light damping the solution is an oscillation whose amplitude shrinks exponentially:
So the system swings at almost its natural frequency while its amplitude decays. With enough damping it doesn’t oscillate at all: displaced, it simply returns to equilibrium without overshooting. The smallest damping that does this is critical damping, and it brings the system to rest fastest.
A 0.50 kg mass on a spring experiences a damping force −(0.10 kg/s)v. How long does it take for the amplitude to halve?
Forced oscillations
Now add a periodic driving force , as when you push a swing:
After an initial messy period, the body settles into steady oscillation at the driving frequency ω (not its natural one), with the energy lost to damping supplied by the driving force. The steady amplitude is
Resonance
Vary the driving frequency and the amplitude peaks at , very close to ω₀ when damping is small. This is resonance: drive a system at its own natural frequency and it responds enormously. The smaller the damping, the taller and sharper the peak; with no damping at all the formula would give infinite amplitude.
- 1Damping −bv makes the amplitude decay as ; the frequency falls slightly to ω′.
- 2Critical damping: the least damping with no oscillation; fastest return to rest.
- 3A periodic force makes the system oscillate at the driving frequency once it settles.
- 4Resonance: the amplitude peaks when the driving frequency is near the natural frequency; less damping, sharper peak.