Young's Double-Slit Simulator Back
High School Physics · Wave Optics

Young's Double-Slit Interference Simulator

Freely adjust wavelength, slit separation, and screen distance to watch interference fringes update in real time. See for yourself why light behaves as a wave.

Light Parameters
Wavelength λ
nm
Slit separation d
mm
Screen distance L
m
Results
Results
2.75
Fringe spacing Δy (mm)
Green
Light color
Pattern
Theory & Key Formulas
$$\Delta y = \frac{\lambda L}{d}$$

Bright fringe condition: $d\sin\theta = m\lambda$
Approximation: $y_m = m\dfrac{\lambda L}{d}$

What is Young's Double-Slit Experiment?

In 1801, the British physicist Thomas Young showed that light passing through two narrow slits forms a pattern of alternating bright and dark bands (interference fringes) on a screen. This was decisive evidence that light is a wave, and it changed the course of physics.

Light that passes through each slit spreads out as a new spherical wavelet (Huygens's principle). Where these two waves meet, superposition (interference) occurs: where crest meets crest the light is bright, and where crest meets trough the light cancels out to darkness.

Fringe Spacing Formula

The spacing $\Delta y$ between adjacent bright fringes is:

$$\Delta y = \frac{\lambda L}{d}$$

You can verify this formula instantly with the sliders. For example, changing λ from 380 nm (violet) to 750 nm (red) nearly doubles the fringe spacing.

Conditions for Bright and Dark Fringes

The central fringe (m = 0) is the brightest, with m = ±1, ±2, … fringes on either side. The simulator labels each order on the right side of the canvas.

Application: Measuring Wavelength

Conversely, this experiment can be used to measure the wavelength of light precisely. By measuring the fringe spacing Δy with a ruler and knowing L and d, you can calculate λ = Δy × d / L. This is the foundation of spectroscopy and is related to the operating principles of modern laser interferometers and semiconductor lithography.

💬 Deepening Your Understanding

🙋
Student
When I made the slit separation d smaller, the fringes kept spreading out. Why does a narrower gap make the fringes wider? That seems backwards to me.
🎓
Professor
It does feel counterintuitive at first! But look at Δy = λL/d — a smaller d means a larger Δy, so the fringes spread out. Physically, when the slits are very close together the two wave sources are almost at the same point. By the time the waves travel all the way to the screen, only a tiny angular difference separates them, so the positions where they arrive in phase end up far apart. It's the same idea as a diffraction grating: make d extremely small and the first-order beam shoots out at a large angle.
🙋
Student
Got it! So what would happen if you used white light instead of monochromatic light?
🎓
Professor
Great question. White light contains all visible wavelengths. The central fringe (m = 0) is white because all wavelengths arrive in phase at the same point. But for m = 1 and beyond, different wavelengths produce fringes at slightly different positions, so you see a rainbow-like color band — violet on the inside, red on the outside. Try sliding the wavelength from 380 nm to 750 nm in the simulator to see how the fringe position shifts for each color.
🙋
Student
What exactly is "path difference"? Which distances are we talking about?
🎓
Professor
Pick any point P on the screen. Let r₁ be the distance from slit 1 to P, and r₂ the distance from slit 2 to P. The path difference is |r₁ − r₂|. At the center, r₁ = r₂, so the path difference is zero and you get a bright fringe. As P moves up the screen the path difference grows: half a wavelength gives a dark fringe, one full wavelength gives the next bright fringe, and so on. Far from center, the small-angle approximation breaks down and the exact geometry is needed instead of the simple Δy = λL/d formula.

Physical Model & Key Equations

The simulator is based on the governing equations of Young's Double-Slit Interference Simulator. Understanding these equations is key to interpreting the results correctly.

$$$','$$$

Each parameter in the equations corresponds to a slider in the control panel. Moving a slider changes the equation's solution in real time, helping you build a direct connection between mathematical expressions and physical behavior.

Real-World Applications

Engineering Design: The concepts behind Young's Double-Slit Interference Simulator are applied across mechanical, structural, electrical, and fluid engineering disciplines. This tool provides a quick way to estimate design parameters and sensitivity before committing to full CAE analysis.

Education & Research: Widely used in engineering curricula to connect theory with numerical computation. Also serves as a first-pass validation tool in research settings.

CAE Workflow Integration: Before running finite element (FEM) or computational fluid dynamics (CFD) simulations, engineers use simplified models like this to establish physical scale, identify dominant parameters, and define realistic boundary conditions.

Common Misconceptions and Points of Caution

Model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.