In mathematics, a Dirac comb is a periodictempered distribution constructed from Dirac delta functions for some given period T. The symbol, where the period is omitted, represents a Dirac comb of unit period. Some authors, notably Bracewell, as well as some textbook authors in electrical engineering and circuit theory, refer to it as the Shah function. Because the Dirac comb function is periodic, it can be represented as a Fourier series: 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 Schwartz distributions, without any reference to Fourier series. Owing to 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.
Dirac-comb identity
The Dirac comb can be constructed in two ways, either by using the comb operator applied to the function that is constantly, or, alternatively, by using the rep operator applied to the Dirac delta. Formally, this yields where In signal processing, this property on one hand allows sampling a function by multiplication with, and on the other hand it also allows the periodization of by convolution with . 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 for positive real numbers, it follows that: Note that requiring positive scaling numbers instead of negative ones is not a restriction because the negative sign would only reverse the order of the summation within, which does not affect the result.
Fourier series
It is clear that is periodic with period. That is, for all t. The complex Fourier series for such a periodic function is where the Fourier coefficients are All Fourier coefficients are 1/T resulting in When the period is one unit, this simplifies to Remark: Most rigorously, Riemann or Lebesgue integration over any products including a Dirac delta function yields zero. For this reason, the integration above 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.
The Fourier transform of a Dirac comb is also a Dirac comb. This is evident when one considers that all the Fourier components add constructively whenever is an integer multiple of. Unitary transform to ordinary frequency domain : Notably, the unit period Dirac comb transforms to itself: The specific rule depends on the form of the Fourier transform used. When using a unitary transform of angular frequency, the rule is
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. 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. Since convolution with a delta function is equivalent to shifting the function by, convolution with the Dirac comb corresponds to replication or periodic summation: This leads to a natural formulation of the Nyquist–Shannon sampling theorem. If the spectrum of the function contains no frequencies higher than B then samples of the original function at intervals 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. In time domain, this "multiplication with the rect function" is equivalent to "convolution with the sinc function". 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.
In directional statistics, the Dirac comb of period 2 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 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 to is unity. In directional statistics, the random variable is distributed over the unit circle, and the probability density of θ is a function whose domain is some interval of the real numbers of length 2 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 with an arbitrary function of period 2 over the unit circle yields the value of that function at zero.