WhatsApp us
IB DP Physics29 Nov 2026

The Maths of Simple Harmonic Motion and Waves in IB Physics: Sine, Cosine and ω

Simple harmonic motion and waves in IB DP Physics run on sine and cosine models. How amplitude, angular frequency and phase fit together, how to find displacement and velocity at a given time, and four worked examples checked step by step.

The Maths of Simple Harmonic Motion and Waves in IB Physics: Sine, Cosine and ω

Simple harmonic motion is the place where IB Physics leans hardest on trigonometry. An object in SHM has a displacement that follows a sine or cosine curve in time, and almost every SHM question comes down to three numbers: the amplitude, the angular frequency ω = 2π/T, and where in the cycle the motion starts. Get those three right, with the calculator in radians, and the rest is substitution.

SHM is topic C.1 in theme C, Wave behaviour. The guide gives it 3 hours at SL and 4 further hours of additional higher level content, so HL students go deeper. The worked examples below use the full sine and cosine models; some of that sits in the HL hours, so SL students should ask their teacher which parts their course needs. If you want a senior tutor to take you through it, Ajay Vatsyayan covers SHM and the rest of theme C one to one.

What makes motion "simple harmonic"

SHM is defined by one relationship: the acceleration is proportional to the displacement from equilibrium and always points back towards it.

a = −ω²x

The minus sign is the whole idea. Pull a mass on a spring to the right and the acceleration points left; push it left and the acceleration points right. The constant ω² tells you how strongly the system pulls back. A stiff spring or a light mass gives a large ω and a short period.

From that one relationship come the sine and cosine solutions. You do not need calculus to use them in physics, and the physics guide does not ask for it. Students taking IB Maths will recognise that differentiating x = A cos(ωt) twice gives −ω²x, which is a satisfying check rather than a requirement.

The three numbers in every model

SymbolNameUnitHow to find it
A (or x₀)AmplitudemMaximum displacement from equilibrium, not peak to peak
ωAngular frequencyrad s⁻¹ω = 2πf = 2π/T
φPhaseradWhere the cycle starts at t = 0

Two starting cases cover most questions:

  • Released from maximum displacement at t = 0: x = A cos(ωt)
  • Passing through equilibrium at t = 0, moving in the positive direction: x = A sin(ωt)

Velocity and acceleration follow the same pattern, shifted by a quarter of a cycle. If x = A cos(ωt), then v = −Aω sin(ωt) and a = −Aω² cos(ωt). So the maximum speed is Aω and the maximum acceleration is Aω².

There is also a version of the velocity that does not need the time: v = ±ω√(A² − x²). It is the quickest route when a question gives a displacement and asks for the speed there.

Worked example 1: a mass on a spring

A 0.50 kg mass hangs on a spring of stiffness 20 N m⁻¹. It is pulled 0.040 m below equilibrium and released.

Period. For a mass-spring system, T = 2π√(m/k) = 2π√(0.50 ÷ 20) = 2π√0.025 = 0.993 s.

Angular frequency. ω = 2π/T, or directly ω = √(k/m) = √40 = 6.32 rad s⁻¹.

Maximum speed. Aω = 0.040 × 6.32 = 0.253 m s⁻¹, reached at equilibrium.

Maximum acceleration. Aω² = 0.040 × 40 = 1.60 m s⁻², reached at the extremes.

Energy gives an independent check. The energy stored at the extreme, ½kA² = ½ × 20 × 0.040² = 0.016 J, should equal the kinetic energy at equilibrium, ½ × 0.50 × 0.253² = 0.016 J. It does.

Worked example 2: displacement and velocity at a given time

Same system. Find the displacement and velocity 0.20 s after release.

It starts at maximum displacement, so x = A cos(ωt).

  • ωt = 6.32 × 0.20 = 1.265 rad. Radians, not degrees.
  • x = 0.040 cos(1.265) = 0.040 × 0.301 = 0.0120 m (12.0 mm from equilibrium, same side it started).
  • v = −Aω sin(ωt) = −0.253 × 0.954 = −0.241 m s⁻¹.

The negative sign means the mass is moving back towards equilibrium. Check with the time-free formula: ω√(A² − x²) = 6.32 × √(0.040² − 0.0120²) = 0.241 m s⁻¹. Same size, as it must be.

In degrees mode you would get cos(1.265°) ≈ 1, a displacement of almost exactly 0.040 m and a speed of nearly zero. The answer looks plausible, which is why this mistake survives to the exam.

Worked example 3: when does it first reach half amplitude?

Find the first time after release at which the displacement is +0.020 m.

0.040 cos(ωt) = 0.020, so cos(ωt) = 0.5.

The first positive solution is ωt = π/3, so t = (π/3) ÷ 6.32 = 0.166 s.

That is exactly T/6, which is worth noticing. Many students expect it to take half the time to equilibrium (T/8), but the mass moves slowly near the extreme and fast near the middle, so it takes longer to cover the first half of the distance.

Questions that ask for the second or third time it reaches a position are trig equations in an interval. The method is the one in our sibling post on solving trig equations across a given range: find the first solution, then use the symmetry of the cosine graph.

Worked example 4: from oscillation to wave

When a wave passes along a string, each point on the string oscillates, and the same sine model describes it. The wave adds a second variable: position along the string.

A wave on a string has frequency 25 Hz and wavelength 0.80 m.

Wave speed. v = fλ = 25 × 0.80 = 20 m s⁻¹.

Phase difference between two points 0.20 m apart. One full wavelength is a phase difference of 2π. So Δφ = 2π × (0.20 ÷ 0.80) = π/2 rad, a quarter of a cycle (90°). When one point is at a crest, the other is at equilibrium.

This is where students mix up the two graphs:

GraphHorizontal axisDistance between repeats
Displacement against time (one point)tPeriod T
Displacement against distance (a snapshot)xWavelength λ

The curves look identical. Read the axis label before reading anything else. Our sibling guide to waves and light in IB Physics covers the physics of the wave topics themselves.

The pendulum and the small-angle step

The period of a simple pendulum is T = 2π√(L/g). For a 0.75 m pendulum, T = 2π√(0.75 ÷ 9.81) = 1.74 s. The formula relies on a small-angle approximation: for small angles in radians, sin θ ≈ θ. At 10° (0.1745 rad), sin θ = 0.1736, a difference of about half a percent. At 40° the approximation is no longer good, and the real period is noticeably longer.

The pendulum is also a favourite for practical work, because T² = (4π²/g)L is a straight line through the origin. Plot T² against L and the gradient gives g. Our post on straight-line graphs and linearising data works through that method.

Where the same maths sits in IB Maths

AA students study sine and cosine graphs with transformations, y = a sin(b(x − c)) + d, and the period 2π/b is exactly the 2π/ω of physics. Radians, exact values such as cos(π/3) = 0.5 and trig equations in an interval all transfer directly. AI students meet sinusoidal models as well; check your own course for the exact forms you study. Our AA trigonometry guide covers the maths side in full, and the bridge pillar on choosing AA or AI alongside Physics HL explains how much maths each physics level really uses.

Mistakes our tutors see

  1. Degrees mode. Any expression with ωt must be in radians.
  2. f and ω confused. ω = 2πf. A 2.0 Hz oscillation has ω = 12.6 rad s⁻¹, not 2.0.
  3. Peak-to-peak used as amplitude. If a mass moves between two marks 8.0 cm apart, A = 4.0 cm.
  4. Sine used when it started at the extreme. Released from rest at maximum displacement means cosine.
  5. Sign of velocity dropped. A negative velocity is information about direction, not an error.
  6. Pendulum formula used at large angles without comment.

Exam technique

Sketch x against t for one cycle before calculating anything. Mark T/4, T/2 and 3T/4, and write where the speed is greatest and where the acceleration is greatest. Many SHM multiple-choice questions in Paper 1A can be answered from that sketch alone. In Paper 2, write the model you are using, for example "x = 0.040 cos(6.32t)", before substituting, so a reader can follow every number.

Self-check

  1. An oscillator has period 0.40 s. Find ω.
  2. Amplitude 0.050 m, ω = 8.0 rad s⁻¹. Find the maximum speed and the maximum acceleration.
  3. Using question 2, find the speed when x = 0.030 m.
  4. A wave has speed 340 m s⁻¹ and frequency 850 Hz. Find the wavelength.

Answers. 1: 15.7 rad s⁻¹. 2: 0.400 m s⁻¹ and 3.20 m s⁻². 3: 8.0 × √(0.050² − 0.030²) = 0.320 m s⁻¹. 4: 0.400 m.

Where it leads next

The sine model returns in standing waves and resonance (C.4), and HL students use it again with the extra SHM content. The gradient of a displacement-time curve is the velocity, an idea our post on reading gradients and areas from physics graphs develops further.

How Maths Bodhi helps

Our tutors teach SHM from the sketch and the three numbers, then build to full exam questions with the calculator set correctly every time. Gaps in trigonometry are fixed alongside the physics, not left for later.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.

Frequently asked questions

What maths do I need for simple harmonic motion in IB Physics?
Sine and cosine functions, radians, the link ω = 2π/T, rearranging square-root formulas and solving simple trig equations. Calculus is not required by the physics guide.
Is simple harmonic motion HL only in IB Physics?
No. SHM (topic C.1) is studied at SL and HL, and HL adds extra hours of content. Ask your teacher which equations your level needs.
Should my calculator be in degrees or radians for SHM?
Radians, whenever you evaluate sin(ωt) or cos(ωt). Angles in mechanics questions are often in degrees, so check the mode at the start of each question.
When do I use sine and when do I use cosine in SHM?
Use cosine when the object is released from maximum displacement at t = 0, and sine when it passes through equilibrium at t = 0 moving in the positive direction.
What is the difference between frequency and angular frequency?
Frequency f counts cycles per second in hertz. Angular frequency ω measures radians per second, and ω = 2πf.
IB physics SHMsimple harmonic motion mathsIB physics wavestrigonometry for physicsIB tutor Gurgaon

Related guides

Keep exploring this maths topic

IB DP Physics29 Nov 2026

IB Physics Waves and Light: Theme C From SHM to Interference, With Worked Examples

Theme C of IB DP Physics, Wave behaviour, covers SHM, the wave model, wave phenomena, standing waves and the Doppler effect, with extra HL content in C.1, C.3 and C.5. Four worked examples on refraction, double-slit interference, harmonics and SHM, the mistakes our tutors see and a self-check with answers.

IB physics wavesIB physics wave phenomenastanding waves and harmonicsIB physics light

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics Syllabus Explained: Themes A to E, Every Topic and Its Hours

A complete map of the current IB DP Physics syllabus: five themes, 24 topics coded A.1 to E.5, SL and HL hours for each, the HL-only topics, the skills that run through the course and how it is examined.

IB Physics syllabusIB Physics topicsIB DP Physics themesIB Physics HL syllabus

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

Gradient and Area Under a Graph in IB Physics: What Each One Means and How to Find It

In IB DP Physics the gradient and the area under a graph are physical quantities with units. A graph-by-graph table, how to draw a tangent, how to find areas by shapes, squares and trapezia, and four worked examples from motion, springs and impulse.

IB physics graphsgradient of a grapharea under a graphIB physics data analysis

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics Kinematics Equations: suvat, When They Work, and the Calculus View from IB Maths

The IB Physics kinematics equations (suvat) only work for constant acceleration. How to choose the right one, why they come from the area under a velocity-time graph, how projectiles use them, and how this compares with the calculus kinematics in IB Maths.

IB physics kinematicssuvat equationsprojectile motionphysics and maths kinematics

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics Mechanics: The Mistakes That Cost Marks in Theme A, With Worked Examples

Mechanics in IB DP Physics is theme A: kinematics, forces and momentum, and work, energy and power for everyone, plus rigid bodies and relativity at HL. Four worked examples built around the mistakes our tutors see most, a self-check with answers and exam technique for Papers 1 and 2.

IB physics mechanicsIB physics theme Aprojectile motionmomentum and collisions

By Maths Bodhi Team

Read guide

IB DP Physics29 Nov 2026

IB Physics Graphs: How to Linearise Data, Use Log Graphs and Find the Gradient Uncertainty

Linearising turns a curved physics relationship into a straight line whose gradient and intercept give you a constant. How to choose the axes, when to use log-log or ln graphs, and how to draw maximum and minimum gradient lines, with three checked examples.

IB physics graphslinearising datalog-log graphsgradient uncertainty

By Maths Bodhi Team

Read guide