A8 · Lesson 27 · Variation of parameters
A formula for any input
Guessing the forced response works for steps, exponentials and sines. Real inputs are messier: a speech waveform, a sensor's noise, a pulse train with odd timing. Variation of parameters handles any input with an integral instead of a guess. Pushed one step further, it says something remarkable: if you know how a linear circuit responds to a single sharp kick, its impulse response, you know how it responds to everything. Every input is a stream of tiny kicks, and the output adds up their responses. That idea, convolution, is the foundation of signals and systems.
- The solid curve is the impulse response of : what happens after one sharp kick.
- The dashed curve is its running integral, which is the step response: a step is a steady stream of kicks.
- Change . The step response settles where the impulse response's total area says it should.
Predict
You know a circuit's response to one sharp kick at . Can you predict its response to a long, arbitrary input?
Yes. Because the circuit is linear and doesn't change over time, the response to a kick of size at time is , and the responses to all the kicks simply add:
That's the convolution of and . C9 is largely about this integral.
Name it
Variation of parameters
For with homogeneous solutions , and Wronskian , a particular solution is
It comes from letting the constants in vary with time, , and imposing to keep the algebra simple. It needs no guess and works for any continuous , even with variable and .
The impulse response
The impulse response is the solution starting at rest that's kicked at : , . For constant coefficients, variation of parameters rearranges into the convolution formula: starting from rest,
| Equation | |
|---|---|
| roots | |
| roots |
The step response is : the impulse response's running area.
Worked example
Use convolution to find the step response of from rest.
Show the solution
- Impulse response. The roots are and , so
- Convolve with the step.
- Compare. It's the same answer undetermined coefficients gives.
Answer .
Worked example
Find a particular solution of , for which no guess works.
Show the solution
- Homogeneous solutions. and , with Wronskian .
- Variation of parameters.
Answer .
Worked example
Find the impulse response of and its peak.
Show the solution
- What an impulse does. An impulse leaves the system at rest in position but with .
- Fit the homogeneous solution. With roots and , with and , so
- Time of the peak. It peaks where so , at .
- Peak value.
- Why it matters. Every other response of this system is a convolution with this one curve.
Answer , which peaks at 0.25 when .
Check
What is the Wronskian of and ?
Check
A system has characteristic roots and . What is its impulse response at = 1?
Check
What is the impulse response of at = 0.3?
Check
Using , what is the step response of at = 1?
Check
A first-order system at rest gets a pulse: from 0 to = 1, then 0. Using convolution with , what is at = 4?
Check
Why can variation of parameters handle inputs that undetermined coefficients can't?
Check
Find the impulse response of .
(a)
When does it peak?
(b)
What is the step response's final value?
Check
The impulse response of is . Find the step response by convolution.
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Explain why
Explain why a linear, time-invariant circuit's response to any input is the convolution of the input with its impulse response.
Think of the input as a sequence of very short pulses: the slice at time is a kick of size . Because the circuit doesn't change over time, a kick at time produces the same shaped response as one at 0, just delayed: . Because the circuit is linear, the responses to all the separate kicks add up. Adding them over every from 0 to gives the integral .
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.