Snell's law (refraction)
Light travels more slowly where the refractive index is higher (n = c ÷ v), so a ray hitting the surface at an angle bends towards the perpendicular as it goes in. Going the other way, to a lower index, it bends away, and past the critical angle it can't get out at all: it is all reflected back inside.
The physics
- Snell's law: n₁ sin θ₁ = n₂ sin θ₂, with both angles measured from the perpendicular to the surface (the dashed line).
- Critical angle: going from a higher index to a lower one, θc = arcsin(n₂ ÷ n₁). Beyond it sin θ₂ would have to exceed 1, so there is no refracted ray: total internal reflection.
- How much reflects (Fresnel equations, unpolarised light): the average of Rs = ((n₁ cos θ₁ − n₂ cos θ₂) ÷ (n₁ cos θ₁ + n₂ cos θ₂))² and Rp = ((n₁ cos θ₂ − n₂ cos θ₁) ÷ (n₁ cos θ₂ + n₂ cos θ₁))². Head on it is ((n₁ − n₂) ÷ (n₁ + n₂))², and it rises to 100% at grazing angles.
Smooth surfaces, no absorption, light of one wavelength. Snell's law is also the path that takes light the least time between two points (Fermat's principle). Tested: the law against finding that quickest path numerically, the critical angle and total internal reflection, and the Fresnel reflectance head on and at grazing incidence (packages/mechanics/test/science.test.ts).
Example
With index of the first medium n₁ = 1, index of the second medium n₂ = 1.5, angle of incidence 40°: refraction angle: 25.4°; critical angle: none (light goes into a denser medium); share reflected: 4.57% (unpolarised); bent by: 14.6°. Open this setup, then change one thing at a time.
Related: Lens equation · Venturi meter