Light rays – refraction, total internal reflection and prisms
Integrated ScienceLight & SoundAges 14–15Virtual lab
How do you mainly use this simulation?
Use it with your class: students open it from a link or a QR code, with no account needed.
Six screens: Intro lets you drag a laser across the boundary between two media (including mystery media whose refractive index you must work out from your own measurements), read the angle of refraction with a protractor and find the condition for total internal reflection; Prisms lets you drag prisms and the laser to see white light split into a spectrum through repeated refraction and internal reflection; Tools adds a light-intensity probe, a wave view and an adjustable laser wavelength. Based on the "Bending Light" simulation by PhET Interactive Simulations, University of Colorado Boulder (CC BY 4.0); rewritten. The Prism lab screen is the pin-method practical: set the angle of incidence i, read the angle of emergence and the angle of deviation δ with a protractor, record them, plot δ against i to find the minimum deviation δm and calculate n = sin((A + δm)/2)/sin(A/2). The Glass slab screen is the pin-method practical with a parallel-sided slab: measure i and r, see that the emergent ray is parallel to the incident ray and measure the lateral displacement d = t·sin(i − r)/cos r against the angle of incidence and the thickness t. The Rainbow screen sends white light into a water drop, where it refracts, reflects once inside and leaves: change the height b of the ray, record the deviation and the angle θ for each colour to find the largest θ of each colour (the primary bow), see the bow in the sky around the antisolar point, and use a second, inverted prism to recombine the spectrum into white light (Newton).
Lesson: Refraction of light; Total internal reflection; Prisms; Rainbows
What it shows
When light passes from one medium into another its speed changes and it bends; Snell's law links the two angles: n₁·sin i = n₂·sin r. When light goes from a medium with a higher refractive index into one with a lower index, the angle of refraction reaches 90° at the critical angle, and beyond it all of the light is reflected back inside the medium. Because the refractive index of glass changes slightly with wavelength, violet light bends more than red, so a prism splits white light into a spectrum. In an optically denser medium light travels more slowly, v = c/n, and its wavelength shortens to λ/n. On the Prism lab screen you measure the angle of deviation δ for several angles of incidence i by the pin method, then find the minimum deviation δm and the refractive index n = sin((A + δm)/2)/sin(A/2). On the Glass slab screen the emergent ray is parallel to the incident ray because the two faces are parallel, but it is shifted sideways by d = t·sin(i − r)/cos r. On the Rainbow screen light enters a water drop, reflects once inside and leaves at θ = 4r − 2i to the sunlight; the largest θ of each colour gives the primary bow, and you find which colour is on the outside.
How to use
On the Intro screen choose the Top medium (n₁) and the Bottom medium (n₂), then drag the laser or use the slider to change the angle i, and read i and r on the protractor. For a mystery medium, work out n and then press Check mystery. On Prisms, choose a Prism shape and turn White light on or off. On Tools, drag the probe onto each ray, and choose the Wave view to see the wavelength change. On Prism lab, change the Angle of incidence i and press Record reading several times, then read δm from the graph. On Glass slab, change the Angle of incidence i and the Slab thickness t and press Record reading to compare the measured d with the calculated one. On Rainbow, choose the View: for Water drop, change the Height b of the ray and press Record reading for several b; on Sky change the Sun's elevation; on Two prisms tick Second prism, turned upside down.
Parameters you can change
- Starting screen Intro, Prisms, Tools, Prism lab, Glass slab, Rainbow
- Incident medium (top) — Intro/Tools screens Air, Water, Glass, Mystery A, Mystery B
- Refracting medium (bottom) — Intro/Tools screens Air, Water, Glass, Mystery A, Mystery B
- Angle of incidence i 0–89 °
- Show protractor
- Laser wavelength (Prisms screen with white light off, and Tools screen) and Rainbow screen 400–700 nm
- Prism shape Triangle, Semicircle, Trapezium
- White light through the prism (off = single wavelength) (also on the Rainbow screen)
- Tools screen: ray or wave view Ray, Wave
- Prism lab: prism Crown glass, Flint glass, Prism X (unknown)
- Prism lab: prism angle A 10–75 °
- Prism lab: angle of incidence i 20–85 °
- Glass slab: glass Crown glass, Flint glass, Slab X (unknown)
- Glass slab: thickness t 2–8 cm
- Glass slab: angle of incidence i 0–85 °
- Rainbow screen: view Water drop, Sky, Two prisms
- Rainbow screen: height b of the ray (in drop radii) 0–0.99 R
Questions to explore
- Why is there no total internal reflection when light passes from air into water?
- How do you work out the refractive index of Mystery A from your measurements of i and r?
- Why does a glass prism bend the violet ray more than the red ray?
Teaching ideas
All guides- Refraction and Lenses Lesson Plan with SimulationsA refraction and lenses lesson plan with free simulations: Snell's law data, mystery materials, total internal reflection, lens images and five questions.
- How to Embed a Simulation in Google SitesEmbed a simulation in Google Sites with Insert → Embed → Embed code, size the box, build one page per unit and fix embeds that show up blank or cut off.
- Interactive Physics Lesson Ideas with SimulationsInteractive physics lesson ideas for grades 6–12: ten simulation activities in mechanics, waves, light, electricity, heat and modern physics, with real values.