Course contentsShow
← Mathematics
Lesson 2368 of 3,12148. Ordinary Differential EquationsFree lesson

Spring-Mass Systems: Setting Up the Differential Equation

Model undamped spring-mass systems using Hooke's law and Newton's second law to derive the second-order ODE.

Spring-Mass Systems: Setting Up the Differential Equation

What you'll learn: How to model an undamped spring-mass system by combining Hooke's law and Newton's second law to create a second-order differential equation.

The Physical Setup

Imagine a mass attached to a spring hanging vertically or positioned horizontally. When you displace the mass from its equilibrium position and release it, it oscillates back and forth. To predict this motion mathematically, we need to translate the physical laws into a differential equation.

Two Fundamental Laws

Hooke's Law tells us that the restoring force exerted by a spring is proportional to its displacement from equilibrium: Fspring=−kxF_{\text{spring}} = -kx

where k > 0 is the spring constant (stiffness) and x is the displacement. The negative sign indicates the force opposes the displacement.

Newton's Second Law states that force equals mass times acceleration: F=ma=md2xdt2F = ma = m\frac{d^2x}{dt^2}

Deriving the Differential Equation

For an undamped system (no friction or resistance), the only force acting on the mass is the spring force. Setting Newton's second law equal to Hooke's law:

md2xdt2=−kxm\frac{d^2x}{dt^2} = -kx

Rearranging into standard form: d2xdt2+kmx=0\frac{d^2x}{dt^2} + \frac{k}{m}x = 0

This is a second-order linear homogeneous ODE with constant coefficients—exactly the type you've already learned to solve! The coefficient ω2=k/m\omega^2 = k/m determines the oscillation frequency.

Why This Matters

This setup transforms a physical problem into mathematics you can solve using characteristic equations (yielding complex roots) to find sinusoidal solutions representing periodic motion.

Key Takeaway: An undamped spring-mass system is modeled by the second-order ODE mx¨+kx=0m\ddot{x} + kx = 0, derived by combining Hooke's law (spring force) with Newton's second law (mass × acceleration).