The payoff: calculus goes in, algebra comes out
Step 8 showed that \(\mathrm d/\mathrm dt\) acts on \(e^{st}\) as multiplication
by \(s\). Step 9 built the transform. Now collect the winnings. Applying
\(\mathcal{L}\) to a derivative gives — integrating by parts once — the rule that makes
everything work:
$$\mathcal{L}\{\dot{x}\} = sX(s) - x(0), \qquad
\mathcal{L}\{\ddot{x}\} = s^2X(s) - s\,x(0) - \dot{x}(0)$$
Differentiation became multiplication by \(s\), and the initial conditions
fell out automatically as extra terms. You do not solve the homogeneous equation and then hunt for a
particular solution and then fit constants to the ICs — the ICs are already in the algebra.
Do it to the mass–spring–damper from Step 6
Take the same plant you met as a direction field, now with a force \(f(t)\) pushing it:
- Transform every term.
\(m\,[s^2X - s x_0 - v_0] + c\,[sX - x_0] + kX = F(s)\)
- Collect \(X\).
\((ms^2 + cs + k)\,X = F(s) + m(s x_0 + v_0) + c x_0\)
- Divide. No calculus was performed.
$$X(s) = \frac{F(s)}{ms^2+cs+k} \;+\; \frac{m(sx_0+v_0)+cx_0}{ms^2+cs+k}$$
Two terms, and they have a clean meaning: the first is the response to what you do to the
robot, the second the response to where it started. Both are divided by the same polynomial.
The transfer function is the first term's multiplier — output over input, initial conditions zero:
$$G(s) = \frac{X(s)}{F(s)} = \frac{1}{ms^2+cs+k}$$
The denominator \(ms^2+cs+k\) is the characteristic polynomial. Setting it to
zero is exactly the same equation you solved in Step 6 as \(\det(sI - A) = 0\).
Its roots are the poles of \(G\), and they are the eigenvalues of the state matrix.
Same two numbers, three names — root of the characteristic polynomial, eigenvalue, pole.
Getting back to time: partial fractions
\(X(s)\) is a ratio of polynomials. Split it over its poles:
$$X(s) = \frac{R_1}{s-p_1} + \frac{R_2}{s-p_2} + \cdots
\qquad\Longrightarrow\qquad
x(t) = R_1e^{p_1t} + R_2e^{p_2t} + \cdots$$
because each simple term inverts to one exponential — the very first pair from Step 9's table, read
backwards. This is Step 8's claim, now proved rather than asserted: the response
is a sum of exponentials, one per pole, and the residue \(R_i\) is exactly
"how much of that exponential".
The residue at a simple pole is read off directly, no algebra grind required:
$$R_i = \Big[(s-p_i)X(s)\Big]_{s=p_i}
\qquad\text{or}\qquad R_i = \frac{N(p_i)}{D'(p_i)}$$
Complex poles come in conjugate pairs, and so do their residues. Adding the pair back together turns
two complex terms into one real damped sinusoid, exactly as in Step 8:
$$R\,e^{pt} + \bar{R}\,e^{\bar{p}t} = 2|R|\,e^{\sigma t}\cos(\omega t + \angle R)$$
What each part of the picture is for
| Where it comes from | What it controls |
| poles of \(G(s)\) — roots of \(ms^2+cs+k\) | the shape of the transient: how fast it decays, how much it rings, and whether it is stable at all |
| poles of the input \(F(s)\) | the steady state — a step's pole at \(s = 0\) is what produces the constant final value |
| residues \(R_i\) | how much each mode is excited — a mode with a tiny residue barely shows up, however slow it is |
| DC gain \(G(0) = 1/k\) | where a step response finally settles: the final-value theorem, \(\lim_{t\to\infty} x(t) = \lim_{s\to 0} sX(s)\) |
What to do below. Plot 2 draws two curves: the response from numerically integrating the ODE
(RK4, thick) and the response rebuilt from the residues as a plain sum of exponentials (dashed).
They lie on top of each other — that overlap is the claim of this whole block, checked live.
Plot 3 pulls that sum apart so you can see the individual \(e^{st}\) pieces.
Drag a pole in plot 1 and the sliders for \(c\) and \(k\) follow,
because placing poles is choosing the physical parameters — which is what designing a controller
will mean from here on.