Simple Harmonic Motion
Simple harmonic motion (SHM) is a fundamental periodic oscillation where an oscillating system experiences a restoring force directly proportional to, and opposite in direction to, its displacement. It models physical systems ranging from atomic vibrations to pendulums and mass-spring systems, and provides the starting point for the study of waves.
Part of IB Physics (2025-2030 syllabus) — Standard and Higher Level.
Items marked HL are Higher Level only — SL students can skip them.
Showing Standard Level content only — Higher Level items are hidden.
Key points
- The defining condition for simple harmonic motion is that the acceleration of the system is directly proportional to its displacement from equilibrium, and always directed towards that equilibrium position, mathematically represented as .
- The period of the motion is the time taken for one complete oscillation, which is independent of the amplitude of oscillation for small-angle pendulums and ideal mass-spring systems.
- For a mass-spring system, the period is determined by the mass and spring constant (), while for a simple pendulum, it depends on length and gravitational field strength ().
- Total mechanical energy in an undamped SHM system remains constant, continuously transforming between kinetic energy (maximum at equilibrium) and potential energy (maximum at maximum displacement ).
- HLThe displacement, velocity, and acceleration can be described as sinusoidal functions of time, where velocity leads displacement by a phase difference of (), and acceleration is in antiphase with displacement, a difference of ().
- HLThe phase angle in the general SHM equation accounts for the system's state at , allowing the mathematical model to fit any arbitrary starting position.
- HLAt any displacement , the speed of the oscillator follows from , giving a maximum speed of as it passes through the equilibrium position.
Subtopic by subtopic
Conditions for simple harmonic motion
An object undergoes simple harmonic motion (SHM) when its acceleration is directly proportional to its displacement from a fixed equilibrium position and is always directed back towards that position. Both parts of the condition matter: proportionality alone is not enough, and the direction requirement is what makes the motion repeat.
The defining equation is:
Here the negative sign encodes the restoring direction and is the angular frequency.
Physically, SHM requires a restoring force that grows linearly with displacement. A trolley tethered between two stretched springs is a good example: displace it to the right and the net spring force pulls it back to the left; displace it and that force doubles. A bouncing ball is periodic but not SHM, because the forces acting on it are not proportional to its displacement.
You must be able to:
- state both conditions precisely
- recognise SHM from descriptions or graphs (an – graph for SHM is a straight line through the origin with negative gradient)
- use to show that the maximum acceleration occurs at the extremes of the motion
Period, frequency and angular frequency
Three linked quantities measure how rapidly an oscillation repeats:
- The period is the time for one complete cycle, in seconds.
- The frequency is the number of cycles completed each second, in hertz ().
- The angular frequency , in , expresses the same rate in radians, given by:
One full cycle corresponds to a phase change of , so multiplying the frequency by converts cycles per second into radians per second.
For example, a loudspeaker cone vibrating at has and . Ideal SHM is isochronous: the period stays the same whatever the amplitude, which is why pendulums could regulate early clocks even as their swings died away.
You should be able to:
- convert fluently between , and
- read the period directly from a displacement–time graph (peak to peak along the time axis)
- substitute , never , into SHM equations such as
Mixing up and is one of the quickest ways to lose marks in this topic.
Mass-spring systems and pendulums
Two standard oscillators appear throughout this topic. A mass–spring system has period given by:
A larger mass oscillates more slowly, while a stiffer spring (larger spring constant ) shortens the period. Because does not appear, a horizontal mass–spring oscillator would keep the same period on the Moon.
A simple pendulum has period:
This is set only by its length and the local gravitational field strength; the mass of the bob and the amplitude of the swing do not appear at all.
The pendulum result needs care, because a pendulum does not strictly execute SHM. The restoring force is the tangential component of gravity, , and since displacement along the arc is , this yields — proportional to , not to .
However, for small angles (where , or ), , and substituting this approximation gives , restoring the linear relationship required for SHM with angular frequency . The period is therefore independent of mass and amplitude only under this small-angle constraint.
You must be able to:
- calculate periods
- rearrange both formulae for , , or
- describe the classic experiment that determines by plotting against (the gradient is )
Energy in simple harmonic motion
As an undamped oscillator moves through one cycle, its total mechanical energy stays constant while continuously converting between kinetic and potential forms. Kinetic energy is maximum at the equilibrium position, where the speed is greatest, and zero at the extremes , where the object is momentarily at rest; potential energy does the opposite, peaking at maximum displacement.
A complete exchange between the two forms happens every quarter of a cycle.
Graphs make this concrete. Plotted against displacement:
- potential energy is an upward-opening parabola
- kinetic energy is a downward-opening one
- their sum is a horizontal line at
Plotted against time, each energy varies as or , always positive and repeating twice per oscillation.
The same physics can be drawn in a velocity–displacement plot. For a mass–spring oscillator, conservation of energy gives:
Dividing both sides by yields , the equation of an ellipse. As time progresses, the system's state traces out this closed curve once per cycle, and any damping force removes energy and makes the trajectory spiral inwards towards the origin (rest at equilibrium).
At SL the energy description is qualitative; calculations with belong to the HL extension. You should be able to:
- describe the interchange
- sketch both families of graphs
- state where each form of energy is zero or maximum
SHM equations and phase angleHL
At HL the motion is written as explicit functions of time. Displacement is given by:
Here the phase angle fixes where in its cycle the oscillator is at : with the object starts at equilibrium moving in the positive direction, while means it starts at , since .
The velocity at any time is given directly by , and substituting into the defining equation gives the acceleration . These forms show velocity leading displacement by and acceleration in antiphase with displacement.
When the time is not known, find the speed at any displacement using:
This gives the maximum speed at and zero at the extremes. The energy relations follow directly:
For instance, a mass with and has and .
You must be able to:
- choose between sine and cosine forms
- extract from a graph or from initial conditions
- keep your calculator in radian mode
- combine these equations to find displacement, velocity, acceleration or energy at any instant
Formulae
When relating the acceleration of an oscillating system directly to its displacement from equilibrium.
When converting between period , frequency , and angular frequency .
When calculating the period of oscillation for a mass-spring system with mass and spring constant .
When calculating the period of oscillation of a simple pendulum of length in a gravitational field (valid for small angles).
When calculating the total mechanical energy of an object of mass undergoing SHM with amplitude and angular frequency .
When calculating the potential energy of an oscillator at displacement ; subtracting it from the total energy gives the kinetic energy at that point.
When determining the displacement of an oscillator at any time given an amplitude , angular frequency , and a non-zero initial phase angle .
When determining the velocity of an oscillator at a given time from its amplitude, angular frequency and phase angle.
When finding the velocity of an oscillator at a known displacement without knowing the time; at it gives the maximum speed .
Definitions
- Simple Harmonic Motion (SHM)
- A type of periodic motion where the restoring force and resulting acceleration are directly proportional to the displacement from the equilibrium position and directed towards it ().
- Angular Frequency ()
- The rate of change of phase angle per unit time, measured in radians per second (), defined as .
- Amplitude ()
- The maximum displacement of the oscillating object from its equilibrium position during a cycle.
- Phase Angle ()HL
- A constant angle (in radians) added to the argument of the sine or cosine function that represents the fractional part of a period that has elapsed since the starting reference time.
- Restoring Force
- A force that acts to bring an oscillating body back towards its equilibrium position, always acting in a direction opposite to the displacement.
Worked examples
A pendulum in a museum clock consists of a small brass bob on a light rod of length , swinging through a small angle. Calculate the period, frequency and angular frequency of the oscillation, and determine the length the pendulum would need for a period of exactly .
- 1Step 1: Apply the simple pendulum formula: .
- 2Step 2: Calculate the frequency from the period: .
- 3Step 3: Calculate the angular frequency: .
- 4Step 4: Rearrange the period formula for length and substitute the target period: .
Answer: , , ; a length of gives a period
An object of mass is attached to a horizontal spring on a frictionless surface. It is pulled from equilibrium and released from rest. The spring constant is . Calculate the maximum velocity of the mass and its kinetic energy when the displacement is .HL
- 1Step 1: Determine the angular frequency using the spring constant and mass . Use .
- 2Step 2: Calculate the maximum velocity. The maximum velocity occurs at the equilibrium position where .
- 3Step 3: Calculate the kinetic energy at . The formula for kinetic energy as a function of displacement is .
- 4Step 4: Substitute the values: .
Answer: and
A particle undergoes simple harmonic motion described by the equation , where is in meters and is in seconds. Determine the displacement , velocity , and acceleration of the particle at .HL
- 1Step 1: Ensure your calculator is in radian mode. First, calculate the phase angle argument: .
- 2Step 2: Calculate the displacement : .
- 3Step 3: Write the corresponding velocity equation. The displacement is given in the cosine form, a quarter-cycle ahead of , so the velocity equation shifts in the same way to : .
- 4Step 4: Calculate the velocity at : .
- 5Step 5: Calculate the acceleration using . Here, and . Thus, .
Answer: , , and
Common mistakes
- ×Confusing the energy-displacement graphs with energy-time graphs. The energy-displacement curves are parabolic (kinetic energy is a downward-opening parabola, potential energy is an upward-opening parabola), while energy-time curves are sinusoidal squared ( or ) and always positive.
- ×Forgetting to switch the calculator to RADIAN mode when solving simple harmonic motion equations. Degrees must never be used in SHM time-dependent calculations.
- ×Assuming that the period of a pendulum depends on its mass or amplitude. The small-angle approximation () explicitly shows that the period is independent of the mass of the bob and the amplitude of release, provided the angle of release remains small ( or ).
- ×Mixing up phase relations, such as assuming velocity and displacement are in phase. In fact, velocity leads displacement by (), reaching its maximum magnitude when displacement is zero.
Exam tips
- ✓When asked to **state** or **define** the condition for SHM, always mention two key components: the acceleration/force is directly proportional to the displacement, and it is in the opposite direction (or directed towards the equilibrium position).
- ✓When **sketching** SHM graphs of displacement, velocity, and acceleration against time, pay careful attention to the alignments of key points: displacement peaks must line up with acceleration troughs, and maximum velocity must line up with zero displacement.
- ✓In Paper 1 multiple-choice questions, remember that the total energy is proportional to the square of the amplitude () and the square of the frequency (). Use this proportional reasoning to solve scaling questions quickly.
- ✓(HL) To **determine** the phase angle from a graph, look at the starting position at . Use the initial conditions to solve for using or depending on the reference function given.