01 / 20
\( m \)

Mass-Spring
Systems

Model oscillatory motion using Hooke's Law and second-order differential equations to predict how springs stretch, compress, and vibrate.

Differential Equations

What Is a Mass-Spring System?

A mass-spring system is a mechanical model where a mass \( m \) is attached to a spring with stiffness \( k \). When the mass is displaced from its resting position and released, it oscillates back and forth.

\( m \)
equilibrium
\( x(t) \)
\( F = -kx \)
spring (\( k \))

Hooke's Law: The Restoring Force

Hooke's Law states that the force exerted by a spring is proportional to its displacement from equilibrium and acts in the opposite direction:

\( k \) large
Stiff spring: strong restoring force, rapid oscillation
\( k \) small
Soft spring: weak restoring force, slow oscillation

Key Variables and Units

\( m \)
Mass of the object (kg)
\( k \)
Spring constant (N/m)
\( x(t) \)
Displacement from equilibrium at time \( t \) (m)
\( b \)
Damping coefficient (N·s/m)

From Newton's Law to a Differential Equation

Apply Newton's Second Law \( F = ma \) to the mass. Since acceleration is the second derivative of position:

1
Newton's Law: \( ma = F_{\text{spring}} \)
2
Substitute: \( mx'' = -kx \)
3
Rearrange: \( mx'' + kx = 0 \)

General Solution: Simple Harmonic Motion

The characteristic equation \( mr^2 + k = 0 \) gives roots \( r = \pm i\omega_0 \) where \( \omega_0 = \sqrt{k/m} \). The general solution is:

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

Undamped vs. Damped Systems

Undamped
\( mx'' + kx = 0 \)
No energy loss: oscillation continues forever at constant amplitude.
Damped
\( mx'' + bx' + kx = 0 \)
Friction or resistance: amplitude decreases over time. The term \( bx' \) opposes velocity.

The Damped Equation

Including a damping force proportional to velocity gives the general damped mass-spring equation:

The characteristic equation is \( mr^2 + br + k = 0 \). The discriminant \( \Delta = b^2 - 4mk \) determines the type of motion:

\( \Delta < 0 \)
Underdamped: oscillation with exponential decay
\( \Delta = 0 \)
Critically damped: fastest return without oscillation
\( \Delta > 0 \)
Overdamped: slow return, no oscillation

Visualizing Damping Types

\( t \)
\( x \)
Underdamped Critically damped Overdamped 0

Comparing Damping Regimes

Underdamped Critically Damped Overdamped
Discriminant \( b^2 < 4mk \) \( b^2 = 4mk \) \( b^2 > 4mk \)
Roots Complex conjugate Repeated real Distinct real
Oscillation? Yes (decaying) No No
Solution form \( e^{\alpha t}(C_1\cos\beta t + C_2\sin\beta t) \) \( (C_1 + C_2 t)e^{rt} \) \( C_1 e^{r_1 t} + C_2 e^{r_2 t} \)
Return speed Moderate Fastest Slowest

How to Solve a Mass-Spring Problem

1
Set up the ODE: Write \( mx'' + bx' + kx = F(t) \) with given values for \( m \), \( b \), \( k \), and any external forcing \( F(t) \).
2
Characteristic equation: Substitute \( x = e^{rt} \) to get \( mr^2 + br + k = 0 \).
3
Find the roots: Use the quadratic formula. Check the discriminant \( b^2 - 4mk \).
4
Write the general solution: Choose the correct form (underdamped, critically damped, or overdamped).
5
Apply initial conditions: Use \( x(0) \) and \( x'(0) \) to solve for \( C_1 \) and \( C_2 \).

Example 1: Undamped System

A \(2\) kg mass is attached to a spring with \(k = 8\) N/m. It is pulled \(0.5\) m from equilibrium and released from rest. Find \( x(t) \).

1
ODE: \( 2x'' + 8x = 0 \implies x'' + 4x = 0 \)
2
Characteristic eq: \( r^2 + 4 = 0 \implies r = \pm 2i \)
3
General solution: \( x(t) = C_1\cos(2t) + C_2\sin(2t) \)
4
Apply ICs: \( x(0) = 0.5 \implies C_1 = 0.5 \). \( x'(0) = 0 \implies 2C_2 = 0 \implies C_2 = 0 \).

Example 2: Underdamped System

Given \( m = 1 \) kg, \( b = 2 \) N·s/m, \( k = 5 \) N/m, with \( x(0) = 3 \), \( x'(0) = 0 \). Find \( x(t) \).

1
ODE: \( x'' + 2x' + 5x = 0 \)
2
Roots: \( r = \frac{-2 \pm \sqrt{4 - 20}}{2} = -1 \pm 2i \). So \( \alpha = -1 \), \( \beta = 2 \).
3
General: \( x(t) = e^{-t}(C_1\cos 2t + C_2\sin 2t) \)
4
ICs: \( C_1 = 3 \). \( x'(0) = -C_1 + 2C_2 = 0 \implies C_2 = 3/2 \).

Example 3: Critically Damped

Given \( m = 1 \) kg, \( b = 4 \) N·s/m, \( k = 4 \) N/m, with \( x(0) = 2 \), \( x'(0) = 1 \). Find \( x(t) \).

1
ODE: \( x'' + 4x' + 4x = 0 \). Discriminant: \( 16 - 16 = 0 \).
2
Repeated root: \( r = -2 \)
3
General: \( x(t) = (C_1 + C_2 t)e^{-2t} \)
4
ICs: \( C_1 = 2 \). \( x'(0) = C_2 - 2C_1 = 1 \implies C_2 = 5 \).

Common Mistakes

✕ Forgetting the negative sign
Writing \( F = kx \) instead of \( F = -kx \). The restoring force must oppose displacement.
✕ Wrong discriminant check
Computing \( b^2 - 4mk \) incorrectly or confusing it with \( b^2 - 4k \). Always use the full \( 4mk \).
✕ Missing the \( te^{rt} \) term
For critically damped (repeated roots), using \( C_1 e^{rt} + C_2 e^{rt} \) instead of \( (C_1 + C_2 t)e^{rt} \).

Question 1 of 5

Hooke's Law states that the restoring force of a spring is given by:

Question 2 of 5

For the equation \( 3x'' + 12x = 0 \), what is the natural frequency \( \omega_0 \)?

Question 3 of 5

A mass-spring system with \( m = 2 \), \( b = 8 \), \( k = 8 \) is:

Question 4 of 5

The general solution to \( x'' + 6x' + 9x = 0 \) is:

Question 5 of 5

For \( x'' + 2x' + 10x = 0 \) with \( x(0) = 0 \) and \( x'(0) = 6 \), what are the constants \( C_1 \) and \( C_2 \)?