If you are in Year 3 of the liceo scientifico (Italian science-focused high school), it is early October and your physics programme is moving from Galilean relativity to motion in the plane: projectile motion, circular motion, and then simple harmonic motion with the spring and the pendulum. It usually reaches the classroom between mid and late October, and the test that includes it falls five to nine weeks from now, between November and December. Physics goes from two to three hours a week and becomes quantitative, and this is the topic where many people discover that formulas alone are not enough: you have to understand which quantity depends on which.
Here I give you the backbone: where the law of motion comes from, the two period formulas, energy, the graphs, the mistakes I see every year and three exercises worked out in full. For centripetal force and fictitious forces I have written another article; for the general picture of the first term there is the one on the first Year 3 test; for the energy balance with friction and collisions there is the one on work and energy. I do not repeat that content here: I concentrate on what makes a motion “harmonic”.
Where the law of motion comes from
Take a point moving in uniform circular motion on a circle of radius , with angular velocity . Shine a light on it from the side: its shadow on a diameter moves back and forth. That shadow performs simple harmonic motion. If the point starts from the angle , the position of the shadow is the projection:
The quantities have precise names, and marks are lost in tests for swapping them:
- is the amplitude: the maximum displacement from the centre, in metres;
- is the angular frequency (or angular velocity of the rotating point), in rad/s;
- is the initial phase, in radians;
- the period is the duration of one complete oscillation, in seconds;
- the frequency is the number of oscillations per second, in hertz.
The link is always the same, because one full turn is radians:
Differentiating (or projecting the velocity of the rotating point as well) gives velocity and acceleration:
The last equality is the real definition of harmonic motion: the acceleration is proportional to the displacement and has the opposite sign. It always points towards the centre, and is larger the further away you are. If in an exercise you see a restoring force proportional to the displacement (), you already know the motion is harmonic.
Maximum values, to keep in mind: , , .
The mass–spring system
A mass attached to a spring of spring constant , on a frictionless surface. The restoring force is , so , that is . Comparing with you can read off straight away:
Three things to note, because they are the theory questions:
- The period does not depend on the amplitude. If you displace the mass more, the force is larger, but the mass also has further to travel: the two effects cancel out and the time of one oscillation stays the same.
- The period grows with the mass and falls with the stiffness. Bigger mass, slower oscillation; stiffer spring, faster oscillation.
- does not appear. If you hang the mass vertically, gravity only shifts the equilibrium position (the spring stretches a little more), but the period stays . The same system on the Moon oscillates with the same period.
To write you only need , and the phase: if you release the mass from rest at distance , you start from the maximum and .
The simple pendulum
A small mass hanging from an inextensible string of length . For small angles the formula is:
Here I have to be precise about something many books say in a hurry: it holds only for small oscillations. The reason is that the restoring force is proportional to , not to , and only for small angles (expressed in radians) are the two quantities practically equal. With angles of around ten degrees the approximation is still excellent; with wide angles the real period becomes a little longer than the formula’s, and the motion is no longer harmonic in the strict sense. If the problem gives the starting angle, always check that it is small before applying the formula.
Again, three observations:
- The period does not depend on the mass. The weight grows with , but so does the inertia: they cancel, exactly as in free fall.
- It depends on the length and on . Longer pendulum, slower oscillation; smaller (the Moon), slower oscillation.
- It does not depend on the amplitude (as long as it is small).
Energy in harmonic motion
In the frictionless mass–spring system the sum of kinetic and elastic energy is conserved:
At the extremes () the mass is at rest and all the energy is elastic; at the centre () the spring is relaxed and all the energy is kinetic. So:
From this equality you get in one go, and also the velocity at any point, without going through time:
For a pendulum the reasoning is identical, with gravitational potential energy in place of elastic energy: maximum kinetic energy at the lowest point, zero at the extremes. Conservation with friction and collisions, on the other hand, is a different type of problem: I talk about it in the article on work and energy.
Graphs of position, velocity and acceleration
Take an oscillator released from rest at (). The three curves are the same sinusoid, shifted:
| Quantity | Law | At | After |
|---|---|---|---|
| position | maximum () | zero | |
| velocity | zero | maximum in magnitude (downwards on the graph) | |
| acceleration | maximum in magnitude, negative | zero |
Two rules are enough for the graphs: the velocity is out of phase by a quarter of a period with respect to the position (it is maximum when , zero at the extremes), and the acceleration always has the opposite sign to the position: their graphs are mirror images of each other about the time axis.
The mistakes that come back every year
Confusing and . If the problem says “frequency 2 Hz”, the angular frequency is not 2 rad/s but rad/s. In the formulas for , , it is always that appears.
Putting the mass in grams. In the mass goes in kg. With g and N/m, writing instead of gives you a period that is too large by a factor . Convert first of all.
Saying that depends on the amplitude. It does not, either for the spring or for the pendulum (at small angles). If you double , , and the energy change, not the period.
Calculator in degrees. In the argument is in radians. With and s the argument is rad, and , so m. In degree mode the calculator computes and you get m: a wrong result that looks plausible at a glance.
“The pendulum depends on the mass.” No: mass and inertia cancel. A billiard ball and a tennis ball hanging from the same string, with the same oscillation, have the same period.
Applying the pendulum formula with large angles, without noticing because the angle is given in radians or hidden in a figure.
If you want to practise this type of timed question, in the simulator for high school tests you will find a practice test for each maths and physics topic, with 15 questions in 50 minutes. Note: there is no test dedicated only to harmonic motion, but it is a good way to see where you stand with the rest of the Year 3 programme.
Three worked exercises
1. Spring: period, frequency, angular frequency
A mass kg is attached to a spring of constant N/m and oscillates on a smooth horizontal surface. Calculate the period, frequency and angular frequency.
The units are already consistent (kg, N/m). The period:
The frequency and the angular frequency:
Check: rad/s. If the mass were four times as big ( kg), the period would double, because appears: it is a quick check that the result makes sense.
2. Pendulum: period, and the length for a given period
A simple pendulum has length m ( m/s², small oscillations). Calculate the period. Then: how long must a pendulum be to oscillate with period s?
Period of the first pendulum:
For the second part I invert the formula. I square and isolate :
Check with the ratio: halving the period means dividing the length by four, and indeed from m we go to about m. Note that the mass was never there: the problem did not give it, and it was not needed.
3. Maximum velocity and energy
A harmonic oscillator of mass kg has amplitude m and angular frequency rad/s. Find the maximum velocity, maximum acceleration, spring constant and total energy. Then the velocity when it is at m from the centre.
Maximum velocity and acceleration:
From the angular frequency I get , because :
The total energy, calculated in two ways that must agree:
For the velocity at m:
Check with energy: J and J; the sum is J, as it should be. This kind of cross-check is what saves you, in a test, from a calculation slip you would otherwise not see.
How to prepare over the coming weeks
You have time, but harmonic motion is learned best in small doses. What I would do, in order:
- Learn by heart the two period formulas and, above all, what they depend on and what they do not. Almost every theory question is there.
- Redo the three exercises above without looking, changing the numbers.
- Draw by hand the graphs of , , one below the other, with the same horizontal axis marked in steps of .
- When the chapter is closed in class, do a timed practice test on the high school test simulator: remember there is no test only on harmonic motion, but the physics questions cover the topics of the programme.
More resources on the subject are on the physics page.
How we work in lessons
With students who come to me on this topic I almost always start from the point going round a circle, because once you have seen where the cosine comes from, the formula stops being something to remember and becomes something to rebuild. Then we do exercises with your own numbers, where you really go wrong (grams, radians, amplitudes), and we correct them together. I promise nothing magic: it takes a few weeks and some practice at home between one lesson and the next.
If you want a hand
If the test is getting close and you want to see where you stand, you can book a free introductory call: we look together at where the gaps are and whether it makes sense to work on them. For the format and cost of lessons there is the pricing page.