How does the defining equation of simple harmonic motion lead to its displacement, velocity and period, and how do we model an oscillating particle?
Derive and apply the equations of simple harmonic motion, relating acceleration, velocity, displacement, amplitude and period for an oscillating particle
A focused answer to the HSC Maths Extension 2 dot point on simple harmonic motion. The defining equation, displacement and velocity functions, amplitude and period, and the velocity-displacement relation, with verified worked examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
- What this dot point is asking
- The defining equation
- Displacement as a function of time
- Velocity as a function of time
- The velocity-displacement relation
- Motion not centred at the origin
- Choosing sine or cosine
- Connecting to the velocity-displacement relation
- How exam questions ask about simple harmonic motion
What this dot point is asking
NESA wants you to model simple harmonic motion (SHM), the oscillation of a particle whose acceleration is proportional to its displacement and directed towards a fixed centre. You must use the defining equation, write displacement and velocity as functions of time, and find amplitude, period and the velocity-displacement relation.
The defining equation
A particle moves in simple harmonic motion if its acceleration satisfies
where is displacement from a fixed centre and is a positive constant. The minus sign is doing all the work. It says the acceleration always points opposite to the displacement: whenever the particle is on the positive side of the centre it is being pushed back negatively, and whenever it is on the negative side it is being pushed back positively. The force is a restoring force, proportional to how far the particle has strayed, so the further out it goes the harder it is pulled back. That single property, a restoring acceleration proportional to displacement, is the entire definition of SHM, and it is exactly the equation a spring (Hooke's law) or a small-angle pendulum produces. Drop the minus sign and the solution is exponential, not oscillatory; that is the textbook contrast worth carrying.
Displacement as a function of time
The general solution of is
where is the amplitude (maximum displacement) and is a phase constant fixed by initial conditions. Equivalently it can be written . The motion repeats every time increases by , so the period is
The frequency (oscillations per unit time) is . A subtle point that earns marks: the period is independent of the amplitude. A particle swinging through a wide arc takes exactly as long per cycle as one barely moving, because a larger amplitude brings a proportionally larger restoring acceleration. This is the property that makes SHM useful for timekeeping.
Building the displacement curve, stage by stage
The figures below build the displacement-time graph one feature at a time, in the order the quantities appear in a question: first the geometry of the oscillation, then the curve, then the things you measure off it.
Stage 1, the centre and the amplitude band. Every SHM is organised around a centre (here ) and two extremes a distance either side. The particle never leaves the band between and ; it swings back and forth across the centre forever. Fixing these three lines first stops the usual error of letting the curve drift.
Stage 2, draw the displacement curve. Solving with the particle starting at the extreme gives , the cosine curve below. It begins at the top of the band, falls through the centre, reaches the bottom extreme, and returns, smoothly and forever. Choosing the cosine here matches the common starting condition "released from rest at the extreme"; a different start just shifts the curve sideways by the phase .
Stage 3, read off amplitude and period. The two numbers every SHM question wants are now visible on the curve. The amplitude is the height from the centre to a peak; the period is the horizontal gap between successive peaks (one full cycle). These are what you extract or are given, and what the standard formulas connect.
Stage 4, where speed is zero and where it is greatest. The velocity is the slope of this curve. At the extremes (the peaks and troughs) the curve is momentarily flat, so the velocity is zero: the particle stops to turn around. At the centre crossings the curve is steepest, so the speed is greatest, equal to . This is the single most counter-intuitive fact in the topic and a favourite trap: maximum speed is at the centre, not at the extremes.
Velocity as a function of time
Differentiating gives
The speed reaches its maximum when , which occurs as the particle passes through the centre . The velocity is zero at the extremes , where the particle momentarily stops before reversing. Differentiating once more returns , which is a quick way to confirm a proposed really is SHM and to recover .
The velocity-displacement relation
It is often more useful to relate speed directly to position, without time. Using and integrating gives . Applying at fixes the constant, yielding
This confirms maximum speed at the centre and zero speed at . Plotted as against (the phase plane), the relation is an ellipse: the particle circulates around it once per period, fastest where the ellipse is tallest (the centre) and stationary where it crosses the -axis (the extremes).
Motion not centred at the origin
Many exam problems oscillate about a centre other than the origin, with defining equation . The treatment is identical once you measure displacement from the centre: the period is still , the particle oscillates between and , and the velocity-displacement relation becomes . Reading the defining equation to extract from the coefficient and from the bracket is the first marked step in almost every SHM question, so do it carefully and state both values explicitly.
Choosing sine or cosine
The general solution can be written as or equivalently . Use the cosine-with-phase form when you are given a starting position and direction, and find the phase from the initial conditions, taking care to pick the value of consistent with the sign of the initial velocity. The two-term form is convenient when the initial conditions are given as and separately, since and follows from the velocity. Both describe the same motion; choose whichever matches the data in the question.
Connecting to the velocity-displacement relation
The relation is derived by writing acceleration as and integrating, which is exactly the technique from the velocity-and-acceleration-functions dot point applied to the SHM equation. This is worth remembering because many questions ask for speed at a given position without reference to time, and the velocity-displacement relation answers them in one step, with no need to find the phase constant.
A common exam use runs the relation backwards: you are told the speed at one position and asked for the amplitude. Because contains , substituting a known pair lets you solve for , then , then the two extremes . This is faster and safer than going via the displacement equation and a phase angle, so reach for it whenever time is not mentioned.
How exam questions ask about simple harmonic motion
The phrasing tells you which tool to pick up:
- "A particle moves so that . Find the period / centre." Read (so ) and centre straight off, then . This is the one-mark opener in almost every SHM question.
- "Show that the motion is simple harmonic." Differentiate the given twice and show , naming and . Producing the defining equation is the whole task.
- "Find the speed / velocity as it passes through ... / at " No time is mentioned, so use in one line. Take the correct square root for the direction asked.
- "Find the amplitude" given a speed at a point. Substitute the pair into the velocity-displacement relation and solve for ; then the extremes are .
- "Find the first time the particle is at / reaches the centre." Now you do need time: write , fix from the initial position and the sign of the initial velocity, then solve for , choosing the smallest positive root.
- "What distance does it travel in one period / in seconds?" In one full period a particle covers (two extremes and back). Do not confuse distance travelled with displacement, which returns to its start each period.
- "Between which values of does it oscillate?" The extremes and ; find first, usually from a given speed at a given point.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
HSC 20232 marksA particle moves in simple harmonic motion described by . Find the period and the central point of motion.Show worked answer →
Compare with the standard SHM equation , where is the centre of motion and is the angular frequency.
Here , so and . The bracket shows the centre is .
Period: seconds.
So the period is and the central point of motion is .
Mark notes: 1 mark for the period (from ), 1 mark for the centre of motion .
HSC 20243 marksA particle moves in simple harmonic motion described by . When the particle passes through the origin, its speed is m/s. What distance does the particle travel during a full period?Show worked answer →
From , the form gives (so ) and centre .
The velocity-displacement relation is , where is the amplitude. Here .
At the origin the speed is , so , giving and .
In one full period the particle travels from one extreme to the other and back, covering amplitudes:
distance metres.
Mark notes: 1 mark for identifying and centre , 1 mark for using to find , 1 mark for the distance metres.
HSC 20214 marksAn object moves in simple harmonic motion along the -axis with , in metres after seconds. Initially the object is metres to the right of the origin and moving towards the origin. It has a speed of m/s as it passes through the origin. (i) Between which two values of is the particle oscillating? (ii) Find the first value of for which , correct to 2 decimal places.Show worked answer →
From : so , and the centre is .
Part (i). Use . At the origin the speed is : , so and . The particle oscillates between and , so between and .
Part (ii). Write . At , : , so or . Since the object is moving towards the origin ( decreasing), , so and .
Thus . Setting : , so . Then , so seconds (to 2 decimal places).
Mark notes: 1 mark for and centre , 1 mark for giving the range to ; then 1 mark for the displacement equation with , 1 mark for .
