Vibrations of Single-Degree-of-Freedom Systems
Vibration is dynamics focused on motion near equilibrium. A single-degree-of-freedom system has one independent coordinate, such as the displacement of a mass on a spring or the angle of a small pendulum. The equation of motion is usually an ordinary differential equation whose solution reveals frequency, damping, transient decay, and steady forced response.
This page ties together Newton's second law, work-energy ideas, and linearization. The same mass-spring-damper model appears in machinery, vehicle suspensions, building response, instruments, isolation mounts, and control systems. Even when real systems have many degrees of freedom, the single-degree model gives the vocabulary: natural frequency, damping ratio, resonance, phase, and transmissibility.
Definitions
A single-degree-of-freedom system is one whose configuration can be described by one coordinate after constraints are applied. The standard linear mass-spring-damper equation is
where is mass, is viscous damping coefficient, is stiffness, and is an applied force.
The undamped natural frequency is
The critical damping coefficient is
The damping ratio is
For free vibration with no forcing,
For undamped free vibration,
with solution
For underdamped free vibration, , the damped natural frequency is
and the motion has the form
For harmonic forcing
the steady-state response has the same frequency as the forcing but generally different amplitude and phase.
Key results
The equation of motion should be written about a static equilibrium position when possible. If a vertical spring supports a mass, gravity shifts the equilibrium stretch but does not appear in the linear vibration equation about that equilibrium:
where is measured from static equilibrium. This prevents double-counting weight.
For undamped free vibration, initial displacement and initial velocity give
The period is
For underdamped vibration, the exponential envelope decays as
Larger damping ratio means faster decay, but for the system still oscillates. At , the system is critically damped and returns to equilibrium without oscillating as quickly as possible in the ideal linear model. For , it is overdamped and also nonoscillatory but slower.
For harmonic steady-state response of
the displacement amplitude is
where
The phase lag satisfies
When damping is small and is near , the amplitude can be large. This is resonance in the linear forced-response model. Damping limits the peak but also changes phase.
Energy gives another view. In an undamped free oscillator,
is constant. With viscous damping,
so mechanical energy decreases monotonically.
Linear vibration models are usually local models. A pendulum, for example, is exactly governed by a nonlinear equation involving , but for small angles , so the equation becomes linear and has a natural frequency. The same pattern appears in springs, beams, shafts, and mechanisms: choose an equilibrium configuration, define a small displacement coordinate, and keep the leading linear stiffness and damping terms. The model is then useful only over the range where those approximations remain accurate.
Initial conditions control the transient response. For a forced damped system, the full solution is the sum of a transient part and a steady-state part. The transient depends on initial displacement and velocity and decays if damping is positive. The steady-state part depends on the forcing frequency and remains as long as the harmonic forcing continues. Many engineering measurements taken after startup are dominated by steady-state response, while shock and startup problems require the transient.
Units are a strong guardrail. Stiffness has units N/m, damping has units N s/m, has units rad/s, and is dimensionless. A damping coefficient cannot be inserted where a damping ratio belongs without dividing by .
Visual
| Case | Condition | Motion type | Key formula |
|---|---|---|---|
| Undamped free | , | Constant-amplitude sinusoid | |
| Underdamped free | , | Decaying oscillation | |
| Critically damped | Fast nonoscillatory return | ||
| Overdamped | Slow nonoscillatory return | Two real exponential modes | |
| Harmonic forced | Steady amplitude and phase |
Worked example 1: Undamped free vibration from initial conditions
Problem. A kg mass is attached to a spring with stiffness N/m on a frictionless horizontal surface. It is pulled m from equilibrium and released with velocity m/s toward positive . Find the motion and the maximum displacement amplitude.
Method. Use the undamped free-vibration solution with initial displacement and velocity.
- Natural frequency:
- General solution:
- Apply initial displacement:
- Velocity:
At ,
Thus
- Motion:
- Amplitude:
For , the amplitude is
The checked answer is
The amplitude is larger than the initial displacement because the initial velocity also contributes energy.
Worked example 2: Forced response amplitude of a damped oscillator
Problem. A machine component is modeled as kg, N/m, and damping ratio . It is forced by N. Find the steady-state displacement amplitude.
Method. Compute , frequency ratio , static displacement , and dynamic magnification factor.
- Natural frequency:
- Frequency ratio:
- Static displacement under force amplitude:
- Denominator of magnification factor:
Compute :
Then
Also
Thus
- Amplitude:
The checked answer is
The response amplitude is larger than the static deflection because the forcing frequency is below but near the natural frequency.
Code
import math
# Free vibration example.
m = 5.0
k = 180.0
x0 = 0.08
v0 = 0.30
omega_n = math.sqrt(k / m)
A = x0
B = v0 / omega_n
amplitude = math.sqrt(A*A + B*B)
period = 2.0 * math.pi / omega_n
print(f"omega_n = {omega_n:.3f} rad/s")
print(f"x(t) = {A:.3f} cos({omega_n:.3f} t) + {B:.3f} sin({omega_n:.3f} t)")
print(f"amplitude = {amplitude:.4f} m")
print(f"period = {period:.4f} s")
# Forced response example.
m = 20.0
k = 5000.0
zeta = 0.08
F0 = 120.0
omega = 12.0
omega_n = math.sqrt(k / m)
r = omega / omega_n
D = math.sqrt((1.0 - r*r)**2 + (2.0 * zeta * r)**2)
X = (F0 / k) / D
print(f"forced amplitude = {X:.4f} m")
Common pitfalls
- Measuring displacement from the unstretched spring length when the vibration equation should use static equilibrium.
- Confusing natural frequency in rad/s with cyclic frequency in Hz.
- Treating damping ratio as the damping coefficient .
- Assuming every large response is resonance without comparing forcing frequency to natural frequency.
- Using undamped formulas when damping is specified.
- Ignoring initial velocity when finding free-vibration amplitude.
- Applying a linear spring model beyond the range where the real system behaves linearly.