Skip to content
Light & Optics · Physics

Mirage and Layered Media Simulation

Send light through layers whose refractive index falls step by step and watch it bend until it is turned back. See how a hot road makes a mirage of water.

Interactive virtual lab · no download · works on phones and laptops

Chapter
Ray Optics and Optical Instruments
For
Class 10 · Class 12 · JEE
Time
~10 min

Mirage and Layered Media is a Pro simulation

Pro opens all 125 virtual labs — 483 simulations with guides and quizzes.

How to use it

  1. 1Set the number of layers and the indices at the top and bottom.
  2. 2Change the ray angle; try a fan of rays.
  3. 3Mirage tab: choose a hot road or a cold sea.
  4. 4Compare the bent ray with the straight line of sight.

What to notice

  • n sin θ is the same in every layer.
  • The ray turns back at the first layer whose n is below n sin θ.
  • Over a hot road n is lowest at the ground: an inverted image below the road.
  • Over a cold sea the curve is reversed: objects appear lifted (looming).

For teachers

A ready-made teaching kit comes with this lab

  • Lesson plan

    18 min, 4 steps

  • Ask the class

    3 questions with answers

  • Quick quiz

    5 questions, printable

  • Key formulas

    2 formulas

About the Mirage and Layered Media simulation

Light crossing from one medium to another keeps n sin θ fixed. Through a stack of layers whose refractive index steadily falls, a ray bends further from the vertical at each boundary until n sin θ would exceed the next layer's index — and then it is totally reflected and turns back. With many thin layers, the zig-zag becomes a smooth curve.

This mirage simulation shows the layered slabs first, then the real effect. Air just above a hot road is less dense, so light from a tree curves up off the road and the eye sees an upside-down image below it, like water. Over a cold sea the layering is reversed and ships below the horizon appear lifted (looming).

Also covers: mirage, multiple slab refraction, total internal reflection in air, looming, n sin theta constant, hot road mirage.

Frequently asked questions

How is a mirage formed?

Air near a hot surface has a lower refractive index. Light from a distant object bends upward through it, totally reflecting in the lowest layers, and the eye sees an inverted image below the object.

What is looming?

The opposite: over cold water the densest air is at the bottom, so rays bend downward and distant objects appear raised — a superior mirage.

Does the number of layers change where the ray turns back?

No. Since n sin θ is constant, the ray turns where n falls to n₁ sin θ₁ however finely the medium is layered.