From first principles
Derive the steady amplitude and its phase lag
The force laws for a simple vibration test are an elastic restoring force \(-kx\), a viscous force \(-c\dot x\) and a prescribed drive \(F_0\cos\omega t\). Newton's law gives
Assume linear coefficients, positive damping and enough time for the free transient to decay. Seek the response at the measured drive frequency by setting \(x=\operatorname{Re}(Xe^{i\omega t})\). Each differentiation multiplies the complex amplitude by \(i\omega\), so
The magnitude of the complex denominator fixes the measured displacement amplitude; its argument gives the lag of the response relative to the applied force:
At low frequency the spring supports nearly the entire force and the displacement approaches \(F_0/k\). At \(\omega=\sqrt{k/m}\) the spring and inertia terms cancel, leaving a quarter-period displacement lag. Multiplying velocity by force and averaging distinguishes this condition of maximum absorbed power from the maximum displacement amplitude.
Derivation and applications
Read the exact mechanical bandwidth from absorbed power
A measured displacement peak need not occur at the frequency of maximum energy absorption. Consider a linear oscillator of mass \(m\), stiffness \(k\) and viscous damping coefficient \(c>0\), driven steadily by \(F_0\cos\omega t\). Let \(X\) denote the complex displacement amplitude. Work over a complete period supplies the energy dissipated by the damper, whose instantaneous loss is \(c\dot x^2\). Since the velocity amplitude is \(\omega|X|\), averaging its square gives
Divide numerator and denominator by \(\omega^2\). The frequency-dependent term in the denominator becomes \((k/\omega-m\omega)^2\), which vanishes exactly at \(\omega_0=\sqrt{k/m}\). Hence \(\overline P_{\max}=F_0^2/(2c)\). The half-power condition is particularly simple:
There are two positive roots, one on each side of \(\omega_0\). Solving the two quadratics separately yields
The half-power bandwidth in angular-frequency units is exactly \(c/m\) for this viscously damped, constant-force experiment. For weak damping the frequencies become nearly symmetric around \(\omega_0\). In stronger damping the geometric mean still gives \(\omega_0\). The frequencies correspond to half the peak power, equivalently to the velocity amplitude falling to \(1/\sqrt2\) of its maximum.
Worked example
Plan the frequency sweep for a test fixture
Change the inputs and investigate this derivation.
For \(m=0.400\) kg, \(k=160\) N/m and \(c=4.00\) N s/m, the peak lies at \(20.0\) rad/s. The half-power edges are \(15.62\) and \(25.62\) rad/s, about \(2.49\) and \(4.08\) Hz. A force amplitude \(F_0=2.00\) N produces \(0.500\) W at resonance and \(0.250\) W at either edge. The peak displacement occurs at a slightly lower frequency, so a displacement maximum alone would give a different estimate.
Second application
Recover a stiffness without measuring the peak height
Change the inputs and investigate this derivation.
A \(0.250\) kg resonator has measured half-power edges at \(3.00\) and \(4.00\) Hz. Convert to radians per second before using the formulas. The damping is \(m\,2\pi(4-3)=1.57\) N s/m; the stiffness is
The peak-power frequency predicted from the product is
These estimates do not require calibrating the force amplitude, provided it was constant across the sweep.
Try it · Power bandwidth
Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.
OneSimulation laboratory
When does a released mass cross equilibrium?
Release a 1 kg mass from rest 10 mm to the right of equilibrium on a spring of stiffness 4 N/m. A viscous damper exerts a force opposite to the velocity. In a driven machine this free response is the transient left by the initial displacement. Here the external drive is zero, so the transient can be measured on its own.
Predict a crossing. With displacement measured from static equilibrium, the weight has already been balanced. Newton’s second law gives one restoring term for displacement and one for velocity. Write the trial motion as an exponential. Dividing the resulting equation by the nonzero exponential leaves a quadratic:
Here \(\omega_n=2\) rad/s. At \(\zeta=0.2\) the roots are \(-0.4\pm1.960i\) s⁻¹. The imaginary part permits a zero crossing. At critical damping the double root is \(-2\) s⁻¹. Applying the initial conditions to the two independent solutions gives \(x=10(1+2t)e^{-2t}\) mm. At \(\zeta=2\) the slowest root is about \(-0.536\) s⁻¹. Which of the last two releases is closer to equilibrium at three seconds?

Read the comparison. At three seconds the critical solution is about 0.174 mm from equilibrium. Increasing damping again leaves about 2.16 mm. The slower real root explains the long tail. The underdamped trajectory has already crossed the equilibrium. The points come from integrating the two first-order equations for displacement and velocity. The line comes from their characteristic roots.
Try a fourth case. Change the damping ratio to 0.7. Predict the first zero from the damped frequency and the phase fixed by release from rest, then find the first sign change in the output CSV.
Further reading · MIT 18.03, Natural frequency and damping ratio.
Download the OneSimulation model (Python). Set up the local runtime, then run the downloaded file:
python oscillator.py --ratio 0.7Separate the transient from the driven motion
A shaker applies a sinusoidal force to a mass on a spring and viscous damper. Its displacement can lag the force and can remain large even when the applied force is small. Assume motion about a stable equilibrium, constant stiffness \(k\), positive damping coefficient \(c\) and drive \(F_0\cos\omega t\). Newton’s equation is
The solution contains a homogeneous contribution set by preparation and a particular response set by the continuing drive.
Positive damping makes the homogeneous part decay. To estimate the steady frequency response, measurements must last several decay times at each frequency. Measurements taken immediately after the drive changes include residual free motion. Close to weakly damped resonance that settling time can span many oscillations, so sweeping too rapidly can shift the apparent location of a peak.
Solve for amplitude and lag
Write the steady displacement as the real part of \(Xe^{i\omega t}\) and take \(F_0\) real. Substituting gives
The denominator groups the elastic and inertial contributions along the real axis and viscous loading in quadrature. Its magnitude gives
The lag angle is the argument of the denominator, evaluated in the appropriate quadrant. At low frequency \(X\simeq F_0/k\), in phase with force. At high frequency \(X\simeq-F_0/(m\omega^2)\), nearly opposite in phase. At \(\omega_n=\sqrt{k/m}\) the reactive terms cancel and the displacement lags by a quarter cycle. This phase condition identifies the undamped natural frequency even when the amplitude maximum lies slightly lower.
Connect absorbed power to damping
Multiply the equation by \(\dot x\) and average over one settled cycle. Both stored kinetic and elastic energies return to their initial values, so the mean input power is dissipated by the damper. For peak displacement,
At \(\omega_n\), the velocity is in phase with force, giving \(\langle P\rangle=F_0^2/(2c)\). Minimising the denominator of the displacement response gives a different frequency, \(\omega_{\rm peak}^2=k/m-c^2/(2m^2)\), if this is positive. A reported “resonance frequency” should identify the measured observable.
A power scan near a lightly damped resonance has a narrow peak whose half-power bandwidth is approximately \(c/m\) in rad/s. The damping estimate obtained from that width can be compared with an independent ring-down estimate. Significant disagreement could indicate an amplitude-dependent damper or loss in the drive system.
Read a frequency-response experiment
Take \(m=2.0\) kg, \(k=800\) N/m, \(c=8.0\) N·s/m and \(F_0=4.0\) N. The low-frequency displacement is 5.0 mm. At 20 rad/s the displacement is 25 mm, the velocity amplitude is 0.50 m/s and the mean power is 1.0 W. The displacement maximum occurs near \(\sqrt{400-8}=19.8\) rad/s. A run at a single frequency near the peak cannot identify all three parameters. A low-frequency measurement constrains stiffness, the quarter-cycle lag constrains mass relative to stiffness and the absorbed power at that frequency constrains damping independently.
Motion imposed at the support
A vibration mount is often driven through a moving base rather than by a calibrated force on the mass. Let \(y(t)\) be the prescribed absolute displacement of the support and \(x(t)\) the absolute displacement of a supported mass \(m\). A spring and a viscous damper both connect mass to base, so they respond to \(x-y\) and \(\dot x-\dot y\). Newton’s equation is
The same mass and stiffness as in a force-driven oscillator can therefore produce a different transfer function because the input enters both elastic and dissipative forces.
For harmonic motion proportional to \(e^{i\omega t}\) rearrange the amplitude equation to give
Set \(r=\omega/\omega_n\), \(\omega_n=\sqrt{k/m}\) and \(\zeta=c/(2m\omega_n)\). The ratio of absolute displacement amplitudes is
At very low frequencies the mass follows the support almost rigidly. To have \(|X|<|Y|\) requires \((1-r^2)^2>1\), which for positive frequency means \(r>\sqrt2\). Increasing damping reduces the resonant peak but increases the high-frequency path through which the moving support can exert a force. Damping is therefore a design variable with different consequences in different frequency bands.
Check both isolation and suspension travel
A 5.00 kg optical instrument sits on springs with total stiffness \(2000\) N/m and damping ratio \(0.10\). Its natural angular frequency is \(20.0\) rad/s and viscous coefficient \(c=2\zeta m\omega_n=20.0\) N s/m. A nearby machine imposes a sinusoidal base motion of amplitude \(0.800\) mm at \(60.0\) rad/s. Here \(r=3.00\) and \(2\zeta r=0.600\), giving \(|X/Y|=\sqrt{1.36/64.36}=0.145\). The instrument moves through an absolute amplitude of \(0.116\) mm.
The suspension itself accommodates relative displacement. Subtract \(Y\) from \(X\) in the complex equation before taking a magnitude. This gives
The spring travel is therefore about \(0.898\) mm, exceeding the base amplitude despite successful instrument isolation. Subtracting the two absolute amplitudes directly would ignore phase and underpredict travel. At twice the damping ratio the same calculation gives \(|X/Y|=0.193\), so high-frequency isolation degrades even as resonance becomes less dangerous. Two simultaneous position sensors, on base and instrument, allow both absolute response and relative travel to be assessed.
A common practical constraint is allowable acceleration rather than displacement. In a sinusoidal test absolute acceleration has amplitude \(\omega^2|X|\). For the stated 60 rad/s motion the mount gives an instrument acceleration of \(3600\times0.000116=0.418\) m/s². The bare base acceleration is \(2.88\) m/s², so the ratio is the same as the displacement ratio at that particular frequency. Across a sweep the factor \(\omega^2\) changes. A decreasing displacement curve therefore does not guarantee a decreasing absolute acceleration, especially if the operational environment has a roughly constant displacement excitation over its upper frequency band.
Mechanical stops add a further check on the model. Once the relative travel reaches a stop, the constraint changes within each cycle, producing harmonics absent from the linear solution. A distorted accelerometer trace can therefore identify a travel problem before mean isolation performance is assessed.
Try it · Case oscillator
Explore the same physical relation with adjustable inputs. This independent parameter study has its own displayed reference settings; compare its assumptions and units before matching the static example.
Which frequency does a phase measurement identify?
Drive a viscously damped oscillator with a sinusoidal force, measure displacement and retain its phase relative to the force. The complex compliance is proportional to \(1/(1-r^2+2i\zeta r)\). Use the quadrant-aware argument near and above resonance.

Try it · Oscillator phase
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Read values from the plot
| Drive / undamped natural frequency | Damping ratio 0.06 | Damping ratio 0.25 | Damping ratio 0.7 |
|---|---|---|---|
| 0.05 | 0.34463 | 1.4357 | 4.0142 |
| 0.66442 | 8.1239 | 30.743 | 59.017 |
| 1.2788 | 166.42 | 134.82 | 109.54 |
| 1.8856 | 174.94 | 159.75 | 134.07 |
| 2.5 | 176.73 | 166.61 | 146.31 |