A.26 Discrete and Continuous-Time Impulses
A.26.1 Discrete-time impulse function
The discrete-time impulse function , also called unit impulse and Kronecker’s delta, is a sequence that has amplitude equals to one at and zero otherwise. When is multiplied by another (arbitrary) sequence , the result can be denoted by , indicating that is the only non-zero value of the new sequence. Hence, allows to analyze (or “sift”) when . Delaying the impulse by samples (the amplitude is one only at now) and multiplying by , one obtains
| (A.120) |
The capability of “sifting”23 a signal using impulses is very useful as discussed in Section 1.3.4. The continuous-time version of is discussed in the sequel. Many properties are shared by and , but is more mathematically involved.
A.26.2 Why defining the continuous-time impulse? Some motivation
Before describing its mathematical properties, some motivation for using continuous-time impulses, also called Dirac’s delta, is presented.
A good motivation for the impulse is the representational power of impulses in “density functions”. In many situations it is useful to represent properties of discrete variables using densities. For example, how could one represent the discrete random variable (r. v.) corresponding to the result of a dice roll as a continuous r.v. and use a probability density function (PDF) instead of a probability mass function (PMF)? An impulse is capable of representing some “mass probability” in a PDF! Figure A.35 indicates the handy representation provided by impulses with areas equal to .
For illustrative purposes, it is common to plot an impulse with the arrow length proportional to its area as in Figure A.35, but one should not take the area as the amplitude value. The amplitude is not defined because it goes to infinite.
A.26.3 Definition of the continuous-time impulse as a limit
The impulse can be obtained by considering a pulse of duration and amplitude :
| (A.121) |
Note that the area of is always 1 and, as goes to 0, its amplitude goes to . It is also possible to obtain as the limit of other functions, such as a Gaussian (see, e.g., [ urlBMimp]).
A.26.4 Continuous-time impulse is a distribution, not a function
It is tricky to deal with continuous-time impulses because they are not functions [Can21], but generalized functions [ urlBMdis].
Impulses can be manipulated via linear operations such as derivative and integral, but nonlinear operations or transformations such as and cannot be defined to have the usual properties and require specific algebras such as Colombeau’s [ urlBMcol].
While is not a function, in some signal processing tasks it may be manipulated as such. In contrast, the discrete-time impulse has no mathematical difficulties in its definition or manipulation. It is a regular sequence that has all 0 amplitude for all values of but , which has amplitude 1. In other words, while the amplitude of is not defined (infinite), in discrete-time the amplitude is simply .
A.26.5 Mathematical properties of the continuous-time impulse
Sifting property
The sifting property of Eq. (A.120) also applies in continuous-time. This property states that multiplying by a continuous-time impulse results in that is non-zero only at and is the area of the impulse at .
The sifting property is typically quoted as
| (A.122) |
when one wants to emphasize that is a scalar and there is no more connection to time in this case. It is also possible to write
when one wants to emphasize that Eq. (A.122) can be repeatedly invoked, for all values of (represented as in this case) and recover the complete signal .
In most applications of the sifting property, the integral is not used and the property is quoted as
which can be interpreted as: when a function is multiplied by an impulse at , all values of other than become zero and non-relevant, such that the final result is a single impulse of area located at .
Scaling property
Assuming is a non-zero scalar, the scaling property of the impulse is
For example,
The scaling property is important to understand the different areas of impulses when using Hz or rad/s as the unit for frequency (the independent variable). For example, the Fourier transform of a cosine of frequency 3 Hz and amplitude 10 is represented by
or, equivalently,
The areas are different by a factor of for and because and, by the scaling property, . This can cause some confusion because when there are no impulses involved, it is trivial to convert a graph from to or vice-versa by scaling the abscissa (e. g., multiplying by when converting from to ). However, all impulses should be scaled when the abscissa is modified.
A.26.6 Convolution with an impulse
When a signal is convolved with an impulse , the rule of thumb is to shift the origin of to and scale it by the area of the impulse. Mathematically:
This is similar to in discrete-time, but in discrete-time the scaling is by an amplitude , not area.
A.26.7 Applications of the impulse
Complementing the example in Figure A.35, which used impulses to indicate mass probabilities represented as probability densities, one should notice that impulses are also used in “densities” when dealing with a Fourier transform . As indicated in Table 2.5, if is in volts, has units of volts/Hz. Hence, if is periodic and has a representation as a Fourier series (analogous to a PMF), one can use impulses to represent the spectrum of as a Fourier transform (analogous to using a PDF when the random variable is discrete and could be represented by a PMF).
Another example illustrates the importance of distinguishing the amplitude and area of a continuous-time impulse. As discussed in Section 1.10.1, the autocorrelation of a power signal at the origin is the average power. For AWGN with bilateral PSD , as indicated in Eq. (4.40), the power is infinite and its autocorrelation at the origin is an impulse with area . In other words, looking carelessly at the autocorrelation one could think that the average power is , but in fact .