Lab · Physics 1

A mass on a spring

Pull it down, let go, and it keeps its own time. Why that rhythm, why the swing size doesn’t change it, and how the sag of a machine on its mounts gives its natural frequency.

Read the whole lesson as notes · every step, derivation and worked example, on one page

1The puzzle Why does it keep its own time?

Hang a mass on a spring, pull it down and let go. It bounces at a rhythm of its own. Pull it twice as far and it swings twice as wide, yet the rhythm doesn't change.

Why not? And why does a heavier mass bounce slower, but not twice as slow for twice the mass?

By the end of this lesson we will have answered:

Why does a mass on a spring bounce at a rhythm of its own?

Why doesn’t pulling it further change that rhythm?

How does the rhythm depend on the mass and the stiffness, and why a square root?

Then we solve two examples with every operation shown, and you try one yourself.

2What we already know The tools

Five facts, lettered (A) to (E). Hooke's law and F=maF=ma come from school physics; the derivatives of a sine come from calculus.

On the board, the orange arrow is the spring's force. It always points back towards rest.

Hooke’s law: a spring stretched by xx pulls back with a force proportional to the stretch:

F=−k xF=-k\,x
(A)← k = stiffness, in N/m

Newton’s second law: force equals mass times acceleration:

F=m aF=m\,a
(B)

Acceleration is how fast the velocity changes, and velocity is how fast the position changes:

v=dxdt,a=dvdt=d2xdt2v=\frac{dx}{dt},\qquad a=\frac{dv}{dt}=\frac{d^2x}{dt^2}
(C)

Differentiating a sine twice, from calculus:

ddtcos⁡(ωt)=−ωsin⁡(ωt),d2dt2cos⁡(ωt)=−ω2cos⁡(ωt)\frac{d}{dt}\cos(\omega t)=-\omega\sin(\omega t),\qquad \frac{d^2}{dt^2}\cos(\omega t)=-\omega^2\cos(\omega t)
(D)

And from Lesson S1, (4): one full turn of a sine takes TT, with

ω=2πf=2πT\omega=2\pi f=\frac{2\pi}{T}
(E)

3Derivation Newton meets Hooke

Put the spring's force into F=maF=ma and you get one equation: the acceleration is proportional to the displacement, and opposite to it.

Watch the arrow: biggest at the ends of the swing, zero as the mass passes rest.

Measure xx from where the mass hangs at rest, positive upward. Gravity is already balanced there by the stretch at rest, so the only extra force is the spring’s pull back, from (A). Put it into (B):

m a=−k xm\,a=-k\,x
(1)

Write the acceleration with (C):

m d2xdt2=−k x⇒d2xdt2=−km xm\,\frac{d^2x}{dt^2}=-k\,x\quad\Rightarrow\quad \frac{d^2x}{dt^2}=-\frac{k}{m}\,x
(2)← the equation of motion

In words: the acceleration is always proportional to the displacement, and always points back towards rest.

4Derivation Guess a cosine

Which shape is its own second derivative, flipped? A cosine. The dashed orange line is the acceleration: the same curve, upside down.

That only fits the equation for one value of ω\omega, and it's set by kk and mm.

From (D), a cosine has exactly that property: differentiate it twice and you get it back, times −ω2-\omega^2. So try

x(t)=Acos⁡(ωt)x(t)=A\cos(\omega t)
(3)← released from x = A at t = 0

Differentiate twice with (D):

d2xdt2=−ω2Acos⁡(ωt)=−ω2 x\frac{d^2x}{dt^2}=-\omega^2A\cos(\omega t)=-\omega^2\,x
(4)

Compare (4) with (2). They match for every tt only if

ω2=km\omega^2=\frac{k}{m}
(5)

5Derivation Why the swing size doesn’t matter

Drag the amplitude. The swing gets bigger or smaller, and the rhythm stays exactly the same.

The amplitude cancels out of the equation, so it can't set the frequency.

The amplitude AA appears on both sides of (4), so it cancels. Nothing in (5) depends on AA:

ω depends on k and m only, not on A\omega\ \text{depends on}\ k\ \text{and}\ m\ \text{only, not on}\ A
← pull it twice as far: same rhythm

That only works because the force in (A) grows in step with the stretch. A spring that stiffens as it stretches would change its rhythm with amplitude.

6Derivation Heavier is slower, by a square root

The natural frequency is fn=12πk/mf_n=\frac{1}{2\pi}\sqrt{k/m}. Drag the mass and the stiffness.

Double the mass and the frequency drops to about 0.71 of what it was, not half. Four times the mass halves it.

Take the square root of (5) and use (E). This is the natural frequency:

ωn=km,fn=12πkm,T=2πmk\omega_n=\sqrt{\frac{k}{m}},\qquad f_n=\frac{1}{2\pi}\sqrt{\frac{k}{m}},\qquad T=2\pi\sqrt{\frac{m}{k}}
(6)

Double the mass and fnf_n changes by 1/21/\sqrt2:

fn′=12πk2m=12 fn≈0.71 fnf_n'=\frac{1}{2\pi}\sqrt{\frac{k}{2m}}=\frac{1}{\sqrt2}\,f_n\approx0.71\,f_n
(7)← about 29% lower, not half

7Derivation How fast, how hard

Differentiate the cosine and you get the velocity (green), then the acceleration (orange, dashed). The mass moves fastest as it passes rest and pulls hardest at the ends.

This is why displacement, velocity and acceleration readings convert into each other at one frequency. The unit converter does exactly this.

Differentiate (3) once with (D) for the velocity, and once more for the acceleration:

v=dxdt=−ωAsin⁡(ωt),a=d2xdt2=−ω2Acos⁡(ωt)v=\frac{dx}{dt}=-\omega A\sin(\omega t),\qquad a=\frac{d^2x}{dt^2}=-\omega^2A\cos(\omega t)
(8)

The biggest values come when the sine or cosine is ±1:

vmax⁡=ωA,amax⁡=ω2Av_{\max}=\omega A,\qquad a_{\max}=\omega^2A
(9)← the A-level pair

Velocity peaks as the mass passes rest; acceleration peaks at the ends of the swing, pointing back. At one frequency the three readings an analyser can give are tied together:

amax⁡=ω vmax⁡=ω2Aa_{\max}=\omega\,v_{\max}=\omega^2A
(10)← how displacement, velocity and acceleration convert

8Derivation The energy only swaps

The orange bar is the energy stored in the spring; the green bar is the energy of the moving mass. One fills as the other empties, and the total never changes.

Setting the two maxima equal gives the natural frequency a second way, with no differential equation. Engineers call it Rayleigh's method; it is how beams and plates get their frequencies later in this track.

The spring stores 12kx2\tfrac12kx^2 and the moving mass carries 12mv2\tfrac12mv^2. Add them, using (3) and (8):

12kx2+12mv2=12kA2cos⁡2ωt+12mω2A2sin⁡2ωt\tfrac12kx^2+\tfrac12mv^2=\tfrac12kA^2\cos^2\omega t+\tfrac12m\omega^2A^2\sin^2\omega t
(11)

From (5), mω2=km\omega^2=k, and sin⁡2+cos⁡2=1\sin^2+\cos^2=1:

12kx2+12mv2=12kA2(cos⁡2ωt+sin⁡2ωt)=12kA2\tfrac12kx^2+\tfrac12mv^2=\tfrac12kA^2\left(\cos^2\omega t+\sin^2\omega t\right)=\tfrac12kA^2
(12)← the same at every instant

So the energy only swaps between spring and mass. Turned round, this is Rayleigh’s method: set the largest motion energy equal to the largest spring energy, and the frequency comes out without solving any equation:

12m (ωA)2=12kA2⇒ω2=km\tfrac12m\,(\omega A)^2=\tfrac12kA^2\quad\Rightarrow\quad\omega^2=\frac km
(13)← (5) again, a second way

Pull it to x0x_0 and also give it a push v0v_0. A cosine plus a sine fits both starting values, and from Lesson S1 it is one sine of size

x(t)=x0cos⁡ωt+v0ωsin⁡ωt,A=x02+(v0ω)2x(t)=x_0\cos\omega t+\frac{v_0}{\omega}\sin\omega t,\qquad A=\sqrt{x_0^2+\left(\frac{v_0}{\omega}\right)^2}
(14)← the start sets the size, never the rhythm

9Derivation The sag shortcut

On site you rarely know kk and mm, but you can measure how far a machine sinks into its mounts. That sag alone gives the natural frequency.

1 mm of sag means about 15.8 Hz. Four times the sag halves the frequency.

At rest, the spring holds the weight. If that weight stretches it by δ\delta, from (A) the stretch force equals the weight:

k δ=m g⇒km=gδk\,\delta=m\,g\quad\Rightarrow\quad \frac{k}{m}=\frac{g}{\delta}
(15)

Put (15) in (6). The mass and the stiffness drop out; only the sag is left:

vmax⁡=ωnA,amax⁡=ωn2Av_{\max}=\omega_nA,\qquad a_{\max}=\omega_n^2A
← from (9)
fn=12πgδf_n=\frac{1}{2\pi}\sqrt{\frac{g}{\delta}}
(16)

With g=9.81g=9.81 m/s² and δ\delta in millimetres, 9810/2π=15.76\sqrt{9810}/2\pi=15.76:

fn≈15.76δmm Hzf_n\approx\frac{15.76}{\sqrt{\delta_{\text{mm}}}}\ \text{Hz}
(17)← sag 1 mm: 15.8 Hz

10Worked example 1 A pump on its mounts

A 500 kg pump on mounts of 2.0×1062.0\times10^6 N/m. Its natural frequency, its period, and how far it sits from running speed. Every operation is written out below.

Worked example 1. A 500 kg pump sits on mounts with a combined stiffness k=2.0×106k=2.0\times10^6 N/m. Find ωn\omega_n, fnf_n and the period, and compare with 1X at 1480 rpm.

The pump stands on four identical mounts of 0.5×1060.5\times10^6 N/m. They all move together, so they work in parallel and their stiffnesses add (stacked one on another, they would be in series, and 1/k1/k would add instead):

k=4×0.5×106=2.0×106 N/mk=4\times0.5\times10^6=2.0\times10^6\ \text{N/m}

Angular frequency, from (6):

ωn=2.0×106500=4000=63.25 rad/s\omega_n=\sqrt{\frac{2.0\times10^6}{500}}=\sqrt{4000}=63.25\ \text{rad/s}
(18)

In hertz, from (E):

fn=63.252π=63.256.2832=10.07 Hzf_n=\frac{63.25}{2\pi}=\frac{63.25}{6.2832}=10.07\ \text{Hz}
(19)

Period:

T=1fn=110.07=0.0993 s=99.3 msT=\frac{1}{f_n}=\frac{1}{10.07}=0.0993\ \text{s}=99.3\ \text{ms}
(20)

Running speed, from Lesson S1:

f1X=148060=24.67 Hz,f1Xfn=24.6710.07=2.45f_{1X}=\frac{1480}{60}=24.67\ \text{Hz},\qquad \frac{f_{1X}}{f_n}=\frac{24.67}{10.07}=2.45
(21)

The pump runs at 2.45 times the natural frequency of its mounts, well clear of it. Lesson P3 shows why that ratio matters.

11Worked example 2 A fan from its sag

An 800 kg fan sinks 3 mm into its mounts. That one measurement gives its natural frequency and the stiffness of the mounts.

Worked example 2. An 800 kg fan is set down on its mounts and they compress 3 mm. What is its natural frequency on the mounts, and how stiff are they?

From (16), with δ=0.003\delta=0.003 m:

fn=12π9.810.003=32706.2832=57.186.2832=9.10 Hzf_n=\frac{1}{2\pi}\sqrt{\frac{9.81}{0.003}}=\frac{\sqrt{3270}}{6.2832}=\frac{57.18}{6.2832}=9.10\ \text{Hz}
(22)

Check with the shortcut (17):

fn≈15.763=15.761.732=9.10 Hz ✓f_n\approx\frac{15.76}{\sqrt3}=\frac{15.76}{1.732}=9.10\ \text{Hz}\ \checkmark

Stiffness, from (15):

k=m gδ=800×9.810.003=2.62×106 N/mk=\frac{m\,g}{\delta}=\frac{800\times9.81}{0.003}=2.62\times10^6\ \text{N/m}
(23)

Check with (6): 2.616×106/800/2π=3270/2π=9.10\sqrt{2.616\times10^6/800}/2\pi=\sqrt{3270}/2\pi=9.10 Hz ✓. A ruler and the sag were enough: no mass or stiffness needed.

12Your turn Try it with a calculator

Your turn. In the interactive lesson above, this step gives you a new signal each time, checks your answers and writes out the full working, line by line.

13Summary On one card

The four results of this lesson, each derived above. Next lesson: why the bouncing dies away, and how one ring-down tells you the damping.

Everything in this lesson on one card:

m x¨=−k xm\,\ddot x=-k\,x
← from (2)
x(t)=Acos⁡(ωnt),ωn=k/mx(t)=A\cos(\omega_n t),\qquad \omega_n=\sqrt{k/m}
← from (3), (5)
fn=12πkm  and the amplitude doesn’t change itf_n=\frac{1}{2\pi}\sqrt{\frac{k}{m}}\ \ \text{and the amplitude doesn’t change it}
← from (6)
vmax⁡=ωnA,amax⁡=ωn2Av_{\max}=\omega_nA,\qquad a_{\max}=\omega_n^2A
← from (9)
fn=12πgδ≈15.76δmm Hzf_n=\frac{1}{2\pi}\sqrt{\frac{g}{\delta}}\approx\frac{15.76}{\sqrt{\delta_{\text{mm}}}}\ \text{Hz}
← from (16), (17)

Practice

Three problems: a warm-up, a stretch and one from site. Try each before you open the answer.

  1. Warm-up

    A 2 kg mass hangs on a spring of 800 N/m. What is its natural frequency?

    Show the answer
    ωn=8002=400=20 rad/s,fn=202π=3.18 Hz\omega_n=\sqrt{\frac{800}{2}}=\sqrt{400}=20\ \text{rad/s},\qquad f_n=\frac{20}{2\pi}=3.18\ \text{Hz}
  2. Stretch

    You double the mass on the same spring. By what factor does fnf_n change? What mass would halve it?

    Show the answer
    From fn∝1/mf_n\propto1/\sqrt m: doubling the mass multiplies fnf_n by 1/2≈0.711/\sqrt2\approx0.71. To halve it you need m′/m=2\sqrt{m\prime/m}=2, so four times the mass.
  3. On site

    A pump skid sinks 5 mm into its mounts. The motor runs at 1,480 rpm. How close is running speed to the natural frequency on the mounts?

    Show the answer
    From the sag shortcut: fn≈15.76/5=7.05f_n\approx15.76/\sqrt5=7.05 Hz. Running speed: 1480/60=24.671480/60=24.67 Hz, about 3.5 times higher. Well clear of the mount frequency.

Further reading

  • AQA A-level Physics (7408) specification: 3.6.1.2 and 3.6.1.3, simple harmonic motion and systems
  • OpenStax, University Physics Volume 1: ch. 15, Oscillations, free online
  • S. S. Rao, Mechanical Vibrations (Pearson): ch. 2, free vibration of single-degree-of-freedom systems
  • D. J. Inman, Engineering Vibration (Pearson): ch. 1
  • C. M. Harris (ed.), Harris’ Shock and Vibration Handbook (McGraw-Hill): ch. 2, basic vibration theory

The spring’s own mass. A heavy spring moves too. Its tip moves fully and its fixed end not at all, and an energy argument (Rayleigh) gives about a third of its mass to add: fn≈12πkm+ms/3f_n\approx\frac{1}{2\pi}\sqrt{\frac{k}{m+m_s/3}} A-level questions sometimes give the spring’s mass for this reason.

What the lesson already takes from them. Maximum speed ωA\omega A and acceleration ω2A\omega^2A (A-level), energy that only swaps (university physics), Rayleigh’s method, springs in parallel and series, and the static-deflection formula with its rubber-mount caveat (vibration textbooks).