The Dirac Delta Function Overview and Motivation: The Dirac Delta Function Is A Concept That Is Useful
The Dirac Delta Function Overview and Motivation: The Dirac Delta Function Is A Concept That Is Useful
Overview and Motivation: The Dirac delta function is a concept that is useful
throughout physics. For example, the charge density associated with a point charge
can be represented using the delta function. As we will see when we discuss Fourier
transforms (next lecture), the delta function naturally arises in that setting.
I. Introduction
The basic equation associated with the Dirac delta function δ (x ) is
n
g n (x ) =
2
e − nx . (2)
π
∫ g (x)dx = 1
−∞
n (3)
for any value of n (>0). Let's now consider the sequence of functions for
n = 1, 2, 3,K ,
1 2 100
g1 ( x ) = e − x , g 2 (x ) = e − 2 x , … , g100 ( x ) =
2 2 2
e −100 x , … (4)
π π π
What does this sequence of functions look like? We can summarize this sequence as
follows. As n increases
20
n=1
n=4
n = 16
n = 64
15 n = 256
gn(x)
10
0
2 1 0 1 2
Let's now ask ourselves, what does the n = ∞ limit of this sequence look like? Based
on (a) through (d) above we would (perhaps simplistically) say
(a) g ∞ (0) = ∞ ;
(b) g n (x ≠ 0 ) = 0 ;
(c) the width of the center peak equals zero;
Note that (a) and (b) are not compatible with (d) if g ∞ ( x) is a function in the standard
sense, because for a function (a) and (b) would imply that the integral of g ∞ ( x) is zero.
So how should we think of this sequence of functions, then? Well, the sequence is
only really useful if it appears as part of an integral, as in, for example,
∞ ∞
Let's calculate the integral, and then the limit in Eq. (5). The following figure should
help with the calculation.
15
g256(x)
f(x)
10
gn(x), f(x)
0
2 1 0 1 2
As n get large, g n (x ) = πn e − nx becomes narrower such that it only has weight very
2
close to x = 0 . Thus, as far as the integral is concerned, for large enough n only f (x )
at x = 0 is important. We can thus replace f (x ) by f (0) in the integral, which gives us
∞ ∞
∫ − nx 2
f ( x ) dx = f (0 ) lim
∫ e − nx dx = f (0) lim 1 = f (0) (6)
2
lim n
π e n
π
n →∞ n →∞ n →∞
−∞ −∞
Thus, the integral on the lhs of Eq. (1) is really shorthand for the integral on the lhs of
Eq. (6), That is, the Dirac delta function is defined via the equation
∞ ∞
∫ δ ( x ) f ( x ) dx = lim
∫ e − nx f ( x ) dx (7)
n 2
n →∞ π
−∞ −∞
δ (x ) = lim e − nx , (8)
n 2
n →∞
π
but this is simply shorthand for Eq. (7). Eq. (8) really has no meaning unless the
2
function πn e − nx appears inside an integral and the limit lim appears outside the same
n →∞
integral. However, after you get used to working with the delta function, you will
rarely need to even think about the limit that is used to define it.
have used here is not unique. There are infinitely many sequences that can be used to
define the delta function. For example, we could also have defined δ (x ) via
1 sin (nx )
δ ( x ) = lim . (9)
n →∞ π x
The sequence of functions sin (nx ) (π x ) is illustrated in the figure at the top of the
next page.
Notice that the key features of both of these two difference sequences are expressed
by (a) – (d) at the top of page 5.
n=1
n=4
25
n=8
n = 16
n = 32
20
sin(nx)/(pi*x)
15
10
0
4 2 0 2 4
δ (x a ) = a δ (x ) (12)
The proof of Eq. (10) is relatively straightforward. Let's change the integration
variable to y = x − x′ , dy = dx , which gives
∞ ∞
Then using Eq. (1), we see that Eq. (10) is simply equal to f (x′) . QED.
Let's also prove Eq. (12). We do this in two steps, for a > 0 and then for a < 0 .
(i) First, we assume that a > 0 . Then
∞ ∞
∫ δ (x a )dx = ∫ δ (x a )dx
−∞ −∞
(14)
∞ ∞
∫ δ (x a )dx = a ∫ δ ( y )dy
−∞ −∞
(15)
∞ ∞
∫ δ (x a )dx = a ∫ δ (x)dx
−∞ −∞
(16)
∫ δ (x a )dx = ∫ δ (− x a )dx
−∞ −∞
(17)
∞ −∞
∫ δ (x a )dx = − a ∫ δ ( y )dy
−∞ ∞
∞
∫
= a δ ( y ) dy
−∞
(18)
∞
∫
= a δ ( x ) dx
−∞
f (x ) = ∑c e
n = −∞
n
i nπx L
, (19a)
L
1
∫ f (x ) e
− inπx L
cn = dx . (19b)
2L
−L
Let's now substitute cn from Eq. (19b) into Eq. (19a). Before we do this we must
change the variable x in either Eq. (19a) or (19b) to something else because the
variable x in Eq. (19b) is just a (dummy) integration variable. Changing x to x′ in Eq.
(19a) and doing the substitution we end up with
∞ 1 L
f ( x′ ) = ∑
n = −∞ 2 L − L
f ( x ) e − inπx L dx ei nπx ′ L
∫
(20)
Let's now switch the integration and summation (assuming that this is OK to do).
This produces
L
1 ∞
f ( x ′) =
∫ ∑
−L
2L
n = −∞
e i nπ ( x′− x ) L f ( x ) dx
(21)
If we now compare Eq. (21) to Eq. (10), we see that we can identify another
representation of the delta function
∞
∑
1
δ ( x − x′ ) = e i nπ ( x′− x ) L (22)
2 L n = −∞
or setting x′ = 0 we have
∞
∑
1
δ (x ) = e −i nπx L (23)
2 L n = −∞
So how is this equation related to the delta function being defined as the limit of a
sequence of functions? Well, we can re-express Eq. (23) as a sequence of functions via
∑
1
δ ( x ) = lim e −i nπx L . (24)
m →∞ 2 L
n=− m
∑
1
The following figure plots e −i nπx L for several values of m (for L = 2 ). Notice
2 L n=− m
that these functions are quite similar to the function sin (mx ) (π x ) plotted above. 1
m=2
40 m=4
m=8
m = 16
m = 32
30
Sum[exp(i*n*pi*x/l)]
20
10
0
2 1 0 1 2
However, there is one important difference between these two sequences of functions.
Because the functions e −i nπx L that appear in the sum in Eqs. (23) and (24) all repeat
with on an interval of length 2 L , Eq. (24) is actually a series of delta functions,
centered at x = 0, ± 2 L, ± 4 L, ± 6 L,K . This is illustrated in the next figure, where we
have expanded the x axis beyond the limits of − L to L . Thus, the equality expressed
by Eq. (23) or (24) is only valid on the interval − L ≤ x ≤ L .
1
We have changed the n to m in the sin (nx ) (π x ) functions because we are now using m to label the
functions in the sequence.
m=2
40 m=4
m=8
m = 16
m = 32
30
Sum[exp(i*n*pi*x/l)]
20
10
0
6 4 2 0 2 4 6
Exercises
∞
*15.1 Equation (11), ∫ δ ′(x) f (x)dx = − f ′(0) , can be taken as the definition of the
−∞
derivative of the delta function. Treating the delta function as a normal function,
show that Eq. (11) is true. (Hint: use integration by parts.)
m
∑
1
*15.2 Show that the equation δ (x ) = mlim
→∞ 2 L
e −i nπx L can be re-expressed as
n=− m
m
nπx
∑
1
δ ( x ) = lim cos . This is perhaps more appealing because the delta function
m →∞ 2 L
n=− m L
is a real function and the rhs is now explicitly real.
*15.3 Find another sequence of functions, not based on either the Gaussian or
sin ( x ) x functions, that has as its limit the delta function.