Skip to main content

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.
Starting model: Mass–spring oscillatorsA block hanging from a vertical spring. The upper dashed line marks where it would sit with the spring at its natural length; the lower one is the hanging equilibrium, Δl = mg/k = 98 mm below. The arrows show a swing of amplitude 50 mm, symmetric about that shifted equilibrium. The bar along the foot is the period to scale against a 1.00 s tick: T = 0.628 s.natural lengthhanging equilibrium, Δl = 98 mmA = 50 mm1.00 speriod TT = 0.628 s
Start with a picture. Change the model in the lab below.
1

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.

2

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 required

Vertical 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 add

Correction 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 profile
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

0.30 kg
0.2 to 0.5 kg; steps of 0.05.
30 N m⁻¹
20 to 50 N m⁻¹; steps of 2.
0.05 m
0.02 to 0.08 m; steps of 0.01.

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.

Interactive Physics III modelA block hanging from a vertical spring. The upper dashed line marks where it would sit with the spring at its natural length; the lower one is the hanging equilibrium, Δl = mg/k = 98 mm below. The arrows show a swing of amplitude 50 mm, symmetric about that shifted equilibrium. The bar along the foot is the period to scale against a 1.00 s tick: T = 0.628 s.natural lengthhanging equilibrium, Δl = 98 mmA = 50 mm1.00 speriod TT = 0.628 s
A block hanging from a vertical spring. The upper dashed line marks where it would sit with the spring at its natural length; the lower one is the hanging equilibrium, Δl = mg/k = 98 mm below. The arrows show a swing of amplitude 50 mm, symmetric about that shifted equilibrium. The bar along the foot is the period to scale against a 1.00 s tick: T = 0.628 s.

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

Baseline 0.30; choose 0.2 to 0.5, in steps of 0.05.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

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.

5

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.

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.

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.

6

Quick check

Select an answer and explain it before checking.

A block hangs at rest from a vertical spring, stretching it 40 mm beyond its natural length. It is then pulled 15 mm further down and released. Neither the block's mass nor the spring's stiffness is given. What is the period of the motion that follows?
7

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.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.