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
- Draw the free-body diagram of a block on a spring and write its equation of motion, \(m\ddot x + kx = 0\).
- Show that \(x = C\sin(\omega_n t + \phi)\) satisfies this equation if and only if \(\omega_n = \sqrt{k/m}\).
- Find the natural frequency, the frequency and the period of a spring–mass system, and predict how they change with \(k\) and \(m\).
- Explain why the period does not depend on the amplitude.
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 \]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.
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}} \]- A stiffer spring vibrates faster. Four times the stiffness doubles the natural frequency.
- A heavier block vibrates slower. Four times the mass doubles the period.
- The amplitude does not appear. A block released from \(100\ \text{mm}\) takes exactly as long per cycle as one released from \(10\ \text{mm}\): it goes farther, but the spring pulls proportionally harder. This is why a spring–mass system, like a pendulum swinging through small angles, can keep time.
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
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
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
- Newton's second law for a block on a spring: \(m\ddot x + kx = 0\), with \(x\) measured from equilibrium.
- Its solution is simple harmonic motion, \(x = A\sin\omega_n t + B\cos\omega_n t = C\sin(\omega_n t + \phi)\), found by recognizing \(\ddot x = -\omega^2 x\), by guessing and checking, or by integrating.
- Natural frequency \(\omega_n = \sqrt{k/m}\); period \(\tau = 2\pi\sqrt{m/k}\); both independent of the amplitude.
- Next, Lesson 4 uses the initial position and velocity to find \(A\) and \(B\).