Electromagnetism and optics · Part 18 of 30
Refraction, lenses and optical instruments
Intermediate 17 min
Snell's law, total internal reflection and fibre optics, thin lenses and ray diagrams, the lens equation, magnification, the eye and glasses.
What you will learn
- You can apply Snell's law and explain total internal reflection.
- You can draw principal rays and use the thin-lens equation and magnification.
- You can explain short- and long-sightedness and how lenses in glasses, cameras and telescopes help.
Before this: Waves — what they are and how they travel
Light changes speed — and direction
A straw in a glass of water looks bent. Light travels more slowly in water (about 225 000 km/s) than in air (almost 300 000 km/s), and when it crosses the boundary at an angle, it changes direction: refraction. Lenses are shaped to use this, bending light to form images in your eyes, cameras, microscopes and telescopes.
Key points
- Refractive index n = c / v; Snell's law: n₁·sin θ₁ = n₂·sin θ₂.
- Going into a slower medium, light bends towards the normal; beyond the critical angle (sin θc = n₂/n₁) it is totally reflected.
- Thin-lens equation: 1/f = 1/d_o + 1/d_i; magnification m = −d_i / d_o.
- Converging (convex) lenses make real inverted images of distant objects and magnify close ones (virtual, upright).
- Lens power in dioptres = 1 / f (in metres); short sight is corrected with diverging lenses, long sight with converging ones.

Snell's law
The refractive index n = c / v tells how much a medium slows light: air ≈ 1.000, water 1.33, window glass ≈ 1.52, diamond 2.42. At a boundary:
n₁ · sin θ₁ = n₂ · sin θ₂
with angles measured from the normal (the line perpendicular to the surface). Light entering glass at 45° continues at sin θ₂ = sin 45° / 1.52 → θ₂ ≈ 27.7°, bent towards the normal.
The index depends slightly on wavelength (dispersion): violet light bends more than red. That spreads white light into a spectrum in a prism or a rainbow — and causes the coloured fringes (chromatic aberration) of cheap lenses.
Total internal reflection
Going from a dense to a less dense medium, light bends away from the normal. At the critical angle θc (sin θc = n₂/n₁) the refracted ray grazes the surface; beyond it, all light is reflected. For glass to air, θc ≈ 41°; for water to air about 49°. Optical fibres guide light over kilometres by total internal reflection in a glass core — the backbone of the internet — and diamonds sparkle because their small critical angle (24°) traps light inside.

Thin lenses
A converging (convex) lens brings parallel rays to a focal point at distance f behind it. A diverging (concave) lens spreads them as if they came from a focal point in front (f negative). Three principal rays from the top of an object locate the image:
- A ray parallel to the axis refracts through the far focal point.
- A ray through the centre of the lens goes straight on.
- A ray through the near focal point leaves parallel to the axis.
The thin-lens equation and magnification:
1/f = 1/d_o + 1/d_i, m = −d_i / d_o
(d_o object distance, d_i image distance; positive d_i = real image on the far side; negative m = inverted.)
Example. f = 10 cm, object at 30 cm: 1/d_i = 1/10 − 1/30 = 2/30 → d_i = 15 cm, m = −0.5: a real, inverted image half the size. Move the object to 5 cm (inside f): 1/d_i = 1/10 − 1/5 = −1/10 → d_i = −10 cm, m = +2: a virtual, upright, magnified image — a magnifying glass.
Try it: Thin lens lab
Move an object in front of a converging or diverging lens and watch where the image forms, how big it is and whether it is real or virtual.
Turn on JavaScript to use this lab. Worked example:
With f = 10 cm and the object 30 cm away, the image forms 15 cm behind the lens, real and inverted, half the size (m = −0.5). Move the object to 15 cm: the image moves to 30 cm and is twice as large. Inside the focal length (5 cm) the image becomes virtual and upright.
The eye, glasses and instruments
Your eye's cornea and lens focus images on the retina; the lens changes shape to focus at different distances (accommodation). Opticians describe lens strength in dioptres: P = 1/f with f in metres. A +2.0 D reading lens has f = 50 cm.
- Short sight (myopia): the eye focuses distant objects in front of the retina; diverging (negative) lenses fix it. Myopia is becoming much more common worldwide — estimates suggest about half of the world's population could be myopic by 2050, and more time outdoors in childhood is linked to lower risk (NEI).
- Long sight (hyperopia) and age-related presbyopia: converging (positive) lenses help.
A camera is a converging lens forming a real image on a sensor. A refracting telescope uses a long-focus objective and a short-focus eyepiece; angular magnification ≈ f_objective / f_eyepiece. Modern research telescopes and the James Webb Space Telescope use mirrors instead, which have no chromatic aberration.
Flashcards
- Question: State Snell's law.
- Answer: n₁·sin θ₁ = n₂·sin θ₂.
- Question: Thin-lens equation?
- Answer: 1/f = 1/d_o + 1/d_i.
- Question: Object 20 cm from an f = 10 cm lens — where is the image?
- Answer: 20 cm behind the lens, real, inverted, same size (m = −1).
- Question: What kind of lens corrects short sight?
- Answer: A diverging (negative-power) lens.
Check yourself
Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.
An object is 60 cm from a converging lens with f = 20 cm. Image distance?
Show the answer
30 cm (± 0.1 cm)
1/d_i = 1/20 − 1/60 = 2/60 → d_i = 30 cm.
Source: OpenStax University Physics Vol. 3, 2.4
Critical angle for light going from water (n = 1.33) into air (n = 1.00)?
Show the answer
48.8 ° (± 0.3 °)
sin θc = 1.00 / 1.33 = 0.752 → θc ≈ 48.8°.
Source: OpenStax University Physics Vol. 3, 1.7
An object sits inside the focal length of a converging lens. The image is …
- real, inverted, smaller
- real, inverted, larger
- virtual, upright, larger
- no image forms
Show the answer
virtual, upright, larger
d_i comes out negative (same side as the object) and m is positive and > 1 — a magnifying glass.
Source: OpenStax University Physics Vol. 3, 2.4
What is the focal length (in cm) of a +2.5 dioptre reading lens?
Show the answer
40 cm (± 0.1 cm)
f = 1/P = 1/2.5 m = 0.40 m.
Source: OpenStax University Physics Vol. 3, 2.5
Sources
- OpenStax University Physics Volume 3, chapters 1 The Nature of Light and 2 Geometric Optics and Image Formation, Rice University, 2016
- Refractive errors, US National Eye Institute NIH
Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.