Dirac delta function

The Dirac delta or Dirac's delta is a mathematical construct introduced by the British theoretical physicist Paul Dirac. Informally, it is a function representing an infinitely sharp peak bounding unit area: a function δ(x) that has the value zero everywhere except at x = 0 where its value is infinitely large in such a way that its total integral is 1. It is a continuous analogue of the discrete Kronecker delta. In the context of signal processing it is often referred to as the unit impulse function. Note that the Dirac delta is not strictly a function. While for many purposes it can be manipulated as such, formally it can be defined as a distribution that is also a measure.

Overview
A Dirac function can be of any size in which case its 'strength' A is defined by duration multiplied by amplitude. The graph of the delta function is usually thought of as following the whole x-axis and the positive y-axis. (This informal picture can sometimes be misleading, for example in the limiting case of the sinc function.)

Despite its name, the delta function is not truly a function. One reason for this is because the functions f(x) = δ(x) and g(x) = 0 are equal everywhere except at x = 0 yet have integrals that are different. According to Lebesgue integration theory, if f and g are functions such that f = g almost everywhere, then f is integrable if and only if g is integrable and the integrals of f and g are identical. Rigorous treatment of the Dirac delta requires measure theory or the theory of distributions.

The Dirac delta is very useful as an approximation for a tall narrow spike function (an impulse). It is the same type of abstraction as a point charge, point mass or electron point. For example, in calculating the dynamics of a baseball being hit by a bat, approximating the force of the bat hitting the baseball by a delta function is a helpful trick. In doing so, one not only simplifies the equations, but one also is able to calculate the motion of the baseball by only considering the total impulse of the bat against the ball rather than requiring knowledge of the details of how the bat transferred energy to the ball.

The Dirac delta function was named after the Kronecker delta, since it can be used as a continuous analogue of the discrete Kronecker delta.

Definitions
The Dirac delta can be loosely thought of as a function on the real line which is zero everywhere except at the origin, where it is infinite,


 * $$\delta(x) = \begin{cases} \infty, & x = 0 \\ 0, & x \ne 0 \end{cases}$$

and which is also constrained to satisfy the identity
 * $$\int_{-\infty}^\infty \delta(x) \, dx = 1.$$

This heuristic definition should not be taken too seriously though. The Dirac delta is not a function, as no function has the above properties. Moreover there exist descriptions of the delta function which differ from the above conceptualization. For example, $$\textrm{sinc}(x/a)/a$$ (where sinc is the sinc function) behaves as a delta function in the limit of $$a\rightarrow 0$$, yet this function does not approach zero for values of x outside the origin, rather it oscillates between 1/x  and -1/x   more and more rapidly as a  approaches infinity.

The defining characteristic
 * $$\int_{-\infty}^\infty f(x) \, \delta(x) \, dx = f(0)$$

where f is a suitable test function, cannot be achieved by any function, but the Dirac delta function can be rigorously defined either as a distribution or as a measure.

In terms of dimensional analysis, this definition of $$\delta(x)$$ implies that $$\delta(x)$$ has dimensions reciprocal to those of dx.

The delta function as a measure
As a measure, $$\delta (A)=1$$ if $$0\in A$$, and $$\delta (A)=0$$ otherwise. Then,


 * $$\int_{-\infty}^\infty f(x) \, \delta(x) \, dx

= f(0)$$

for all continuous $$f$$.

The delta function as a probability density function
As a distribution, the Dirac delta is a linear functional on the space of test functions and is defined by
 * $$\delta[\phi] = \phi(0)\,$$

for every test function $$\phi \ $$. It is a distribution with compact support (the support being {0}). Because of this definition, and the absence of a true function with the delta function's properties, it is important to realize the above integral notation is simply a notational convenience, and not a garden-variety (Riemann or Lebesgue) integral.

Thus, the Dirac delta function may be interpreted as a probability density function. Its characteristic function is then just unity, as is the moment generating function, so that all moments are zero. The cumulative distribution function is the Heaviside step function.

Equivalently, one may define $$\delta : \mathbb{R} \ni \xi \longrightarrow \delta ( \xi )\in \delta(\mathbb{R})$$ as a distribution   $$\delta ( \xi )$$ whose indefinite integral is the function


 * $$h : \mathbb{R} \ni \xi \longrightarrow \frac{1+{\rm sgn} \, \xi }{2} \in \mathbb{R}, $$

usually called the Heaviside step function or commonly the unit step function. That is, it satisfies the integral equation



\int^{x}_{-\infin} \delta (t) dt = h(x) \equiv \frac{1+{\rm sgn}(x)}{2} $$

for all real numbers x.

Delta function of more complicated arguments
A helpful identity is the scaling property ($$\alpha$$ is non-zero),


 * $$\int_{-\infty}^\infty \delta(\alpha x)\,dx

=\int_{-\infty}^\infty \delta(u)\,\frac{du}{|\alpha|} =\frac{1}{|\alpha|}$$

and so

The scaling property may be generalized to:


 * $$\delta(g(x)) = \sum_{i}\frac{\delta(x-x_i)}{|g'(x_i)|}$$


 * and, $$\delta(\alpha g(x)) = \frac{1}{|\alpha|}\delta(g(x))$$

where xi are the real roots of g(x) (assumed simple roots). Thus, for example


 * $$\delta(x^2-\alpha^2) = \frac{1}{2|\alpha|}[\delta(x+\alpha)+\delta(x-\alpha)]$$

In the integral form the generalized scaling property may be written as



\int_{-\infty}^\infty f(x) \, \delta(g(x)) \, dx = \sum_{i}\frac{f(x_i)}{|g'(x_i)|} $$

In an n-dimensional space with position vector $$\mathbf{r}$$, this is generalized to:



\int_V f(\mathbf{r}) \, \delta(g(\mathbf{r})) \, d^nr = \int_{\partial V}\frac{f(\mathbf{r})}{|\mathbf{\nabla}g|}\,d^{n-1}r $$

where the integral on the right is over $$\partial V$$, the n-1 dimensional surface defined by $$g(\mathbf{r})=0$$.

The integral of the time-delayed Dirac delta is given by:


 * $$\int\limits_{-\infty}^\infty f(t) \delta(t-T)\,dt = f(T)$$

(the sifting property). The delta function is said to "sift out" the value at $$t=T\,$$.

It follows that the convolution:




 * $$f(t) * \delta(t-T)\,$$
 * $$ \ \stackrel{\mathrm{def}}{=}\ \int\limits_{-\infty}^\infty f(\tau) \cdot \delta(t-T-\tau) \ d\tau$$
 * $$= \int\limits_{-\infty}^\infty f(\tau) \cdot \delta(\tau-(t-T)) \ d\tau$$      (using (Eq.1) with $$\alpha=-1$$)
 * $$= f(t-T)\,$$
 * }
 * $$= f(t-T)\,$$
 * }
 * $$= f(t-T)\,$$
 * }

means that the effect of convolving with the time-delayed Dirac delta is to time-delay $$f(t)\,$$ by the same amount.

Fourier transform
Using Fourier transforms, one finds that


 * $$\int_{-\infty}^\infty 1 \cdot e^{-i 2\pi f t}\,dt = \delta(f)$$

and therefore:


 * $$\int_{-\infty}^\infty e^{i 2\pi f_1 t} \left[e^{i 2\pi f_2 t}\right]^*\,dt = \int_{-\infty}^\infty e^{-i 2\pi (f_2 - f_1) t} \,dt = \delta(f_2 - f_1)$$

which is a statement of the orthogonality property for the Fourier kernel. Equating these non-converging improper integrals to $$\delta(x)$$ is not mathematically rigorous. However, they behave in the same way under a definite integral. That is,


 * $$\begin{align}

\int_{-\infty}^\infty F(f) \left(\int_{-\infty}^\infty e^{-i 2\pi f t} dt\right) df &= F(0) \end{align} $$

according to the definition of the Fourier transform. Therefore, the bracketed term is considered equivalent to the Dirac delta function.

Laplace transform
The direct Laplace transform of the delta function is:


 * $$ \int_{0}^{\infty}\delta (t-a)e^{-st} \, dt=e^{-as} $$

a curious identity using Euler's formula $$ 2 \cos(as)=e^{-ias}+e^{ias} $$ allows us to find the Laplace inverse transform for the cosine


 * $$ 2\frac{1}{2\pi {i}}\int_{c-i\,\infty}^{c+i\,\infty} \cos(as)e^{st} \, ds=2[\delta (t+ia) +\delta (t-ia)] $$ and a similar identity holds for $$\sin(as)$$.

Distributional derivatives
As a tempered distribution, the Dirac delta distribution is infinitely differentiable. Let U be an open subset of Euclidean space Rn and let S(U) denote the Schwartz space of smooth, rapidly decaying real-valued functions on U. Let a be a point of U and let δa be the Dirac delta distribution centred at a. If α = (α1, ..., αn) is any multi-index and ∂α denotes the associated mixed partial derivative operator, then the αth derivative ∂αδa of δa is given by


 * $$\left\langle \partial^{\alpha} \delta_{a}, \varphi \right\rangle = (-1)^{| \alpha |} \left\langle \delta_{a}, \partial^{\alpha} \varphi \right\rangle = \left. (-1)^{| \alpha |} \partial^{\alpha} \varphi (x) \right|_{x = a} \mbox{ for all } \varphi \in S(U).$$

That is, the αth derivative of δa is the distribution whose value on any test function φ is the αth derivative of φ at a (with the appropriate positive or negative sign). This is rather convenient, since the Dirac delta distribution δa applied to φ is just φ(a). For the α=1 case this means


 * $$\int_{-\infty}^{\infty} \delta'(x-a)f(x)dx = -f'(a)$$.

The first derivative of the delta function is referred to as a doublet (or the doublet function). Its schematic representation looks like that of δa(t) and -δa(t) superposed.

Representations of the delta function


The delta function can be viewed as the limit of a sequence of functions



\delta (x) = \lim_{a\to 0} \delta_a(x), $$

where $$\delta_a(x)$$ is sometimes called a nascent delta function. This limit is in the sense that


 * $$ \lim_{a\to 0} \int_{-\infty}^{\infty}\delta_a(x)f(x)dx = f(0) \ $$

for all continuous $$f$$.

The term approximate identity has a particular meaning in harmonic analysis, in relation to a limiting sequence to an identity element for the convolution operation (also on groups more general than the real numbers, e.g. the unit circle). There the condition is made that the limiting sequence should be of positive functions.

Some nascent delta functions are:
 * {| border="0" cellpadding="5" cellspacing="10" align="left" width="500px"

=\frac{1}{2\pi}\int_{-\infty}^{\infty}\mathrm{e}^{\mathrm{i} k x-|ak|}\;dk $$ =\frac{1}{2\pi}\int_{-\infty}^{\infty}\frac{e^{ikx}}{1+a^2k^2}\,dk$$ =\frac{1}{2\pi}\int_{-\infty}^\infty \textrm{sinc} \left( \frac{a k}{2 \pi} \right) e^{ikx}\,dk $$ \delta_a(x)=\frac{1}{\pi x}\sin\left(\frac{x}{a}\right) =\frac{1}{2\pi}\int_{-1/a}^{1/a} \cos (k x)\;dk $$ \delta_a(x)=\partial_x \frac{1}{1+\mathrm{e}^{-x/a}} =-\partial_x \frac{1}{1+\mathrm{e}^{x/a}} $$ \delta_a(x)=\frac{a}{\pi x^2}\sin^2\left(\frac{x}{a}\right) $$ \delta_a(x) = \frac{1}{a}A_i\left(\frac{x}{a}\right) $$ \delta_a(x) = \frac{1}{a}J_{1/a} \left(\frac{x+1}{a}\right) $$ \frac{1}{a},&-\frac{a}{2}
 * $$\delta_a(x) = \frac{1}{a \sqrt{\pi}} \mathrm{e}^{-x^2/a^2}$$
 * Limit of a normal distribution
 * $$\delta_a(x) = \frac{1}{\pi} \frac{a}{a^2 + x^2}
 * $$\delta_a(x) = \frac{1}{\pi} \frac{a}{a^2 + x^2}
 * $$\delta_a(x) = \frac{1}{\pi} \frac{a}{a^2 + x^2}
 * Limit of a Cauchy distribution
 * $$\delta_a(x)=\frac{e^{-|x/a|}}{2a}
 * $$\delta_a(x)=\frac{e^{-|x/a|}}{2a}
 * Cauchy $$\varphi$$ (see note below)
 * $$\delta_a(x)= \frac{\textrm{rect}(x/a)}{a}
 * $$\delta_a(x)= \frac{\textrm{rect}(x/a)}{a}
 * Limit of a rectangular function
 * rectangular function $$\varphi$$(see note below)
 * Derivative of the sigmoid (or Fermi-Dirac) function
 * Limit of the Airy function
 * Limit of a Bessel function
 * $$\delta_a(x)=\begin{cases}
 * $$\delta_a(x)=\begin{cases}
 * }
 * }

Note: If δ(a, x) is a nascent delta function which is a probability distribution over the whole real line (i.e. is always non-negative between -∞ and +∞) then another nascent delta function δφ(a, x) can be built from its characteristic function as follows:


 * $$\delta_\varphi(a,x)=\frac{1}{2\pi}~\frac{\varphi(1/a,x)}{\delta(1/a,0)}$$

where


 * $$\varphi(a,k)=\int_{-\infty}^\infty \delta(a,x)e^{-ikx}\,dx$$

is the characteristic function of the nascent delta function δ(a, x). This result is related to the localization property of the continuous Fourier transform.

The Dirac comb

 * Main article: Dirac comb

A so-called uniform "pulse train" of Dirac delta measures, which is known as a Dirac comb, or as the shah distribution, creates a sampling function, often used in digital signal processing (DSP) and discrete time signal analysis.