3.5.12 Generalized Functions and Related Objects
In many practical situations it is convenient to consider limits in which a fixed amount of something is concentrated into an infinitesimal region. Ordinary mathematical functions of the kind normally encountered in calculus cannot readily represent such limits. However, it is possible to introduce generalized functions or distributions which can represent these limits in integrals and other types of calculations.
Dirac delta and unit step functions.
Here is a function concentrated around .
As gets larger, the functions become progressively more concentrated.
For any , their integrals are nevertheless always equal to 1.
The limit of the functions for infinite is effectively a Dirac delta function, whose integral is again 1.
DiracDelta evaluates to 0 at all real points except .
Inserting a delta function in an integral effectively causes the integrand to be sampled at discrete points where the argument of the delta function vanishes.
This samples the function f with argument 2.
Here is a slightly more complicated example.
This effectively counts the number of zeros of in the region of integration.
The unit step function UnitStep[x] is effectively the indefinite integral of the delta function. It is sometimes known as the Heaviside function, and is variously denoted , , , and . It does not need to be considered as a generalized function, though it has a discontinuity at . The unit step function is often used in setting up piecewise continuous functions, and in representing signals and other quantities that become non-zero only beyond some point.
The indefinite integral of the delta function is the unit step function.
This generates a square wave.
Here is the integral of the square wave.
The value of the integral depends on whether lies in the interval .
DiracDelta and UnitStep often arise in doing integral transforms.
The Fourier transform of a constant function is a delta function.
The Fourier transform of involves the sum of two delta functions.
Dirac delta functions can be used in DSolve to find the impulse response or Green's function of systems represented by linear and certain other differential equations.
This finds the behavior of a harmonic oscillator subjected to an impulse at .
Multidimensional Dirac delta and unit step functions.
Related to the multidimensional Dirac delta function are two integer functions: discrete delta and Kronecker delta. Discrete delta is 1 if all the , and is zero otherwise. Kronecker delta is 1 if all the are equal, and is zero otherwise.
Integer delta functions.