Lesson 3 · 40 min

The Spring–Mass System and Its Natural Frequency

A block on a spring is the model behind most vibration analysis: a car body on its suspension, a machine on rubber mounts, a building floor on its columns. This lesson writes Newton's second law for the block, shows by three routes that it moves in simple harmonic motion, without any theory of differential equations, and finds the frequency at which it vibrates on its own: its natural frequency.

Learning objectives

The model and its equation of motion

A block of mass \(m\) slides on a smooth horizontal surface, attached to a wall by a linear spring of stiffness \(k\) (N/m). Measure the displacement \(x\) from the equilibrium position, where the spring is unstretched and the block could stay at rest, positive to the right.

When the block is at \(x\), the spring is stretched by \(x\) and pulls on it with \(\colSpr{F_s = kx}\), toward equilibrium. (When \(x\) is negative the spring is compressed and pushes the block to the right: the same formula, with the sign doing the work.) The weight and the normal force are vertical and cancel. Newton's second law along \(x\):

\[ \stackrel{+}{\rightarrow} \Sigma F_x = m a_x: \qquad -kx = m\ddot x \]

Equation of motion of a spring–mass system

\[ m\ddot x + kx = 0 \qquad\text{or}\qquad \ddot x = -\frac{k}{m}\,x \]
Figure 3.1 A block on a smooth surface, held by a spring and released from rest at \(x_0\). The violet arrow is the spring force on the block: a pull that starts on the block's face while the spring is stretched, a push that ends on it while the spring is compressed; it always points toward \(x = 0\). Press Play, then change \(k\), \(m\) and the starting displacement. The period changes with \(k\) and \(m\), but not with \(x_0\).

Finding the motion

The equation of motion gives the acceleration for every position. What is needed is the position for every time, \(x(t)\). There are three ways to get there, and none needs more calculus than the derivatives and integrals you already know.

Route 1: recognize the signature

Lesson 2 showed that simple harmonic motion is exactly the motion with \(\ddot x = -\omega^2 x\). The block's equation has that form, with \(\omega^2 = k/m\). So the block moves in simple harmonic motion,

\[ x = C\sin(\omega_n t + \phi) \qquad\text{with}\qquad \omega_n = \sqrt{\frac{k}{m}} \]

The subscript \(n\) marks the natural frequency: the circular frequency at which the system vibrates on its own, set by its own stiffness and mass.

Route 2: guess and check

Look for a function whose second derivative is a negative constant times the function itself. Exponentials and polynomials fail: the second derivative of \(e^{-pt}\) has the same sign as the function, and that of a polynomial has a lower degree. Sines and cosines work, because differentiating twice brings them back with a minus sign. Try \(x = C\cos pt\), with \(p\) still unknown:

\[ \ddot x = -Cp^2\cos pt \quad\Rightarrow\quad m\ddot x + kx = \left(k - mp^2\right)C\cos pt \]

This is zero at every instant only if \(k - mp^2 = 0\), that is, \(p = \sqrt{k/m} = \omega_n\). Any other \(p\) gives the right shape but the wrong size. Figure 3.2 lets you try it.

Figure 3.2 Guess and check. Pick a trial function \(x(t)\) (graphed at the bottom) and a value of \(p\). The top graph compares the two sides of Newton's law, \(m\ddot x\) (red) and \(-kx\) (dashed violet); the trial is a solution only when the curves coincide at every instant. With a sine or cosine, slide \(p\) until they do, and compare \(p\) with \(\sqrt{k/m}\). With the exponential or the parabola, no \(p\) works.

Route 3: integrate

Show the derivation by integration

The acceleration is a function of position, so separate the variables in \(\ddot x\,dx = \dot x\,d\dot x\) and integrate from an extreme of the motion, where \(x = C\) and \(\dot x = 0\):

\[ \int_0^{\dot x} \dot x\,d\dot x = -\omega_n^2\int_C^{x} x\,dx \quad\Rightarrow\quad \dot x^2 = \omega_n^2\left(C^2 - x^2\right) \]

Now \(\dot x = dx/dt\); separate again and integrate (the integral on the left is a standard one, the inverse sine):

\[ \int \frac{dx}{\sqrt{C^2 - x^2}} = \int \omega_n\,dt \quad\Rightarrow\quad \sin^{-1}\frac{x}{C} = \omega_n t + \phi \quad\Rightarrow\quad x = C\sin(\omega_n t + \phi) \]

The constant of the second integration is \(\phi\). No guess was needed.

The general solution

Expanding the sine of a sum, \(C\sin(\omega_n t + \phi) = C\cos\phi\,\sin\omega_n t + C\sin\phi\,\cos\omega_n t\). The same motion can therefore be written

Free vibration of a spring–mass system

\[ x = A\sin\omega_n t + B\cos\omega_n t = C\sin(\omega_n t + \phi) \]

with \(A = C\cos\phi\), \(B = C\sin\phi\), \(C = \sqrt{A^2 + B^2}\).

There are two constants, \(A\) and \(B\) (or \(C\) and \(\phi\)), because Newton's law gives the second derivative: getting back to \(x\) takes two integrations. Two facts about the start, the initial position and the initial velocity, fix them. Lesson 4 does that.

The natural frequency

Natural frequency, frequency and period

\[ \omega_n = \sqrt{\frac{k}{m}} \qquad f_n = \frac{\omega_n}{2\pi} = \frac{1}{2\pi}\sqrt{\frac{k}{m}} \qquad \tau = \frac{2\pi}{\omega_n} = 2\pi\sqrt{\frac{m}{k}} \]

Example 3.1 — Natural frequency and period

A \(4\ \text{kg}\) block is attached to a spring with \(k = 900\ \text{N/m}\). Find its natural frequency, its frequency in hertz and its period.

Show solution
\[ \omega_n = \sqrt{\frac{900}{4}} = 15.0\ \text{rad/s} \qquad f_n = \frac{15}{2\pi} = 2.39\ \text{Hz} \qquad \tau = \frac{2\pi}{15} = 0.419\ \text{s} \]

Example 3.2 — Choosing a spring

A \(2\ \text{kg}\) instrument must be mounted on a spring so that it vibrates at \(3\ \text{Hz}\). What stiffness is needed?

Show solution
\[ \omega_n = 2\pi f_n = 2\pi(3) = 18.85\ \text{rad/s} \qquad k = m\omega_n^2 = 2(18.85)^2 = 711\ \text{N/m} \]

Example 3.3 — Weighing without gravity

In orbit, a scale reads nothing, but a spring still has its stiffness. A \(1.5\ \text{kg}\) calibration mass on a spring vibrates with a period of \(0.600\ \text{s}\). With an unknown object added to it, the period becomes \(0.900\ \text{s}\). Find the object's mass.

Show solution

With the same spring, \(\tau = 2\pi\sqrt{m/k}\) is proportional to \(\sqrt m\):

\[ \frac{m_{\text{total}}}{1.5} = \left(\frac{0.9}{0.6}\right)^2 = 2.25 \quad\Rightarrow\quad m_{\text{total}} = 3.375\ \text{kg} \]

The object has a mass of \(3.375 - 1.5 = 1.875\ \text{kg}\). The stiffness was never needed: the calibration mass measured it implicitly.

Check your understanding

Key takeaways