01 / 20
m

Mass-Spring
Systems

Learn how to model a single-degree-of-freedom mass-spring system, derive its equation of motion, and identify its natural frequency \(\omega_n\).

Statics and Dynamics

What Is a Mass-Spring System?

A mass-spring system is the simplest vibrating mechanical model. A block of mass \(m\) is attached to a spring with stiffness \(k\). When displaced from equilibrium and released, the block oscillates back and forth in a repeating pattern called simple harmonic motion.

m equilibrium x(t) k

Key Physical Quantities

\(m\) : Mass
The inertia of the block, measured in kg. Resists changes in velocity.
\(k\) : Spring Constant
Stiffness of the spring, measured in N/m. A stiffer spring means a larger \(k\).
\(x(t)\) : Displacement
Position of the mass relative to equilibrium, measured in m. Positive = stretched.

Why Mass-Spring Models Matter

Nearly every vibrating system in engineering can be approximated by a mass-spring model when vibrations are small. Understanding this one model unlocks the analysis of:

1
Vehicle suspensions: springs and shock absorbers control ride comfort and handling.
2
Building earthquake response: structures sway like mass-spring systems during seismic events.
3
Vibration isolation: mounting sensitive instruments on springs to reduce transmitted vibration.
4
Atomic-scale physics: molecular bonds behave like tiny springs connecting atoms.

The Equation of Motion

Apply Newton's Second Law to the free body of the mass. The only horizontal force is the spring force \(F = -kx\):

Rearranging gives the standard form of the undamped, free-vibration equation:

This is a second-order linear ODE with constant coefficients. Its solution describes simple harmonic motion.

Identifying Natural Frequency \(\omega_n\)

Divide the equation of motion by \(m\):

We define the natural frequency:

So the equation becomes \(\ddot{x} + \omega_n^2\,x = 0\). The general solution is:

Visualizing Simple Harmonic Motion

t x(t) A -A
\(T = \frac{2\pi}{\omega_n}\)

\(\omega_n\) vs \(f_n\) vs \(T\)

Quantity Formula Units Meaning
\(\omega_n\) \(\sqrt{k/m}\) rad/s Angular (circular) frequency
\(f_n\) \(\omega_n / 2\pi\) Hz (cycles/s) Cycles per second
\(T\) \(2\pi / \omega_n\) s Time for one full cycle

How to Solve a Mass-Spring Problem

1
Draw a free-body diagram of the mass. Identify the spring force \(-kx\) and any other forces.
2
Apply Newton's Second Law: set \(\sum F = m\ddot{x}\) in the direction of motion.
3
Rearrange into standard form: \(m\ddot{x} + kx = 0\).
4
Identify \(\omega_n = \sqrt{k/m}\). Compute \(f_n\) and \(T\) if needed.
5
Apply initial conditions \(x(0)\) and \(\dot{x}(0)\) to find the constants \(A\) and \(B\).

Example 1: Finding \(\omega_n\)

A \(2\,\text{kg}\) block is attached to a spring with stiffness \(k = 200\,\text{N/m}\). Find the natural frequency, the period, and the cyclic frequency.

\(k = 200\,\text{N/m}\)
\(2\,\text{kg}\)

Example 2: Initial Conditions

Using the same system (\(m = 2\,\text{kg}\), \(k = 200\,\text{N/m}\)), the block is pulled \(0.05\,\text{m}\) from equilibrium and released from rest. Write \(x(t)\).

Example 3: Nonzero Initial Velocity

A \(5\,\text{kg}\) mass on a spring (\(k = 500\,\text{N/m}\)) starts at equilibrium (\(x(0) = 0\)) with an initial velocity \(\dot{x}(0) = 2\,\text{m/s}\). Find \(x(t)\).

Energy in a Mass-Spring System

Kinetic Energy
\(KE = \tfrac{1}{2}m\dot{x}^2\)
Maximum at equilibrium where speed is greatest.
Potential Energy
\(PE = \tfrac{1}{2}kx^2\)
Maximum at extreme displacement where the spring is most stretched or compressed.

Amplitude-Phase Form

The general solution can also be written in a single cosine with an amplitude and phase angle:

where:

\(X\) : Amplitude
\(X = \sqrt{A^2 + B^2}\)
Maximum displacement from equilibrium.
\(\phi\) : Phase Angle
\(\phi = \arctan(B/A)\)
Shifts the cosine wave in time.

Common Mistakes

✕ Confusing \(\omega_n\) and \(f_n\)
Using \(\omega_n\) where \(f_n\) is needed (or vice versa). Remember: \(f_n = \omega_n / 2\pi\). They differ by a factor of \(2\pi\).
✕ Forgetting the Square Root
Writing \(\omega_n = k/m\) instead of \(\omega_n = \sqrt{k/m}\). The square root is essential.
✕ Wrong Sign in Hooke's Law
Writing \(F = kx\) (positive) instead of \(F = -kx\). The negative sign makes the force restoring.

Summary of Key Formulas

Concept Formula Notes
Equation of Motion \(m\ddot{x} + kx = 0\) Undamped, free vibration
Natural Frequency \(\omega_n = \sqrt{k/m}\) rad/s
Cyclic Frequency \(f_n = \omega_n / 2\pi\) Hz
Period \(T = 2\pi / \omega_n\) seconds
General Solution \(A\cos\omega_n t + B\sin\omega_n t\) A, B from ICs
Total Energy \(\tfrac{1}{2}m\dot{x}^2 + \tfrac{1}{2}kx^2\) Constant (conserved)

Question 1 of 5

A 4 kg mass is attached to a spring with \(k = 900\,\text{N/m}\). What is the natural frequency \(\omega_n\)?

Question 2 of 5

If the natural frequency of a system is \(\omega_n = 20\,\text{rad/s}\), what is the period \(T\) of oscillation?

Question 3 of 5

A mass-spring system has \(x(0) = 0.03\,\text{m}\) and \(\dot{x}(0) = 0\). Which form best describes \(x(t)\)?

Question 4 of 5

In the equation \(m\ddot{x} + kx = 0\), what does the negative spring force \(-kx\) physically represent?

Question 5 of 5

If you double the spring constant \(k\) while keeping \(m\) the same, what happens to \(\omega_n\)?