This guide is for the algebra-based Physics 1 course. Everything here uses algebra, graphs and Newton’s second law. No calculus is needed. Topic 7.1 defined SHM and Topic 7.2 gave its period; this topic shows how to describe and read the motion itself.
Displacement as a function of time
In SHM an object moves back and forth about an equilibrium position. We measure its displacement x from equilibrium, not from a wall or the floor. The largest displacement is the amplitude A. The motion repeats every period T, and the frequency is f = 1/T.
The course uses two equations for displacement against time:
x = A cos(2πft) or x = A sin(2πft)
The quantity 2πft is an angle in radians. Each time t increases by one period, 2πft increases by 2π and the motion repeats. Put your calculator in radian mode before you use either equation.
Cosine or sine?
The two equations describe the same motion. They differ only in where the clock starts.
| How the motion starts at t = 0 | Equation | x at t = 0 |
|---|---|---|
| Released from rest at x = +A | x = A cos(2πft) | +A |
| Passing through equilibrium, moving in +x | x = A sin(2πft) | 0 |
Pick the form that matches the starting state. If an object is released from x = −A instead, you can write x = −A cos(2πft), or choose +x on the side where it starts.
Where the zeros and extremes are
Take the cosine case (released from x = +A, with +x to the right) and step through one period in quarters:
| Time | x | v_x | a_x |
|---|---|---|---|
| 0 | +A (max) | 0 | most negative |
| T/4 | 0 | most negative (fastest, moving −x) | 0 |
| T/2 | −A (min) | 0 | most positive |
| 3T/4 | 0 | most positive (fastest, moving +x) | 0 |
| T | +A | 0 | most negative |
Two rules sum up the table:
- At a turning point (x = ±A): the object stops for an instant, so v_x = 0. The restoring force is largest there, so the size of a_x is largest, pointing back towards equilibrium.
- At equilibrium (x = 0): the restoring force is zero, so a_x = 0. The object has been speeded up all the way in, so its speed is largest here.
Where the velocity graph comes from
Velocity is the slope of the position–time graph (Topic 1.2). On an x–t graph of SHM, the slope is zero at every peak and trough. It is steepest where the curve crosses x = 0. Going down through x = 0 the slope is negative; going up it is positive. Sketch those slopes and you get the v–t graph.
Where the acceleration graph comes from
For a spring–object system the net force is the restoring force, F = −kx. Newton’s second law gives:
a_x = F_net / m = −(k/m)x
So the acceleration is always proportional to the displacement and opposite in sign. The a–t graph is the x–t graph turned upside down and rescaled. The largest acceleration is a_max = kA/m, at x = ±A.
Amplitude does not change the period
Pull a spring–object system twice as far and let go. It travels twice as far each cycle, yet its period is the same.
At every point on the path, the displacement is twice as large, so the restoring force is twice as large (F = −kx). That doubles the acceleration everywhere. The object speeds up more, reaches twice the speed, and covers twice the distance in the same time. The equation from Topic 7.2, T = 2π√(m/k), contains no A at all. The same is true for a pendulum, T = 2π√(ℓ/g), as long as the angle stays small.
On a graph, changing A only stretches the x–t curve vertically. Every slope doubles (so the maximum speed doubles), the a–t curve doubles too, but the times where the curve crosses zero stay put.
Reading SHM from graphs
You can pull a lot out of graphs of SHM:
- x–t graph: A is the height of a peak above the equilibrium line. T is the time from one peak to the next peak (not peak to trough, which is T/2). Then f = 1/T.
- Slope of the x–t graph: the sign tells you which way the object is moving at that instant.
- a–x graph: for SHM it is a straight line through the origin with a negative slope. Since a = −(k/m)x, the slope equals −k/m. A straight line through the origin is direct evidence that the restoring force is proportional to displacement.
Worked example 1: using x = A cos(2πft)
Question. Take +x upward, with x measured from the equilibrium position of an object hanging on a spring. The object is pulled up to x = +0.040 m and released from rest at t = 0. Its period is 0.80 s. Find (a) its displacement at t = 0.10 s, 0.20 s and 0.30 s, (b) its direction of motion at t = 0.30 s, and (c) the first time it is at x = −0.020 m.
- It starts at +A from rest, so use the cosine form. f = 1/T = 1/0.80 s = 1.25 Hz, and x = (0.040 m) cos(2π × 1.25 × t).
- At t = 0.10 s: angle = 2π × 1.25 × 0.10 = 0.785 rad. x = 0.040 × cos(0.785) = +0.028 m.
- At t = 0.20 s: angle = 1.571 rad (a quarter cycle). x = 0 (at equilibrium).
- At t = 0.30 s: angle = 2.356 rad. x = −0.028 m.
- (b) Between T/4 = 0.20 s and T/2 = 0.40 s the object goes from equilibrium down to x = −A. So at 0.30 s it is moving downward (−x) and slowing down.
- (c) Set −0.020 = 0.040 cos(2π × 1.25 × t), so cos(angle) = −0.50. The first angle with this cosine is 2π/3 = 2.094 rad. Then t = 2.094 ÷ (2π × 1.25) = 0.27 s, which is T/3.
Check. If your calculator is in degrees, step 2 gives 0.040 m, which is wrong: the object would barely have moved in an eighth of a cycle. Halfway between x = +A and 0 in position is not halfway in time; the object moves slowly near the turning point and fast near equilibrium.
Worked example 2: amplitude, period and the largest acceleration
Question. A 0.25 kg glider on a level, frictionless air track is attached to a spring with k = 40 N/m. Take +x to the right of equilibrium. (a) Find the period. (b) Find the largest acceleration when the amplitude is 0.050 m, and then 0.10 m. (c) Find the acceleration when the glider is at x = −0.030 m.
- (a) T = 2π√(m/k) = 2π√(0.25 ÷ 40) = 0.50 s (0.497 s unrounded).
- (b) The largest restoring force is at x = ±A: F_max = kA = 40 × 0.050 = 2.0 N. So a_max = F_max/m = 2.0 ÷ 0.25 = 8.0 m/s².
- With A = 0.10 m: F_max = 4.0 N, so a_max = 16 m/s². The period is still 0.50 s, because T does not contain A.
- (c) a_x = −(k/m)x = −(40 ÷ 0.25) × (−0.030) = +4.8 m/s², pointing right, towards equilibrium.
Interpretation. Doubling the amplitude doubled the largest acceleration, but the period stayed the same. Figure 2 shows this: both amplitudes sit on one straight line with slope −160 s⁻².
Worked example 3: reading a position–time graph
Question. A motion sensor tracks a pendulum bob’s horizontal displacement, with +x to the right. The graph starts at x = 0 with a positive slope, reaches +0.060 m, and first returns to x = 0 with a positive slope at t = 1.8 s. (a) Write an equation for x. (b) At which times in the first cycle is the bob fastest, and which way is it moving? (c) When is its acceleration largest and positive? (d) Find x at t = 0.30 s.
- (a) A = 0.060 m. One full cycle (zero going up to zero going up) takes T = 1.8 s, so f = 1/1.8 = 0.56 Hz. It starts at equilibrium moving +x, so x = (0.060 m) sin(2πt/1.8 s).
- (b) Fastest where x = 0: at t = 0 and 1.8 s (moving right, positive slope) and t = 0.90 s (moving left, negative slope).
- (c) a_x is most positive where x is most negative: at x = −A, which is three-quarters of a cycle, t = 1.35 s.
- (d) x = 0.060 × sin(2π × 0.30 ÷ 1.8) = 0.060 × sin(1.047) = 0.060 × 0.866 = +0.052 m.
Check. Using T = 2π√(ℓ/g) from Topic 7.2, ℓ = gT²/(4π²) = 9.8 × 1.8² ÷ 39.5 ≈ 0.80 m. Then 0.060 m out of 0.80 m is an angle of about 4°, small enough for the SHM model to apply.
Common misconceptions
- “The acceleration is largest where the speed is largest.” The reverse. At equilibrium the speed is largest and a = 0. At the turning points v = 0 and |a| is largest.
- “At the turning point a = 0, because the object has stopped.” It has stopped for an instant, but the restoring force is at its largest, so it starts moving back straight away.
- “Acceleration and displacement point the same way.” For SHM they always point opposite ways: a = −(k/m)x.
- “A bigger amplitude means a longer period.” Not for SHM. The bigger force makes the object cover the longer path in the same time (Worked example 2).
- “Halfway out in position means halfway through in time.” No. In Worked example 1 the object reaches x = −A/2 at T/3, not at 3T/8.
- Reading T from peak to trough. That is T/2. Measure from one peak to the next, or from one zero crossing to the next one in the same direction.
- Degrees mode. The angle 2πft is in radians.
Where this leads
Topic 7.4 (Energy of Simple Harmonic Oscillators) explains the same motion with energy: why the speed is largest at equilibrium, and how to calculate that maximum speed. Read the Topic 7.4 study guide next. First try the practice questions, then use the revision notes and the checklist. To review period and frequency, go back to Topic 7.2, or return to the course roadmap.
Quick questions
Do I need calculus to get the velocity and acceleration graphs?
No. This is the algebra-based course. You get the velocity graph from the slope of the position graph, and the acceleration graph from Newton's second law, a = F_net/m, with a restoring force that is proportional to displacement.
Why does my calculator give the wrong position?
Almost always because it is in degree mode. The angle 2πft is in radians. One full cycle is 2π radians, not 360 of anything on a calculator set to degrees.