STATICS AND DYNAMICS • DYNAMICS

Mass-Spring Systems — Model a single-degree-of-freedom mass–spring system and identify natural frequency

Discover how a simple mass and spring define the fundamental vibration behavior of every mechanical system.

Historical Context & Motivation

The study of vibrating systems is one of the oldest branches of mechanics, yet it remains central to modern engineering design. From the pendulums of early clockmakers to the structural resonance that collapsed the Tacoma Narrows Bridge in 1940, understanding natural frequency has been essential for ensuring that machines, structures, and instruments operate safely and predictably. The single-degree-of-freedom (SDOF) mass–spring system is the simplest idealization that captures this vibratory behavior, and virtually every vibration analysis course begins with it because it introduces the fundamental concepts—restoring force, inertia, and oscillation—without the algebraic complexity of multi-degree-of-freedom models.

1678
Hooke's Law Published
Robert Hooke announces ut tensio, sic vis (as the extension, so the force), establishing the linear relationship between force and displacement that underpins every spring model.
1687
Newton's Principia Mathematica
Isaac Newton formalizes the second law of motion, F = ma, providing the inertial framework needed to write equations of motion for oscillating masses.
1822
Fourier's Analytical Theory of Heat
Joseph Fourier demonstrates that complex periodic functions can be decomposed into sinusoidal components, reinforcing the centrality of harmonic (sinusoidal) motion in physical analysis.
1883
Rayleigh's Theory of Sound
Lord Rayleigh publishes a comprehensive treatment of vibrating systems, generalizing the mass–spring concept to continuous and multi-degree-of-freedom structures and introducing energy methods for estimating natural frequencies.
1940
Tacoma Narrows Bridge Collapse
The dramatic failure of the Tacoma Narrows Bridge under wind-induced aeroelastic flutter underscores the catastrophic consequences of neglecting resonance and natural frequency in structural design.

The fundamental question that the SDOF mass–spring model addresses is deceptively simple: if a mass is displaced from equilibrium and released, at what frequency will it oscillate? Answering this question rigorously requires combining Hooke's linear restoring force with Newton's second law, yielding a second-order ordinary differential equation whose solution reveals the system's natural frequency—the intrinsic rate at which the system prefers to vibrate in the absence of external forcing or damping.

Core Principles & Definitions

Before diving into the mathematics, it is critical to internalize the physical ingredients that give rise to oscillatory motion. Every SDOF mass–spring system consists of exactly two energy-storage elements—a mass that stores kinetic energy and a spring that stores potential (elastic) energy. The interplay between these two forms of energy is what sustains the oscillation: as the mass moves away from equilibrium, the spring absorbs kinetic energy and converts it to potential energy; as the spring pulls the mass back, potential energy converts to kinetic energy. This continuous exchange repeats at a fixed rate dictated entirely by the ratio of stiffness to mass.

1

Degree of Freedom

The minimum number of independent coordinates required to fully describe a system's configuration. An SDOF system needs exactly one coordinate—typically the displacement x(t) from static equilibrium.
2

Hooke's Law (Linear Spring)

The restoring force exerted by an ideal linear spring is proportional to displacement: F = −kx, where k is the spring constant (N/m). The negative sign indicates the force opposes the displacement.
3

Inertia & Newton's Second Law

The mass m resists changes in velocity. Newton's second law, F = ma = mẍ, governs the translational dynamics. Combining this with the spring force produces the governing ODE.
4

Natural Frequency (ω_n)

The frequency at which the undamped, unforced system oscillates freely. It depends only on system parameters: ωn = √(k/m) in rad/s. It is an intrinsic property, independent of initial conditions.
5

Free Vibration

Motion that occurs after the system is disturbed from equilibrium and then left alone—no external forces are applied. The resulting oscillation is purely harmonic for the ideal (undamped) case.
KEY TAKEAWAY
Think of a mass–spring system like a playground swing. The swing's mass (the child) provides inertia, and gravity provides the restoring force (analogous to the spring). A heavier child on the same swing oscillates more slowly—just as increasing mass m lowers ωn. Shortening the chains (increasing stiffness) makes the swing go faster—just as increasing k raises ωn. The natural frequency is the system's 'personality'; it does not depend on how hard you push.

Visual Explanation — The SDOF Mass–Spring Model

Left: the physical model showing a mass m connected to a fixed wall by a spring of stiffness k. The positive displacement direction x(t) is shown in cyan. Upper right: free-body diagram isolating the mass with the spring restoring force −kx. Lower right: the resulting harmonic time response with period T = 2π/ωn.

The diagram above captures the essential features of the SDOF model. On the left, the mass slides on a frictionless surface (we neglect damping for now) and is constrained to move only along the horizontal axis—hence one degree of freedom. The spring, depicted by the zigzag element, exerts a force that is always directed toward the equilibrium position; this restoring force is the mechanism that drives the mass back whenever it is displaced. Observe from the free-body diagram that the only horizontal force acting on the mass is −kx, which, when substituted into Newton's second law, immediately yields the governing equation of motion: mẍ + kx = 0. The lower-right panel shows the solution—a pure sinusoid—confirming that undamped free vibration is simple harmonic motion at the natural frequency ωn.

Mathematical Framework

We now derive the equation of motion from first principles and extract the natural frequency. Consider a mass m attached to a linear spring of stiffness k, constrained to translate along a single axis. Define x(t) as the displacement measured from the static equilibrium position so that x = 0 corresponds to the natural length configuration (gravity effects, if present, are already accounted for in defining the equilibrium). Applying Newton's second law in the x-direction gives the governing ordinary differential equation.

EQUATION OF MOTION
mẍ + kx = 0
where m = mass (kg), k = spring stiffness (N/m), = d²x/dt² = acceleration (m/s²). This is a linear, second-order, homogeneous ODE with constant coefficients.

Dividing through by m and defining the quantity ωn² = k/m puts the equation into standard form. This normalization is not merely cosmetic—it reveals that the parameter ωn completely characterizes the free response.

STANDARD FORM
ẍ + ω²ₙ x = 0, ω²ₙ = k / m
This form is universal: any SDOF undamped system can be written in this way regardless of whether the restoring mechanism is a physical spring, gravity, or an electromagnetic field.

To solve, assume x(t) = Aest. Substitution yields the characteristic equation s² + ωn² = 0, giving purely imaginary roots s = ±iωn. By Euler's formula the general solution is a superposition of sine and cosine at the natural frequency.

GENERAL SOLUTION
x(t) = A cos(ωₙt) + B sin(ωₙt)
A and B are determined by the initial conditions: A = x(0) = x₀ (initial displacement) and B = ẋ(0)/ωₙ = v₀/ωₙ (initial velocity divided by natural frequency).
NATURAL FREQUENCY RELATIONS
ωₙ = √(k/m) [rad/s], fₙ = ωₙ / (2π) [Hz], T = 1/fₙ = 2π/ωₙ [s]
ωn is the circular (angular) natural frequency in rad/s; fn is the cyclic natural frequency in hertz; T is the period of one complete oscillation.
📐 Amplitude-Phase Form
The general solution can equivalently be written as x(t) = X cos(ωnt − φ), where X = √(A² + B²) is the amplitude and φ = arctan(B/A) is the phase angle. This form makes it clear that the motion is a single sinusoid with constant amplitude—energy is conserved in the undamped system.

Energy Methods & Equivalent Spring Constants

In many practical situations the effective stiffness of a system is not immediately obvious because springs may be arranged in series or parallel configurations. Identifying the equivalent spring constant keq is essential before computing the natural frequency. Additionally, an energy-based approach offers a powerful alternative to Newton's-law derivation and provides a consistency check on equations of motion.

Top-left: two springs in parallel share the displacement, giving keq = k₁ + k₂. Top-right: two springs in series share the force, giving 1/keq = 1/k₁ + 1/k₂. Bottom: energy exchange between kinetic (green) and potential (amber) energy over one oscillation cycle; total energy (dashed red) remains constant in the undamped case.

An alternative and often more elegant route to the equation of motion is the energy method. For conservative systems, the total mechanical energy E = T + U (kinetic plus potential) is constant. Differentiating E with respect to time and setting dE/dt = 0 yields d/dt[ ½mẋ² + ½kx² ] = mẋẍ + kxẋ = ẋ(mẍ + kx) = 0. Since ẋ is not identically zero, we recover mẍ + kx = 0. This technique—sometimes called the Rayleigh energy method—scales naturally to more complex systems. For instance, Rayleigh's quotient ωn² = keq/meq generalizes the SDOF result by interpreting 'stiffness' and 'mass' as effective quantities derived from energy expressions, even for distributed-parameter systems.

Equivalent stiffness and corresponding natural frequencies for common spring arrangements.
ConfigurationEquivalent Stiffness k_eqNatural Frequency ωₙ
Single springk√(k/m)
n springs in parallelk₁ + k₂ + … + kₙ√(Σkᵢ / m)
n springs in series1/(1/k₁ + 1/k₂ + … + 1/kₙ)√(k_eq / m)
Two identical springs in parallel2k√(2k/m)
Two identical springs in seriesk/2√(k / 2m)

Worked Example — Engine Mount Vibration

An engine of mass 150 kg is supported on four identical rubber mounts, each with stiffness 60 kN/m, arranged in parallel. The engine is displaced 5 mm downward from equilibrium and released from rest. Determine (a) the equivalent spring constant, (b) the natural frequency in Hz, (c) the period, and (d) the displacement at t = 0.05 s.

Engine on Four Parallel Rubber Mounts
1
Step 1 — Identify Given ValuesMass m = 150 kg. Each mount stiffness k = 60 kN/m = 60 × 10³ N/m. Number of mounts n = 4 (parallel). Initial displacement x₀ = 5 mm = 0.005 m (downward, taken as positive). Initial velocity v₀ = 0 (released from rest).
2
Step 2 — Compute Equivalent StiffnessSince the four springs are in parallel, they share the same displacement, and their stiffnesses add directly: keq = 4 × 60 × 10³ = 240 × 10³ N/m.
keq = 240 kN/m
3
Step 3 — Determine Natural Frequencyωn = √(keq / m) = √(240 × 10³ / 150) = √(1600) = 40 rad/s. Converting to hertz: fn = ωn / (2π) = 40 / (2π) ≈ 6.37 Hz.
ωn = 40 rad/s, fn ≈ 6.37 Hz
4
Step 4 — Compute PeriodT = 1/fn = 2π / ωn = 2π / 40 ≈ 0.157 s.
T ≈ 0.157 s
5
Step 5 — Find Displacement at t = 0.05 sWith v₀ = 0, the solution simplifies to x(t) = x₀ cos(ωnt). Substituting: x(0.05) = 0.005 × cos(40 × 0.05) = 0.005 × cos(2.0 rad) = 0.005 × (−0.4161) ≈ −0.00208 m = −2.08 mm. The negative sign indicates the engine has passed through equilibrium and is now displaced on the opposite side.
x(0.05 s) ≈ −2.08 mm

Strengths & Limitations of the SDOF Undamped Model

The SDOF undamped mass–spring model is one of the most widely used idealizations in engineering, but like every model it has a domain of validity. Understanding what it captures well and where it breaks down is critical for making sound engineering judgments about when to use it and when to reach for a more sophisticated tool.

Comparison of strengths and limitations of the undamped SDOF mass–spring model.
StrengthsLimitations
Closed-form analytical solution—no numerical methods requiredNeglects damping; real oscillations always decay due to friction, material hysteresis, or air resistance
Accurately predicts natural frequency ωₙ, which is the most important design parameter in vibration isolationAssumes linear spring behavior; real springs exhibit nonlinearity at large displacements
Provides physical intuition via the energy exchange between KE and PESingle DOF cannot capture mode shapes of distributed or multi-body systems
Serves as the building block for MDOF analysis (modal superposition)No external forcing term; cannot model forced vibration or resonance directly
Easily extended: add a dashpot (damping) or forcing function to handle real-world conditionsMassless spring assumption may fail when the spring's mass is comparable to the attached mass
KEY TAKEAWAY
The undamped SDOF model is like a frictionless ramp in introductory physics—it is deliberately simplified to isolate the essential mechanism (here, the interplay of inertia and stiffness) from complicating factors (damping, forcing, nonlinearity). In practice, engineers first use the undamped model to establish ωn and then layer in damping (ζ) and forcing (F₀ sin ωt) to refine the prediction. Knowing the limitations upfront prevents you from misinterpreting results—for example, predicting perpetual oscillation when a real system decays within seconds.

Connection to Damped & Forced Vibration

The SDOF undamped model is the foundation upon which the entire superstructure of vibration theory is built. The most immediate extension is the addition of viscous damping, represented by a dashpot with damping coefficient c. This changes the equation of motion to mẍ + cẋ + kx = 0 and introduces the damping ratio ζ = c / (2√(km)) as a second system parameter. When the system is also subjected to a harmonic external force F₀ sin(ωt), the equation becomes mẍ + cẋ + kx = F₀ sin(ωt), and the phenomenon of resonance—where the driving frequency ω approaches ωn—emerges. In all these extensions, ωn = √(k/m) remains the reference frequency against which all dynamic behavior is measured.

Progression from undamped free vibration to damped forced vibration—each model builds on ωₙ.
FeatureUndamped Free (This Lesson)Damped FreeDamped Forced
Equation of Motionmẍ + kx = 0mẍ + cẋ + kx = 0mẍ + cẋ + kx = F₀ sin(ωt)
Key Parametersωₙ = √(k/m)ωₙ, ζ = c/(2√km)ωₙ, ζ, ω/ωₙ (frequency ratio)
Response CharacterPerpetual sinusoidDecaying sinusoid (ζ < 1)Transient + steady-state sinusoid
Amplitude BehaviorConstant foreverExponential decay e^(−ζωₙt)Peaks near ω = ωₙ (resonance)
Design ApplicationNatural frequency identificationDecay rate, logarithmic decrementVibration isolation, frequency response

Beyond single-degree-of-freedom systems, the SDOF concepts generalize elegantly through modal analysis. A multi-degree-of-freedom (MDOF) system with N masses and springs can be decomposed into N independent SDOF oscillators, each vibrating at its own natural frequency (eigenvalue). The associated mode shapes (eigenvectors) describe the spatial pattern of each mode. Continuous structures—beams, plates, shells—possess infinitely many modes, but the lowest few natural frequencies typically dominate the response. In every case, the ability to solve the basic SDOF problem is the prerequisite to understanding the more complex analysis.

Practice Problems

PROBLEM 1CONCEPTUAL
A mass–spring system has its spring constant doubled while the mass remains unchanged. Explain qualitatively how the natural frequency and the period change. Does the amplitude of free vibration change?
PROBLEM 2BASIC CALCULATION
A 4 kg block is attached to a spring with k = 900 N/m. Find (a) the natural frequency in rad/s and Hz, and (b) the period of oscillation.
PROBLEM 3INTERMEDIATE
A 10 kg mass is connected between two springs in series: k₁ = 2000 N/m and k₂ = 3000 N/m. The mass is displaced 8 mm from equilibrium and given an initial velocity of 0.1 m/s in the positive direction. Determine the complete free-vibration response x(t).
PROBLEM 4APPLIED
A sensitive instrument of mass 25 kg must be mounted on a platform supported by four identical springs in parallel. The design specification requires that the natural frequency of the mount system be no greater than 3 Hz to isolate the instrument from building vibrations above 3 Hz. Determine the maximum allowable stiffness per spring.
PROBLEM 5CRITICAL THINKING
A uniform rod of mass m and length L is pinned at one end and attached to a spring of stiffness k at the other end (the spring is horizontal and at the rod's natural hanging position the spring is unstretched). For small angular oscillations θ, derive the natural frequency of the system using the energy method. Hint: approximate sin θ ≈ θ for small angles and note the moment of inertia about the pin is I₀ = mL²/3.

Lesson Summary

The single-degree-of-freedom mass–spring system is the foundational model in vibration analysis. By combining Hooke's law (F = −kx) with Newton's second law (F = mẍ), we derive the governing equation mẍ + kx = 0, whose solution is a pure sinusoid at the natural frequency ωn = √(k/m). This intrinsic frequency depends only on the stiffness and mass, not on initial conditions, and it can be expressed in hertz as fn = ωn/(2π) or as a period T = 2π/ωn.

The energy method (equating kinetic and potential energy exchanges) provides an alternative derivation and extends naturally to equivalent spring systems—springs in parallel (keq = Σkᵢ) and in series (1/keq = Σ1/kᵢ). While the undamped model predicts perpetual oscillation, it accurately captures ωn, which remains the key reference parameter when damping and forced excitation are later introduced. Mastering this model prepares you for modal analysis of multi-DOF systems, vibration isolation design, and resonance avoidance in real-world structures.

Varsity Tutors • Statics and Dynamics • Mass-Spring Systems — Model a single-degree-of-freedom mass–spring system and identify natural frequency