# 2.1: Fourier Series and Integrals, the Dirac Function

- Page ID
- 1648

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)We begin with a brief review of Fourier series. Any periodic function of interest in physics can be expressed as a series in sines and cosines—we have already seen that the quantum wave function of a particle in a box is precisely of this form. The important question in practice is, for an arbitrary wave function, how good an approximation is given if we stop summing the series after \(N\) terms. We establish here that the sum after \(N\) terms, \(f_N(\theta)\), can be written as a convolution of the original function with the function

\[ \delta_N(x)=(1/2\pi)(\sin(N+\dfrac{1}{2})x)/\sin\dfrac{1}{2}x \label{2.1.1} \]

that is,

\[ f_N(\theta)=\int\limits_{-x}^{x} \delta_N(\theta-\theta')f(\theta')d\theta' \label{2.1.2} \]

The structure of the function \(\delta_N(x)\) (plotted below), when put together with the function \(f(\theta)\), gives a good intuitive guide to how good an approximation the sum over \(N\) terms is going to be for a given function \(f(\theta)\). In particular, it turns out that step discontinuities are *never* handled perfectly, no matter how many terms are included. Fortunately, *true *step discontinuities never occur in physics, but this is a warning that it is of course necessary to sum up to some \(N\) where the sines and cosines oscillate substantially more rapidly than any sudden change in the function being represented.

We go on to the Fourier transform, in which a function on the *infinite* line is expressed as an integral over a *continuum* of sines and cosines (or equivalently exponentials \(e^{ikx}\)). It turns out that arguments analogous to those that led to \(\delta_N(x)\) now give a function \(\delta(x)\) such that

\[ f(x)=\int\limits_{-\infty}^{\infty} \delta(x-x')f(x')dx' \label{2.1.3} \]

Confronted with this, one might well wonder what is the point of a function \(\delta(x)\) which on convolution with \(f(x)\) gives back the same function \(f(x)\). The relevance of \(\delta(x)\) will become evident later in the course, when states of a quantum particle are represented by wave functions on the infinite line, like \(f(x)\), and operations on them involve integral operators similar to the convolution above. Working with operations on these functions is the continuum generalization of matrices acting on vectors in a finite-dimensional space, and \(\delta(x)\) is the infinite-dimensional representation of the unit matrix. Just as in matrix algebra the eigenstates of the unit matrix are a set of vectors that span the space, and the unit matrix elements determine the set of dot products of these basis vectors, the delta function determines the generalized inner product of a *continuum *basis of states. It plays an essential role in the standard formalism for continuum states, and you need to be familiar with it!

## Fourier Series

Any *reasonably smooth* real function \(f(\theta)\) defined in the interval \(-\pi<\theta\le\pi\) can be expanded in a Fourier series,

\[ f(\theta)=\dfrac{A_0}{2}+\sum_{n=1}^{\infty} (A_n\cos n\theta +B_n\sin n\theta) \label{2.1.4} \]

where the coefficients can be found using the orthogonality condition,

\[ \int\limits_{-\pi}^{\pi} \cos m\theta \cos n\theta d\theta=\pi\delta_{m,n} \label{2.1.5} \]

and the same condition for the \(\sin n\theta\)'s to give:

\[ A_n=\dfrac{1}{\pi}\int\limits_{-\pi}^{\pi} f(\theta)\cos n\theta d\theta \label{2.1.6} \]

\[ B_n=\dfrac{1}{\pi}\int\limits_{-\pi}^{\pi} f(\theta)\sin n\theta d\theta \label{2.1.7} \]

Note that for an *even* function, only the \(A_n\) are nonzero, for an odd function only the \(B_n\) are nonzero.

## How Smooth is “Reasonably Smooth”?

The number of terms of the series necessary to give a good approximation to a function depends on how rapidly the function changes. To get an idea of what goes wrong when a function is not “smooth”, it is instructive to find the Fourier sine series for the step function \[f(\theta)=-1 \;\; for \;\; -\pi<\theta\le0, \;\; f(\theta)=1 \;\; for \;\; 0<\theta\le\pi \label{2.1.8}\]

Using the expression for \(B_n\) above it is easy to find:

\[ f(\theta)=\dfrac{4}{\pi} \left( \sin\theta +\dfrac{\sin 3\theta}{3}+\dfrac{\sin 5\theta}{5}+... \right) \label{2.1.9} \]

Taking the first half dozen terms in the series gives:

Gibbs’ phenomenon

As we include more and more terms, the function becomes smoother but, surprisingly, *the initial overshoot at the step stays at a finite fraction of the step height*. However, the function recovers more and more rapidly, that is to say, the overshoot and “ringing” at the step take up less and less space. This overshoot is called *Gibbs’ phenomenon*, and only occurs in functions with discontinuities.

## How the Sum over *N* Terms is Related to the Complete Function

To get a clearer idea of how a Fourier series converges to the function it represents, it is useful to stop the series at *N* terms and examine how that sum, which we denote \(f_N(\theta)\), tends towards \(f(\theta)\).

So, substituting the values of the coefficients (Equation \ref{2.1.6} and \ref{2.1.7})

\[ A_n=\dfrac{1}{\pi}\int\limits_{-\pi}^{\pi} f(\theta)\cos n\theta d\theta \nonumber \]

\[ B_n=\dfrac{1}{\pi}\int\limits_{-\pi}^{\pi} f(\theta)\sin n\theta d\theta \nonumber\]

in the series (Equation \ref{2.1.4})

\[ f_N(\theta)=\dfrac{A_0}{2}+\sum_{n=1}^{N} (A_n\cos n\theta +B_n\sin n\theta) \nonumber \]

gives

\[ f_N(\theta)=\dfrac{1}{2\pi} \int\limits_{-\pi}^{\pi} f(\theta') d\theta' +\dfrac{1}{\pi}\sum_{n=1}^{N} \int\limits_{-\pi}^{\pi}(\cos n\theta\cos n\theta' +\sin n\theta\sin n\theta')f(\theta')d\theta'\]

\[=\dfrac{1}{2\pi} \int\limits_{-\pi}^{\pi} f(\theta') d\theta' +\dfrac{1}{\pi}\sum_{n=1}^{N} \int\limits_{-\pi}^{\pi}\cos n(\theta-\theta')f(\theta')d\theta' \label{2.1.10} \]

We can now use the trigonometric identity

\[ \sum_{n=1}^{N} \cos nx= \dfrac{\sin (N+\dfrac{1}{2})x}{2\sin\dfrac{1}{2}x} -\dfrac{1}{2} \label{2.1.11}\]

to find

\[ f_N(\theta)=\dfrac{1}{2\pi}\int\limits_{-\pi}^{\pi} \dfrac{\sin (N+\dfrac{1}{2})(\theta-\theta')}{\sin\dfrac{1}{2}(\theta-\theta')} f(\theta') d\theta'= \int\limits_{-\pi}^{\pi} \delta_N(\theta-\theta') f(\theta')d\theta' \label{2.1.12}\]

where

\[ \delta_N(x)= \dfrac{1}{2\pi} \dfrac{\sin (N+\dfrac{1}{2})x}{\sin\dfrac{1}{2}x} \label{2.1.13}\]

(Note that proving the trigonometric identity is straightforward: write \(z=e^{ix}\), so \(\cos nx=\dfrac{1}{2}(z^n+z^{-n})\), and sum the geometric progressions.)

Going backwards for a moment and writing

\[ \delta_N(x)= \dfrac{1}{\pi} \left(\sum_{n=1}^{N} \cos nx +\dfrac{1}{2} \right) \label{2.1.14}\]

it is easy to check that \[ \int\limits_{-\pi}^{\pi} \delta_N(x)dx=1 \label{2.1.15}\]

To help visualize \(\delta_N(\theta)\), here is \(N = 20\):

We have just established that the total area under the curve = 1, and it is clear from the diagram that almost all this area is under the central peak, since the areas away from the center are almost equally positive and negative. The width of the central peak is \(\pi/(N+\dfrac{1}{2})\), its height \((N+\dfrac{1}{2})/\pi\).

*Exercise*: for large \(N\), approximately how far down does it dip on the first oscillation? (\(N/\pi^2\))

For functions *varying slowly* compared with the oscillations, the convolution integral

\[ f_N(\theta)= \int\limits_{-\pi}^{\pi} \delta_N(\theta-\theta')f(\theta')d\theta' \label{2.1.16}\]

will give \(f_N(\theta)\) close to \(f(\theta)\), and for these functions \(f_N(\theta)\) will tend to \(f(\theta)\) as *N* increases.

It is also clear why convoluting this curve with a step function gives an overshoot and oscillations. Suppose the function \(f(\theta)\) is a step, jumping from 0 to 1 at \(\theta=0\) From the convolutionary form of the integral, you should be able to convince yourself that the value of \(f_N(\theta)\) at a point \(\theta\) is the total area under the curve \(\delta_N(\theta)\) to the *left* of that point (area below zero—that is, below the *x*-axis—of course counting negative). For \(\theta=0\) this must be exactly 0.5 (since all the area under \(\delta_N(\theta)\) adds to 1). *But *if we want the value of \(f_N(\theta)\) at \(\theta=\pi/(2N+1)\) (that is, the first point to the right of the origin where the curve cuts through the *x*-axis), we must *add* all the area to the left of \(\theta=\pi/(2N+1)\), which actually adds up to a total area greater than one, since the leftover area to the right of that point is overall negative. That gives the overshoot.

## A Fourier Series in Quantum Mechanics: Electron in a Box

The time-independent Schrödinger wave functions for an electron in a box (here a one-dimensional square well with infinite walls) are just the sine and cosine series determined by the boundary conditions. Therefore, any reasonably smooth initial wavefunction describing the electron can be represented as a Fourier series. The time development can then be found be multiplying each term in the series by the appropriate time-dependent phase factor.

Exercise \(\PageIndex{1}\)

Prove that for a function \(f(\theta)= \sum_{n=-\infty}^{\infty} a_n e^{in\theta} \), with the \(a_n\) in general complex,

\[ \dfrac{1}{2\pi} \int\limits_{-\pi}^{\pi} |f(\theta)|^2 d\theta= \sum_{n=-\infty}^{\infty} |a_n|^2 \label{2.1.17}\]

The physical relevance of this result is as follows: for an electron confined to the circumference of a ring of unit radius, \(\theta\) is the position of the electron. An orthonormal basis of states of the electron on this ring is the set of functions \((1/\sqrt{2\pi})e^{in\theta}\) with \(n\) an integer, a correctly normalized superposition of these states must have \(\sum_{n=-\infty}^{\infty} |a_n|^2=1\), so that the total probability of finding the electron in some state is unity. But this must also mean that the total probability of finding the electron anywhere on the ring is unity—and that’s the left-hand side of the above equation—the \(2\pi\)'s cancel.

## Exponential Fourier Series

In the previous lecture, we discussed briefly how a Gaussian wave packet in *x*-space could be represented as a continuous linear superposition of plane waves that turned out to be another Gaussian wave packet, this time in *k*-space. The plan here is to demonstrate how we can arrive at that representation by carefully taking the limit of the well-defined Fourier series, going from the finite interval \((-\pi,\pi)\) to the whole line, and to outline some of the mathematical problems that arise, and how to handle them.

The first step is a trivial one: we need to generalize from real functions to complex functions, to include wave functions having nonvanishing current. A smooth *complex* function can be written in a Fourier series simply by allowing \(A_n\) and \(B_n\) to be complex, but in this case a more natural expansion would be in powers of \(e^{i\theta},e^{-i\theta}\)

We write:

\[f(\theta)=\sum_{n=-\infty}^{\infty}a_ne^{in\theta}\;\; with\;\; a_n=\dfrac{1}{2\pi}\int\limits_{-\pi}^{\pi}e^{-in\theta'} f(\theta')d\theta' \label{2.1.18}\]

and retracing the above steps \[ f_N(\theta)=\dfrac{1}{2\pi}\int\limits_{-\pi}^{\pi}\sum_{n=-N}^{N}e^{in(\theta-\theta')}f(\theta')d\theta'=\dfrac{1}{2\pi}\int\limits_{-\pi}^{\pi} f(\theta')d\theta' +\dfrac{1}{\pi}\int\limits_{-\pi}^{\pi}\sum_{n=1}^{N}\cos n(\theta-\theta')f(\theta')d\theta' \label{2.1.19}\]

exactly the same expression as before, therefore giving the same \(\delta_N(\theta)\). This isn’t surprising, because using \(\cos n\theta=\dfrac{1}{2}(e^{in\theta}+e^{-in\theta}),\:\sin n\theta=\dfrac{1}{2i}(e^{in\theta}-e^{-in\theta})\) the first \(N\) terms in \(A_n,\; B_n\) can simply be rearranged to a sum over \(e^{in\theta}\) terms for \(-N\le n\le N\).

## Electron out of the Box: the Fourier Transform

To break down a *wave packet *into its plane wave components, we need to extend the range of integration from the \((-\pi,\pi)\) used above to \((-\infty,\infty)\). We do this by first rescaling from \((-\pi,\pi)\) to \((-L/2,L/2)\) and then taking the limit \(L\rightarrow\infty\).

Scaling the interval from \(2\pi\) to \(L\) (in the complex representation) gives:

\[f(x)=\sum_{n=-\infty}^{\infty}a_ne^{2\pi inx/L}\;\; where\;\; a_n=\dfrac{1}{L}\int\limits_{-L/2}^{L/2}f(x)e^{-2\pi inx/L}dx \label{2.1.20}\]

the sum in \(n\) being over all integers. This is an expression for \(f (x)\) in terms of plane waves \(e^{ikx}\) where the allowed \(k\)’s are \(2\pi n/L\), with \(n = 0, \pm 1, \pm 2, …\)

Retracing the steps above in the derivation of the function \(\delta_N(x)\), we find the equivalent function to be \[ \delta_N^L(x)=\dfrac{1}{L} \left(1+2\sum_{n=1}^N \cos\dfrac{2\pi nx}{L} \right)=\dfrac{\sin((2N+1)\pi x/L)}{L\sin(\pi x/L)} \label{2.1.21}\]

Studying the expression on the right, it is evident that *provided *\(N\)* is much greater than *\(L\), this has the same peaked-at-the-origin behavior as the \(\delta_N(x)\) we considered earlier. *But* we are interested in the limit \(L\rightarrow\infty\), and there—for fixed \(N\)—this function \(\delta_N^L(x)\) is low and flat.

**Therefore, we must take the limit N going to infinity before taking L going to infinity.**

This is what we do in the rest of this section.

Provided \(L\) is finite, we still have a Fourier series, representing a function of period \(L\). Our main interest in taking \(L\) infinite is that we would like to represent a *nonperiodic* function, for example a localized wave packet, in terms of plane-wave components.

Suppose we have such a wave packet, say of length \(L_1\), by which we mean the wave is exactly zero outside a stretch of the axis of length \(L_1\). Why not just express it in terms of an infinite \(N\) Fourier series based on some large interval \( (-L/2,L/2)\) provided the wave packet length \(L_1\) is completely inside this interval? The point is that such an analysis would indeed accurately reproduce the wave packet inside the interval, but the *same* sum of plane waves evaluated *over all the x-axis* would reveal an* infinite string* of identical wave packets \(L\) apart! This is not what we want.

As a preliminary to taking \(L\) to infinity, let us write the exponential plane wave terms in the standard \(k\)-notation,

\[ e^{2\pi inx/L}=e^{ik_nx} \label{2.1.22}\]

So we are summing over an (infinite \(N\)) set of plane waves having wave number values

\[ k_n=2\pi n/L \; ,\; n = 0, \pm 1, \pm 2, … \label{2.1.23}\],

a set of equally-spaced \(k\)’s with separation \(\Delta k=2\pi/L\).

Consider now what happens if we *double* the basic interval from \((-L/2,L/2)\) to \((-L,L)\).

The new allowed \(k\) values are \(k_n=\pi n/L \; ,\; n = 0, \pm 1, \pm 2, …\), so the separation is now \(\Delta k=\pi/L\), *half* of what it was before. It is evident that as we increase \(L\), the spacing between successive \(k_n\) values gets less and less.

Going back to the interval of length \(L\), writing \(La_n=a(k_n), \; k_n=2\pi n/L\) we have

\[ f(x)=\sum_{n=-\infty}^{\infty} a_ne^{2\pi in x/L}=\dfrac{1}{L} \sum_{n=-\infty}^{\infty} a(k_n)e^{ik_nx} \label{2.1.24}\]

Recall that the Riemann integral can be defined by

\[ \int f(k)dk=\lim_{\Delta k\rightarrow 0}\sum f(k_n)\Delta k \label{2.1.25}\]

with \(k_n=n\Delta k \; ,\; n = 0, \pm 1, \pm 2, …\).

The expression on the right-hand side of the equation for \(f(x)\) has the same form as the right-hand side of the Riemann integral definition, and here \(\Delta k=2\pi/L\).

That is to say, \[2\pi f(x)=\dfrac{2\pi}{L}\sum_{n=-\infty}^{\infty} a(k_n) e^{ik_nx}=\sum_{n=-\infty}^{\infty} a(k_n) e^{ik_nx}\Delta k=\int\limits_{-\infty}^{\infty} a(k)e^{ikx}dk \label{2.1.26}\]

in the limit \(\Delta k\rightarrow 0\), or equivalently \(L\rightarrow\infty\). We are of course assuming here that the function \(a(k_n)\), which we have only defined (for a given \(L\)) on the set of points \(k_n\), tends to a continuous function \(a(k)\)in the limit \(L\rightarrow\infty\).

It follows that in the infinite \(L\) limit, we have the *Fourier transform* equations:

\[ f(x)=\dfrac{1}{2\pi}\int\limits_{-\infty}^{\infty} a(k)e^{ikx}dk \;\; and \;\; a(k)=\lim_{L\rightarrow \infty} La_n=\lim_{L\rightarrow \infty}\int\limits_{-L/2}^{L/2} f(x)e^{-2\pi inx/L}dx=\int\limits_{-\infty}^{\infty} f(x)e^{-ikx}dx \label{2.1.27}\]

## Dirac’s Delta Function

Now we have taken both \(N\) and \(L\) to infinity, what has happened to our function \(\delta_N^L(x)\)? Remember that our procedure for finding \(f_N(\theta)\) in terms of \(f(\theta)\) gave the equation

\[f_N(\theta)=\dfrac{1}{2\pi} \int\limits_{-\pi}^{\pi} f(\theta') d\theta' +\dfrac{1}{\pi} \int\limits_{-\pi}^{\pi} \sum_{n=1}^{N} \cos n(\theta-\theta')f(\theta')d\theta' \label{2.1.10} \]

and from this we found \(\delta_N(\theta)\).

Following the same formal procedure with the \((L=\infty)\) Fourier transforms, we are forced to take \(N\) infinite (recall the procedure only made sense if \(N\) was taken to infinity before \(L\)), so in place of an equation for \(f_N(\theta)\) in terms of \(f(\theta)\), we get an equation for \(f (x)\) in terms of itself! Let’s write it down first and think afterwards:

\[f(x)=\dfrac{1}{2\pi}\int\limits_{-\infty}^{\infty} \left( \int\limits_{-\infty}^{\infty} f(x')e^{-ikx'}dx' \right) e^{ikx}dk=\int\limits_{-\infty}^{\infty} \left( \int\limits_{-\infty}^{\infty} \dfrac{dk}{2\pi}e^{ik(x-x')} \right) f(x')dx' \label{2.1.28}\]

In other words, \[ f(x)= \int\limits_{-\infty}^{\infty} \delta(x-x')f(x')dx' \label{2.1.29}\]

where \[ \delta(x)=\int\limits_{-\infty}^{+\infty} \dfrac{dk}{2\pi}e^{ikx} \label{2.1.30}\]

This is the *Dirac delta function*. This hand-waving approach has given a result which is not clearly defined. This integral over *x* is linearly divergent at the origin, and has finite oscillatory behavior everywhere else. To make any progress, we must provide some form of cutoff in *k*-space, then perhaps we can find a meaningful limit by placing the cutoff further and further away.

From our arguments above, we should be able to recover \(\delta(x)\) as a limit of \(\delta_N^L(x)\) by first taking \(N\) to infinity, then \(L\). That is to say,

\[\delta(x)=\lim_{L\rightarrow\infty}\left(\lim_{N\rightarrow\infty}\delta_N^L(x)\right) =\lim_{L\rightarrow\infty}\left( \lim_{N\rightarrow\infty}\dfrac{\sin((2N+1)\pi x/L)}{L\sin(\pi x/L)} \right) \label{2.1.31}\]

A way to understand this limit is to write \(M=(2N+1)\pi/L\) and let \(M\) go to infinity before \(L\). (This means as we take \(L\) large on its way to infinity, we’re taking \(N\) far larger!)

So the numerator is just \(\sin Mx\). In the limit of infinite \(L\), for any finite \(x\) the denominator is just \(\pi x\), since \(\sin\theta =\theta\) in the limit of small \(\theta\).

From this,

\[ \delta(x)=\lim_{M\rightarrow\infty} \dfrac{\sin Mx}{\pi x} \label{2.1.32}\]

This is still a rather pathological function, in that it is oscillating more and more quickly as the infinite limit is taken. This comes about from the abrupt cutoff in the sum at the frequency \(N\).

To see how this relates to the (also ill-defined) \(\delta(x)=\int\limits_{-\infty}^{+\infty}(dk/2\pi)e^{ikx}\), recall \(\delta_N^L(x)\) came from the series

\[ \delta_N^L(x)=\dfrac{\sin(2N+1)\pi x/L}{L\sin\pi x/L}=\dfrac{1}{L}\left( 1+2\sum_{n=1}^N \cos\dfrac{2\pi nx}{L} \right) \label{2.1.33}\]

Expressing the cosine in terms of exponentials, then replacing the sum by an integral in the large \(N\) limit, in the same way we did earlier, writing \(k_n=2\pi n/L\), so the interval between successive \(k_n\)'s is \(\Delta k=2\pi/L\), so \(\int f(k)dk\ \cong (2\pi/L)\sum f(k_n)\):

\[ \delta_N^L(x)=\dfrac{1}{L}\sum_{n=-N}^N e^{2\pi in/L} \cong \int\limits_{-2\pi N/L}^{2\pi N/L}\dfrac{dk}{2\pi}e^{ikx} =\dfrac{\sin (2\pi Nx/L)}{\pi x} \label{2.1.34}\]

So it is clear that we’re defining the \(\delta(x)\) as a limit of the integral \(\int\limits_{-2\pi N/L}^{2\pi N/L}(dk/2\pi)e^{ikx}\), which is abruptly cut off at the large values \(\pm (2\pi N/L)\). In fact, this is not very physical: a much more realistic scenario for a *real* wave packet would be a *gradual diminution* in contributions from high frequency (or short wavelength) modes—that is to say, a *gentle* cutoff in the integral over \(k\) that was used to replace the sum over \(n\). For example, a reasonable cutoff procedure would be to multiply the integrand by \(exp(-\Delta^2k^2)\), then take the limit of small \(\Delta\).

Therefore a more reasonable definition of the delta function, from a physicist’s point of view, would be

\[ \delta(x)=\lim_{\Delta\rightarrow 0}\int\limits_{-\infty}^{\infty}\dfrac{dk}{2\pi}e^{ikx}e^{-\Delta^2 k^2}=\lim_{\Delta\rightarrow 0} \dfrac{1}{(4\pi\Delta^2)^{1/2}}e^{-x^2/4\Delta^2}=\lim_{\Delta\rightarrow 0} \delta_{\Delta}(x) \label{2.1.35}\]

That is to say, the delta function can be defined as the “narrow limit” of a Gaussian wave packet with total area 1. Unlike the function \(\delta_N(\theta)\), \(\delta_{\Delta}(x)\) has no oscillating sidebands, thanks to our smoothing out of the upper *k*-space cutoff, so step discontinuities do not generate Gibbs’ phenomenon overshoot—instead, a step will be smoothed out over a distance of order \(\Delta\).

## Properties of the Delta Function

It is straightforward to verify the following properties from the definition as a limit of a Gaussian wavepacket:

\[ \int \delta(x)dx=1, \; \delta(x)=0 \; for \; x\neq 0 \label{2.1.36}\]

\[ \delta(x)=\delta(-x), \; \delta(ax)=\dfrac{1}{|a|}\delta(x) \label{2.1.37}\]

\[ \int \delta(a-x)\delta(x-b)dx=\delta(a-b) \label{2.1.38}\]

## Yet Another Definition, and a Connection with the Principal Value Integral

There is no unique way to define the delta function, and other cutoff procedures can give useful insights. For example, the *k*-space integral can be split into two and simple exponential cutoffs applied to the two halves, that is, we could take the definition to be \[ \delta(x)= \lim_{\varepsilon\rightarrow 0}\left( \int\limits_{-\infty}^{0}\dfrac{dk}{2\pi}e^{ikx}e^{\varepsilon k}+\int\limits_{0}^{\infty}\dfrac{dk}{2\pi}e^{ikx}e^{-\varepsilon k} \right) \label{2.1.39}\]

Evaluating the integrals,

\[ \delta(x)=\lim_{\varepsilon\rightarrow 0}\dfrac{1}{2\pi} \left(\dfrac{1}{ix+\varepsilon}-\dfrac{1}{ix-\varepsilon}\right)=\lim_{\varepsilon\rightarrow 0}\dfrac{1}{\pi}\left(\dfrac{\varepsilon}{x^2+\varepsilon^2}\right) \label{2.1.40}\]

It is easy to check that this function is correctly normalized by making the change of variable \(x=\varepsilon\tan\theta\) and integrating from \(-\pi/2\) to \(\pi/2\). This representation of the delta function will prove to be useful later. Note that regarded as a function of a complex variable, the delta function has two poles on the pure imaginary axis at \(z=\pm i\varepsilon\).

The standard definition of the principal value integral is:

\[ \int\limits_{-D}^{D}f(x)\dfrac{P}{x}dx=\lim_{z\rightarrow 0}\left(\int\limits_{-D}^{-z}\dfrac{f(x)}{x}dx+\int\limits_{z}^{D}\dfrac{f(x)}{x}dx\right) \label{2.1.41}\]

It is not difficult to see that for a continuous differentiable function \(f(x)\) this is equivalent to

\[ \int\limits_{-D}^{D}f(x)\dfrac{P}{x}dx=\lim_{z\rightarrow 0}\int\limits_{-D}^{D}f(x)\dfrac{x}{x^2+\varepsilon^2}dx \label{2.1.42}\]

Therefore the principal value operator can be written symbolically:

\[\dfrac{P}{x}=\lim_{z\rightarrow 0}\dfrac{x}{x^2+\varepsilon^2}=\lim_{z\rightarrow 0}\dfrac{1}{2}\left(\dfrac{1}{x+i\varepsilon}+\dfrac{1}{x-i\varepsilon}\right) \label{2.1.43}\]

Putting this together with the similar representation of the delta function above, and taking the limit of \(\varepsilon\rightarrow 0\) _{} to be understood, we have the useful result:

\[ \dfrac{1}{x\pm i\varepsilon}=\dfrac{P}{x}\mp i\pi\delta(x) \label{2.1.44}\]

## Exercises

1. Prove **Parseval’s Theorem**: \[ If \;\; f(x)=\int_{-\infty}^{\infty} \dfrac{dk}{2\pi}a(k)e^{ikx}, \;\; then\;\; \int_{-\infty}^{\infty}|f(x)|^2dx=\int_{-\infty}^{\infty} \dfrac{dk}{2\pi}|a(k)|^2. \label{2.1.45}\]

2. Prove the rule for the Fourier Transform of a **convolution** of two functions:

\[ If \;\; f(x)=\int_{-\infty}^{\infty} \dfrac{dk}{2\pi}a(k)e^{ikx},\;\; g(x)=\int_{-\infty}^{\infty} \dfrac{dk'}{2\pi}b(k')e^{ik'x},\;\; then\;\; \int_{-\infty}^{\infty} f(x-x')g(x')dx'=\int_{-\infty}^{\infty} \dfrac{dk}{2\pi}a(k)b(k)e^{ikx} \label{2.1.46}\]

## Contributor

- Michael Fowler (Beams Professor, Department of Physics, University of Virginia)