In short
SHM can be written as an equation, x = A cos(2πft) (for an object released from x = +A at t = 0), or shown on graphs. Position, velocity and acceleration are all sinusoidal with the same period. Velocity is the slope of the position graph, so it is zero at the turning points and largest at equilibrium. Acceleration is always opposite to position (a = −(k/m)x), so the a–t graph is the x–t graph flipped upside down. From any of these graphs you can read the amplitude, period and frequency.
What you need to know
- Use x = A cos(2πft) (or the sine form) to find position at a given time.
- Read amplitude, period and frequency from a position–time graph.
- Relate the position, velocity and acceleration graphs of SHM to each other.
- Identify where an oscillator is, which way it is moving and where its speed or acceleration is greatest from a graph.
The equation of SHM
An object released from rest at x = +A at time t = 0 has position x = A cos(2πft), where f is the frequency. After one period (t = 1/f) the cosine has gone through 2π radians and the object is back at +A. If instead the object passes through equilibrium at t = 0, the sine form x = A sin(2πft) fits. Use radians on your calculator.
Example: x = 0.10 cos(4πt) in metres and seconds has amplitude 0.10 m and 2πf = 4π, so f = 2.0 Hz and T = 0.50 s. At t = 0.125 s (a quarter period), 4π(0.125) = π/2 and x = 0.10 cos(π/2) = 0: the object is passing through equilibrium.
Position, velocity and acceleration graphs
- Amplitude: the maximum height of the x–t curve above the center line.
- Period: the time between two matching points, such as successive peaks.
- Velocity: the slope of x–t. It is zero at every peak and trough (turning points) and greatest in size where the curve crosses x = 0.
- Acceleration: always opposite in sign to x, because a = −(k/m)x. Where x is at a positive peak, a is at a negative peak.
Reading direction from a graph: if the x–t curve is going down as it crosses zero, the object is passing through equilibrium moving in the negative direction at its maximum speed. A quarter period after starting at +A, an object is always at equilibrium; half a period after, it is at −A.
Analysing an oscillator from a graph
Suppose an x–t graph shows peaks of 0.20 m every 0.80 s. Then A = 0.20 m, T = 0.80 s and f = 1/T = 1.25 Hz. If you also know the mass, you can find the spring constant from T = 2π√(m/k), or if it is a pendulum, its length from T = 2π√(L/g).
Energy gives the maximum speed. At the turning points all the energy is ½kA²; at equilibrium it is all ½mvmax². So vmax = A√(k/m). Doubling the amplitude doubles the maximum speed but, as topic 7.2 showed, leaves the period unchanged.
Key terms
- Sinusoidal motion
- Motion whose position–time graph is a sine or cosine curve.
- x = A cos(2πft)
- The position of an oscillator released from +A at t = 0, with amplitude A and frequency f.
- Turning point
- A position (x = ±A) where the velocity is momentarily zero and the acceleration is greatest.
- Maximum speed
- vmax = A√(k/m) for a mass–spring oscillator, reached at equilibrium.
Common mistakes
Where the x–t graph is highest, the velocity is highest.
Height shows position; velocity is the slope. At the peaks the slope, and so the velocity, is zero.
Acceleration and position have the same sign in SHM.
a = −(k/m)x, so acceleration always points opposite to the displacement.
Using degrees in x = A cos(2πft).
2πft is in radians; set your calculator to radian mode.
How this topic is tested
- Label A and T on any SHM graph before answering questions about it.
- For translation questions, mark the times when x = 0 and x = ±A, then fill in v and a at those times.
- To sketch v–t from x–t, draw slopes; to sketch a–t, flip the x–t graph upside down.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 1 · Creating Representations
An x–t graph for an oscillating cart shows peaks of +0.20 m occurring every 0.80 s. What are the amplitude and frequency?
Question 2 · SP 2 · Mathematical Routines
An oscillator's position is x = 0.050 cos(4πt), in metres and seconds. What are its amplitude and period?
Question 3 · SP 1 · Creating Representations
At an instant when an oscillator's x–t graph is at a maximum (x = +A), what are its velocity and acceleration?
Question 4 · SP 3 · Scientific Questioning and Argumentation
An oscillator is released from x = +A at t = 0. Where is it, and how is it moving, at t = T/4?
Question 5 · SP 3 · Scientific Questioning and Argumentation
Two identical springs carry identical masses. Oscillator X has twice the amplitude of oscillator Y. How do their maximum speeds compare?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Translation Between Representations (short practice) · 3 points
A cart on a spring is released from rest at x = +0.10 m at t = 0 and oscillates with period 2.0 s. Friction is negligible.
- (a) Write an equation for the cart's position as a function of time.
- (b) Describe the velocity–time graph for 0 to 2.0 s, including where it is zero and where it is largest.
- (c) Describe the acceleration–time graph and justify its shape using the position graph.
Scoring guide: one point for each of the following
Part (a)
- x = 0.10 cos(πt), in metres and seconds (f = 0.50 Hz, so 2πf = π).
Part (b)
- v = 0 at t = 0, 1.0 s and 2.0 s (turning points). |v| is largest at t = 0.5 s (moving in the negative direction) and t = 1.5 s (moving in the positive direction), where x = 0.
Part (c)
- a is a cosine curve upside down: most negative at t = 0 and 2.0 s, most positive at t = 1.0 s, zero at 0.5 s and 1.5 s, because a = −(k/m)x is always opposite to x.
Connected topics
Frequently asked questions
What is the equation for simple harmonic motion?
x = A cos(2πft) for an object released from +A at t = 0, where A is the amplitude and f the frequency. Use x = A sin(2πft) if it starts at equilibrium.
Where is the velocity zero in SHM?
At the turning points x = ±A, which are the peaks and troughs of the position–time graph.
How are the acceleration and position graphs related?
The acceleration graph is the position graph flipped upside down and scaled, because a = −(k/m)x.