Forced oscillator (source code)

= Forced oscillator
{wiki}

A <forced oscillator> is an oscillating system driven by an externally prescribed input. The linear damped model is $m\ddot x+b\dot x+kx=F(t)$. Its solution combines a transient <damped harmonic oscillator> solution with a particular response to $F$.

For $F(t)=F_0\cos\omega t$ and $b>0$, the steady displacement is the <real part> of $Xe^{i\omega t}$, where
$$
X=\frac{F_0}{k-m\omega^2+ib\omega}.
$$
The denominator specifies both the response <amplitude> and the <phase lag>. For zero <damping>, driving at $\omega=\sqrt{k/m}$ produces a resonant response proportional to $t\sin\omega t$, rather than a bounded steady sinusoid. This distinction explains why <resonance> must be discussed together with losses and <observation> time.<Notes on Diffy Qs: Differential Equations for Engineers by Jiří Lebl>[§2.6, Forced oscillations and resonance]{ref}