Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Impulse response

So far, we have represented lienar time-invariant (LTI) systems in two different ways. First, as ordinary differential equations (ODEs), and second, as transfer functions (TFs). These representations are related via the Laplace transform and summarized in the following diagram, which we derived in the section on Laplace transforms.

Diagram comparing time-domain and s-domain paths for solving a system.

Figure 1:Diagram comparing time-domain and ss-domain paths for solving a system.

In this section, we will derive a third representation for LTI systems: the impulse response. This representation lives entirely in the time domain, and it allows us to compute the output of an LTI system for any input signal without ever leaving the time domain. The impulse response is based on the pulse decomposition from the section on Linear systems, where we argued that any input signal can be approximated a sum of scaled and shifted pulses. We will now take this idea to its logical extreme by considering inputs that are infinitely narrow pulses, known as impulses, and obtain an exact representation for the output of an LTI system in terms of its impulse response.

Impulse function

Let’s define δh(t)\delta_h(t) to be a pulse signal of width hh and height 1/h1/h:

δh(t)={1h,0t<h0,otherwise\delta_h(t) = \begin{cases} \frac{1}{h}, & 0 \leq t < h \\ 0, & \text{otherwise} \end{cases}

We use a height of 1h\frac{1}{h} so the area under the pulse always equals 1, regardless of hh:

δh(t)dt=1for all h>0.\int_{-\infty}^\infty \delta_h(t) \, \dd t = 1\qquad\textsf{for all } h > 0.

Now let’s find the Laplace transform of δh(t)\delta_h(t):

L{δh(t)}=0δh(t)estdt=0h1hestdt=1h[1sest]0h=1sh(1esh)\begin{aligned} \Lap\{\delta_h(t)\} &= \int_0^\infty \delta_h(t) \, e^{-st} \, \dd t \\ &= \int_0^h \frac{1}{h} e^{-st} \, \dd t \\ &= \frac{1}{h} \left[ -\frac{1}{s} e^{-st} \right]_{0}^{h} \\ &= \frac{1}{sh}\left( 1 - e^{-sh} \right) \end{aligned}

Now, let’s consider what happens as we let hh approach zero. This is a limit of the form 00\frac{0}{0}, so we can use L’Hôpital’s rule to evaluate it.

limh0L{δh(t)}=limh01eshsh=limh0seshs=limh0esh=1\lim_{h \to 0} \Lap\{\delta_h(t)\} = \lim_{h \to 0} \frac{1 - e^{-sh}}{sh} = \lim_{h \to 0} \frac{s e^{-sh}}{s} = \lim_{h \to 0} e^{-sh} = 1

This motivates us to define the impulse function δ(t)\delta(t) as a limiting version of δh(t)\delta_h(t) as hh approaches zero. It does not make sense to think of δ(t)\delta(t) as an ordinary function, since we would have to write a definition that looks like

δ(t)={,t=00,t0\delta(t) = \begin{cases} \infty, & t = 0 \\ 0, & t \neq 0 \end{cases}

which doesn’t make much sense. Instead, we will define δ(t)\delta(t) based on how it behaves when we integrate it. Although we call it a “function,” δ(t)\delta(t) is not a traditional function. Mathematically, it is known as a distribution.

Impulse response

We saw earlier that if we use the unit step (Heaviside) function H(t)H(t) as an input to an LTI system, the output we obtain is called the step response of the system.

Similarly, if we apply an impulse input δ(t)\delta(t) to an LTI system, the output we obtain is called the impulse response of the system.

Secondly, the impulse function and the unit step function are related by differentiation and integration, which means the impulse response and step response of an LTI system are also related in the same way.

Example

Let’s verify for the LTI system defined by the ODE below that the impulse response is the derivative of the step response.

y˙+3y=u\dot y + 3 y = u

Solution: Remember that for input u(t)u(t) and output y(t)y(t), we have Y(s)=G(s)U(s)Y(s) = G(s) U(s), where G(s)G(s) is the transfer function of the system. To find the output, we compute the inverse Laplace transform: y(t)=L1{G(s)U(s)}y(t) = \Lap^{-1}\{G(s) U(s)\}. Let’s start by finding the transfer function. Taking Laplace transforms of both sides of the ODE (with zero initial conditions),

sY(s)+3Y(s)=U(s)    G(s)=Y(s)U(s)=1s+3s Y(s) + 3 Y(s) = U(s) \implies G(s) = \frac{Y(s)}{U(s)} = \frac{1}{s + 3}

The impuse response uses u(t)=δ(t)u(t) = \delta(t), so U(s)=1U(s) = 1. Therefore,

g(t)=L1{G(s)1}=L1{1s+3}=e3tg(t) = \Lap^{-1}\{G(s)\cdot 1\} = \Lap^{-1}\left\{\frac{1}{s + 3}\right\} = e^{-3t}

The step response uses u(t)=H(t)u(t) = H(t), so U(s)=1sU(s) = \frac{1}{s}. Therefore,

h(t)=L1{G(s)1s}=L1{1s(s+3)}=13(1e3t)h(t) = \Lap^{-1}\left\{G(s) \cdot \frac{1}{s}\right\} = \Lap^{-1}\left\{\frac{1}{s(s + 3)}\right\} = \frac{1}{3} \left( 1 - e^{-3t} \right)

We used Table 1 for the inverse Laplace transforms. Finally, let’s verify that the impulse response is the derivative of the step response:

ddth(t)=ddt(13(1e3t))=e3t=g(t)\frac{\dd}{\dd t} h(t) = \frac{\dd}{\dd t} \left( \frac{1}{3} \left( 1 - e^{-3t} \right) \right) = e^{-3t} = g(t)

Everything checks out!

The convolution integral

Let δh(t)\delta_h(t) be the pulse function defined earlier, and let gh(t)g_h(t) be response of our system GG corresponding to this input. We can represent this relationship as the following diagram.

Diagram showing the response of a system G to a pulse input \delta_h(t), resulting in output g_h(t).

Figure 4:Diagram showing the response of a system GG to a pulse input δh(t)\delta_h(t), resulting in output gh(t)g_h(t).

Suppose our input signal is u(t)u(t). We will approximate it as a sum of shifted and scaled pulses by assuming u(t)u(t) is piecewise-constant over intervals of length hh. This allows us to write:

u(t)k=0hu(kh)δh(tkh)u(t) \approx \sum_{k=0}^\infty h \, u(kh) \, \delta_h(t - kh)

The reason for the extra factor of hh in the sum is that each pulse has height 1h\frac{1}{h}, so multiplying by hh gives the correct amplitude for the piecewise-constant approximation of u(t)u(t). By superposition, we can approximate the output y(t)y(t) as:

y(t)k=0hu(kh)gh(tkh)y(t) \approx \sum_{k=0}^\infty h \, u(kh) \, g_h(t - kh)

In the limit h0h\to 0, the pulse function δh(t)\delta_h(t) approaches the impulse function δ(t)\delta(t), and the response gh(t)g_h(t) approaches the impulse response g(t)g(t). Therefore, taking the limit as h0h \to 0 in equations (17) and (18) gives:

y(t)=limh0k=0hu(kh)gh(tkh)=0tu(τ)g(tτ)dτ\begin{aligned} y(t) &= \lim_{h \to 0} \sum_{k=0}^\infty h \, u(kh) \, g_h(t - kh) \\ &= \int_0^t u(\tau) \, g(t - \tau) \, \dd \tau \end{aligned}

This follows from the definition of the integral as a limit of Riemann sums. The reason the integral only goes up to tt rather than \infty is that g(t)=0g(t) = 0 whenever t<0t<0 due to causality.

This sort of integral is known as a convolution integral, and we denote it using the convolution operator *. Thus, we can write the output of an LTI system in response to an arbitrary input u(t)u(t) as:

y(t)=(ug)(t)=0tu(τ)g(tτ)dτ\boxed{y(t) = (u * g)(t) = \int_0^t u(\tau) \, g(t - \tau) \, \dd \tau}

The convolution operation satisfies a remarkable property: it is commutative. In other words, we can swap the order of the functions being convolved without changing the result:

(gu)(t)=0tg(τ)u(tτ)dτ=t0g(tσ)u(σ)(dσ)(letting σ=tτ)=0tu(σ)g(tσ)dσ=(ug)(t)\begin{aligned} (g * u)(t) &= \int_0^t g(\tau) \, u(t - \tau) \, \dd \tau \\ &= \int_t^0 g(t - \sigma) \, u(\sigma) \, (-\dd \sigma) \qquad (\textsf{letting } \sigma = t - \tau) \\ &= \int_0^t u(\sigma) \, g(t - \sigma) \, \dd \sigma \\ &= (u * g)(t) \end{aligned}

Since convolution produces the output of a system given its impulse response, but the Laplace transform of the output is the product of the Laplace transforms of the input and the transfer function, we can relate convolution in the time domain to multiplication in the Laplace domain. For any two functions f(t)f(t) and g(t)g(t), we have:

L{(fg)(t)}=L{f}L{g}=F(s)G(s)\boxed{\Lap\{(f * g)(t)\} = \Lap\{f\} \Lap\{g\} = F(s) G(s)}

We can now update Figure 1 to include the convolution integral as yet another way to compute the output of an LTI system.

Diagram showing time-domain and s-domain paths for solving a system.

Figure 5:Diagram showing time-domain and ss-domain paths for solving a system.


Test your knowledge

Solution to Exercise 1 #
  1. Taking Laplace transforms of both sides of the equation of motion (with zero initial conditions) gives:

    s2Y(s)=U(s)    G(s)=Y(s)U(s)=1s2s^2 Y(s) = U(s) \implies G(s) = \frac{Y(s)}{U(s)} = \frac{1}{s^2}
  2. The impulse response is the inverse Laplace transform of the transfer function:

    g(t)=L1{1s2}=tg(t) = \Lap^{-1}\left\{\frac{1}{s^2}\right\} = t

    The impulse response represents the position of the satellite after receiving an instantaneous “kick” from the thruster. The kick imparts a velocity to the satellite. Since there are no other forces acting on the satellite, it continues to move at this constant velocity, causing its position to increase linearly over time. This is why g(t)=tg(t) = t.

  3. The step response is the inverse Laplace transform of the transfer function multiplied by 1s\frac{1}{s}:

    h(t)=L1{1s3}=t22h(t) = \Lap^{-1}\left\{\frac{1}{s^3}\right\} = \frac{t^2}{2}

    Taking the derivative of the step response gives:

    ddth(t)=ddt(t22)=t=g(t)\frac{\dd}{\dd t} h(t) = \frac{\dd}{\dd t} \left( \frac{t^2}{2} \right) = t = g(t)

    The step response represents the position of the satellite when the thruster is turned on and provides a constant force. This constant force results in a constant acceleration, causing the satellite’s velocity to increase linearly over time. As a result, the position increases quadratically over time, which is why h(t)=t22h(t) = \frac{t^2}{2}.

Footnotes
  1. Named after the physicist Paul Dirac, who introduced the concept in the context of quantum mechanics.