Damped Oscillation
Drag the slider for the damping coefficient c and watch the exponential envelope of the damped sine wave tighten or loosen. Edit the equation yourself.
At the top of Taipei 101, a steel pendulum of 660 metric tons hangs from the 92nd floor down to the 88th. When strong gusts make the tower sway, the pendulum swings to offset the motion. A motion that swings back and forth, a little less each time, because energy leaves it through friction, resistance or radiation, is a damped oscillation. The same model describes a mass on a spring, the current in an RLC circuit (a resistor, a coil and a capacitor), a pendulum in a thick fluid and many vibrating structures. The amount of damping decides whether the system swings while it settles (underdamped), comes to rest as fast as possible without a swing (critically damped), or comes to rest more slowly, also without a swing (overdamped).
The plot shows \exp(-c|x|)\sin(1.5x) from -3\pi to 3\pi . The purple curves are the envelope \pm\exp(-c|x|) , and the shaded band between them marks the allowed amplitude. Because the formula uses |x| , the wave decays in both directions from x = 0 : read the right half as time. The slider sets the decay rate c , from 0.05 to 0.6 ; it starts at 0.1 . Drag it and notice that only the envelope changes: the frequency stays at 1.5 . At c = 0.1 the amplitude falls to half in about 6.9 units of x , a little more than one and a half swings. At c = 0.6 it falls to half in about 1.2 units, a quarter of a swing, and at x = 3\pi only 3.5 \times 10^{-3} of it is left.
This curve is a damped sine wave, also called a decaying sinusoid. The general form is x(t) = A e^{-\gamma t}\cos(\omega t + \varphi) , with initial amplitude A , decay rate \gamma , angular frequency \omega and phase \varphi . On the graph, the zero crossings stay \pi/\omega apart and the curve touches the envelope \pm A e^{-\gamma t} once per half period.
For a mass m on a spring of stiffness k with damping coefficient b , the motion obeys m\ddot x + b\dot x + kx = 0 , where each dot is a derivative with respect to time. With the natural frequency \omega_n = \sqrt{k/m} and the damping ratio \zeta = b/(2\sqrt{km}) , this becomes \ddot x + 2\zeta\omega_n\dot x + \omega_n^2 x = 0 . If \zeta < 1 the system is underdamped: the solution is the damped sine wave above, with \gamma = \zeta\omega_n and \omega = \omega_n\sqrt{1-\zeta^2} , so a real oscillator also slows down a little as damping grows. If \zeta = 1 it is critically damped: x(t) = (A + Bt)e^{-\omega_n t} . If \zeta > 1 it is overdamped: x(t) = A e^{r_1 t} + B e^{r_2 t} with r_{1,2} = -\omega_n(\zeta \mp \sqrt{\zeta^2 - 1}) , a sum of two decaying exponentials.
A critically damped or overdamped graph does not oscillate at all: it decays to zero and crosses the axis at most once. Those cases are not in this plot. Every position of the slider is underdamped: with \gamma = c and \omega = 1.5 , \omega_n = \sqrt{c^2 + 2.25} and \zeta = c/\omega_n runs from about 0.03 at c = 0.05 to about 0.37 at c = 0.6 . No value of c reaches \zeta = 1 , because \sqrt{c^2 + 2.25} is always larger than c . To see the critically damped shape, edit the equation: replace \sin(1.5x) with (1 + |x|) , and notice that the curve no longer crosses the axis.
JavaScript is required to view the interactive plot.