Sub topic 6
Refraction and Snell's law
This chapter assumes you know the laws of reflection, can use sine and its inverse, and can treat light as straight-line rays. It does not use the sign convention yet. All angles here are positive and measured from the normal.
What refraction is
Refraction is the bending of a ray when it crosses the boundary between two transparent media. The bending happens because light travels at different speeds in different media. The speed in vacuum is c, about 3 × 10⁸ m/s. In a medium it is v, which is smaller than c.
The absolute refractive index of a medium is
n = c / v
Since v < c, n is always at least 1. Typical values are air about 1.0003 (taken as 1 in JEE problems), water 1.33, crown glass 1.5 and diamond 2.42.
A medium with a larger n is called optically denser. Optical density is not the same as mass density. Some oils are optically denser than water but lighter in mass.
Laws of refraction
Take a ray in medium 1 meeting the boundary at the point of incidence. The normal is the line perpendicular to the boundary at that point.
- The incident ray, the refracted ray and the normal all lie in one plane.
- The ratio of the sine of the angle of incidence to the sine of the angle of refraction is constant for a given pair of media and a given colour of light. This is Snell's law:
n₁ sin i = n₂ sin r
Here i is the angle of incidence in medium 1 and r is the angle of refraction in medium 2. Both are measured from the normal, not from the surface.
The ratio n₂/n₁ is the relative refractive index of medium 2 with respect to medium 1, written ₁n₂. It also equals v₁/v₂.
What changes and what does not
When light crosses a boundary, the frequency stays the same. It is fixed by the source. The speed and wavelength both change in proportion:
v = fλ, so λ₂ / λ₁ = v₂ / v₁ = n₁ / n₂
The table summarises the effect of going from a rarer to a denser medium.
| Quantity | Rarer to denser (n₂ > n₁) |
|---|---|
| Frequency | Unchanged |
| Speed | Decreases |
| Wavelength | Decreases |
| Ray direction | Bends toward the normal (r < i) |
Going from denser to rarer reverses every entry. The ray bends away from the normal.
A ray that meets the boundary along the normal (i = 0) does not bend at all. A ray also reverses along its own path if you swap source and detector. This is the principle of reversibility.
Worked example 1: finding the angle of refraction
A ray in air strikes a glass surface (n = 1.5) at an angle of incidence of 30°. Find the angle of refraction.
- Write Snell's law: 1 × sin 30° = 1.5 × sin r.
- So sin r = 0.5 / 1.5 = 0.3333.
- Then r = sin⁻¹(0.3333) ≈ 19.47°.
You can check this with a short program.
import math
def refraction_angle(n1, n2, i_deg):
"""Return the angle of refraction in degrees, or None if the ray
cannot be refracted (total internal reflection)."""
s = n1 * math.sin(math.radians(i_deg)) / n2
if abs(s) > 1:
return None
return math.degrees(math.asin(s))
print(round(refraction_angle(1.0, 1.5, 30), 2)) # 19.47
print(round(refraction_angle(1.5, 1.0, 30), 2)) # 48.59
print(refraction_angle(1.5, 1.0, 60)) # NoneThe second call shows the reverse path, glass to air, bending away from the normal. The third returns None because sin r would exceed 1. That case is the subject of the chapter on total internal reflection.
Relative index and chains of media
For a ray going through several parallel layers, apply Snell's law at each boundary. The product n sin θ carries through:
n₁ sin θ₁ = n₂ sin θ₂ = n₃ sin θ₃
This means that for parallel-sided layers, the intermediate media drop out. If a ray goes from air through a glass slab, then a water layer, and ends in air again, the final angle equals the starting angle only if the last medium matches the first.
The relative indices also multiply:
₁n₃ = ₁n₂ × ₂n₃
and the reverse index is the reciprocal: ₂n₁ = 1 / ₁n₂.
Worked example 2: water and glass
Light travels from water (n = 1.33) into glass (n = 1.5). Find the relative index and the angle of refraction for i = 40°.
- ᵂn_G = 1.5 / 1.33 ≈ 1.128.
- sin r = sin 40° / 1.128 = 0.6428 / 1.128 ≈ 0.5699.
- r ≈ 34.7°.
The ray bends toward the normal, but less than it would from air, because the two indices are close.
Real-life effects of refraction
Several everyday observations follow from Snell's law.
- A straw in water looks bent at the surface, because rays from the submerged part bend away from the normal as they leave the water.
- A pool looks shallower than it is. The next chapter, on apparent depth, quantifies this.
- The Sun is visible slightly before it geometrically rises, because the atmosphere's index increases toward the ground and bends the rays downward.
- Stars twinkle because moving pockets of air of different density keep changing the path of the starlight.
Common errors
- Measuring from the surface. Angles in Snell's law are always from the normal. If a problem gives the angle between the ray and the surface, use 90° minus that angle.
- Swapping the indices. Keep n and θ paired: the index of the medium containing the ray goes with that ray's angle.
- Thinking frequency changes. Colour is set by frequency, so a ray keeps its colour in glass even though its wavelength shrinks.
- Ignoring the limit. When light goes from a denser to a rarer medium, sin r = (n₁/n₂) sin i can exceed 1. No refracted ray then exists, and you must treat the case as total internal reflection.
- Using sin i / sin r with i and r reversed. For rarer to denser the ratio is greater than 1. Check that the answer has r < i when entering a denser medium.
Worked example 3: wavelength in a medium
Yellow light of wavelength 600 nm in air enters glass of index 1.5. Find its wavelength, speed and frequency in glass.
- Frequency in air: f = c / λ = (3 × 10⁸) / (600 × 10⁻⁹) = 5 × 10¹⁴ Hz. It stays 5 × 10¹⁴ Hz in glass.
- Speed: v = c / n = 2 × 10⁸ m/s.
- Wavelength: λ = v / f = (2 × 10⁸) / (5 × 10¹⁴) = 4 × 10⁻⁷ m = 400 nm.
The same result comes from λglass = λair / n = 600 / 1.5 = 400 nm.
Wavelength dependence
The refractive index of a material depends on wavelength. For ordinary glass, n is larger for violet than for red. So different colours bend by different amounts. This effect, called dispersion, is why a prism splits white light. The fixed value of n used in most problems is for a single colour, or a chosen average.
Exercise
A ray in air meets a liquid surface so that the ray makes 30° with the surface. The refracted ray makes 40° with the normal... Take sin 40° = 0.643 and find the refractive index of the liquid.
Show answer
The angle between the ray and the surface is 30°, so the angle of incidence is 90° − 30° = 60°. By Snell's law, 1 × sin 60° = n × sin 40°. So n = 0.866 / 0.643 ≈ 1.35.
Exercise
Light of frequency 6 × 10¹⁴ Hz goes from air into a medium of refractive index 1.6. Find its speed and wavelength in the medium. Use c = 3 × 10⁸ m/s.
Show answer
Speed v = c / n = 3 × 10⁸ / 1.6 = 1.875 × 10⁸ m/s. The frequency stays 6 × 10¹⁴ Hz. The wavelength is λ = v / f = 1.875 × 10⁸ / 6 × 10¹⁴ ≈ 3.125 × 10⁻⁷ m, or about 312 nm.
Exercise
A ray passes from air through a parallel-sided glass slab of index 1.5 into water of index 1.33, and it meets the glass-air boundary at 45°. Does the ray enter the water, and at what angle does it travel in it? Assume the glass and water layers are parallel to the first boundary.
Show answer
Because n sin θ is conserved across parallel boundaries, the angle in the water satisfies 1 × sin 45° = 1.33 × sin θ. So sin θ = 0.7071 / 1.33 = 0.5316 and θ ≈ 32.1°. The glass layer does not affect the final angle. The ray enters the water.