Skip to content
Mathematical Methods

The Dirac delta, distributions and the impulse response

The delta as a limit and as a distribution, the derivative of the step, impulse response and convolution, transforms of constants, sines and the step, the Dirac comb and sampling.

Engineers used the Dirac delta “function” long before mathematicians could say what it was: an infinitely short and infinitely tall pulse with area 1. It is not a function in the usual sense but a distribution. With this concept the transforms of a sine, a constant and the step make sense, and the impulse response becomes the tool for describing any linear system.

The idea: a pulse of unit area

Consider the rectangle \delta_\varepsilon(t) of width \varepsilon and height 1/\varepsilon, centred at the origin. Its area is always 1. Letting \varepsilon tend to zero gives a “pulse” concentrated at t = 0.

The Dirac delta as the limit of ever narrower and taller rectangles of unit area
Rectangles of width ε and height 1/ε, all with area 1: narrowing them gives the Dirac delta, drawn as an arrow of “area” 1 concentrated at the origin.

As a function the limit makes no sense (it would be 0 everywhere except at one point where it is infinite, and its integral would be zero). But the effect of the rectangles on a continuous function \varphi has a precise limit:

    \[ \int_{-\infty}^{\infty}\delta_\varepsilon(t)\,\varphi(t)\,dt = \frac1\varepsilon\int_{-\varepsilon/2}^{\varepsilon/2}\varphi(t)\,dt \to \varphi(0) \]

because the average of \varphi over a shrinking interval tends to its value at the centre (mean value theorem for integrals).

The definition

The Dirac delta is defined by its action on smooth functions:

    \[ \int_{-\infty}^{\infty}\delta(t - t_0)\,\varphi(t)\,dt = \varphi(t_0) \]

The delta “samples” the function at the point t_0. More generally, a distribution is a linear and continuous way of assigning a number to each test function \varphi (infinitely differentiable and zero outside a bounded interval). Ordinary functions are distributions, through \varphi \mapsto \int f\varphi; the delta is a distribution that does not come from any function.

Useful properties.

  • \int\delta(t)\,dt = 1;
  • f(t)\,\delta(t - t_0) = f(t_0)\,\delta(t - t_0);
  • \delta(at) = \frac{1}{|a|}\delta(t);
  • f * \delta = f: the delta is the identity element of convolution.

The derivative of the step

The unit step u(t) is 0 for t \lt 0 and 1 for t \gt 0: it describes a switch closing. As a function it is not differentiable at 0. As a distribution it is: integrating by parts, for every test function

    \[ \int u'(t)\,\varphi(t)\,dt = -\int u(t)\,\varphi'(t)\,dt = -\int_0^{\infty}\varphi'(t)\,dt = \varphi(0) \]

so

    \[ u'(t) = \delta(t) \]

The derivative of a jump is an impulse with area equal to the jump. It is the right language for circuits: the current that charges an ideal capacitor when a switch closes onto a constant voltage, i = C\,dv/dt, is exactly an impulse, and in a real circuit it is “spread out” by the resistance of the wires.

The impulse response

A linear time-invariant system is completely described by its impulse response h(t), the output when the input is \delta(t). Indeed any input can be written as a “sum” of impulses:

    \[ x(t) = \int x(\tau)\,\delta(t - \tau)\,d\tau \]

By linearity and time invariance, each impulse \delta(t - \tau) produces h(t - \tau), so

    \[ y(t) = \int x(\tau)\,h(t - \tau)\,d\tau = (x * h)(t) \]

It is the convolution of the lesson on the Fourier transform, now proved. A system is causal (it does not respond before being excited) if h(t) = 0 for t \lt 0, and stable (bounded input, bounded output) if \int|h|\,dt is finite.

Example. An RC low-pass circuit has h(t) = \frac{1}{RC}e^{-t/RC}u(t): after the kick, the capacitor voltage jumps up and then decays exponentially. In acoustics the impulse response of a hall is measured with a starter pistol or a bursting balloon, and then used to simulate that hall’s echo on any recording.

Fourier transforms that did not exist before

With the delta, signals that are not integrable can be transformed.

SignalFourier transform
\delta(t)1
12\pi\,\delta(\omega)
e^{i\omega_0 t}2\pi\,\delta(\omega - \omega_0)
\cos\omega_0 t\pi\big[\delta(\omega - \omega_0) + \delta(\omega + \omega_0)\big]
u(t)\pi\,\delta(\omega) + \dfrac{1}{i\omega}

The first row reads: an impulse contains every frequency with the same amplitude. That is why lightning interferes with every radio station, and why the impulse response holds all the information about the system: its transform is exactly the frequency response H(\omega).

The fourth row says that a pure sinusoid has a spectrum made of two lines, at \pm\omega_0: what you see on a spectrum analyser when a sinusoidal signal is applied.

The Dirac comb and sampling

The comb \sum_n\delta(t - nT), a train of impulses with period T, has as its transform another comb, with period 2\pi/T in frequency. Sampling a signal means multiplying it by the comb; in the frequency domain the multiplication becomes a convolution, which copies the spectrum around every multiple of the sampling frequency. It is the compact proof of the sampling theorem seen in the lesson on the Fourier transform.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x