TExcelTAD
Home › Oscillations, Waves & Electric Fields › The Mass-Spring Oscillator

The Mass-Spring Oscillator

A question to start

A car rolls over a bump and bounces gently on its springs. Load the boot with heavy bags and the bounce becomes slower. Why does adding mass slow the oscillation, and would a stiffer spring speed it up?

The idea

A block of mass mm on a spring of stiffness kk is the textbook oscillator, a spring pendulum (con lắc lò xo). When the block is displaced by xx from its equilibrium position OO, the spring pulls it back with Hooke's law:

F=−kxF = -kx

The minus sign says the force points back towards OO. Newton's second law F=maF = ma then gives a=−kmxa = -\dfrac{k}{m}x. Compare with the SHM rule a=−ω2xa = -\omega^2 x: the block moves in SHM with ω2=k/m\omega^2 = k/m.

Quantity Symbol Unit Measured with
spring constant (độ cứng) kk N/m load and extension: k=F/Δlk = F/\Delta l
mass mm kg balance
period TT s stopwatch, timing 10 or 20 cycles
static stretch of a hanging spring Δl0\Delta l_0 m ruler
m -A O +A x horizontal: frictionless table m unstretched end O (equilibrium) mg/k x vertical: hanging

The rule

ω=kmT=2πmkf=12πkm\omega = \sqrt{\frac{k}{m}} \qquad T = 2\pi\sqrt{\frac{m}{k}} \qquad f = \frac{1}{2\pi}\sqrt{\frac{k}{m}}
  • mm: the oscillating mass in kg; kk: spring constant in N/m; TT in s, ff in Hz.
  • The period depends only on mm and kk. It does not depend on the amplitude, and it does not depend on gg.
  • Hanging spring. In equilibrium the spring is already stretched by Δl0\Delta l_0, with kΔl0=mgk\Delta l_0 = mg. Measured from this new equilibrium OO, the motion is the same SHM with the same TT. Replacing m/km/k by Δl0/g\Delta l_0/g gives a handy form: T=2πΔl0/gT = 2\pi\sqrt{\Delta l_0/g}.

Worked examples

Example 1: horizontal spring.

  • Given: m=0.50 kgm = 0.50\ \text{kg}, k=50 N/mk = 50\ \text{N/m}, frictionless table.
  • Find: ω\omega, TT and ff.
  • Formula: ω=k/m\omega = \sqrt{k/m}, T=2π/ωT = 2\pi/\omega, f=1/Tf = 1/T.
  • Solve: ω=50 N/m0.50 kg=100 s−2=10 rad/s\omega = \sqrt{\dfrac{50\ \text{N/m}}{0.50\ \text{kg}}} = \sqrt{100\ \text{s}^{-2}} = 10\ \text{rad/s}; T=2π10 rad/s=0.63 sT = \dfrac{2\pi}{10\ \text{rad/s}} = 0.63\ \text{s}; f=1.6 Hzf = 1.6\ \text{Hz}.
  • Answer: ω=10 rad/s\omega = 10\ \text{rad/s}, T≈0.63 sT \approx 0.63\ \text{s}, f≈1.6 Hzf \approx 1.6\ \text{Hz}.
  • Check: N/m÷kg=(kg⋅m/s2)/(m⋅kg)=s−2\text{N/m} \div \text{kg} = (\text{kg} \cdot \text{m/s}^2)/(\text{m} \cdot \text{kg}) = \text{s}^{-2}, so ω\omega comes out in s−1\text{s}^{-1}. A light block on a soft spring bouncing about one and a half times per second is believable.

Example 2: hanging spring. A 200 g200\ \text{g} mass hung on a spring stretches it by 4.0 cm4.0\ \text{cm}. It is then pulled down 3.0 cm3.0\ \text{cm} more and released.

  • Given: m=0.20 kgm = 0.20\ \text{kg}, Δl0=0.040 m\Delta l_0 = 0.040\ \text{m}, A=0.030 mA = 0.030\ \text{m}, g=9.8 m/s2g = 9.8\ \text{m/s}^2.
  • Find: kk and TT.
  • Formula: kΔl0=mgk\Delta l_0 = mg; T=2πm/k=2πΔl0/gT = 2\pi\sqrt{m/k} = 2\pi\sqrt{\Delta l_0/g}.
  • Solve: k=0.20 kg×9.8 m/s20.040 m=49 N/mk = \dfrac{0.20\ \text{kg} \times 9.8\ \text{m/s}^2}{0.040\ \text{m}} = 49\ \text{N/m}; T=2π0.040 m9.8 m/s2=2π×0.0639 s=0.40 sT = 2\pi\sqrt{\dfrac{0.040\ \text{m}}{9.8\ \text{m/s}^2}} = 2\pi \times 0.0639\ \text{s} = 0.40\ \text{s}.
  • Answer: k=49 N/mk = 49\ \text{N/m}, T≈0.40 sT \approx 0.40\ \text{s}.
  • Check: both forms agree: 2π0.20/49=0.40 s2\pi\sqrt{0.20/49} = 0.40\ \text{s}. The 3.0 cm3.0\ \text{cm} pull only sets the amplitude; it does not enter TT.

The simulation shows this hanging spring. It states Δl0=4.0 cm\Delta l_0 = 4.0\ \text{cm} and gives T=0.401 sT = 0.401\ \text{s}. Change AA: the period readout stays the same. Then change mm.

x−AO+AmaO: Δl₀ = mg/k= 4.0 cm below theunstretched endEkEp½kx² (spring + gravity, from O)x (cm)t30−3T = 0.40 s

Example 3: four times the mass. The mass on a spring is changed from mm to 4m4m. What happens to the period?

  • Formula: T∝mT \propto \sqrt{m}.
  • Solve: T2T1=4mm=2\dfrac{T_2}{T_1} = \sqrt{\dfrac{4m}{m}} = 2.
  • Answer: the period doubles (and the frequency halves).
  • Check: in the simulation, set m=0.8 kgm = 0.8\ \text{kg} with k=49 N/mk = 49\ \text{N/m}: TT goes from 0.401 s0.401\ \text{s} to 0.803 s0.803\ \text{s}.

Try it: measure a spring constant two ways

You need: a spring or a strong rubber band, a bag or cup hung from it, coins or 50 g50\ \text{g} weights, a ruler, a phone stopwatch.

  1. Static method. Hang the empty bag, mark the bottom position, then add a known mass mm and measure the extra stretch Δl\Delta l. Work out k=mg/Δlk = mg/\Delta l.
  2. Dynamic method. With the mass hanging, pull it down about 2 cm2\ \text{cm} and release. Time 20 oscillations, find TT, and work out k=4π2m/T2k = 4\pi^2 m/T^2.
  3. Compare the two values of kk.

What you should see: the two methods agree within about 10 %. Why: both measure the same stiffness. (A rubber band does not obey Hooke's law exactly, so a metal spring agrees better. The spring's own mass makes the dynamic TT slightly longer.)

Common mistakes

  • Using grams. mm must be in kg and kk in N/m: 200 g=0.20 kg200\ \text{g} = 0.20\ \text{kg}.
  • Thinking a bigger swing takes longer. TT does not depend on AA.
  • Thinking gravity changes the period of a hanging spring. Gravity only shifts the equilibrium position down by Δl0\Delta l_0; T=2πm/kT = 2\pi\sqrt{m/k} is the same on the Moon.
  • Measuring xx from the unstretched end of a hanging spring. In the SHM formulas, xx is measured from the equilibrium position OO.

Practice

  1. A 0.25 kg0.25\ \text{kg} block on a spring of k=100 N/mk = 100\ \text{N/m} oscillates. Find TT and ff.
Answer

T=2π0.25/100=2π×0.050=0.31 sT = 2\pi\sqrt{0.25/100} = 2\pi \times 0.050 = 0.31\ \text{s}; f=1/T=3.2 Hzf = 1/T = 3.2\ \text{Hz}.

  1. What mass on a spring of k=40 N/mk = 40\ \text{N/m} gives a period of exactly 1.0 s1.0\ \text{s}?
Answer

m=kT24π2=40×1.0239.5=1.0 kgm = \dfrac{kT^2}{4\pi^2} = \dfrac{40 \times 1.0^2}{39.5} = 1.0\ \text{kg}.

  1. A hanging spring stretches 9.8 cm9.8\ \text{cm} under its load. Find the period of vertical oscillations.
Answer

T=2πΔl0/g=2π0.098/9.8=2π×0.10=0.63 sT = 2\pi\sqrt{\Delta l_0/g} = 2\pi\sqrt{0.098/9.8} = 2\pi \times 0.10 = 0.63\ \text{s}.

  1. A spring oscillator has T=0.50 sT = 0.50\ \text{s}. The mass is halved. Find the new period.
Answer

T2=T11/2=0.50×0.707=0.35 sT_2 = T_1\sqrt{1/2} = 0.50 \times 0.707 = 0.35\ \text{s}.

Test yourself

The period of a mass on a spring depends on...

  1. the amplitude and the mass
  2. the mass and the spring constant only
  3. the spring constant and gg
  4. the amplitude only

The spring is replaced by one four times stiffer. The period...

  1. is four times longer
  2. is twice as long
  3. is halved
  4. is a quarter

A hanging spring stretches by Δl0\Delta l_0 under the weight of its load. Which formula gives the period?

  1. T=2πg/Δl0T = 2\pi\sqrt{g/\Delta l_0}
  2. T=2πΔl0/gT = 2\pi\sqrt{\Delta l_0/g}
  3. T=Δl0/gT = \Delta l_0/g
  4. T=2πΔl0gT = 2\pi \Delta l_0 g

Taken to the Moon, the period of a mass-spring oscillator...

  1. gets longer
  2. gets shorter
  3. stays the same
  4. becomes zero