How to Find the Impulse and Step Responses of a First-Order ODE
At a glance
- 1. Write the model
Put the equation in the form y' + a y = b x(t), with constant coefficients.
- 2. Assume rest
Use zero initial conditions to find the system's zero-state response.
- 3. Apply an impulse
Set x(t) = δ(t); the output is the impulse response.
- 4. Apply a step
Set x(t) = u(t); the output is the step response.
- 5. Check initial conditions
Add the natural response separately if the system does not start at rest.
A first-order differential equation can describe how an output changes in response to an input. The impulse response is the output caused by a unit impulse, while the step response is the output caused by a unit step. For a constant-coefficient equation, both follow directly from the Laplace transform.
Use the standard causal, zero-initial-state model
where is the input and is the output. For the familiar stable case, assume . If your equation has different coefficients, first divide through by the coefficient of . The formulas below also show what changes when the initial state is not zero.
Find the transfer function
Take the Laplace transform with zero initial conditions. Since under that assumption,
The transfer function is the ratio of output to input in the Laplace domain:
The impulse and step responses are found by multiplying this transfer function by the Laplace transform of the corresponding input.
Impulse response
A unit impulse has input , whose Laplace transform is . Therefore,
Taking the inverse Laplace transform gives
where is the unit step. The step factor expresses causality: the response is zero before the impulse is applied.
An impulse at time zero produces an instantaneous change in the output. Integrating the differential equation across the impulse gives the jump condition
This is consistent with the impulse response: for a system initially at rest, the output jumps from zero to and then decays exponentially. If the input impulse occurs at time instead, the response is .
Unit-step response
For a unit-step input, and . Thus
Using partial fractions,
The inverse transform is
For , the output starts at zero and approaches the steady value . Its transient part decays with time constant .
Worked example
Find the impulse and unit-step responses of
with zero initial state. Here and , so the transfer function is
For an impulse input, , giving
The output jumps by at the impulse, then decays toward zero. For a unit-step input, :
so
The step response begins at zero and tends to , which also follows by setting the derivative to zero in the steady-state equation .
Nonzero initial conditions
The impulse and step responses above are zero-state responses: they exclude effects caused by an initial stored value. If and the input is for , the solution is
The first term is the natural response from the initial condition; the integral is the zero-state response. For a unit step and , this becomes
Common mistakes
- Forgetting the input gain: In , the impulse response includes ; it is not just .
- Confusing the impulse and step inputs: Their Laplace transforms are and , respectively.
- Ignoring initial conditions: The transfer-function method gives the zero-state response. A nonzero initial value contributes a separate natural response.
- Assuming every case is stable: The formulas apply algebraically when , but decay and a finite step steady state require . If , then gives impulse response and step response .
References
- Elementary Differential Equations and Boundary Value Problems, William E. Boyce, Richard C. DiPrima, and Douglas B. Meade
- Signals and Systems, Alan V. Oppenheim, Alan S. Willsky, and S. Hamid Nawab
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.