
Physics III course sequence · Interactive lesson
Mass–spring oscillators
Hooke's law is the one force law that makes a period independent of amplitude. Follow it into Newton's second law, see why hanging the spring vertically changes nothing but the origin, then learn to combine springs and to stop trusting the formula when the coils get heavy or are stretched too far.
UPIII-01.05 · Lesson 5 of 9 in this unit. Position is not a completion score.Build the model
One force law, one ratio: the period follows from k and m alone.
The key idea
A mass–spring oscillator is a body of mass m held by a spring whose restoring force is proportional to displacement, so that it oscillates at the single angular frequency ω = √(k/m) whatever the amplitude.
Example. A 0.150 kg glider on a spring of stiffness 24.0 N m⁻¹ has ω = √(24.0/0.150) = 12.6 rad s⁻¹ and T = 0.497 s — the same 0.497 s whether it is released from 10 mm out or from 50 mm.
The complete physical model and assumptions
A mass on a spring is the oscillator every other one is compared to, and it earns that place by being exactly linear rather than approximately so. Hooke's law Fₓ = −kx says the restoring force is proportional to displacement with no higher powers, and putting it into Newton's second law gives m d²x/dt² = −kx, whose constant coefficient k/m is the square of the angular frequency: ω = √(k/m). Everything else about the motion — amplitude, phase, where it was released — is fixed by the initial conditions and leaves ω untouched, so the period is a property of the apparatus rather than of how hard you pushed it. Hanging the spring vertically does not change that: gravity is a constant force, so it only moves the equilibrium down by Δl = mg/k, and measuring displacement from that new origin returns the same equation with the same ω. Springs in parallel add their stiffnesses, springs in series add their compliances, and either combination simply feeds a new k into the same formula. The model stops working exactly where its two assumptions fail: when the spring's own mass is no longer negligible beside m, and when the amplitude carries the coils outside the range over which F(x) is straight.
1From Hooke's law to ω = √(k/m)
Put a glider of mass m on a frictionless track against a spring and measure x from the position where the spring is neither stretched nor compressed. The only horizontal force is the spring's, Fₓ = −kx, and Newton's second law turns that into m d²x/dt² = −kx, or d²x/dt² = −(k/m)x. That is the simple-harmonic equation with ω² = k/m, so ω = √(k/m) and T = 2π√(m/k). The identification is a dimensional statement as much as an algebraic one: [k] = N m⁻¹ = kg s⁻², so [k/m] = s⁻² and its square root really is an angular frequency. Take k = 24.0 N m⁻¹ and m = 0.150 kg: ω = √160 = 12.6 rad s⁻¹, T = 0.497 s, f = 2.01 Hz. Notice what did not enter. The amplitude, the release point and the initial velocity fix the constants A and φ in the general solution; they cannot touch k/m, which is built from the hardware alone.
2A vertical spring hides gravity in the origin
Hang the same spring from a support and let y run downwards from the unloaded end. Two forces act now: the weight mg down and the spring force ky up, so m d²y/dt² = mg − ky. This is not the SHM equation — it has a constant term — and the fix is to move the origin rather than to change the physics. At rest the acceleration is zero, so the static extension is Δl = mg/k. Substituting u = y − Δl gives m d²u/dt² = mg − k(u + Δl) = −ku, since kΔl = mg exactly cancels the weight. The equation, and therefore ω, is the horizontal one untouched. With k = 24.0 N m⁻¹ and m = 0.150 kg the sag is Δl = 0.150 × 9.81 ÷ 24.0 = 61.3 mm, and T = 2π√(0.0613/9.81) = 0.497 s, the same figure as on the track. The general rule is worth naming: a constant added force shifts the equilibrium and leaves ω alone, because the equation stays linear with the same coefficient on u.
3Two springs, one effective stiffness
Side by side, both springs are stretched by the same x, so their forces add: F = (k₁ + k₂)x and keff = k₁ + k₂. End to end, the same tension F runs through both, so their extensions add: x = F/k₁ + F/k₂, giving 1/keff = 1/k₁ + 1/k₂. Check the limits before using either. Series must be softer than the softer spring, because adding coils can only make a given force stretch the chain further; parallel must be stiffer than the stiffer one. With k₁ = 32.0 N m⁻¹ and k₂ = 48.0 N m⁻¹, series gives 19.2 N m⁻¹ and parallel 80.0 N m⁻¹, and a 0.450 kg block swings with T = 0.962 s or T = 0.471 s. One corollary catches people out: a spring of N identical coils is N identical springs in series, so cutting it in half doubles its stiffness and shortens the period by a factor √2.
4The spring is not massless: the one-third rule
So far the spring stored energy but carried none of its own. Give it mass mₛ spread evenly along its natural length L and assume the stretch is uniform, so the element at distance l from the fixed end moves at (l/L)v while the load moves at v. Its kinetic energy is ½(mₛ/L)dl × (lv/L)², and integrating along the spring gives ∫₀L ½(mₛ v²/L³) l² dl = ½(mₛ/3)v². The spring therefore behaves as an extra mₛ/3 bolted to the load, and ω = √(k/(m + mₛ/3)). The correction is not small in the laboratory: with k = 24.0 N m⁻¹, m = 0.200 kg and a 60 g spring, the naive period is 0.574 s and the corrected one 0.602 s — the corrected period is 4.9% longer than the naive one, enormous against a stopwatch good to a few tenths of a percent. The exact factor is ⅓ only while mₛ ≪ m, because a heavy spring does not stretch uniformly during the motion.
5Amplitude independence belongs to the straight line
The period came out free of amplitude because F was strictly proportional to x. Real springs are straight only over a range. Push far enough and coils bind in compression; pull far enough and the wire yields, leaving a permanent set and a new k. Between those extremes the curve bends gently, and a first correction Fₓ = −kx − βx³ already breaks isochronism: to leading order ω ≈ ω₀(1 + 3βA²/(8k)). Put numbers on it. With k = 24.0 N m⁻¹ and a hardening β = 5.1 × 10² N m⁻³, an amplitude of 50 mm gives 3βA²/(8k) = 0.0199, so the frequency rises 2.0% and the period of the 0.150 kg glider falls from 0.497 s to 0.487 s — measurable in ten timed swings. A hanging spring adds a harder limit: if A exceeds Δl the coils go slack at the top of the swing, the restoring force stops obeying −ku, and the motion is not simple harmonic at all.
6Two free masses on one spring: use the reduced mass
Remove the wall. Two gliders m₁ and m₂ on a frictionless track are joined by a spring of stiffness k and natural length L₀. Let s = x₂ − x₁ − L₀ be the extension. The spring pulls them together, so m₁ d²x₁/dt² = ks and m₂ d²x₂/dt² = −ks. Subtracting gives d²s/dt² = −ks(1/m₁ + 1/m₂) = −(k/μ)s with μ = m₁m₂/(m₁ + m₂), the reduced mass. So the separation oscillates at ω = √(k/μ) while the centre of mass, feeling no external force, drifts at constant velocity. Check it against the case already solved: let m₂ → ∞ and μ → m₁, which is the wall-anchored oscillator, as it must be. With m₁ = 0.250 kg, m₂ = 0.400 kg and k = 24.0 N m⁻¹, μ = 0.154 kg and T = 0.503 s — shorter than either mass alone against a wall, 0.641 s and 0.811 s, because μ is smaller than both.
Key equations
Read the units, assumptions and limits before substituting.
Hooke's law for the ideal spring
Fₓ = −k x
The minus sign aims the force back at x = 0; the single power of x is what keeps ω free of amplitude.
Fₓ in N, x in m from the spring's natural length, k in N m⁻¹Angular frequency and period
ω = √(k/m), so T = 2π√(m/k)
Quadruple the mass and T doubles; quadruple the stiffness and T halves. The amplitude never appears.
k in N m⁻¹, m in kg, ω in rad s⁻¹, T in s; [k/m] = s⁻² as requiredVertical spring, read off the sag
Δl = mg/k, so T = 2π√(Δl/g)
A ruler laid against the resting spring gives the period without weighing m or calibrating k.
Δl is the static extension in m with the mass hanging at rest; g = 9.81 m s⁻²Springs side by side
keff = k₁ + k₂
Parallel always stiffens: keff beats the stiffer spring alone, so ω rises.
Both springs take the same displacement x in m; stiffnesses in N m⁻¹Springs end to end
1/keff = 1/k₁ + 1/k₂
keff falls below the softer spring, which is also why cutting a spring in half doubles its stiffness.
Both springs carry the same tension F in N, and their extensions addCorrection for the spring's own mass
ω = √(k/(m + mₛ/3))
Turns a several-percent period error into a fraction of a percent when the spring is not light.
mₛ is the spring's mass in kg; the third assumes a linear velocity profileInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Set m = 0.20 kg with k = 20 N m⁻¹, then m = 0.40 kg with k = 40 N m⁻¹: sag and period both hold still, since both read the ratio m/k. Double the sag and the period grows only by √2. Push the amplitude past the sag and the swing rises above the natural length, where a real spring goes slack.
Live results
- STATIC EXTENSION Δl
- 98 mm
- ANGULAR FREQUENCY ω
- 10.00 rad s⁻¹
- PERIOD T
- 0.628 s
- FREQUENCY f
- 1.59 Hz
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. Load mass m: 0.30 kg; Spring stiffness k: 30 N m⁻¹; Amplitude A: 0.05 m
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The commonest error is to expect g in the period of a vertical spring, on the grounds that gravity is now pulling on the mass. It is not there. Write the equation about the hanging equilibrium and gravity has already been spent shifting the origin down by Δl = mg/k; what is left is m d²u/dt² = −ku, the horizontal equation exactly. Two habits follow. Measure displacement from the hanging equilibrium and never from the natural length, or a spurious constant term survives in the equation. And notice that g does appear in T = 2π√(Δl/g) — not because gravity drives the oscillation, but because Δl was itself measured in a gravitational field, and the two factors of g cancel the moment you substitute Δl = mg/k. Any genuinely constant extra force does the same: a second weight hung over a pulley, or a uniform electric field acting on a charged block, shifts the equilibrium and leaves ω alone. A nearby magnet is the trap, because its pull falls off steeply with separation; a position-dependent force changes the coefficient of u rather than the constant term, so it moves ω as well as the equilibrium.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A glider of mass 0.320 kg slides on a frictionless air track against a spring. A steady horizontal pull of 4.80 N holds the glider 60.0 mm from its equilibrium position. Find the spring's stiffness, then the angular frequency, period and frequency of the motion after the pull is released.
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.
- Hooke's law at the held position: the spring pulls back with 4.80 N when x = 0.0600 m, so k = F/x = 4.80 ÷ 0.0600 = 80.0 N m⁻¹.
- Newton's second law with that force gives m d²x/dt² = −kx, so ω² = k/m = 80.0 ÷ 0.320 = 250 s⁻² and ω = 15.8 rad s⁻¹.
- T = 2π/ω = 2π ÷ 15.811 = 0.397 s, and f = 1/T = 2.52 Hz.
- Check the dimensions: [k/m] = kg s⁻² ÷ kg = s⁻², whose square root is a frequency. The 60.0 mm did its job fixing k and then dropped out of ω. It is also the amplitude here, since the glider starts from rest at that point — and the amplitude is precisely what the period does not depend on.
Answer. k = 80.0 N m⁻¹, ω = 15.8 rad s⁻¹, T = 0.397 s, f = 2.52 Hz.
MediumExample 2
Two light springs of stiffness 32.0 N m⁻¹ and 48.0 N m⁻¹ hold a 0.450 kg block hanging at rest. Find the block's sag below the unloaded position and the period of small vertical oscillations, first with the springs joined end to end and then with them mounted side by side.
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.
- End to end each spring carries the whole weight, so the extensions add: 1/keff = 1/32.0 + 1/48.0 = 0.031250 + 0.020833 = 0.052083 m N⁻¹, giving keff = 19.2 N m⁻¹ — softer than either spring, as series always is.
- Sag: Δl = mg/keff = (0.450 × 9.81) ÷ 19.2 = 4.4145 ÷ 19.2 = 0.230 m.
- Period: T = 2π√(0.450/19.2) = 2π√(0.023438) = 0.962 s. The sag gives the same answer without m or k: 2π√(0.2299/9.81) = 0.962 s.
- Side by side both springs stretch by the same amount and their forces add: keff = 32.0 + 48.0 = 80.0 N m⁻¹, and the sag falls to 4.4145 ÷ 80.0 = 0.0552 m.
- Period: T = 2π√(0.450/80.0) = 2π√(0.0056250) = 0.471 s. The stiffness changed by a factor 4.17 and the period only by √4.17 = 2.04.
Answer. Series: keff = 19.2 N m⁻¹, sag 230 mm, T = 0.962 s. Parallel: keff = 80.0 N m⁻¹, sag 55.2 mm, T = 0.471 s.
HardExample 3
A vertical spring is loaded with two different masses and timed. With 0.150 kg the period is 0.5210 s; with 0.400 kg it is 0.8262 s. Treat the spring as Hookean but not as massless. Find its stiffness and its own mass, then say how far wrong the stiffness would have come out from the 0.150 kg run alone.
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.
- With the spring's share of the kinetic energy included, T = 2π√((m + mₛ/3)/k), so T² = (4π²/k)m + (4π²/k)(mₛ/3): a straight line of T² against m with a positive intercept.
- T₁² = 0.5210² = 0.27144 s² and T₂² = 0.8262² = 0.68261 s², so the slope is (0.68261 − 0.27144) ÷ (0.400 − 0.150) = 0.41117 ÷ 0.250 = 1.6447 s² kg⁻¹.
- The slope is 4π²/k, so k = 39.478 ÷ 1.6447 = 24.0 N m⁻¹.
- Intercept: c = T₁² − (slope)m₁ = 0.27144 − 1.6447 × 0.150 = 0.02474 s². Since c = (slope)(mₛ/3), mₛ/3 = 0.02474 ÷ 1.6447 = 0.01504 kg and mₛ = 0.0451 kg.
- Now redo the first run pretending the spring were massless: k = 4π²m/T² = 39.478 × 0.150 ÷ 0.27144 = 21.8 N m⁻¹, which is 9.1% low — the missing 15 g of effective mass gets blamed on a softer spring.
- Sanity check: weigh the spring. A reading near 45 g confirms the model; a reading far from it means the spring is not Hookean over this range, and the straight line was a coincidence of two points.
Answer. k = 24.0 N m⁻¹ and mₛ = 45 g, so the effective extra mass is 15 g. Ignoring it gives k = 21.8 N m⁻¹, 9.1% too small.
Quick check
Select an answer and explain it before checking.
Review & continue
A mass–spring oscillator is a body of mass m held by a spring whose restoring force is proportional to displacement, so that it oscillates at the single angular frequency ω = √(k/m) whatever the amplitude.
- 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 III completion tasks.