The Impulse Function & Sampling

The Dirac delta, its sifting property, and sampling as multiplying a signal by a train of impulses.

The impulse function

Sampling — turning a continuous signal into a sequence of numbers — is easiest to describe with one tool: the unit impulse function, also called the delta function or the Dirac delta function, after the physicist Paul Dirac.

It's zero everywhere except at , infinite there, and yet the area underneath it is exactly one. You can build it as the limit of an ever-narrower, ever-taller rectangular pulse of unit area:

The sifting property

Multiply any function that's continuous at by an impulse and integrate, and every value of that function except the one at is thrown away:

This is called the sifting property — the delta function sifts out a single sample of from the entire continuum. It's the mechanism that turns sampling from a hand-wavy idea ("just grab the value every so often") into an exact algebraic operation.

Note

Integrating an impulse train produces the unit step function: 0 before , 1 from onward. Equivalently, the step function's derivative is the impulse — is the rate of change of a signal that jumps instantaneously. In discrete form, .

Sampling as multiplication by an impulse train

Now the payoff. Take a continuous signal and multiply it by a train of unit impulses spaced one unit apart. At every integer , the sifting property pulls out exactly the value ; everywhere else, the product is zero. The result is the sampled signal:

That's it — that's sampling. A continuous curve becomes a set of weighted impulses, one at each sample instant, each one scaled by the original signal's value there.

Interactive · Sampling

The impulse function in two dimensions

Since an image is a function of two variables, sampling an image needs a 2-D impulse function , with the same defining properties — zero everywhere except the origin, unit volume underneath it, and its own sifting property:

Sliding the impulse to and sifting against pulls out the pixel value at that exact location — the direct 2-D analogue of picking a single sample out of a continuous 1-D signal.

Check your understanding

Why does δ(t − a) inside the integral ∫ f(t)δ(t − a) dt behave like a 'pick out one value' operator?