Why can we see ourselves in a mirror? Why does a spoon in a glass of water look broken? How does a magnifying glass enlarge things, and how do glasses help us see clearly? The answers come from geometrical optics, the part of physics that describes light with rays – straight lines along which light travels.
Choose a phenomenon: reflection from a mirror, refraction at the boundary of two media, a converging or a diverging lens. Change the angle of incidence, the media, the focal length and the distance of the object, and watch how the rays and the image change.
In a uniform medium light travels in straight lines – that is why shadows form. The speed of light in a vacuum is c ≈ 300 000 km/s, and in other media it is lower. When light reaches the boundary between two media, part of it is reflected, and part passes into the second medium and is refracted (changes direction).
The angle between the incident ray and the normal (the line perpendicular to the surface) is called the angle of incidence α. The law of reflection:
The image in a plane mirror is virtual (it forms “behind” the mirror, where the rays' extensions meet), upright, the same size as the object and symmetrical to the object with respect to the mirror – that is why left and right are swapped in a mirror. A rough surface reflects light in all directions (diffuse reflection), which is why we can see the objects around us.
Every transparent medium has a refractive index n = c / v, which shows how many times slower light is in it than in a vacuum (air 1.00, water 1.33, glass about 1.5, diamond 2.42).
In secondary school you also learn the exact law of refraction (Snell's law):
n₁ · sin α = n₂ · sin β
Example: a ray in air hits water at an angle of 45°: sin β = sin 45° / 1.33 ≈ 0.53, so β ≈ 32°. Check it in the simulation.
When light passes from an optically denser into a less dense medium (e.g. from water into air), the angle of refraction is larger than the angle of incidence. At the critical angle the refracted ray runs along the boundary, and for larger angles of incidence light is not refracted at all – all of it is reflected. The critical angle for water is about 48.8°, and for glass about 41.8°. Optical fibres (internet, endoscopy) work by total internal reflection, and it also gives diamonds their sparkle.
A lens is a transparent body bounded by curved surfaces. A converging lens (convex, thicker in the middle) brings rays parallel to the optical axis together at the focal point F. A diverging lens (concave, thinner in the middle) spreads them out so that their extensions pass through the focal point. The distance of the focal point from the lens is the focal length f; for a diverging lens f is negative. The power of a lens is D = 1 / f (f in metres), and its unit is the dioptre.
The image is constructed with three principal rays (they are coloured in the simulation):
The image distance l and the magnification u are given by the lens equation (l < 0 means a virtual image, on the same side as the object):
1 / f = 1 / p + 1 / l u = l / p
| object (converging lens) | image | use |
|---|---|---|
| beyond 2f | real, inverted, reduced | camera, eye |
| at 2f | real, inverted, same size | copying |
| between f and 2f | real, inverted, magnified | projector |
| at the focal point | no image (parallel rays) | spotlight, headlamp |
| closer than f | virtual, upright, magnified | magnifying glass |
A diverging lens always gives a virtual, upright and reduced image.
A converging lens has a focal length of 10 cm, and the object is 30 cm away. Then 1 / l = 1 / 10 − 1 / 30 = 2 / 30, so l = 15 cm. The magnification is u = 15 / 30 = 0.5: the image is real, inverted and half the size. These are also the starting settings of the simulation for the converging lens.
The eye works like a converging lens that forms a real, inverted and reduced image on the retina (the brain “turns it round”). A short-sighted eye forms the image in front of the retina – this is corrected with a diverging lens (glasses with “minus” dioptres). A long-sighted eye forms the image behind the retina – this is corrected with a converging lens (“plus” dioptres).
Solve the problem, then check the solution (and in the simulation). The speed of light c = 300 000 km/s.
The angle of reflection is 35°, and the angle between the rays is 35° + 35° = 70°.
v = c / n = 300 000 / 1.33 ≈ 225 000 km/s.
1 / l = 1 / 10 − 1 / 15 = 1 / 30, so l = 30 cm; u = 30 / 15 = 2. The image is real, inverted and twice as large (this is how a projector works).
D = 1 / 0.25 m = 4 dioptres. Glasses of −2 D have a diverging lens with a focal length f = 1 / (−2) = −0.5 m (for short sight).
1 / l = 1 / 5 − 1 / 4 = −1 / 20, so l = −20 cm (a virtual image, on the same side as the object); u = 20 / 4 = 5 – the image is upright and 5 times larger.
1. A ray hits a mirror with an angle of incidence of 30°. The angle of reflection is:
2. When light passes from air into water, the ray bends:
3. What is the image in a plane mirror like?
4. Short sight is corrected with glasses that have:
5. Total internal reflection can happen when light passes:
Related: waves and sound – light is also a wave, but an electromagnetic one, so it can travel through a vacuum.
🛠 Build this kind of simulation yourself: Introduction to p5.js – physics animations in JavaScript
💻 Program it yourself in p5.js: Refraction of light in p5.js – rays and Snell's law
Geometrical optics – for teachers – lesson plan
Level: Age 13–14 (light); secondary school (geometrical optics)
With a converging lens (f = 10 cm) students move the object from 50 cm to 2 cm and fill in a table: object position, l, magnification and properties of the image; then they link the rows of the table to a camera, a projector and a magnifying glass. In refraction mode they find the critical angle for water and glass and compare it with the calculated value.