Fundamentals / Physics / Waves and optics

Diffraction as a Fourier transform

Derive the far-field pattern from a finite aperture and identify which features control its scale and its sidelobes.

From first principles

Sum the field across a uniformly illuminated slit

A distant screen receives contributions from across the whole aperture. Consider monochromatic scalar illumination normal to a long slit of width \(a\). In the far field, paths from two points separated by distance \(dx\) differ by approximately \(dx\sin\theta\) in direction \(\theta\). Distance-dependent amplitudes are nearly constant across the slit, leaving a linear phase variation. Put \(k=2\pi/\lambda\) and choose the origin at the slit centre.

\[U(\theta)=C\int_{-a/2}^{a/2}e^{-ikx\sin\theta}\,dx .\]

Integrating the exponentials from the two edges and normalising to forward amplitude yields a sinc function. The central limit is one by continuity even though the displayed ratio takes the form zero divided by zero there.

\[\frac{U(\theta)}{U(0)}=\frac{\sin z}{z},\]
\[z=\frac{\pi a\sin\theta}{\lambda}.\]

Intensity is the squared magnitude of the coherent field sum. The first noncentral zero therefore occurs at \(a|\sin\theta|=\lambda\). Widening the slit narrows its central angular peak. For a general transmission profile the same weighted integral is its Fourier transform sampled at transverse wavenumber \(k\sin\theta\).

Two parallel outgoing rays pass through narrow vertically separated slits. Relative intensity oscillates between zero and one as the path difference changes.Open full-size diagram
Read fringe order from the geometry Illuminate two narrow slits normally so they emit equal, in-phase amplitudes with the same polarisation. Projecting their separation onto the far-field observation direction gives a path difference d sin θ. A path difference of half a wavelength adds the second amplitude with the opposite sign. A finite slit width introduces a separate envelope over these fringes.

Explore the related parameter study beside the computed figure.

Derivation and applications

Locate missing interference orders in a double slit

A pair of finite slits can erase an interference maximum even when the detector is perfectly aligned. Consider two identical uniformly illuminated slits of width \(a\), centre separation \(d>a\), and long dimension perpendicular to the observation plane. Assume coherent monochromatic light of wavelength \(\lambda\), scalar diffraction and far-field detection. At observation angle \(\theta\) define transverse spatial frequency \(q=2\pi\sin\theta/\lambda\). Each point at coordinate \(x\) contributes phase \(e^{-iqx}\). A centred slit therefore contributes

\[U_1(q)=C\int_{-a/2}^{a/2}e^{-iqx}\,dx=Ca\,\frac{\sin(qa/2)}{qa/2}.\]

Translating a slit multiplies its transform by a phase factor. The two translated copies have centres at \(\pm d/2\). Add their fields, square the magnitude, and divide by the central intensity. The aperture width and slit separation now enter different factors.

\[\frac{I(\theta)}{I(0)}=\left[\frac{\sin(qa/2)}{qa/2}\right]^2\cos^2(qd/2).\]

The centres of the ideal two-point interference orders satisfy

\[d\sin\theta=m\lambda.\]

Evaluate the single-slit envelope at those positions. The order disappears exactly when its location coincides with a noncentral zero of the envelope.

\[a\sin\theta=p\lambda,\]
\[m=p\frac da,\]
\[p=\pm1,\pm2,\ldots .\]

If \(d/a\) is a rational number, only those choices of \(p\) producing integer \(m\) erase interference orders. Finite width can also shift the actual maxima of the product slightly away from the nominal interference centres. The coincidence of a zero with an order centre remains exact in this ideal model.

Worked example

Explain an absent green fringe

Two slits 50.0 µm wide have centre spacing 200 µm. At \(\lambda=500\) nm the fourth order lies at \(\sin\theta=4\lambda/d=0.0100\). This is the first zero of the single-slit amplitude. A lens of focal length 200 mm would place that missing fringe about 2.00 mm from the centre. The first order samples an envelope factor \([\sin(\pi/4)/(\pi/4)]^2=0.811\).

Second application

Reconstruct slit dimensions from a pattern

A different apparatus uses 600 nm light and a 300 mm focal length. Near the axis, the measured nominal interference spacing is 0.900 mm, giving \(d=f\lambda/\Delta x=200\) µm. The first envelope zero lies 2.25 mm from the centre, giving \(a=f\lambda/x_1=80.0\) µm. Their ratio is 2.50. The first envelope zero lies halfway between two nominal orders, while the second erases order five at 4.50 mm.

OneSimulation laboratory

Find the dark fringes of a double slit

Start from this chapter. Use slit separation and wavelength to predict the first minimum before reading the finite-distance pressure field. Repeat at the same frequency with a different receiver radius to test the far-field assumption.

Compare recorded OneSimulation runs on this page. To test your own inputs, download the notebook and model files and run the model in an activated OneSimulation environment.

The numerical example drives two acoustic slits in phase. Sound pressure obeys the scalar Helmholtz equation, so the path-difference and aperture calculations transfer directly for the same \(d/\lambda\) and \(w/\lambda\). This model uses rigid acoustic walls and has no optical polarisation. Its receivers lie at a finite distance of 0.90 m. Two-slit pressure field and angular probes.

Run the notebook with its supplied ratios = [2, 3, 4] sweep, \(d=0.30\) m, \(w=0.050\) m and sound speed 343 m/s. Each frequency is a separate solve on the same mesh. Read the first minimum on the positive-angle side of the pressure-amplitude profile. Squaring the pressure magnitude gives a mean-square pressure pattern with the same minima. In a locally travelling plane wave, mean-square pressure divided by acoustic impedance gives the mean intensity.

  1. Baseline. At 3430 Hz, \(d=3\lambda\). Predict \(\arcsin(1/6)=9.59°\) and compare with the computed minimum.
  2. Lower the frequency. At \(d=2\lambda\), predict the first minimum at 14.48°. Check that the separation between the two dark fringes nearest the centre increases.
  3. Raise the frequency. At \(d=4\lambda\), expect 7.18°. Check all three first minima within 0.5° of the far-field estimate. Then compare the outer minima and report where the finite observation distance and the assumed uniform slit illumination begin to matter.
Minima sampled every 0.25° on the receiver arc
Frequency and receiver radiusFirst dark angle (°)Second dark angle (°)
3430 Hz, 0.90 m9.7530.50
2287 Hz, 0.90 m14.5048.75
4573 Hz, 0.90 m7.2522.50
2287 Hz, 0.75 m14.7549.00
The first dark angle moves inward as frequency rises at the same receiver radius. Moving the receiver closer at fixed frequency shifts it slightly outward.
The first dark angle moves inward as frequency rises at the same receiver radius. Moving the receiver closer at fixed frequency shifts it slightly outward.

To test the far-field assumption independently of frequency, move the receiver arc inward from 0.90 to 0.75 m. Evaluate both the computed pressure and the Rayleigh reference on the new arc. The simple far-field angle depends only on wavelength and slit spacing, so any change in the sampled minimum tests the finite-distance approximation.

Download experiment files (ZIP) Extract the files together and open double_slit_diffraction.ipynb in a local OneSimulation environment.
Try it · Finite slits at the measured receiver radius

The reference uses the same 0.30 m slit spacing, 0.050 m slit widths and 0.90 m receiver radius as the OneSimulation model. Change separation/wavelength from 3 to 2 or 4, then move the receiver to 0.75 m. This is the notebook’s finite-radius, two-dimensional Rayleigh integral with uniform aperture velocity, compared with its Fraunhofer limit. The full guide-and-screen solve additionally resolves the nonuniform slit velocity, so its sampled minima can differ slightly.

Open the corresponding OneSimulation notebook, code and output

Problem sheet 4 · Infer slit spacing from a sampled angular minimum

Read the model setup and preparatory problems

Where a geometrical shadow breaks down

Illuminate a thin screen at normal incidence with a monochromatic plane wave of vacuum wavelength \(\lambda\) in air. Light transmitted through different parts of an opening reaches a distant observation point along slightly different paths. Their phases matter even where geometrical rays would draw a hard shadow. Use scalar diffraction, suited to features much larger than the wavelength and modest angles. Represent the complex field just beyond the screen by an aperture function \(A(x,y)\), incorporating amplitude and phase.

For a far-away observation direction \(\mathbf n\), the propagation distance from aperture point \(\mathbf r'\) is \(r-\mathbf n\cdot\mathbf r'\) to first order. Replacing the inverse distance in the wave amplitude with \(1/r\) while retaining this linear phase yields

\[U(\theta_x,\theta_y)\propto\iint A(x,y)e^{-ik(x\sin\theta_x+y\sin\theta_y)}\,dx\,dy .\]

The angular field samples a spatial Fourier transform. The neglected quadratic path term produces a phase of order \(\pi a^2/(\lambda r)\) for aperture half-width \(a\). The free-space far-field approximation requires this quantity to be small. A lens supplies a quadratic phase that creates the Fourier pattern in its back focal plane even at a practical laboratory distance.

Add the contributions of a uniform slit

For a very tall slit of width \(w\), study the horizontal cross-section. Uniform amplitude across the width gives an integral of the exponential between \(-w/2\) and \(w/2\). The result is \(w\sin u/u\) with \(u=\pi w\sin\theta/\lambda\). Taking squared magnitude and normalizing at the origin yields

\[I(\theta)/I(0)=\left(\frac{\sin u}{u}\right)^2 .\]

The first zeros satisfy

\[\sin\theta=\pm\lambda/w.\]

A broader opening makes the central spot narrower because a smaller angular change suffices to accumulate a full cycle across it. The oscillating tails arise from the abrupt edges. A gradual transmission taper reduces those sidelobes at the cost of a wider central maximum. Peak brightness additionally depends on the transmitted amplitude and collection geometry.

Measure width in a focal plane

Illuminate a \(120\) μm slit with 600 nm light and use a focal-length 200 mm lens. In the paraxial focal plane \(X\simeq f\sin\theta\). The first minima occur at \(X=\pm1.00\) mm, giving a central width of 2.00 mm. At half that distance \(u=\pi/2\), so the intensity is \(4/\pi^2=0.405\) of its central value. These two measurements separately test angular scale and profile shape.

If the slit is moved sideways, the Fourier shift theorem supplies only a phase factor in the far field, and the intensity pattern remains centred in this ideal arrangement. If it is illuminated at a small angle instead, the incident field carries a linear phase across the slit and the whole pattern moves. This distinction becomes useful when diagnosing whether a displaced focal-plane spot comes from a decentered opening or a tilted incoming beam.

A narrow receiving slit or detector pixel also integrates across part of the pattern. If it straddles a predicted zero, it collects light from either side and reports a positive count even for perfect diffraction. Reducing detector width tests this averaging interpretation.

Observe an aperture before its far field forms

A finite opening can produce bright and dark features even on its axis as the detector moves away. Consider a uniformly illuminated circular aperture of radius \(a\) in an opaque thin screen. Use a monochromatic scalar plane wave and a paraxial on-axis detector at distance \(z\) large compared with \(a\), yet not necessarily large compared with \(a^2/\lambda\). At aperture radius \(r\) the extra path is \(\sqrt{z^2+r^2}-z\simeq r^2/(2z)\). The Fraunhofer approximation drops this quadratic phase; Fresnel propagation keeps it.

Relative to the unobstructed advancing plane wave, the on-axis field is proportional to \(\int_0^a (2\pi r/i\lambda z)e^{i\pi r^2/(\lambda z)}\,dr\). The factor \(r\,dr\) makes the substitution \(u=\pi r^2/(\lambda z)\) immediate. Using the free propagation normalization gives

\[\frac{U(0,z)}{U_{\rm free}(0,z)}=1-e^{i\pi N_F},\]
\[\frac{I(0,z)}{I_{\rm free}}=4\sin^2\left(\frac{\pi N_F}{2}\right),\]
\[N_F=\frac{a^2}{\lambda z}.\]

Successive annuli adding half a wavelength of path alternately reinforce and cancel on axis. An even integer Fresnel number gives perfect cancellation in the ideal model. An odd integer makes the on-axis intensity four times the unobstructed value. There is no excess total power: interference redistributes light in the transverse plane. The result concerns local on-axis intensity at a specified distance rather than integrated transmission.

Predict successive axial extrema

Choose \(a=0.500\) mm and \(\lambda=500\) nm. Then

\[a^2/\lambda=0.500\,\mathrm{m}.\]

A detector at \(z=0.250\) m sees \(N_F=2.00\), predicting an axial null. Moving it to \(z=0.500\) m gives \(N_F=1.00\) and a fourfold maximum. The aperture-to-distance ratio is at most 0.002 in these two measurements, supporting the small-angle path expansion even though the far-field criterion is not satisfied.

At \(z=5.00\) m the Fresnel number is 0.100 and the exact Fresnel expression gives

\[I/I_{\rm free}=0.0979.\]

Its far-field expansion is \((\pi N_F)^2=0.0987\), now within about one percent. This limit recovers the inverse-square on-axis intensity at fixed opening and incident irradiance. A real photodiode averages several transverse points, which can fill an axial null, and a broadband source averages slightly different Fresnel numbers. Repeating the axial scan with a smaller active area or a narrower spectral band tests which averaging effect dominates the observed minimum.

A complementary screen can help verify that the observed oscillations arise from aperture interference. Within the same scalar boundary approximation, replacing the circular opening by an opaque disk makes the two complex transmitted fields add to the unobstructed field. On axis the disk's normalized field is therefore \(e^{i\pi N_F}\) in this model, with unit intensity and a distance-dependent phase. A bright point behind an opaque disk may seem surprising from geometric rays, but neighbouring angles still redistribute the blocked power. Finite coherence, source size and a detector averaging over the narrow central feature can strongly reduce its measured contrast.

From Fresnel zones to a diffractive lens

The axial null from a clear circular opening results from destructive addition of neighbouring half-period zones. A zone plate reverses that outcome by deliberately blocking every other annulus. At desired focal distance \(f\), a ray from the edge of zone number \(m\) has path excess \(m\lambda/2\) relative to the centre. Solving \(\sqrt{f^2+r_m^2}-f=m\lambda/2\) gives

\[r_m^2=m\lambda f+\frac{m^2\lambda^2}{4}\simeq m\lambda f .\]

The approximation requires the outer zone radius to remain small compared with focal distance. Consecutive radii therefore grow approximately as the square root of zone number, and outermost zones are narrowest. Leaving odd zones transparent and even zones opaque removes contributions with the opposite phase at the design focus. Power is also distributed into other diffraction orders and an undiffracted background, so this simple plate does not concentrate all incident light into one focus.

Set \(\lambda=500\) nm and design for \(f=0.200\) m with twenty zones. The radius of the first zone is \(\sqrt{\lambda f}=0.316\) mm, and the twentieth radius is \(1.414\) mm. The width of that outer zone is \(\sqrt{\lambda f}(\sqrt{20}-\sqrt{19})=35.8\) μm, setting a fabrication scale substantially finer than the overall aperture. If the plate is used at 600 nm without changing its radii, its first-order focal length becomes

\[r_1^2/\lambda=0.167\,\mathrm{m}.\]

This shortening with increasing wavelength follows from the required relative phase and is an observable distinction from simply changing the clear aperture of a refracting lens. Scanning on-axis intensity at two colours tests both the zone layout and its predicted chromatic shift.

Which interference orders disappear under diffraction?

Two uniformly illuminated slits have width \(a\) and centre spacing \(3a\). The Fraunhofer field is the product of the single-aperture transform and a two-source phase sum. Normalise intensity at zero angle and use \(u=a\sin\theta/\lambda\).

Which interference orders disappear under diffraction?. Horizontal axis: Slit width × sin(angle) / wavelength. Vertical axis: Intensity / central intensity. Data follow the figure.
The nominal third interference maximum occurs at u = 1 and is extinguished by the first zero of the slit envelope. A missing order diagnoses the width-to-spacing ratio; it need not indicate missing or blocked illumination.
Try it · Double slit

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Read values from the plot
Intensity / central intensity at selected values of Slit width × sin(angle) / wavelength.
Slit width × sin(angle) / wavelengthTwo identical slits, d/a = 3Single-slit envelope
−31.5196e−331.5196e−33
−1.51.3676e−320.045032
011
1.51.3676e−320.045032
31.5196e−331.5196e−33

Download all 601 plotted samples (CSV)

Study the full derivation

Recover an optical phase from one off-axis intensity frame · Optical fields, instruments and observations

A camera measures intensity and discards field phase. A known tilted reference wave can shift a cross term away from the intensity background so the missing complex field becomes accessible. Derive how much camera bandwidth that costs, and convert the recovered phase into an optical-path measurement with a stated ambiguity.