Dirac comb explained

In mathematics, a Dirac comb (also known as sha function, impulse train or sampling function) is a periodic function with the formula\operatorname_(t) \ := \sum_^ \delta(t - k T) for some given period

T

.[1] Here t is a real variable and the sum extends over all integers k. The Dirac delta function

\delta

and the Dirac comb are tempered distributions. The graph of the function resembles a comb (with the

\delta

s as the comb's teeth), hence its name and the use of the comb-like Cyrillic letter sha (Ш) to denote the function.

The symbol

\operatorname{Ш

}\,\,(t), where the period is omitted, represents a Dirac comb of unit period. This implies\operatorname_(t) \ = \frac\operatorname\ \!\!\!\left(\frac\right).

Because the Dirac comb function is periodic, it can be represented as a Fourier series based on the Dirichlet kernel:\operatorname_(t) = \frac\sum_^ e^.

The Dirac comb function allows one to represent both continuous and discrete phenomena, such as sampling and aliasing, in a single framework of continuous Fourier analysis on tempered distributions, without any reference to Fourier series. The Fourier transform of a Dirac comb is another Dirac comb. Owing to the Convolution Theorem on tempered distributions which turns out to be the Poisson summation formula, in signal processing, the Dirac comb allows modelling sampling by multiplication with it, but it also allows modelling periodization by convolution with it.[2]

Dirac-comb identity

The Dirac comb can be constructed in two ways, either by using the comb operator (performing sampling) applied to the function that is constantly

1

, or, alternatively, by using the rep operator (performing periodization) applied to the Dirac delta

\delta

. Formally, this yields (;)\operatorname_T \ = \operatorname_T = \operatorname_T \, where \operatorname_T \ \triangleq \sum_^\infty \, f(kT) \, \delta(t - kT) and \operatorname_T \ \triangleq \sum_^\infty \, g(t - kT).

In signal processing, this property on one hand allows sampling a function

f(t)

by multiplication with

\operatorname{Ш

}_, and on the other hand it also allows the periodization of

f(t)

by convolution with

\operatorname{Ш

}_T .The Dirac comb identity is a particular case of the Convolution Theorem for tempered distributions.

Scaling

The scaling property of the Dirac comb follows from the properties of the Dirac delta function. Since

\delta(t)=

1
a

\delta\left(

t
a

\right)

[3] for positive real numbers

a

, it follows that: \operatorname_\left(t\right) = \frac \operatorname\,\!\left(\frac \right), \operatorname_\left(t\right) = \frac \operatorname\,\!\left(\frac\right) = \frac \operatorname_\!\!\left(\frac\right).Note that requiring positive scaling numbers

a

instead of negative ones is not a restriction because the negative sign would only reverse the order of the summation within

\operatorname{Ш

}_, which does not affect the result.

Fourier series

See also: Dirichlet kernel. It is clear that

\operatorname{Ш

}_(t) is periodic with period

T

. That is,\operatorname_(t + T) = \operatorname_(t)for all t. The complex Fourier series for such a periodic function is \operatorname_(t) = \sum_^ c_n e^, where the Fourier coefficients are (symbolically)\beginc_n &= \frac \int_^ \operatorname_(t) e^\, dt \quad (-\infty < t_0 < +\infty) \\ &= \frac \int_^ \operatorname_(t) e^\, dt \\ &= \frac \int_^ \delta(t) e^\, dt \\ &= \frac e^ \\ &= \frac.\end

All Fourier coefficients are 1/T resulting in\operatorname_(t) = \frac\sum_^ \!\!e^.

When the period is one unit, this simplifies to \operatorname\ \!(x) = \sum_^ \!\!e^.

Remark: Most rigorously, Riemann or Lebesgue integration over any products including a Dirac delta function yields zero. For this reason, the integration above (Fourier series coefficients determination) must be understood "in the generalized functions sense". It means that, instead of using the characteristic function of an interval applied to the Dirac comb, one uses a so-called Lighthill unitary function as cutout function, see, p.62, Theorem 22 for details.

Fourier transform

The Fourier transform of a Dirac comb is also a Dirac comb. For the Fourier transform

l{F}

expressed in frequency domain (Hz) the Dirac comb

\operatorname{Ш

}_ of period

T

transforms into a rescaled Dirac comb of period

1/T,

i.e. for

l{F}\left[f\right](\xi)=

infty
\int
-infty

dtf(t)e-,

l{F}\left[\operatorname{Ш

}_ \right](\xi) = \frac \sum_^ \delta(\xi-k \frac) = \frac \operatorname_(\xi) ~is proportional to another Dirac comb, but with period

1/T

in frequency domain (radian/s). The Dirac comb

\operatorname{Ш

} of unit period

T=1

is thus an eigenfunction of

l{F}

to the eigenvalue

1.

This result can be established by considering the respective Fourier transforms

S\tau(\xi)=l{F}[s\tau](\xi)

of the family of functions

s\tau(x)

defined by

s\tau(x)=\tau-1

-\pi\tau2x2
e
infty
\sum
n=-infty
-\pi\tau-2(x-n)2
e

.

Since

s\tau(x)

is a convergent series of Gaussian functions, and Gaussians transform into Gaussians, each of their respective Fourier transforms

S\tau(\xi)

also results in a series of Gaussians, and explicit calculation establishes that

S\tau(\xi)=\tau-1

infty
\sum
m=-infty
-\pi\tau2m2
e
-\pi\tau-2(\xi-m)2
e

.

The functions

s\tau(x)

and

S\tau(\xi)

are thus each resembling a periodic function consisting of a series of equidistant Gaussian spikes

\tau-1

-\pi\tau-2(x-n)2
e
and

\tau-1

-\pi\tau-2(\xi-m)2
e
whose respective "heights" (pre-factors) are determined by slowly decreasing Gaussian envelope functions which drop to zero at infinity. Note that in the limit

\tau0

each Gaussian spike becomes an infinitely sharp Dirac impulse centered respectively at

x=n

and

\xi=m

for each respective

n

and

m

, and hence also all pre-factors
-\pi\tau2m2
e
in

S\tau(\xi)

eventually become indistinguishable from
-\pi\tau2\xi2
e
. Therefore the functions

s\tau(x)

and their respective Fourier transforms

S\tau(\xi)

converge to the same function and this limit function is a series of infinite equidistant Gaussian spikes, each spike being multiplied by the same pre-factor of one, i.e. the Dirac comb for unit period:

\lim\taus\tau(x)=\operatorname{Ш

}, and

\lim\tauS\tau(\xi)=\operatorname{Ш

}.

Since

S\tau=l{F}[s\tau]

, we obtain in this limit the result to be demonstrated:

l{F}[\operatorname{Ш

}]= \operatorname.The corresponding result for period

T

can be found by exploiting the scaling property of the Fourier transform,

l{F}[\operatorname{Ш

}_T]= \frac \operatorname_.

Another manner to establish that the Dirac comb transforms into another Dirac comb starts by examining continuous Fourier transforms of periodic functions in general, and then specialises to the case of the Dirac comb. In order to also show that the specific rule depends on the convention for the Fourier transform, this will be shown using angular frequency with

\omega=2\pi\xi:

for any periodic function

f(t)=f(t+T)

its Fourier transform

l{F}\left[f\right](\omega)=F(\omega)=

infty
\int
-infty

dtf(t)e-i\omega

obeys:

F(\omega)(1-ei)=0

because Fourier transforming

f(t)

and

f(t+T)

leads to

F(\omega)

and

F(\omega)ei.

This equation implies that

F(\omega)=0

nearly everywhere with the only possible exceptions lying at

\omega=k\omega0,

with

\omega0=2\pi/T

and

k\inZ.

When evaluating the Fourier transform at

F(k\omega0)

the corresponding Fourier series expression times a corresponding delta function results. For the special case of the Fourier transform of the Dirac comb, the Fourier series integral over a single period covers only the Dirac function at the origin and thus gives

1/T

for each

k.

This can be summarised by interpreting the Dirac comb as a limit of the Dirichlet kernel such that, at the positions

\omega=k\omega0,

all exponentials in the sum
infty
\sum\nolimits
m=-infty

e\pm

point into the same direction and add constructively. In other words, the continuous Fourier transform of periodic functions leads to

F(\omega)=2\pi

infty
\sum
k=-infty

ck\delta(\omega-k\omega0)

with

\omega0=2\pi/T,

and

ck=

1
T
+T/2
\int
-T/2

dtf(t)e-i.

The Fourier series coefficients

ck=1/T

for all

k

when

f\operatorname{Ш

}_, i.e.

l{F}\left[\operatorname{Ш

}_ \right](\omega) = \frac \sum_^ \delta(\omega-k \frac)is another Dirac comb, but with period

2\pi/T

in angular frequency domain (radian/s).

As mentioned, the specific rule depends on the convention for the used Fourier transform. Indeed, when using the scaling property of the Dirac delta function, the above may be re-expressed in ordinary frequency domain (Hz) and one obtains again:\operatorname_(t) \stackrel \frac \operatorname_(\xi) = \sum_^\!\! e^,

such that the unit period Dirac comb transforms to itself:\operatorname\ \!(t) \stackrel \operatorname\ \!(\xi).

Finally, the Dirac comb is also an eigenfunction of the unitary continuous Fourier transform in angular frequency space to the eigenvalue 1 when

T=\sqrt{2\pi}

because for the unitary Fourier transform

l{F}\left[f\right](\omega)=F(\omega)=

1
\sqrt{2\pi
}\int_^ dt f(t) e^, the above may be re-expressed as \operatorname_(t) \stackrel \frac \operatorname_(\omega) = \frac\sum_^ \!\!e^.

Sampling and aliasing

Multiplying any function by a Dirac comb transforms it into a train of impulses with integrals equal to the value of the function at the nodes of the comb. This operation is frequently used to represent sampling. (\operatorname_ x)(t) = \sum_^ \!\! x(t)\delta(t - kT) = \sum_^\!\! x(kT)\delta(t - kT).

Due to the self-transforming property of the Dirac comb and the convolution theorem, this corresponds to convolution with the Dirac comb in the frequency domain. \operatorname_ x \ \stackrel\ \frac\operatorname_\frac * X

Since convolution with a delta function

\delta(t-kT)

is equivalent to shifting the function by

kT

, convolution with the Dirac comb corresponds to replication or periodic summation:

(\operatorname{Ш

}_\! * X)(f) =\! \sum_^ \!\!X\!\left(f - \frac\right)

This leads to a natural formulation of the Nyquist–Shannon sampling theorem. If the spectrum of the function

x

contains no frequencies higher than B (i.e., its spectrum is nonzero only in the interval

(-B,B)

) then samples of the original function at intervals

\tfrac{1}{2B}

are sufficient to reconstruct the original signal. It suffices to multiply the spectrum of the sampled function by a suitable rectangle function, which is equivalent to applying a brick-wall lowpass filter.

\operatorname{Ш

}_ x\ \ \stackrel\ \ 2B\, \operatorname_ * X
1\Pi\left(
2B
f
2B

\right)(2B\operatorname{Ш

}_ * X) = X

In time domain, this "multiplication with the rect function" is equivalent to "convolution with the sinc function" (p.33-34). Hence, it restores the original function from its samples. This is known as the Whittaker–Shannon interpolation formula.

Remark: Most rigorously, multiplication of the rect function with a generalized function, such as the Dirac comb, fails. This is due to undetermined outcomes of the multiplication product at the interval boundaries. As a workaround, one uses a Lighthill unitary function instead of the rect function. It is smooth at the interval boundaries, hence it yields determined multiplication products everywhere, see, p.62, Theorem 22 for details.

Use in directional statistics

In directional statistics, the Dirac comb of period

2\pi

is equivalent to a wrapped Dirac delta function and is the analog of the Dirac delta function in linear statistics.

In linear statistics, the random variable

(x)

is usually distributed over the real-number line, or some subset thereof, and the probability density of

x

is a function whose domain is the set of real numbers, and whose integral from

-infty

to

+infty

is unity. In directional statistics, the random variable

(\theta)

is distributed over the unit circle, and the probability density of

\theta

is a function whose domain is some interval of the real numbers of length

2\pi

and whose integral over that interval is unity. Just as the integral of the product of a Dirac delta function with an arbitrary function over the real-number line yields the value of that function at zero, so the integral of the product of a Dirac comb of period

2\pi

with an arbitrary function of period

2\pi

over the unit circle yields the value of that function at zero.

See also

References

Further reading

Notes and References

  1. Web site: The Dirac Comb and its Fourier Transform - DSPIllustrations.com . 2022-06-28 . dspillustrations.com.
  2. 1st ed. 1965, 2nd ed. 1978.
  3. .