This is an old revision of this page, as edited by LaserDude2(talk | contribs) at 21:29, 12 January 2025(→Relation to the triangular function: Corrected the equation such that the convolution of two rectangular functions results in a triangle function of equal width as one of the rectangular functions.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 21:29, 12 January 2025 by LaserDude2(talk | contribs)(→Relation to the triangular function: Corrected the equation such that the convolution of two rectangular functions results in a triangle function of equal width as one of the rectangular functions.)
The rectangular function (also known as the rectangle function, rect function, Pi function, Heaviside Pi function,[1]gate function, unit pulse, or the normalized boxcar function) is defined as[2]
Alternative definitions of the function define to be 0,[3] 1,[4][5] or undefined.
For , its Fourier transform isNote that as long as the definition of the pulse function is only motivated by its behavior in the time-domain experience, there is no reason to believe that the oscillatory interpretation (i.e. the Fourier transform function) should be intuitive, or directly understood by humans. However, some aspects of the theoretical result may be understood intuitively, as finiteness in time domain corresponds to an infinite frequency response. (Vice versa, a finite Fourier transform will correspond to infinite time domain response.)
The pulse function may also be expressed as a limit of a rational function:
Demonstration of validity
First, we consider the case where Notice that the term is always positive for integer However, and hence approaches zero for large
It follows that:
Second, we consider the case where Notice that the term is always positive for integer However, and hence grows very large for large
It follows that:
Third, we consider the case where We may simply substitute in our equation:
We see that it satisfies the definition of the pulse function. Therefore,
Dirac delta function
The rectangle function can be used to represent the Dirac delta function.[11] Specifically,For a function , its average over the width around 0 in the function domain is calculated as,
To obtain , the following limit is applied,
and this can be written in terms of the Dirac delta function as,
The Fourier transform of the Dirac delta function is
where the sinc function here is the normalized sinc function. Because the first zero of the sinc function is at and goes to infinity, the Fourier transform of is
means that the frequency spectrum of the Dirac delta function is infinitely broad. As a pulse is shorten in time, it is larger in spectrum.