
Physics I course sequence · Interactive lesson
Displacement, Velocity & Acceleration in SHM
One cosine holds the entire motion, and this topic teaches you to read it: differentiate for velocity and acceleration, turn a phase lead into a delay you can point to on a graph, say where each quantity peaks, and rebuild the past and future from a single snapshot of position and velocity.
UPI-14.03 · Lesson 3 of 8 in this unit. Position is not a completion score.Build the model
Each derivative multiplies by ω and steps a quarter cycle ahead.
The key idea
In simple harmonic motion, displacement, velocity and acceleration are sinusoids sharing one angular frequency ω, with amplitudes A, ωA and ω²A and phases that step a quarter cycle ahead with each derivative.
Example. A glider with A = 0.080 m and ω = 5.0 rad s⁻¹ crosses equilibrium at 0.40 m s⁻¹, turns around under 2.0 m s⁻², and reaches its top speed in +x 0.31 s, a quarter of its 1.26 s period, before it reaches x = +A.
The complete physical model and assumptions
The equation of motion ends with x(t) = A cos(ωt + φ), and this topic is about everything that one function already knows. Differentiating a cosine multiplies it by ω and moves it a quarter cycle earlier, so velocity is a sinusoid of amplitude ωA that leads displacement by π/2, and acceleration, of amplitude ω²A, leads by π: it points opposite to the displacement at every instant, a = −ω²x. Those two facts fix where the extremes live. Speed peaks at the centre, where the acceleration vanishes; acceleration peaks at the turning points, where the body is momentarily at rest. They also make the motion recoverable from very little. Three numbers, A, ω and φ, encode the whole history, so ω together with one position and one velocity at the same instant determines every earlier and later state, provided both signs are used to put φ in the right quadrant. The description is only as good as its premise. Friction makes the amplitude decay, and a restoring force that is not proportional to displacement, such as a pendulum swung through large angles, makes the period depend on amplitude. The test is the same in every case: the measured ratio a/x must stay fixed at −ω².
1Differentiate the cosine and watch ω come out
Start from the solution the equation of motion supplies, x(t) = A cos(ωt + φ), and differentiate with the chain rule. Each derivative acts on the cosine and brings one factor of ω out of its argument: v = dx/dt = −ωA sin(ωt + φ), then a = dv/dt = −ω²A cos(ωt + φ). Comparing the last result with x itself gives a = −ω²x, the equation of motion recovered, now serving as a check rather than a starting point. The powers of ω double as a units check: A is in m, ωA in m s⁻¹ and ω²A in m s⁻². They also say how the peaks scale. An oscillation with A = 0.025 m and ω = 8.0 rad s⁻¹ tops out at 0.20 m s⁻¹ and 1.6 m s⁻². Double ω at the same amplitude and the peak speed doubles to 0.40 m s⁻¹, but the peak acceleration quadruples to 6.4 m s⁻², which is why small, fast vibrations are the ones that shake parts loose.
2Read the phase: v leads x by a quarter cycle, a opposes x
A minus sign and a sine hide the timing, so rewrite both results as shifted cosines. Because −sin θ = cos(θ + π/2) and −cos θ = cos(θ + π), v = ωA cos(ωt + φ + π/2) and a = ω²A cos(ωt + φ + π). To lead is to reach each stage of the cycle sooner: velocity hits its positive maximum a quarter cycle before displacement reaches x = +A, and acceleration, half a cycle away, is the mirror image of x. Convert with Δt = (Δφ/2π)T. For T = 2.0 s, the v = +ωA peak comes 0.50 s before the x = +A peak. On a graph, beware the peak that comes after. The next positive v peak is 1.50 s after the x peak, while the moment of greatest speed 0.50 s after it has v = −ωA. The magnitudes match there, but a phase lead is defined by the signed curves, and a lead of T/4 is not a lag of T/4.
3Use the reference circle to read every sign
Picture a point moving round a circle of radius A at angular speed ω, its angle from the +x axis equal to the phase ωt + φ. Its projection on the x axis is x(t). Its velocity is a vector of length ωA drawn 90° ahead of the radius, and its acceleration is a vector of length ω²A pointing at the centre, 180° ahead; their x projections are v(t) and a(t). Now the signs follow from the quadrant of the phase. With the phase between 0 and π/2, x > 0, v < 0 and a < 0: the body is on the positive side heading inward, and because v and a share a sign it is speeding up. Between π/2 and π, x < 0, v < 0 and a > 0: still moving in −x, but now a opposes v and the body slows. The pattern is general. A body in SHM speeds up exactly when it moves toward equilibrium and slows down exactly when it moves away.
4Where the maxima live, and where the time goes
Square the two time functions and add them, and the time drops out: (x/A)² + (v/ωA)² = cos²(ωt + φ) + sin²(ωt + φ) = 1, so v = ±ω√(A² − x²), a relation the next topic rederives from energy. Speed is greatest, ωA, at x = 0 and zero at x = ±A, while |a| = ω²|x| does the reverse, so the two peaks are always a quarter period apart and never coincide. The same functions show the body lingering at the ends. At x = A/2 the speed is still √3/2 of its maximum, about 87%. Starting from equilibrium, the body reaches x = A/2 when ωt = arcsin(½) = π/6, which takes T/12; the remaining stretch from A/2 to A takes T/4 − T/12 = T/6, twice as long for the same distance. A strobe photograph of an oscillating glider shows exactly this: images crowded near the turning points and spread thin through the middle.
5Rebuild the whole motion from one snapshot
Suppose all you know is ω = 2.5 rad s⁻¹ and, at t = 0, x₀ = −0.040 m and v₀ = +0.075 m s⁻¹. Setting t = 0 in the time functions gives x₀ = A cos φ and v₀ = −ωA sin φ, two equations in two unknowns. Square and add for the amplitude: A = √(x₀² + (v₀/ω)²) = √(0.040² + 0.030²) m = 0.050 m. For the phase use both ratios: cos φ = x₀/A = −0.80 and sin φ = −v₀/(ωA) = −0.60, so φ lies in the third quadrant and φ = −2.50 rad. A calculator asked for arctan(−v₀/(ωx₀)) = arctan(0.75) returns +0.64 rad, which describes a body at +0.040 m moving at −0.075 m s⁻¹: every sign reversed, half a cycle out. With A, ω and φ in hand, x(t), v(t) and a(t) are known at every time, forward and backward.
6Other partial data, and the reading that would sink it
A snapshot is not the only route in. Two peak readings fix the scale with no clock at all: ω = aₘₐₓ/vₘₐₓ and A = vₘₐₓ²/aₘₐₓ, so a sensor reporting 0.30 m s⁻¹ and 1.2 m s⁻² implies ω = 4.0 rad s⁻¹ and A = 0.075 m. A displacement graph gives T from two successive upward zero crossings and φ from the first maximum: if x first reaches +A at time tₚ, then ωtₚ + φ = 0, so φ = −ωtₚ. A reconstruction is a model, and a model is worth having only if it could fail. Once A, ω and φ are fixed, every further reading is a prediction: the ratio a/x must equal −ω² at every position, and the speed at any x must be ω√(A² − x²). A ratio that drifts with position means the restoring force is not linear, and peaks that shrink cycle by cycle mean damping; either way the sinusoid was only an approximation.
Key equations
Read the units, assumptions and limits before substituting.
Displacement
x(t) = A cos(ωt + φ)
The one function everything else comes from; each full cycle adds 2π to the phase, so T = 2π/ω.
A in m and A ≥ 0; ω in rad s⁻¹; t in s; φ in rad. The whole argument ωt + φ is the phase.Velocity
v(t) = −ωA sin(ωt + φ) = ωA cos(ωt + φ + π/2)
The cosine form shows the lead at a glance: v runs π/2 rad, a quarter period, ahead of x.
v in m s⁻¹; peak speed ωA, reached each time the body crosses x = 0Acceleration
a(t) = −ω²A cos(ωt + φ) = −ω²x
Antiphase with x: a always points back toward equilibrium, is largest where v = 0, and vanishes where the speed peaks.
a in m s⁻², ω² in s⁻²; peak magnitude ω²A at the turning points x = ±APhase difference as a time shift
Δt = Δφ/ω = (Δφ/2π) T
Turns a phase lead into something a graph shows: a lead of π/2 means each v feature arrives T/4 before the matching x feature.
Δφ in rad; Δt and T in sScale from the two peaks
ω = aₘₐₓ/vₘₐₓ, A = vₘₐₓ²/aₘₐₓ
Two peak readings fix frequency and amplitude without timing a single cycle; the phase still needs one timed observation.
vₘₐₓ in m s⁻¹ and aₘₐₓ in m s⁻² give ω in rad s⁻¹ and A in mState from one snapshot
A = √(x₀² + (v₀/ω)²), cos φ = x₀/A, sin φ = −v₀/(ωA)
The two equations together fix the quadrant. arctan(−v₀/(ωx₀)) on its own is wrong by π whenever x₀ is negative.
x₀ in m and v₀ in m s⁻¹, both read at t = 0, with ω already knownInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Flip x₀ from +3.0 to −3.0 cm: A stays 5.00 cm, but φ moves from 0.93 to 2.21 rad, not the −0.93 rad that arctan of −v₀/(ωx₀) returns. Then drag anything: the dashed lines stay T/4 apart, and where x = +A, v crosses zero and a is at its lowest.
Live results
- AMPLITUDE A
- 5.00 cm
- PHASE CONSTANT φ
- 0.93 rad
- PEAK SPEED ωA
- 10.0 cm/s
- PEAK ACCELERATION ω²A
- 20.0 cm/s²
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Snapshot position x₀: 3.0 cm; Snapshot velocity v₀: −8.0 cm/s; Angular frequency ω: 2.0 rad/s
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
At a turning point the body is momentarily at rest, so its acceleration must be zero there too. That inference confuses a quantity with its rate of change. Acceleration is dv/dt, the slope of the velocity graph, not the velocity itself, and at x = ±A the velocity is passing through zero while changing sign, as steeply as it ever changes. The force says the same: the restoring force, −kx for a spring, is largest in magnitude at the largest displacement. For A = 0.050 m and ω = 4.0 rad s⁻¹ the body at x = +A has v = 0 and a = −0.80 m s⁻², the largest acceleration of the whole cycle; at x = 0 the roles swap, with v = ±0.20 m s⁻¹ and a = 0. If the acceleration really were zero at the turning point, nothing would turn the body around.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A shaker table used to test circuit boards moves up and down in SHM with amplitude 2.5 mm at 40 Hz. Find its maximum speed and maximum acceleration, say where in the stroke each occurs, and decide whether a loose screw resting on the table stays in contact with it.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- Convert to angular frequency and SI length: ω = 2πf = 2π × 40 Hz = 251.3 rad s⁻¹, and A = 2.5 × 10⁻³ m.
- Peak speed: vₘₐₓ = ωA = 251.3 rad s⁻¹ × 2.5 × 10⁻³ m = 0.628 m s⁻¹, reached each time the table passes through the centre of its stroke, where its acceleration is zero.
- Peak acceleration: aₘₐₓ = ω²A = (251.3 rad s⁻¹)² × 2.5 × 10⁻³ m = 158 m s⁻², which is 158/9.81 = 16 times g, reached at the top and bottom of the stroke, where the table is momentarily at rest.
- The screw stays down only while the normal force N = m(g + a) is positive, which needs the table's acceleration a ≥ −g. Above the centre a = −ω²x, which passes −g once x exceeds g/ω² = 9.81/(251.3)² m = 1.55 × 10⁻⁴ m, just 0.16 mm, far short of the 2.5 mm top of the stroke. On every upward stroke the table decelerates faster than gravity can pull the screw, and the screw leaves the surface.
Answer. vₘₐₓ = 0.63 m s⁻¹ at the centre; aₘₐₓ = 1.6 × 10² m s⁻², about 16g, at the ends of the stroke. The screw loses contact on every stroke, once the table rises more than 0.16 mm above centre.
MediumExample 2
An accelerometer clipped to a mass on a spring logs a(t) = (4.5 m s⁻²) cos(15t + 0.50), with t in seconds and the phase in radians. Treating the motion as SHM about x = 0, find x(t) and v(t), the displacement and velocity at t = 0, whether the mass is speeding up or slowing down at that instant, and when it first passes through equilibrium.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Read off the record: ω = 15 rad s⁻¹ and ω²A = 4.5 m s⁻², so A = 4.5/15² m = 4.5/225 m = 0.020 m.
- No integration constants are needed, because a = −ω²x gives x(t) = −a/ω² = −(0.020 m) cos(15t + 0.50). With A kept positive this is x = (0.020 m) cos(15t − 2.64), since 0.50 − π = −2.64 rad. Differentiating, v(t) = (0.30 m s⁻¹) sin(15t + 0.50), so the peak speed is ωA = 0.30 m s⁻¹.
- At t = 0: x₀ = −(0.020 m) cos(0.50) = −0.0176 m, v₀ = (0.30 m s⁻¹) sin(0.50) = +0.144 m s⁻¹, and a₀ = (4.5 m s⁻²) cos(0.50) = +3.95 m s⁻². Check with a = −ω²x: −225 s⁻² × (−0.01755 m) = +3.95 m s⁻² ✓.
- v₀ and a₀ are both positive, so the mass is speeding up. The geometry agrees: it sits on the negative side and moves in +x, toward equilibrium.
- x = 0 first happens when cos(15t + 0.50) = 0 with t > 0, at 15t + 0.50 = π/2: t = (1.571 − 0.500)/15 s = 0.0714 s. There v = (0.30 m s⁻¹) sin(π/2) = +0.30 m s⁻¹, the peak speed, as it must be at equilibrium.
Answer. x(t) = −(0.020 m) cos(15t + 0.50) and v(t) = (0.30 m s⁻¹) sin(15t + 0.50). At t = 0, x₀ = −1.8 cm and v₀ = +0.14 m s⁻¹, speeding up; it first crosses equilibrium at t = 0.071 s, moving at +0.30 m s⁻¹.
HardExample 3
A motion sensor on a cart attached to a spring reports only extremes: peak speed 0.45 m s⁻¹ and peak acceleration magnitude 1.35 m s⁻². When a timer starts, the cart is at x = −0.090 m, moving in −x. Reconstruct x(t) = A cos(ωt + φ), find when the cart first reaches a turning point and first passes equilibrium, predict x and v at t = 1.00 s, and name a reading that would falsify the model.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- Scale from the peaks: ω = aₘₐₓ/vₘₐₓ = 1.35/0.45 rad s⁻¹ = 3.0 rad s⁻¹, and A = vₘₐₓ²/aₘₐₓ = 0.45²/1.35 m = 0.15 m.
- Speed at the start: |v₀| = ω√(A² − x₀²) = 3.0 × √(0.15² − 0.090²) m s⁻¹ = 3.0 × 0.12 m s⁻¹ = 0.36 m s⁻¹. The cart moves in −x, so v₀ = −0.36 m s⁻¹.
- Phase from both signs: cos φ = x₀/A = −0.60 and sin φ = −v₀/(ωA) = 0.36/0.45 = +0.80, which is the second quadrant: φ = π − 0.927 = 2.21 rad. The shortcut arctan(−v₀/(ωx₀)) = arctan(−1.33) = −0.93 rad would put the cart at +0.090 m moving in +x.
- The cart is heading outward on the negative side, so it next reaches x = −A, where the phase is π: t = (3.142 − 2.214)/3.0 s = 0.309 s. Equilibrium comes a quarter period later, at phase 3π/2: t = (4.712 − 2.214)/3.0 s = 0.833 s, where it moves in +x at 0.45 m s⁻¹.
- At t = 1.00 s the phase is 3.0 + 2.214 = 5.214 rad, so x = (0.15 m) cos(5.214) = +0.072 m and v = −(0.45 m s⁻¹) sin(5.214) = +0.39 m s⁻¹: past equilibrium and moving outward on the positive side.
- Falsification: at x = −0.090 m the model demands a speed of exactly 0.36 m s⁻¹ and an acceleration −ω²x = +0.81 m s⁻². A speed of 0.30 m s⁻¹ there, or a ratio a/x anywhere other than −9.0 s⁻², would show the motion is not this SHM.
Answer. x(t) = (0.15 m) cos(3.0t + 2.21), with t in s. Turning point at t = 0.31 s, equilibrium at t = 0.83 s; at t = 1.00 s, x = +0.072 m and v = +0.39 m s⁻¹. Any a/x other than −9.0 s⁻² falsifies the model.
Quick check
Select an answer and explain it before checking.
Review & continue
In simple harmonic motion, displacement, velocity and acceleration are sinusoids sharing one angular frequency ω, with amplitudes A, ωA and ω²A and phases that step a quarter cycle ahead with each derivative.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics I completion tasks.