4.6.30 · D3Ordinary Differential Equations

Worked examples — Solving ODEs with Laplace (including discontinuous forcing)

2,121 words10 min readBack to topic

The scenario matrix

Think of every linear-ODE-with-Laplace problem as a point in a grid. The two axes that decide how hard the algebra gets are:

  • What the denominator of looks like — distinct real roots, a repeated root, or a complex pair (which becomes an oscillation).
  • What the forcing does — nothing (homogeneous), a smooth push, a single switch , a pulse (switch on then off), or a hammer-blow .

Below, each cell is a class of behaviour. Every cell is covered by at least one worked example.

Cell Denominator type of Forcing type Behaviour you must recognise Example
A distinct real roots smooth (or none) pure decaying exponentials Ex 1
B complex pair none pure oscillation Ex 2
C complex pair, root = forcing frequency smooth sinusoid resonance, amplitude grows like Ex 3
D distinct real roots single switch gated relaxation, delay tag Ex 4
E distinct real roots pulse on-then-off, two delay tags Ex 5
F must rewrite forcing as ramp step shifting trap Ex 6
G distinct real roots Dirac instant kick, no Ex 7
H repeated real root smooth terms with a factor Ex 8
Figure — Solving ODEs with Laplace (including discontinuous forcing)

Cell A — distinct real roots, smooth forcing


Cell B — complex pair, no forcing (pure oscillation)


Cell C — resonance (forcing frequency = natural frequency)

Figure — Solving ODEs with Laplace (including discontinuous forcing)

Cell D — distinct real roots, single switch


Cell E — a pulse (on then off)

Figure — Solving ODEs with Laplace (including discontinuous forcing)

Cell F — the shifting trap (rewrite the forcing first)


Cell G — Dirac impulse (a hammer blow)


Cell H — repeated real root


The whole matrix in one picture

Figure — Solving ODEs with Laplace (including discontinuous forcing)
Recall Quick self-test

Which cell has a linearly-growing amplitude and why? ::: Cell C (resonance): forcing frequency equals a natural frequency, giving a repeated complex factor → a term. Why does need rewriting before the shift theorem? ::: The theorem needs a function of ; write so both pieces are shifted, giving . What is and why is impulse forcing easy? ::: — just the bare delay tag, no , so it multiplies the transfer factor directly. Signature of a repeated real root in the answer? ::: A factor (double root) or (triple), from .