One mass, one spring
The degrees of freedom of a system are the independent coordinates you need to describe its deformed position at any instant. A particle moving in space has three. A rigid slab moving in its own plane has three: two translations and one rotation.
The simplest useful model has just one. Think of a one-storey frame with a heavy roof and light columns. Almost all the mass sits in the roof, and the roof can only move sideways. One coordinate, the roof displacement \(u(t)\), tells you everything. That is a single-degree-of-freedom (SDOF) system, and it has three properties:
- Mass \(m\): the roof mass, which resists acceleration.
- Stiffness \(k\): the force needed to push the roof sideways by a unit displacement. For two fixed-base columns of height \(h\), \(k = 2 \times 12EI/h^3\).
- Damping \(c\): everything that takes energy out of the motion, from friction in joints to cracking and air. We model it as a viscous damper whose force is proportional to velocity, \(f_D = c\,\dot u\).
The equation of motion
Take the mass at some instant when it is displaced by \(u\) and moving with velocity \(\dot u\). The spring pulls it back with \(k u\), the damper resists with \(c \dot u\), and Newton's second law gives:
\[m\ddot u + c\dot u + k u = 0\]This is the equation of free vibration: no external force, only an initial displacement \(u_0\) or velocity \(v_0\) to start the motion.
The same equation comes out whichever way you derive it. D'Alembert adds an inertia force \(-m\ddot u\) and writes static equilibrium. Lagrange starts from energy: with kinetic energy \(T = \tfrac12 m \dot u^2\) and potential energy \(V = \tfrac12 k u^2\),
\[\frac{d}{dt}\left(\frac{\partial T}{\partial \dot u}\right) - \frac{\partial T}{\partial u} + \frac{\partial V}{\partial u} = 0 \quad\Rightarrow\quad m\ddot u + k u = 0\]For one mass on a spring, Newton is quickest. For pendulums, rotating bars and systems with many coordinates, energy methods save a lot of work, which is why later lessons use them.
Without damping
With \(c = 0\), divide by \(m\):
\[\ddot u + \omega^2 u = 0 \qquad \omega = \sqrt{\frac{k}{m}}\]The solution that matches the starting conditions is
\[u(t) = u_0\cos\omega t + \frac{v_0}{\omega}\sin\omega t = U\cos(\omega t - \phi)\] \[U = \sqrt{u_0^2 + \left(\frac{v_0}{\omega}\right)^2} \qquad \tan\phi = \frac{v_0}{\omega u_0}\]The mass swings forever between \(+U\) and \(-U\). Three numbers describe the rhythm:
- Natural circular frequency \(\omega\), in rad/s.
- Natural period \(T = 2\pi/\omega\), the time for one full cycle, in seconds.
- Natural frequency \(f = 1/T\), cycles per second, in Hz.
None of them depends on how hard you pull. A stiffer structure vibrates faster, a heavier one slower. Double the mass and the period grows by \(\sqrt2\), not by 2.
Energy gives a quick check. At the extreme position all the energy is in the spring, \(\tfrac12 k U^2\). Passing through zero it is all kinetic, \(\tfrac12 m v_{max}^2\). Setting them equal gives \(v_{max} = \omega U\).
With damping
Divide the full equation by \(m\) and write the damping in terms of the damping ratio \(\zeta\):
\[\ddot u + 2\zeta\omega\dot u + \omega^2 u = 0 \qquad \zeta = \frac{c}{2m\omega} = \frac{c}{c_{cr}} \qquad c_{cr} = 2\sqrt{km}\]Trying \(u = e^{st}\) gives \(s = -\zeta\omega \pm \omega\sqrt{\zeta^2 - 1}\), and the sign under the root splits the behaviour into three cases:
- Overdamped, \(\zeta > 1\): the mass creeps back to zero without ever crossing it.
- Critically damped, \(\zeta = 1\): the fastest return without crossing. \(c_{cr}\) is the damping that does exactly this.
- Underdamped, \(\zeta < 1\): the mass oscillates, and each swing is smaller than the last.
Real structures are always underdamped. Typical values are around 2 % for welded steel, 5 % for reinforced concrete, and rarely above 10 % without added dampers. For the underdamped case:
\[u(t) = e^{-\zeta\omega t}\left(u_0\cos\omega_D t + \frac{v_0 + \zeta\omega u_0}{\omega_D}\sin\omega_D t\right) \qquad \omega_D = \omega\sqrt{1-\zeta^2}\]The motion is a cosine inside a shrinking envelope \(e^{-\zeta\omega t}\). The damped frequency \(\omega_D\) is slightly lower than \(\omega\), but at 5 % damping the difference is about 0.1 %. In practice, damping changes how quickly the motion dies away, not how fast it swings.