
Second-order ODEs and oscillations
PHYS 110 · Differential Equations and Series
Second-order differential equations involve second derivatives and naturally describe acceleration. This lesson introduces simple harmonic motion and oscillatory solutions.
Key equations
F = maa = \frac{d^2x}{dt^2}F=-kxm\frac{d^2x}{dt^2}=-kx\frac{d^2x}{dt^2}+\frac{k}{m}x=0x(t)=A\cos(\omega t + \phi)\omega = \sqrt{\frac{k}{m}}a=-\omega^2xT=\frac{2\pi}{\omega}\omega = 2\pi fLearning objectives
- Explain why Newton's second law often produces second-order ODEs.
- Derive the spring-mass simple harmonic motion equation.
- Interpret amplitude, angular frequency, period, frequency, and phase.
- Describe damping, driving, and resonance conceptually.
Why second-order equations appear
Newton's second law connects force to acceleration:
Acceleration is the second derivative of position:
a = rac{d^2x}{dt^2}
Therefore many mechanics problems lead naturally to second-order differential equations. These equations involve an unknown function and its second derivative.
A second-order ODE requires two initial conditions, usually initial position and initial velocity.
The spring-mass system
Consider a mass attached to an ideal spring. Hooke's law says the spring force is
where is displacement from equilibrium and is the spring constant. Newton's second law gives
mrac{d^2x}{dt^2}=-kx
Rearrange:
rac{d^2x}{dt^2}+rac{k}{m}x=0
This is the equation of simple harmonic motion.
Form of the solution
The solution is sinusoidal:
where is amplitude, is angular frequency, and is phase constant. For a spring-mass system,
omega = sqrt{rac{k}{m}}
The motion repeats because acceleration is always proportional to displacement but opposite in direction:
If the mass is displaced to the right, acceleration points left. If displaced left, acceleration points right. The restoring effect produces oscillation.
Meaning of constants
The amplitude is the maximum displacement from equilibrium. The angular frequency tells how rapidly the oscillation cycles. The phase determines where in the cycle the motion begins at .
The period is the time for one full cycle:
T=rac{2pi}{omega}
The frequency in cycles per second is
f=rac{1}{T}
and
Velocity and acceleration
Differentiating position gives velocity:
Differentiating again gives acceleration:
Since , this confirms
Damping and driving
Real oscillators lose energy due to friction, air resistance, or internal effects. This is damping. A damped oscillator has decreasing amplitude over time. If an external periodic force is applied, the oscillator is driven.
When the driving frequency is near the natural frequency, resonance can occur, producing large oscillations. Resonance appears in musical instruments, bridges, buildings, circuits, and atoms.
Beyond springs
Simple harmonic motion appears whenever a system near stable equilibrium has a restoring effect approximately proportional to displacement. Small pendulum swings, vibrating molecules, sound waves, and electrical oscillations can all be modeled using similar equations.
The big idea
Second-order ODEs are natural in mechanics because acceleration is a second derivative. The equation describes simple harmonic motion, where acceleration is proportional to displacement and opposite in direction. Its sinusoidal solutions form the mathematical foundation for waves, vibrations, sound, circuits, and quantum systems.
Ask your AI physics guide
Ask anything about Mathematical Methods for Physics — Second-order ODEs and oscillations, or choose a suggested question below.
AI responses are educational and may not be perfectly accurate. Press Enter to send, Shift+Enter for new line.