Pendulum and spring systems

Push a swing and let go, or pull a spring and release it — both settle into the same rhythmic back-and-forth called simple harmonic motion. The simple pendulum and the mass-on-a-spring are the two systems every Class 11 student must be able to analyse from scratch: write the restoring force, match it to F=−kyF=-ky, and read off the time period. A pendulum clock keeps steady time because T=2πL/gT=2\pi\sqrt{L/g} does not care how heavy the bob is; a spring balance reads the same whether it hangs still or bounces, because gravity only shifts where the mass sits, not how fast it oscillates about that point. This article builds both derivations from Newton's second law, cross-checks them with the energy picture, and works two full numerical examples — a swinging pendulum and a bouncing spring — so the formulas T=2πL/gT=2\pi\sqrt{L/g} and T=2πm/kT=2\pi\sqrt{m/k} stop being things to memorise and become things you can rebuild under exam pressure.

The core insight

Both the simple pendulum and the spring-mass system obey a restoring force proportional to displacement, F=−kyeffF=-ky_{\text{eff}}, which forces SHM with T=2πL/gT=2\pi\sqrt{L/g} for the pendulum and T=2πm/kT=2\pi\sqrt{m/k} for the spring, and neither period depends on the oscillating mass hanging on the pendulum string.

The core idea

Spring-mass system. An ideal spring obeying Hooke's law exerts a restoring force F=−kyF=-ky on a mass mm displaced by yy from equilibrium, where kk is the force constant (unit N/m). Applying Newton's second law:

md2ydt2=−ky  ⟹  d2ydt2+ω2y=0,ω2=kmm\frac{d^2y}{dt^2}=-ky \implies \frac{d^2y}{dt^2}+\omega^2y=0,\quad \omega^2=\frac{k}{m}

where: mm is the oscillating mass (kg), kk is the spring's force constant (N/m), ω\omega is the angular frequency (rad/s). This is the standard SHM equation, so the motion repeats with time period

T=2πmkT=2\pi\sqrt{\frac{m}{k}}

This holds identically whether the spring is horizontal (gravity does no net work along the motion) or vertical (gravity only relocates the equilibrium point downward by mg/kmg/k; the restoring force measured from that new mean position is still −ky′-ky', so TT is unaffected).

Simple pendulum. A simple pendulum is an idealised point mass mm on a massless, inextensible string of length LL, swinging in a vertical plane. For a small angular displacement θ\theta, the tangential restoring force is −mgsin⁡θ-mg\sin\theta. Using the small-angle approximation sin⁡θ≈θ\sin\theta\approx\theta (valid in radians for roughly θ<10\theta<10-15°15°):

F=−mgθ=−mgyL,y=LθF=-mg\theta=-mg\frac{y}{L},\qquad y=L\theta

This matches F=−kyF=-ky with effective constant k=mg/Lk=mg/L, so

md2ydt2=−mgLy  ⟹  ω2=gL,T=2πLgm\frac{d^2y}{dt^2}=-\frac{mg}{L}y \implies \omega^2=\frac{g}{L},\qquad T=2\pi\sqrt{\frac{L}{g}}

where: LL is the string length (m), gg is local gravitational acceleration (m/s²). Crucially, mm has cancelled out entirely — a heavier bob does not swing slower. This is the same reasoning a pendulum clock relies on: as long as swings stay small-angle, TT depends only on LL and gg, never on amplitude or mass, so amplitude decay from air resistance barely changes the timekeeping.

Stiffness and inertia pull opposite ways. From ω2=k/m\omega^2=k/m, a stiffer spring (larger kk) gives a shorter period since T∝1/kT\propto1/\sqrt{k}, while a heavier mass (larger mm) gives a longer period since T∝mT\propto\sqrt{m}. Stiffness speeds the oscillation up; inertia slows it down — the two constants enter the formula with opposite exponents for a reason rooted in F=maF=ma itself.

Energy cross-check. Both systems store the same SHM energy budget, E=12mω2A2E=\tfrac12m\omega^2A^2, split between kinetic energy at the mean position and potential energy at the extremes: elastic PE 12ky2\tfrac12ky^2 for the spring, gravitational PE mgL(1−cos⁡θ)mgL(1-\cos\theta) for the pendulum, which reduces for small θ\theta to the same 12ky2\tfrac12ky^2 form with k=mg/Lk=mg/L. Getting the same answer from force and from energy is a standard self-check before trusting a derived period.

Figure
Two panels comparing a spring mass system oscillating vertically about a shifted equilibrium and a simple pendulum swinging through a small angle theta about the vertical
Spring-mass and simple pendulum — same SHM, different restoring force spring, vertical mean (new) equilibrium m F = −ky about shifted mean T = 2π√(m/k) simple pendulum θ L F = −mg sinθ ≈ −mgθ T = 2π√(L/g)
Derivation ATime period of a simple pendulum from the small-angle restoring force

The goal is to show, starting only from Newton's second law and the small-angle approximation, that a simple pendulum of length LL executes SHM with time period T=2πL/gT=2\pi\sqrt{L/g}, a result completely independent of the bob's mass mm and of the swing amplitude, which is exactly why the formula is trusted for real pendulum clocks over many small swings.

Step 1. Set up the geometry. A point mass mm hangs from a massless string of length LL, displaced through angle θ\theta from the vertical. Its arc-length displacement along the circular path is y=Lθy=L\theta, and gravity provides the only restoring force, acting tangent to the arc with magnitude mgsin⁡θmg\sin\theta, directed back toward θ=0\theta=0.

Step 2. Write Newton's second law along the arc. The tangential equation of motion is md2ydt2=−mgsin⁡θm\dfrac{d^2y}{dt^2}=-mg\sin\theta, the minus sign showing the force always opposes the displacement.

Step 3. Apply the small-angle approximation. For θ\theta measured in radians and kept below roughly 1010-15°15°, sin⁡θ≈θ\sin\theta\approx\theta. Substituting and using θ=y/L\theta=y/L: md2ydt2=−mgyLm\dfrac{d^2y}{dt^2}=-mg\dfrac{y}{L}, so the mass cancels from both sides, leaving d2ydt2=−gLy\dfrac{d^2y}{dt^2}=-\dfrac{g}{L}y.

Step 4. Match to the SHM equation y¨+ω2y=0\ddot{y}+\omega^2y=0 and read off ω2=g/L\omega^2=g/L. Since T=2π/ωT=2\pi/\omega, this gives T=2πL/gT=2\pi\sqrt{L/g}, depending only on LL and gg — never on mm or on amplitude, as long as the small-angle step remains valid. Verified: dimensional check, [L/g]=m/(m/s2)=s2[L/g]=\text{m}/(\text{m/s}^2)=\text{s}^2, so L/g\sqrt{L/g} has units of seconds, consistent with a time period.

Worked example

A simple pendulum of length 1.0 m1.0\ \text{m} swings with small amplitude, and a spring-mass system undergoes vertical SHM. Take g=9.8 m/s2g=9.8\ \text{m/s}^2.

Step 1. Pendulum time period: T=2πLg=2π1.09.8=2π0.1020=2π×0.3194=2.007 s≈2.0 sT=2\pi\sqrt{\dfrac{L}{g}}=2\pi\sqrt{\dfrac{1.0}{9.8}}=2\pi\sqrt{0.1020}=2\pi\times0.3194=2.007\ \text{s}\approx2.0\ \text{s}, so the frequency is f=1/T≈0.5 Hzf=1/T\approx0.5\ \text{Hz}.

Step 2. Length for a one-second period: from T=2πL/gT=2\pi\sqrt{L/g}, L=gT24π2=9.8×1239.48=0.248 m≈24.8 cmL=\dfrac{gT^2}{4\pi^2}=\dfrac{9.8\times1^2}{39.48}=0.248\ \text{m}\approx24.8\ \text{cm} — this is the length a seconds-type pendulum design must hit for T=1 sT=1\ \text{s} one-way swings.

Step 3. Now the spring: a mass of 0.4 kg0.4\ \text{kg} hangs on a vertical spring and completes 20 oscillations in 16 s16\ \text{s}, giving T=16/20=0.8 sT=16/20=0.8\ \text{s}. The force constant follows from T=2πm/kT=2\pi\sqrt{m/k}, rearranged as k=4π2mT2=4×9.87×0.40.64=15.790.64=24.68 N/mk=\dfrac{4\pi^2m}{T^2}=\dfrac{4\times9.87\times0.4}{0.64}=\dfrac{15.79}{0.64}=24.68\ \text{N/m}.

Step 4. The static extension when the mass just hangs in equilibrium (spring force balances weight): kx0=mg⇒x0=mgk=0.4×9.824.68=3.9224.68=0.159 m≈15.9 cmkx_0=mg \Rightarrow x_0=\dfrac{mg}{k}=\dfrac{0.4\times9.8}{24.68}=\dfrac{3.92}{24.68}=0.159\ \text{m}\approx15.9\ \text{cm}. This extension only relocates the mean position; the oscillation about it still obeys T=2πm/kT=2\pi\sqrt{m/k}, unchanged by gravity, exactly as the vertical-spring argument in the core idea predicts.

Final answers: pendulum T≈2.0 sT\approx2.0\ \text{s} (L=0.248 mL=0.248\ \text{m} for T=1 sT=1\ \text{s}); spring k≈24.68 N/mk\approx24.68\ \text{N/m}, static extension ≈15.9 cm\approx15.9\ \text{cm}.

Common traps

  • Using T=2πL/gT=2\pi\sqrt{L/g} for large swing angles — the small-angle approximation sin⁡θ≈θ\sin\theta\approx\theta breaks down beyond roughly 1010-15°15°, and the simple formula stops being accurate.
  • Believing a heavier bob makes a pendulum swing slower — mass cancels completely out of the pendulum equation; only LL and gg matter.
  • For a vertical spring, wrongly folding gg into the period formula (writing something like T=2π(mg)/kT=2\pi\sqrt{(mg)/k}) — gravity only shifts the equilibrium point; T=2πm/kT=2\pi\sqrt{m/k} is unchanged for either orientation.
  • Confusing the spring's force constant kk (N/m) with the propagation constant used later in wave equations — same letter, unrelated physical quantity.

Ask the tutor: Want a walkthrough of why the vertical-spring equilibrium shift leaves the period untouched, or a diagram-based derivation of the pendulum's small-angle step?

Why does the pendulum formula not include the mass of the bob at all?

Because mass appears on both sides of Newton's second law and cancels. The restoring force is mgsin⁡θmg\sin\theta, but the inertia resisting acceleration is also mm, so in my¨=−mgsin⁡θm\ddot y=-mg\sin\theta the mm divides out before you even reach the small-angle step. Physically, a heavier bob feels a proportionally larger restoring force but also needs a proportionally larger force to accelerate it the same amount, so the two effects exactly cancel and only LL and gg survive in T=2πL/gT=2\pi\sqrt{L/g}.

If gravity does not appear in T = 2π√(m/k) for a vertical spring, why does the spring stretch differently once loaded?

Gravity does something, just not to the period. It sets a new mean (equilibrium) position, found from kx0=mgkx_0=mg, and the mass oscillates symmetrically about that new point rather than about the spring's natural length. Once you measure displacement yy from this shifted mean, the net force is still exactly −ky-ky — the constant weight mgmg and the constant extra spring tension kx0kx_0 cancel at every instant, leaving pure SHM with T=2πm/kT=2\pi\sqrt{m/k}, identical to the horizontal case.

How small does the swing angle really need to be for the pendulum formula to work?

As a working rule, keep the amplitude under about 10°10° to 15°15°; the error in sin⁡θ≈θ\sin\theta\approx\theta is under half a percent at 10°10° and grows quickly beyond that. For amplitudes larger than this, the true period is slightly longer than 2πL/g2\pi\sqrt{L/g} and depends weakly on amplitude, but that correction uses a series expansion beyond the Class 11 syllabus — for exam purposes, always assume small-angle unless a large amplitude is explicitly stated as a conceptual exception.

Before this

Where this leads