The Dirac delta function (also impulse function and delta function) is characterised by the properties:

Uniquely, the delta function has a sifting property that allows it to sample at a given .

Signal theory

The Laplace transform is given by:

The study of a system’s impulse response is a key application of the delta function.

The discrete-time unit impulse is defined the same way the CT delta function is defined, except at , we have . This is called the Kronecker delta function. This is mostly useful for defining DT signals at specific points, but we can also define any DT signal with a sum of individual impulses.

Similar to the continuous-time case, we have a sifting formula, which essentially samples the signal at a specific point :

Curiously:

i.e., for differentiation in the CT case, we have a difference in the DT case.

Occasionally we will get expressions of a modified impulse train, like follows:

What do we do here? The trick is to ignore the and focus in on the terms. Draw out the terms spaced out as specified in the equation.

The delta function is also a uniform superposition of all frequency components:

Electromagnetism

Because of the nature of the delta function, we can use it to model the behaviour of a scalar or vector-valued function that is infinite or undefined at certain points and zero elsewhere. If there’s thickness, then we don’t use the delta function.

How do we know when to use the delta function?

Some cases:

  • If something is infinitely thin.
  • If there’s a “shell” with an infinitesimally small thickness.

Scalar density is given by:

  • Volume distribution, by .
  • Surface distribution, by .
  • Line distribution, by .
  • Point charge, by .

Common geometries take the form below. I like to think about it as the delta function being of a variable that is essentially perpendicular to the geometry (see the line for an example).

Across a surface

Many practice questions take the form below. Let’s decompose what’s going on: Immediately what we notice:

  • The cylindrical shell cannot be approximated with the delta function because it has some thickness. We express with the unit vector because of its given orientation.
  • The plane and wire must be approximated with the delta function.
  • The normal vector is perpendicular to the surface, i.e., .
  • The surface bounds are given: these are the surface integral bounds.

I think the idea behind converting from rectangular to cylindrical/spherical is that we don’t want more than one delta function in the integrand.

Motivations

In electrical engineering, systems are sometimes acted upon by an emf of a large magnitude for only a short amount of time. A similar case is true for mechanical systems with forces. Think about lightning, or a baseball bat hitting a ball.

The delta function approximates a piecewise-defined function defined by:

i.e., the continuous-time unit pulse. We observe that the area under the unit pulse is:

The Dirac delta function is in turn defined by the limit:

There isn’t a function that actually satisfies the properties above — the delta function is a distribution. The delta function is only meaningful in the context of an integral. We can’t manipulate it like a regular function (i.e., is meaningless). An alternative definition of the delta function involves the normal distribution:

As approaches 0, then the distribution looks more and more like the delta function. This also allows it to satisfy the integral properties (area is 1).

In programming

In MATLAB, we can define the Dirac delta function:

syms a, t
f = dirac(t - a)