# Diffraction formalism

Diffraction processes affecting waves are amenable to quantitative description and analysis. Such treatments are applied to a wave passing through one or more slits whose width is specified as a proportion of the wavelength. Numerical approximations may be used, including the Fresnel and Fraunhofer approximations.

Waves propagating through a slit one wavelength wide.
Waves propagating through a slit six wavelengths wide.

## General diffraction

Because diffraction is the result of addition of all waves (of given wavelength) along all unobstructed paths, the usual procedure is to consider the contribution of an infinitesimally small neighborhood around a certain path (this contribution is usually called a wavelet) and then integrate over all paths (= add all wavelets) from the source to the detector (or given point on a screen).

Thus in order to determine the pattern produced by diffraction, the phase and the amplitude of each of the wavelets is calculated. That is, at each point in space we must determine the distance to each of the simple sources on the incoming wavefront. If the distance to each of the simple sources differs by an integer number of wavelengths, all the wavelets will be in phase, resulting in constructive interference. If the distance to each source is an integer plus one half of a wavelength, there will be complete destructive interference. Usually, it is sufficient to determine these minima and maxima to explain the observed diffraction effects.

The simplest descriptions of diffraction are those in which the situation can be reduced to a two-dimensional problem. For water waves, this is already the case, as water waves propagate only on the surface of the water. For light, we can often neglect one dimension if the diffracting object extends in that direction over a distance far greater than the wavelength. In the case of light shining through small circular holes we will have to take into account the full three-dimensional nature of the problem.

Several qualitative observations can be made of diffraction in general:

• The angular spacing of the features in the diffraction pattern is inversely proportional to the dimensions of the object causing the diffraction. In other words: the smaller the diffracting object, the wider the resulting diffraction pattern, and vice versa. (More precisely, this is true of the sines of the angles.)
• The diffraction angles are invariant under scaling; that is, they depend only on the ratio of the wavelength to the size of the diffracting object.
• When the diffracting object has a periodic structure, for example in a diffraction grating, the features generally become sharper. The fourth figure, for example, shows a comparison of a double-slit pattern with a pattern formed by five slits, both sets of slits having the same spacing between the center of one slit and the next.

## Approximations

The problem of calculating what a diffracted wave looks like, is the problem of determining the phase of each of the simple sources on the incoming wave front. It is mathematically easier to consider the case of far-field or Fraunhofer diffraction, where the point of observation is far from that of the diffracting obstruction, and as a result, involves less complex mathematics than the more general case of near-field or Fresnel diffraction. To make this statement more quantitative, let us consider a diffracting object at the origin that has a size ${\displaystyle \ a}$. For definiteness let us say we are diffracting light and we are interested in what the intensity looks like on a screen a distance ${\displaystyle \ L}$ away from the object. At some point on the screen the path length to one side of the object is given by the Pythagorean theorem

${\displaystyle S={\sqrt {L^{2}+(x+a/2)^{2}}}}$[further explanation needed]

If we now consider the situation where ${\displaystyle \ L>>(x+a/2)}$, the path length becomes

${\displaystyle S\approx \left(L+{\frac {(x+a/2)^{2}}{2L}}\right)=L+{\frac {x^{2}}{2L}}+{\frac {xa}{2L}}+{\frac {a^{2}}{8L}}}$

This is the Fresnel approximation. To further simplify things: If the diffracting object is much smaller than the distance ${\displaystyle \ L}$, the last term will contribute much less than a wavelength to the path length, and will then not change the phase appreciably. That is ${\displaystyle {\frac {a^{2}}{L}}<<\lambda }$. The result is the Fraunhofer approximation, which is only valid very far away from the object

${\displaystyle S\approx L+{\frac {x^{2}}{2L}}+{\frac {xa}{2L}}}$

Depending on the size of the diffraction object, the distance to the object and the wavelength of the wave, the Fresnel approximation, the Fraunhofer approximation or neither approximation may be valid. As the distance between the measured point of diffraction and the obstruction point increases, the diffraction patterns or results predicted converge towards those of Fraunhofer diffraction, which is more often observed in nature due to the extremely small wavelength of visible light.

## Diffraction from an array of narrow slits

### A simple quantitative description

Diagram of a two slit diffraction problem, showing the angle to the first minimum, where a path length difference of a half wavelength causes destructive interference.

Multiple-slit arrangements can be mathematically considered as multiple simple wave sources, if the slits are narrow enough. For light, a slit is an opening that is infinitely extended in one dimension, and this has the effect of reducing a wave problem in 3D-space to a simpler problem in 2D-space. The simplest case is that of two narrow slits, spaced a distance ${\displaystyle \ a}$ apart. To determine the maxima and minima in the amplitude we must determine the path difference to the first slit and to the second one. In the Fraunhofer approximation, with the observer far away from the slits, the difference in path length to the two slits can be seen from the image to be

${\displaystyle \ \Delta S={a}\sin \theta }$

Maxima in the intensity occur if this path length difference is an integer number of wavelengths.

 ${\displaystyle \ {a}\sin \theta =n\lambda }$ where ${\displaystyle \ n}$ is an integer that labels the order of each maximum, ${\displaystyle \ \lambda }$ is the wavelength, ${\displaystyle \ a}$ is the distance between the slits and ${\displaystyle \ \theta }$ is the angle at which constructive interference occurs.

The corresponding minima are at path differences of an integer number plus one half of the wavelength:

${\displaystyle {a}\sin \theta =\lambda (n+1/2)\,}$.

For an array of slits, positions of the minima and maxima are not changed, the fringes visible on a screen however do become sharper, as can be seen in the image.

2-slit and 5-slit diffraction of red laser light

### Mathematical description

To calculate this intensity pattern, one needs to introduce some more sophisticated methods. The mathematical representation of a radial wave is given by

${\displaystyle \ E(r)=A\cos(kr-\omega t+\phi )/r}$

where ${\displaystyle \ k={\frac {2\pi }{\lambda }}}$, ${\displaystyle \ \lambda }$ is the wavelength, ${\displaystyle \ \omega }$ is frequency of the wave and ${\displaystyle \ \phi }$ is the phase of the wave at the slits at time t=0. The wave at a screen some distance away from the plane of the slits is given by the sum of the waves emanating from each of the slits. To make this problem a little easier, we introduce the complex wave ${\displaystyle \ \Psi }$, the real part of which is equal to ${\displaystyle \ E}$

${\displaystyle \ \Psi (r)=Ae^{i(kr-\omega t+\phi )}/r}$
${\displaystyle \ E(r)=Re(\Psi (r))}$

The absolute value of this function gives the wave amplitude, and the complex phase of the function corresponds to the phase of the wave. ${\displaystyle \ \Psi }$ is referred to as the complex amplitude. With ${\displaystyle \ N}$ slits, the total wave at point ${\displaystyle \ x}$ on the screen is

${\displaystyle \Psi _{total}=Ae^{i(-\omega t+\phi )}\sum _{n=0}^{N-1}{\frac {e^{ik{\sqrt {(x-na)^{2}+L^{2}}}}}{\sqrt {(x-na)^{2}+L^{2}}}}}$.

Since we are for the moment only interested in the amplitude and relative phase, we can ignore any overall phase factors that are not dependent on ${\displaystyle \ x}$ or ${\displaystyle \ n}$. We approximate ${\displaystyle {\sqrt {(x-na)^{2}+L^{2}}}\approx L+(x-na)^{2}/2L}$. In the Fraunhofer limit we can neglect terms of order :${\displaystyle {\frac {a^{2}}{2L}}}$ in the exponential, and any terms involving ${\displaystyle \ a/L}$ or ${\displaystyle \ x/L}$ in the denominator. The sum becomes

${\displaystyle \Psi =A{\frac {e^{i\left(k({\frac {x^{2}}{2L}}+L)-\omega t+\phi \right)}}{L}}\sum _{n=0}^{N-1}e^{-ik{\frac {xna}{L}}}}$

The sum has the form of a geometric sum and the can be evaluated to give

${\displaystyle \Psi =A{\frac {e^{i\left(k({\frac {x^{2}-(N-1)ax}{2L}}+L)-\omega t+\phi \right)}}{L}}{\frac {\sin \left({\frac {Nkax}{2L}}\right)}{\sin \left({\frac {kax}{2L}}\right)}}}$

The intensity is given by the absolute value of the complex amplitude squared

${\displaystyle I(x)=\Psi \Psi ^{*}=|\Psi |^{2}=I_{0}\left({\frac {\sin \left({\frac {Nkax}{2L}}\right)}{\sin \left({\frac {kax}{2L}}\right)}}\right)^{2}}$

where ${\displaystyle \Psi ^{*}}$ denotes the complex conjugate of ${\displaystyle \Psi }$.

## Quantitative analysis of single-slit diffraction

Numerical approximation of diffraction pattern from a slit of width equal to wavelength of an incident plane wave in 3D blue visualization
Numerical approximation of diffraction pattern from a slit of width equal to six time the wavelength of an incident plane wave in 3D blue visualization
Numerical approximation of diffraction pattern from a slit of width four wavelengths with an incident plane wave. The main central beam, nulls, and phase reversals are apparent.
Graph and image of single-slit diffraction

As an example, an exact equation can now be derived for the intensity of the diffraction pattern as a function of angle in the case of single-slit diffraction.

A mathematical representation of Huygens' principle can be used to start an equation.

Consider a monochromatic complex plane wave ${\displaystyle \Psi ^{\prime }}$ of wavelength λ incident on a slit of width a.

If the slit lies in the x′-y′ plane, with its center at the origin, then it can be assumed that diffraction generates a complex wave ψ, traveling radially in the r direction away from the slit, and this is given by:

${\displaystyle \Psi =\int _{\mathrm {slit} }{\frac {i}{r\lambda }}\Psi ^{\prime }e^{-ikr}\,d\mathrm {slit} }$

Let (x′,y′,0) be a point inside the slit over which it is being integrated. If (x,0,z) is the location at which the intensity of the diffraction pattern is being computed, the slit extends from ${\displaystyle x^{\prime }=-a/2}$ to ${\displaystyle +a/2\,}$, and from ${\displaystyle y'=-\infty }$ to ${\displaystyle \infty }$.

The distance r from the slot is:

${\displaystyle r={\sqrt {\left(x-x^{\prime }\right)^{2}+y^{\prime 2}+z^{2}}}}$
${\displaystyle r=z\left(1+{\frac {\left(x-x^{\prime }\right)^{2}+y^{\prime 2}}{z^{2}}}\right)^{\frac {1}{2}}}$

Assuming Fraunhofer diffraction will result in the conclusion ${\displaystyle z\gg {\big |}\left(x-x^{\prime }\right){\big |}}$. In other words, the distance to the target is much larger than the diffraction width on the target. By the binomial expansion rule, ignoring terms quadratic and higher, the quantity on the right can be estimated to be:

${\displaystyle r\approx z\left(1+{\frac {1}{2}}{\frac {\left(x-x^{\prime }\right)^{2}+y^{\prime 2}}{z^{2}}}\right)}$
${\displaystyle r\approx z+{\frac {\left(x-x^{\prime }\right)^{2}+y^{\prime 2}}{2z}}}$

It can be seen that 1/r in front of the equation is non-oscillatory, i.e. its contribution to the magnitude of the intensity is small compared to our exponential factors. Therefore, we will lose little accuracy by approximating it as 1/z.

 ${\displaystyle \Psi \,}$ ${\displaystyle ={\frac {i\Psi ^{\prime }}{z\lambda }}\int _{-{\frac {a}{2}}}^{\frac {a}{2}}\int _{-\infty }^{\infty }e^{-ik\left[z+{\frac {\left(x-x^{\prime }\right)^{2}+y^{\prime 2}}{2z}}\right]}\,dy^{\prime }\,dx^{\prime }}$ ${\displaystyle ={\frac {i\Psi ^{\prime }}{z\lambda }}e^{-ikz}\int _{-{\frac {a}{2}}}^{\frac {a}{2}}e^{-ik\left[{\frac {\left(x-x^{\prime }\right)^{2}}{2z}}\right]}\,dx^{\prime }\int _{-\infty }^{\infty }e^{-ik\left[{\frac {y^{\prime 2}}{2z}}\right]}\,dy^{\prime }}$ ${\displaystyle =\Psi ^{\prime }{\sqrt {\frac {i}{z\lambda }}}e^{\frac {-ikx^{2}}{2z}}\int _{-{\frac {a}{2}}}^{\frac {a}{2}}e^{\frac {ikxx^{\prime }}{z}}e^{\frac {-ikx^{\prime 2}}{2z}}\,dx^{\prime }}$

To make things cleaner, a placeholder 'C' is used to denote constants in the equation. It is important to keep in mind that C can contain imaginary numbers, thus the wave function will be complex. However, at the end, the ψ will be bracketed, which will eliminate any imaginary components.

Now, in Fraunhofer diffraction, ${\displaystyle kx^{\prime 2}/z}$ is small, so ${\displaystyle e^{\frac {-ikx^{\prime 2}}{2z}}\approx 1}$ (note that ${\displaystyle x^{\prime }}$ participates in this exponential and it is being integrated).

In contrast the term ${\displaystyle e^{\frac {-ikx^{2}}{2z}}}$ can be eliminated from the equation, since when bracketed it gives 1.

${\displaystyle \langle e^{\frac {-ikx^{2}}{2z}}|e^{\frac {-ikx^{2}}{2z}}\rangle =e^{\frac {-ikx^{2}}{2z}}(e^{\frac {-ikx^{2}}{2z}})^{*}=e^{\frac {-ikx^{2}}{2z}}e^{\frac {+ikx^{2}}{2z}}=e^{0}=1}$

(For the same reason we have also eliminated the term ${\displaystyle e^{-ikz}}$)

Taking ${\displaystyle C=\Psi ^{\prime }{\sqrt {\frac {i}{z\lambda }}}}$ results in:

 ${\displaystyle \Psi \,}$ ${\displaystyle =C\int _{-{\frac {a}{2}}}^{\frac {a}{2}}e^{\frac {ikxx^{\prime }}{z}}\,dx^{\prime }}$ ${\displaystyle =C{\frac {\left(e^{\frac {ikax}{2z}}-e^{\frac {-ikax}{2z}}\right)}{\frac {ikx}{z}}}}$

It can be noted through Euler's formula and its derivatives that ${\displaystyle \sin x={\frac {e^{ix}-e^{-ix}}{2i}}}$ and ${\displaystyle \sin \theta ={\frac {x}{z}}}$.

${\displaystyle \Psi =aC{\frac {\sin {\frac {ka\sin \theta }{2}}}{\frac {ka\sin \theta }{2}}}=aC\left[\operatorname {sinc} \left({\frac {ka\sin \theta }{2}}\right)\right]}$

where the (unnormalized) sinc function is defined by ${\displaystyle \operatorname {sinc} (x)\ {\stackrel {\mathrm {def} }{=}}\ {\frac {\operatorname {sin} (x)}{x}}}$.

Now, substituting in ${\displaystyle {\frac {2\pi }{\lambda }}=k}$, the intensity (squared amplitude) ${\displaystyle I}$ of the diffracted waves at an angle θ is given by:

 ${\displaystyle I(\theta )\,}$ ${\displaystyle =I_{0}{\left[\operatorname {sinc} \left({\frac {\pi a}{\lambda }}\sin \theta \right)\right]}^{2}}$

## Quantitative analysis of N-slit diffraction

Double-slit diffraction of red laser light
2-slit and 5-slit diffraction

${\displaystyle \Psi =\int _{\mathrm {slit} }{\frac {i}{r\lambda }}\Psi ^{\prime }e^{-ikr}\,d\mathrm {slit} }$

Consider N slits in the prime plane of equal size a and spacing d spread along the x′ axis. As above, the distance r from slit 1 is:

${\displaystyle r=z\left(1+{\frac {\left(x-x^{\prime }\right)^{2}+y^{\prime 2}}{z^{2}}}\right)^{\frac {1}{2}}}$

To generalize this to N slits, we make the observation that while z and y remain constant, x′ shifts by

${\displaystyle x_{j=0\cdots n-1}^{\prime }=x_{0}^{\prime }-jd}$

Thus

${\displaystyle r_{j}=z\left(1+{\frac {\left(x-x^{\prime }-jd\right)^{2}+y^{\prime 2}}{z^{2}}}\right)^{\frac {1}{2}}}$

and the sum of all N contributions to the wave function is:

${\displaystyle \Psi =\sum _{j=0}^{N-1}C\int _{-{\frac {a}{2}}}^{\frac {a}{2}}e^{\frac {ikx\left(x^{\prime }-jd\right)}{z}}e^{\frac {-ik\left(x^{\prime }-jd\right)^{2}}{2z}}\,dx^{\prime }}$

Again noting that ${\displaystyle {\frac {k\left(x^{\prime }-jd\right)^{2}}{z}}}$ is small, so ${\displaystyle e^{\frac {-ik\left(x^{\prime }-jd\right)^{2}}{2z}}\approx 1}$, we have:

 ${\displaystyle \Psi \,}$ ${\displaystyle =C\sum _{j=0}^{N-1}\int _{-{\frac {a}{2}}}^{\frac {a}{2}}e^{\frac {ikx\left(x^{\prime }-jd\right)}{z}}\,dx^{\prime }}$ ${\displaystyle =aC\sum _{j=0}^{N-1}{\frac {\left(e^{{\frac {ikax}{2z}}-{\frac {ijkxd}{z}}}-e^{{\frac {-ikax}{2z}}-{\frac {ijkxd}{z}}}\right)}{\frac {2ikax}{2z}}}}$ ${\displaystyle =aC\sum _{j=0}^{N-1}e^{\frac {ijkxd}{z}}{\frac {\left(e^{\frac {ikax}{2z}}-e^{\frac {-ikax}{2z}}\right)}{\frac {2ikax}{2z}}}}$ ${\displaystyle =aC{\frac {\sin {\frac {ka\sin \theta }{2}}}{\frac {ka\sin \theta }{2}}}\sum _{j=0}^{N-1}e^{ijkd\sin \theta }}$

Now, we can use the following identity

${\displaystyle \sum _{j=0}^{N-1}e^{xj}={\frac {1-e^{Nx}}{1-e^{x}}}.}$

Substituting into our equation, we find:

 ${\displaystyle \Psi \,}$ ${\displaystyle =aC{\frac {\sin {\frac {ka\sin \theta }{2}}}{\frac {ka\sin \theta }{2}}}\left({\frac {1-e^{iNkd\sin \theta }}{1-e^{ikd\sin \theta }}}\right)}$ ${\displaystyle =aC{\frac {\sin {\frac {ka\sin \theta }{2}}}{\frac {ka\sin \theta }{2}}}\left({\frac {e^{-iNkd{\frac {\sin \theta }{2}}}-e^{iNkd{\frac {\sin \theta }{2}}}}{e^{-ikd{\frac {\sin \theta }{2}}}-e^{ikd{\frac {\sin \theta }{2}}}}}\right)\left({\frac {e^{iNkd{\frac {\sin \theta }{2}}}}{e^{ikd{\frac {\sin \theta }{2}}}}}\right)}$ ${\displaystyle =aC{\frac {\sin {\frac {ka\sin \theta }{2}}}{\frac {ka\sin \theta }{2}}}{\frac {\frac {e^{-iNkd{\frac {\sin \theta }{2}}}-e^{iNkd{\frac {\sin \theta }{2}}}}{2i}}{\frac {e^{-ikd{\frac {\sin \theta }{2}}}-e^{ikd{\frac {\sin \theta }{2}}}}{2i}}}\left(e^{i(N-1)kd{\frac {\sin \theta }{2}}}\right)}$ ${\displaystyle =aC{\frac {\sin \left({\frac {ka\sin \theta }{2}}\right)}{\frac {ka\sin \theta }{2}}}{\frac {\sin \left({\frac {Nkd\sin \theta }{2}}\right)}{\sin \left({\frac {kd\sin \theta }{2}}\right)}}e^{i\left(N-1\right)kd{\frac {\sin \theta }{2}}}}$

We now make our k substitution as before and represent all non-oscillating constants by the ${\displaystyle I_{0}}$ variable as in the 1-slit diffraction and bracket the result. Remember that

${\displaystyle \langle e^{ix}{\Big |}e^{ix}\rangle \ =e^{0}=1}$

This allows us to discard the tailing exponent and we have our answer:

${\displaystyle I\left(\theta \right)=I_{0}\left[\operatorname {sinc} \left({\frac {\pi a}{\lambda }}\sin \theta \right)\right]^{2}\cdot \left[{\frac {\sin \left({\frac {N\pi d}{\lambda }}\sin \theta \right)}{\sin \left({\frac {\pi d}{\lambda }}\sin \theta \right)}}\right]^{2}}$

## General case for far field

In the far field, where r is essentially constant, then the equation:

${\displaystyle \Psi =\int _{\mathrm {slit} }{\frac {i}{r\lambda }}\Psi ^{\prime }e^{-ikr}\,d\mathrm {slit} }$

is equivalent to doing a fourier transform on the gaps in the barrier.[1]