Rayleigh Criterion Simulator

JJ Ben-Joseph headshot JJ Ben-Joseph

Simulation summary will appear here.

Understanding Diffraction in Telescopes

When light passes through a circular aperture it spreads into a diffraction pattern rather than forming a point. The central bright region, known as the Airy disk, has an angular radius θR=1.22λD. Two stars separated by less than this angle blur together. This page upgrades the classic Rayleigh criterion calculator by coupling the formula to a dynamic canvas that renders two moving Airy disks. Users can watch as the star separation oscillates and determine whether the peaks are distinguishable. Such visual feedback makes the abstract resolution limit intuitive.

Variables and Assumptions

The simulation assumes a circular unobstructed aperture of diameter D and monochromatic light of wavelength λ. The stars are equally bright point sources. Their angular separation θ follows a simple harmonic motion defined by =v and =-ω2θ where ω is set to 1 rad/s for clarity. Numerical integration uses a fourth-order Runge–Kutta (RK4) scheme for stability.

Core Equations

Each Airy intensity pattern is computed with the Fraunhofer diffraction formula I=(2J1(x)x)2 where x=λ and J1 is the Bessel function approximated as J1(x)=-. The combined intensity is the sum of the two star patterns. We also track the oscillator energy E=12(v2+ω2θ2) to expose numerical drift.

Numerical Scheme

The star separation dynamics are advanced with RK4. At each frame the state vector (θ,v) is updated using the time step Δt. RK4 combines four slope evaluations: k1=f(θ,v), k2=f(θ+{Δt}{2}k_1), and so on, leading to excellent energy conservation for modest Δt. Users can experiment with the time step to see how coarse integration increases the energy error ΔE\/E_0.

Worked Example

Suppose D=1\mathrm{m}, λ=550\mathrm{nm}, and separation amplitude equals one Rayleigh angle. The simulation begins with the stars at maximum separation and zero velocity. As it runs, the stars approach, momentarily overlap, and recede. The canvas shows the twin Airy disks merging into one when θ<θ_R. The energy overlay confirms that RK4 conserves E to better than 0.1% for Δt=0.016 s. A CSV download captures time, separation, and energy for further analysis.

Comparison Table

CaseD (m)λ (nm)θR (arcsec)
Baseline15500.138
Large Aperture25500.069
Infrared110000.251

How to Read the Animation

The canvas renders intensity with brightness. Two bright spots signify resolvable stars, while a single blob indicates blending. A vertical dashed line marks one Rayleigh radius. Energy is displayed as a horizontal bar: green shows kinetic portion, blue potential, and a thin red band marks drift from the initial total.

Limitations

This model neglects atmospheric seeing, optical aberrations, and finite star size. The Bessel approximation breaks down for very large angles. The oscillator is an idealization; real binaries may have eccentric orbits or unequal brightness. Numerical errors grow if Δt exceeds about 0.05 s.

Extensions

Future versions could include adjustable damping, different aperture shapes, or a phase-space plot of (θ,v). Adding photon noise would illustrate signal-to-noise limits.

References

Related calculators: double-slit interference, wavelength-frequency converter, Rayleigh–Taylor growth rate.

Embed this calculator

Copy and paste the HTML below to add the Rayleigh Criterion Simulator to your website.