Skip to main content
ExamExplained
NSW · Maths Extension 2
Maths Extension 2 study scene
§-Syllabus dot point
NSWMaths Extension 2Syllabus dot point

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
  1. What this dot point is asking
  2. The defining equation
  3. Displacement as a function of time
  4. Velocity as a function of time
  5. The velocity-displacement relation
  6. Motion not centred at the origin
  7. Choosing sine or cosine
  8. Connecting to the velocity-displacement relation
  9. 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

x¨=n2x,\ddot{x} = -n^2 x,

where xx is displacement from a fixed centre and n>0n > 0 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 x¨=n2x\ddot{x} = -n^2 x is

x=acos(nt+α),x = a\cos(nt + \alpha),

where aa is the amplitude (maximum displacement) and α\alpha is a phase constant fixed by initial conditions. Equivalently it can be written x=Acosnt+Bsinntx = A\cos nt + B\sin nt. The motion repeats every time ntnt increases by 2π2\pi, so the period is

T=2πn.T = \frac{2\pi}{n}.

The frequency (oscillations per unit time) is 1T=n2π\dfrac{1}{T} = \dfrac{n}{2\pi}. 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 x=0x = 0) and two extremes a distance aa either side. The particle never leaves the band between x=ax = a and x=ax = -a; it swings back and forth across the centre forever. Fixing these three lines first stops the usual error of letting the curve drift.

Stage 1: the centre and the amplitude bandA horizontal time axis through the centre of motion at displacement zero, with two dashed lines at displacement plus a and minus a marking the extremes the particle oscillates between. t x x = a (extreme) x = -a (extreme) x = 0 (centre) 1 Stage 1: the motion stays inside the band, swinging about the centre x = 0.

Stage 2, draw the displacement curve. Solving x¨=n2x\ddot{x} = -n^2 x with the particle starting at the extreme x=ax = a gives x=acosntx = a\cos nt, 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 α\alpha.

Stage 2: the displacement-time curveThe displacement x equals a cosine n t is a cosine curve starting at the upper extreme x equals a at time zero, dropping through the centre to the lower extreme, and back, repeating each period. t x x = a x = -a x = a cos nt 2 Stage 2: starting at the extreme x = a, the displacement traces a cosine.

Stage 3, read off amplitude and period. The two numbers every SHM question wants are now visible on the curve. The amplitude aa is the height from the centre to a peak; the period T=2πnT = \dfrac{2\pi}{n} 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 3: amplitude and periodThe same cosine curve, now with the amplitude a marked as the height from the centre to a peak and the period T marked as the horizontal distance between successive peaks. t x T a centre x = 0 3 Stage 3: amplitude a is the peak height; period T = 2 pi / n spans one full cycle.

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 anan. 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.

Stage 4: speed around the cycleOn the finished displacement curve, the turning points at the extremes are where the velocity is zero, and the steep crossings of the centre line are where the speed reaches its maximum a n. The slope of the curve is the velocity. t x v = 0 v = 0 speed max = an v 4 Stage 4: slope is the velocity, zero at the extremes, steepest (speed an) at the centre.

Velocity as a function of time

Differentiating x=acos(nt+α)x = a\cos(nt + \alpha) gives

v=x˙=ansin(nt+α).v = \dot{x} = -an\sin(nt + \alpha).

The speed reaches its maximum anan when sin(nt+α)=±1\sin(nt + \alpha) = \pm 1, which occurs as the particle passes through the centre x=0x = 0. The velocity is zero at the extremes x=±ax = \pm a, where the particle momentarily stops before reversing. Differentiating once more returns x¨=an2cos(nt+α)=n2x\ddot{x} = -an^2\cos(nt + \alpha) = -n^2 x, which is a quick way to confirm a proposed x(t)x(t) really is SHM and to recover nn.

The velocity-displacement relation

It is often more useful to relate speed directly to position, without time. Using x¨=ddx(12v2)\ddot{x} = \dfrac{d}{dx}\left(\tfrac{1}{2}v^2\right) and integrating ddx(12v2)=n2x\dfrac{d}{dx}\left(\tfrac{1}{2}v^2\right) = -n^2 x gives 12v2=12n2x2+c\tfrac{1}{2}v^2 = -\tfrac{1}{2}n^2 x^2 + c. Applying v=0v = 0 at x=ax = a fixes the constant, yielding

v2=n2(a2x2).v^2 = n^2(a^2 - x^2).

This confirms maximum speed v=anv = an at the centre x=0x = 0 and zero speed at x=±ax = \pm a. Plotted as vv against xx (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 xx-axis (the extremes).

The velocity-displacement relationA plot of velocity v against displacement x is an ellipse: v squared equals n squared times the quantity a squared minus x squared. Speed is greatest a n at the centre x equals zero and zero at the extremes x equals plus or minus a. x v v = an (max speed) v = -an -a a v² = n²(a² - x²)

Motion not centred at the origin

Many exam problems oscillate about a centre cc other than the origin, with defining equation x¨=n2(xc)\ddot{x} = -n^2(x - c). The treatment is identical once you measure displacement from the centre: the period is still T=2πnT = \frac{2\pi}{n}, the particle oscillates between cac - a and c+ac + a, and the velocity-displacement relation becomes v2=n2(a2(xc)2)v^2 = n^2(a^2 - (x - c)^2). Reading the defining equation to extract n2n^2 from the coefficient and cc 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 x=c+acos(nt+α)x = c + a\cos(nt + \alpha) or equivalently x=c+Acosnt+Bsinntx = c + A\cos nt + B\sin nt. Use the cosine-with-phase form when you are given a starting position and direction, and find the phase α\alpha from the initial conditions, taking care to pick the value of α\alpha consistent with the sign of the initial velocity. The two-term form is convenient when the initial conditions are given as x(0)x(0) and x˙(0)\dot{x}(0) separately, since A=x(0)cA = x(0) - c and BB 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 v2=n2(a2x2)v^2 = n^2(a^2 - x^2) is derived by writing acceleration as ddx(12v2)\frac{d}{dx}\left(\frac{1}{2}v^2\right) 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 v2=n2(a2x2)v^2 = n^2(a^2 - x^2) contains aa, substituting a known (x,v)(x, v) pair lets you solve for a2a^2, then aa, then the two extremes c±ac \pm a. 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 x¨=k(xc)\ddot{x} = -k(x - c). Find the period / centre." Read n2=kn^2 = k (so n=kn = \sqrt{k}) and centre cc straight off, then T=2πnT = \frac{2\pi}{n}. This is the one-mark opener in almost every SHM question.
  • "Show that the motion is simple harmonic." Differentiate the given x(t)x(t) twice and show x¨=n2(xc)\ddot{x} = -n^2(x - c), naming nn and cc. Producing the defining equation is the whole task.
  • "Find the speed / velocity as it passes through ... / at x=x = \ldots" No time is mentioned, so use v2=n2(a2(xc)2)v^2 = n^2\big(a^2 - (x - c)^2\big) in one line. Take the correct square root for the direction asked.
  • "Find the amplitude" given a speed at a point. Substitute the (x,v)(x, v) pair into the velocity-displacement relation and solve for aa; then the extremes are c±ac \pm a.
  • "Find the first time the particle is at x=x = \ldots / reaches the centre." Now you do need time: write x=c+acos(nt+α)x = c + a\cos(nt + \alpha), fix α\alpha from the initial position and the sign of the initial velocity, then solve for tt, choosing the smallest positive root.
  • "What distance does it travel in one period / in nn seconds?" In one full period a particle covers 4a4a (two extremes and back). Do not confuse distance travelled with displacement, which returns to its start each period.
  • "Between which values of xx does it oscillate?" The extremes cac - a and c+ac + a; find aa 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 x¨=9(x4)\ddot{x} = -9(x - 4). Find the period and the central point of motion.
Show worked answer →

Compare with the standard SHM equation x¨=n2(xc)\ddot{x} = -n^2(x - c), where cc is the centre of motion and nn is the angular frequency.

Here n2=9-n^2 = -9, so n2=9n^2 = 9 and n=3n = 3. The bracket (x4)(x - 4) shows the centre is c=4c = 4.

Period: T=2πn=2π3T = \frac{2\pi}{n} = \frac{2\pi}{3} seconds.

So the period is 2π3\frac{2\pi}{3} and the central point of motion is x=4x = 4.

Mark notes: 1 mark for the period 2π3\frac{2\pi}{3} (from n=3n = 3), 1 mark for the centre of motion x=4x = 4.

HSC 20243 marksA particle moves in simple harmonic motion described by x¨=4(x+1)\ddot{x} = -4(x + 1). When the particle passes through the origin, its speed is 44 m/s. What distance does the particle travel during a full period?
Show worked answer →

From x¨=4(x+1)\ddot{x} = -4(x + 1), the form x¨=n2(xc)\ddot{x} = -n^2(x - c) gives n2=4n^2 = 4 (so n=2n = 2) and centre c=1c = -1.

The velocity-displacement relation is v2=n2(A2(xc)2)v^2 = n^2(A^2 - (x - c)^2), where AA is the amplitude. Here v2=4(A2(x+1)2)v^2 = 4(A^2 - (x + 1)^2).

At the origin x=0x = 0 the speed is 44, so 16=4(A21)16 = 4(A^2 - 1), giving A2=5A^2 = 5 and A=5A = \sqrt{5}.

In one full period the particle travels from one extreme to the other and back, covering 44 amplitudes:

distance =4A=45= 4A = 4\sqrt{5} metres.

Mark notes: 1 mark for identifying n=2n = 2 and centre c=1c = -1, 1 mark for using v2=n2(A2(xc)2)v^2 = n^2(A^2 - (x - c)^2) to find A=5A = \sqrt{5}, 1 mark for the distance 4A=454A = 4\sqrt{5} metres.

HSC 20214 marksAn object moves in simple harmonic motion along the xx-axis with x¨=4(x3)\ddot{x} = -4(x - 3), xx in metres after tt seconds. Initially the object is 5.55.5 metres to the right of the origin and moving towards the origin. It has a speed of 88 m/s as it passes through the origin. (i) Between which two values of xx is the particle oscillating? (ii) Find the first value of tt for which x=0x = 0, correct to 2 decimal places.
Show worked answer →

From x¨=4(x3)\ddot{x} = -4(x - 3): n2=4n^2 = 4 so n=2n = 2, and the centre is c=3c = 3.

Part (i). Use v2=n2(A2(xc)2)=4(A2(x3)2)v^2 = n^2(A^2 - (x - c)^2) = 4(A^2 - (x - 3)^2). At the origin x=0x = 0 the speed is 88: 64=4(A29)64 = 4(A^2 - 9), so A2=25A^2 = 25 and A=5A = 5. The particle oscillates between cA=2c - A = -2 and c+A=8c + A = 8, so between x=2x = -2 and x=8x = 8.

Part (ii). Write x=c+Acos(nt+ϕ)=3+5cos(2t+ϕ)x = c + A\cos(nt + \phi) = 3 + 5\cos(2t + \phi). At t=0t = 0, x=5.5x = 5.5: cosϕ=2.55=0.5\cos\phi = \frac{2.5}{5} = 0.5, so ϕ=π3\phi = \frac{\pi}{3} or π3-\frac{\pi}{3}. Since the object is moving towards the origin (xx decreasing), x˙(0)=10sinϕ<0\dot{x}(0) = -10\sin\phi < 0, so sinϕ>0\sin\phi > 0 and ϕ=π3\phi = \frac{\pi}{3}.

Thus x=3+5cos ⁣(2t+π3)x = 3 + 5\cos\!\left(2t + \frac{\pi}{3}\right). Setting x=0x = 0: cos ⁣(2t+π3)=0.6\cos\!\left(2t + \frac{\pi}{3}\right) = -0.6, so 2t+π3=arccos(0.6)2.21432t + \frac{\pi}{3} = \arccos(-0.6) \approx 2.2143. Then 2t2.21431.0472=1.16712t \approx 2.2143 - 1.0472 = 1.1671, so t0.58t \approx 0.58 seconds (to 2 decimal places).

Mark notes: 1 mark for n=2n = 2 and centre 33, 1 mark for A=5A = 5 giving the range 2-2 to 88; then 1 mark for the displacement equation with ϕ=π3\phi = \frac{\pi}{3}, 1 mark for t0.58t \approx 0.58.

ExamExplained