Optics — How Light Bends and Bounces
Reflection, refraction, and Snell’s law at an interface between two media
This concept builds on Waves — Patterns That Travel Through Space, Sine on the Unit Circle and in a Right Triangle. Consider exploring them first for the best experience.
Light travels in straight rays
In a uniform medium light travels in straight lines called rays. The yellow incident ray meets the dashed boundary, and the dotted vertical line is the normal. Drag the round handle on the yellow ray, or slide ‘Angle (θ₁)’, and notice that every angle on the canvas is measured from the normal, not from the surface.
Reflection: angle in = angle out
Part of the light always bounces back. The pink reflected ray leaves on the other side of the normal at exactly the same angle as the yellow incident ray: θᵣ = θ₁. Drag the incident ray from 10° out to 80° and watch the pink ray mirror it, keeping the two arcs equal.
Refraction and Snell’s law
The rest of the light crosses into the medium and changes speed, so the blue refracted ray bends. The refractive index n = c/v says how much a medium slows light: air has n ≈ 1.00, glass about 1.50. Snell’s law fixes the bend: n₁·sin(θ₁) = n₂·sin(θ₂). Entering a slower medium, the ray bends toward the normal.
Raise n₂ and the ray bends more
With ‘From air’ selected, slide ‘n₂ (medium)’ up from 1.00 toward 2.50 while the angle stays put. At 1.00 the blue ray carries straight on; as n₂ climbs, the Refracted (θ₂) readout shrinks and the ray swings closer to the normal, because a slower medium bends light more strongly.
Total internal reflection past θc
Press ‘From medium’ so the light starts inside the denser medium and heads out into air. With n = 1.50 the Critical angle (θc) readout shows 41.8°. Drag the incident ray past that angle: the blue refracted ray vanishes, the readout says TIR and all the light reflects back — the effect that keeps light trapped inside optical fibres.
Worked Example: 30° from air into glass
Press ‘From air’, set ‘n₂ (medium)’ to 1.50 and the angle to 30°. Snell’s law gives sin(θ₂) = 1.00 × sin 30° ÷ 1.50 = 0.500 ÷ 1.50 = 0.333, so θ₂ = arcsin(0.333) ≈ 19.5°. The Refracted (θ₂) readout shows 19.5°: the ray has bent 10.5° toward the normal.
How It Works — Step by Step
-
1
Light travels in straight rays
In a uniform medium light travels in straight lines called rays. The yellow incident ray meets the dashed boundary, and the dotted vertical line is the normal. Drag the round handle on the yellow ray, or slide ‘Angle (θ₁)’, and notice that every angle on the canvas is measured from the normal, not from the surface.
-
2
Reflection: angle in = angle out
Part of the light always bounces back. The pink reflected ray leaves on the other side of the normal at exactly the same angle as the yellow incident ray: θᵣ = θ₁. Drag the incident ray from 10° out to 80° and watch the pink ray mirror it, keeping the two arcs equal.
-
3
Refraction and Snell’s law
The rest of the light crosses into the medium and changes speed, so the blue refracted ray bends. The refractive index n = c/v says how much a medium slows light: air has n ≈ 1.00, glass about 1.50. Snell’s law fixes the bend: n₁·sin(θ₁) = n₂·sin(θ₂). Entering a slower medium, the ray bends toward the normal.
-
4
Raise n₂ and the ray bends more
With ‘From air’ selected, slide ‘n₂ (medium)’ up from 1.00 toward 2.50 while the angle stays put. At 1.00 the blue ray carries straight on; as n₂ climbs, the Refracted (θ₂) readout shrinks and the ray swings closer to the normal, because a slower medium bends light more strongly.
-
5
Total internal reflection past θc
Press ‘From medium’ so the light starts inside the denser medium and heads out into air. With n = 1.50 the Critical angle (θc) readout shows 41.8°. Drag the incident ray past that angle: the blue refracted ray vanishes, the readout says TIR and all the light reflects back — the effect that keeps light trapped inside optical fibres.
-
6
Worked Example: 30° from air into glass
Press ‘From air’, set ‘n₂ (medium)’ to 1.50 and the angle to 30°. Snell’s law gives sin(θ₂) = 1.00 × sin 30° ÷ 1.50 = 0.500 ÷ 1.50 = 0.333, so θ₂ = arcsin(0.333) ≈ 19.5°. The Refracted (θ₂) readout shows 19.5°: the ray has bent 10.5° toward the normal.
Key Takeaways
Angles are always from the normal
Both reflection and refraction angles are measured from the line perpendicular to the interface, not from the surface itself.
Snell’s law governs all bending
n₁·sin(θ₁) = n₂·sin(θ₂) fully determines the refracted angle given the incident angle and the two refractive indices — 30° from air into glass refracts to 19.5°.
A higher index bends light more
The larger n₂ is compared with n₁, the more the light slows on entry and the closer the refracted ray swings toward the normal.
Critical angle → total internal reflection
When θ₁ > arcsin(n₂/n₁) for light going from dense to rare medium, no refracted ray exists and all light reflects internally — 41.8° for glass to air, and the basis of fibre optics.
Connected Concepts
Waves
Light is an electromagnetic wave that obeys the same wave equations.
Sine
Snell’s law is expressed in terms of the sine of the angle of incidence and refraction.
Lenses
A lens is a curved interface: refraction at each point of its surface brings rays to a focus.
Human Eye
The cornea and lens of the eye refract incoming light to form a sharp image on the retina.
Electromagnetic Spectrum
Visible light is one band of the spectrum, and a material’s refractive index varies slightly across it.
Updated
- — Drag the incident ray, start light inside the medium to see total internal reflection, and a 30° worked example