The complex exponential is an eigenfunction of every LTI system
Feed an LTI system the input x(t) = kest, where s = σ + jω is complex and k is real, so that y(t) = H(kest) (EQ 5.17). Multiplying the input by the constant esτ multiplies the output by esτ, because the system is linear. But esτ·kest = kes(t+τ) is also the input shifted in time, so by time invariance the output is y(t + τ). Hence
Setting t = 0 and differentiating with respect to τ gives dy/dτ = sy(τ) (EQ 5.19, 5.20), whose solution is
So the output is the input multiplied by the constant f(s)/k. The input kest is an eigenfunction of the system, and f(s)/k is the corresponding eigenvalue. We know this without knowing anything about the inside of the system.
For a system described by a differential equation we can find the eigenvalue. Substituting y = λkest into Example 5.7's equation y″ + 5y′ + 6y = 8x, and using y′ = sy and y″ = s2y, gives (s2 + 5s + 6)λ = 8, so λ = 8/(s2 + 5s + 6). Chapter 8 calls this the transfer function.
This is why transforms help: if we can write an arbitrary input as a sum of complex exponentials, the output is the sum of the scaled exponentials.
At the current time
- s
- —
- t (s)
- —
- input x(t)
- —
- output y(t)
- —
Face on at the current time. The violet arc is the angle from x to y.
For an LTI system both lines are flat: the output is always the input scaled by |λ| and turned by arg λ. If either line moves, the input is not an eigenfunction.
What to notice
For both LTI systems, the output phasor is the input phasor rotated by a fixed angle and stretched by a fixed factor. It turns at the same rate and grows or decays at the same rate. The scaling and turning plots are both flat.
In 3D, each phasor traces a helix along the time axis, widening when σ > 0 and narrowing when σ < 0. For an LTI system the output helix is the input helix scaled by |λ| and turned by the fixed angle arg λ. Press "Re against t" and you see the real parts plotted below: a real signal is the shadow of the helix on the real plane.
Switch to the squaring system: the output turns twice as fast, at frequency 2ω, so it is not a multiple of the input. Its turning angle keeps growing, so the turning plot climbs and wraps round each time it reaches π. The time-varying gain turns with the input, so its turning angle stays at 0, but its scaling grows with t. Neither has an eigenvalue, because each breaks one half of the argument above.
Choose Example 5.8 and set σ = 0 and ω = 1. Then s = j is a root of s2 + 1, a natural frequency of the system (next tab), and the eigenvalue is infinite. This is resonance. The result y = f(s)est breaks down here because no finite f(s) works.
Try these
- For Example 5.7, compute the eigenvalue for a constant input (s = 0) by hand. Then set σ = ω = 0 and check.
Show answer
λ = 8/(0 + 0 + 6) = 4/3 ≈ 1.3333. A constant input k gives the constant output 4k/3. You can check this directly: with y constant, y′ = y″ = 0, so 6y = 8k. - Press "Face on" and compare with the small face-on view on the left. Then press "Re against t" and compare with the plot of real parts. What is each view showing?
Show answer
Face on, you look down the time axis, so the helix collapses into the familiar picture of a phasor turning in the complex plane, with every time drawn on top of each other. From the side, the imaginary part is hidden and you see the real part against time, which is exactly the real signal Re kest = keσt cos ωt. The helix holds both pictures at once. - Set ω to −1.5 instead of 1.5. What changes in the complex plane, and what happens to the eigenvalue?
Show answer
Both phasors now turn clockwise, so the helices twist the other way. The eigenvalue becomes the complex conjugate of its value at ω = 1.5: the same magnitude with the opposite phase. This is because the coefficients of the differential equation are real, so λ(s̄) is the conjugate of λ(s). - Example 5.8 with σ = 0: watch the eigenvalue for |ω| just below 1 and just above 1. How does this relate to tuning a radio?
Show answer
λ = 8/(1 − ω2), which is large and positive just below 1 and large and negative (a phase of π) just above 1. Inputs near the natural frequency are amplified far more than others. A radio receiver uses this: its circuit is tuned so that its resonant frequency matches the wanted transmitter (footnote 5 of the book notes that, strictly, it is tuned to a range around it).
The natural response
Many LTI systems are described by a linear differential equation (EQ 5.22). With zero input, and writing D for d/dt, a second-order system satisfies (D2 + a1D + a2)y(t) = 0. The polynomial in D is the characteristic polynomial. It factors as (D − λ1)(D − λ2), and each factor gives a solution y = ceλt. If the roots are distinct, superposition gives the natural response
with the constants set by the initial conditions y(0) and y′(0). A root λ repeated twice gives c1eλt + c2teλt instead (EQ 5.24).
Each root is a natural frequency: a frequency at which the system vibrates with no input. If an input such as a burst of packets enters a router's buffer and then stops, what follows is the natural response. When the roots are complex, they come in conjugate pairs σ ± jω, and for a real response the constants are also a conjugate pair a ± jb (Example 5.8).
Characteristic polynomial
What to notice
Move a root along the real axis and watch its mode. Roots far to the left die out fast; the root nearest the imaginary axis decays slowest and dominates the response after a while. In Example 5.7, e−2t outlives e−3t.
Lift a pair off the real axis and the response oscillates at angular frequency ω, inside an envelope eσt (dashed). Crossing the imaginary axis turns a decaying oscillation into a growing one. Exactly on the axis, as in Example 5.8, the oscillation neither grows nor decays.
The initial conditions change the constants, and so the size and phase of the response, but never the rates at which the modes grow, decay or oscillate. Those are set by the roots, so they belong to the system, not to how it was started.
Try these
- Load Example 5.7 with y(0) = 1 and y′(0) = 0. Find c1 and c2 by hand, then compare with the lab.
Show answer
With λ1 = −3 and λ2 = −2: c1 + c2 = 1 and −3c1 − 2c2 = 0. So c1 = −2 and c2 = 3, and y(t) = −2e−3t + 3e−2t. - Load Example 5.8 and set y(0) = 1, y′(0) = 2. What are a and b?
Show answer
The response is 2a cos t + 2b sin t. At t = 0 it is 2a = 1, and its slope is 2b = 2. So a = 0.5 and b = 1, and the constants are 0.5 ± j. - Load the repeated root −1, that is D2 + 2D + 1. Set y(0) = 0 and y′(0) = 2. Where does the response peak?
Show answer
By Equation 5.24, y = (c1 + c2t)e−t with c1 = 0 and c2 = 2. The derivative of 2te−t is 2(1 − t)e−t, which is zero at t = 1, where y = 2/e ≈ 0.736.
Any input, through the impulse response
Let h(t) be the impulse response: the output when the input is the Dirac delta, δ(t) → h(t) (EQ 5.25). The delta ceases immediately after time 0, so after that the output is the natural response from the previous tab. For the systems here, y″ + a1y′ + a2y = bx, the impulse kicks the slope to y′(0) = b and leaves y(0) = 0.
Slice the input into narrow strips of width Δτ. The strip centred at τ is approximately the scaled, shifted impulse x(τ)Δτ δ(t − τ). Because the system is linear and time-invariant, its response is the scaled, shifted impulse response:
Adding up the responses to all the strips, and letting their width shrink to zero, gives
So if we know the impulse response of an LTI system, we can find its output for any input by convolution. The lab builds the output one strip at a time and compares the result with solving the differential equation directly. For the mechanics of convolution itself, see the Convolution Lab.
The system
What to notice
Each strip launches its own copy of the impulse response, starting where the strip sits and scaled by its area. The output is just the sum of these copies. That is linearity (scaling and adding) and time invariance (the same h, shifted) working together.
With wide strips the sum is a rough approximation. As Δτ shrinks, it converges to the solution of the differential equation, which is Equation 5.28. The Python code takes Δτ = 0.01.
Choose the lightly damped system with the sine input sin(2t). The input frequency matches the system's natural frequency, so each strip's response arrives in step with the others and the output builds up far beyond the input. This is resonance, seen from the time domain.
Try these
- For Example 5.7 (b = 8), derive the impulse response from the natural response with y(0) = 0 and y′(0) = 8.
Show answer
h = c1e−3t + c2e−2t with c1 + c2 = 0 and −3c1 − 2c2 = 8. So c1 = −8, c2 = 8, and h(t) = 8(e−2t − e−3t) for t ≥ 0. - For Example 5.7 with the step input, what value does the output settle to? Use the previous tab's first task, or the area under h.
Show answer
A step is the constant input 1 after a while, and the eigenvalue at s = 0 is 8/6 = 4/3, so the output settles at 1.3333. Equivalently, it is the area under h: 8(1/2 − 1/3) = 4/3. - With the burst input, set Δτ = 1 and then 0.1. Explain why the error shrinks.
Show answer
Each strip is replaced by a single impulse at its centre, so the input it carries is moved by up to Δτ/2. The output is then a sum of copies of h that start slightly too early or too late, which shows up as the ripple at the start of the output. Narrower strips move the input less, so the ripple and the error shrink. In the limit Δτ → 0 the sum becomes the integral in Equation 5.28. - Choose Example 5.8 (no damping) with the burst input. After the burst ends at t = 3, what does the output do, and why?
Show answer
It keeps oscillating at 1 rad/s with constant amplitude. Once the input stops, the output is the natural response, and this system's natural response neither grows nor decays (its roots ±j lie on the imaginary axis).