Damped oscillations

A mass, a spring and friction: the diagrams, the plot and the formulas on this page are SVG and MathML in the page itself, styled by its CSS.

The system

x(t)
k
m
c
Figure 1. A mass m on a spring of stiffness k with a damper c. The labels are MathML in foreignObject; the wall pattern, the springs and the gradients are SVG.

Parameters

SymbolMeaning
ω0=k/mnatural angular frequency
γ=c2mdamping rate
ωd=ω02−γ2damped frequency
Q=ω02γquality factor

Underdamped for γ<ω0: the mass oscillates inside of a decaying envelope.

Overdamped for γ>ω0: it creeps back without crossing the origin.

The motion

0
2
4
6
8
1
0
−1
t/T
x/x0
x(t)=x0e−γtcos(ωdt)
±x0e−γt
Figure 2. The displacement over eight periods T, with γT≈0.22. The gradient under the curve is clipped to the plot area; the dashed lines are the envelope; the equation card is HTML and MathML in a foreignObject.

In phase space

x
x˙
Figure 3. The same motion as x against x˙: a spiral into the rest point.

Driven by a force

0
0.5
1
1.5
2
ω/ω0
A/A0
Q=2
Q=5
Q=10
Figure 4. The amplitude of the forced oscillation near the natural frequency. The sharper the resonance, the higher the quality factor Q; the three curves are path elements colored by classes in the style sheet.

One document

Everything on this page is part of one document. The colours of the curves (svg .curve { stroke: … }), the arrowheads, the gradients and the labels come from the page’s style sheet and from SVG, and the formulas inside of the figures are laid out like the ones in the text: they are MathML in a foreignObject. The icons are one hidden sprite that every figure and sentence uses.

Takeaway. A single parameter, Q, tells how many periods the mass rings for and how sharp the resonance is.