Get started

Fermat's principle Why does light bend as it enters glass, if a straight line is the shortest way?

Physics olympiad · 45 minutes

Students plan a lifeguard's quickest route to a swimmer, find it is not the straight line, then see that light does the same: Snell's law follows from taking the quickest path. Predictions tested on the refraction simulation, reflection and mirages from the same idea, a vote that shows who's stuck, olympiad practice and homework.

You can present and print it without signing in.

Use in my lessons

Free. The whole lesson is copied into your Library for you to change.

A lifeguard 30 m up the beach runs k times as fast as she swims to reach a swimmer 12 m out and 45 m along. The curve is her time for each point x where she enters the water. Predict where the lowest point moves as k grows, then move k.

10203040

Lowest point: (43, 22.65)

The idea in one minute

Fermat's principle: light goes from one point to another along the path that takes the least time. In one material light goes in straight lines, as the shortest path is also the quickest. Where it crosses into a slower material, the straight line is no longer quickest: like a lifeguard who runs faster than she swims, light does better to go a little further in the fast material and less far in the slow one, so it bends at the boundary. Slide the crossing point along by a small distance d: the path in the first material grows by about d sin θ₁ and the path in the second shrinks by about d sin θ₂. At the quickest crossing the time gained and lost balance: d sin θ₁ ÷ v₁ = d sin θ₂ ÷ v₂. With n = c ÷ v, this is Snell's law, n₁ sin θ₁ = n₂ sin θ₂.

The lesson starts with the lifeguard, so students feel why the quickest route bends before any light appears. Then the same argument gives Snell's law, tested on the refraction simulation; reflection's equal angles come from the shortest path by a mirror; and a mirage on a hot road is light taking a quicker, curved path through the warmer, faster air near the ground.

By the end, students can

  • state Fermat's principle of least time
  • explain why the quickest route across two speeds bends at the boundary, using the lifeguard problem
  • derive Snell's law, sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂, from least time
  • use n = c ÷ v and n₁ sin θ₁ = n₂ sin θ₂ to find angles and speeds
  • explain reflection's equal angles and a road mirage by least time

Key words

  • Fermat's principle
  • least time
  • refraction
  • refractive index
  • Snell's law
  • normal
  • mirage

Before this lesson

Students should know refraction, angles from the normal, sine of an angle, and speed = distance ÷ time. No calculus is needed. It suits able students aged about 15 to 18.

The lesson, step by step

60 minutes in total. Each step says what changes for this length.

  1. 1 · Think5 min

    The lifeguard's quickest route

    She is 30 m up the beach; the

    swimmer 12 m out, 45 m along.

    She runs 5 m/s and swims 1 m/s.

    Red: straight at the swimmer.

    Green: run opposite her, then swim.

    Or somewhere between the two?

    Vote on your own, then sketch your route.

    Write here

    5 min 1 · Hook · students think · the slides say “Think”

    The lifeguard's quickest route

    Students choose the lifeguard's route before anyone explains.

    Say

    “A lifeguard is up the beach; a swimmer is in trouble out in the sea and further along. She runs much faster than she swims. Which route gets her there soonest?”

    Ask
    • Why not the straight line?
    • Why not run all the way to the water opposite the swimmer?
    Watch for

    Students who pick the straight line because it is shortest: shortest and quickest are not the same here.

    For the teacher

    A minute alone to sketch a route, then the vote.

    Ask one student for each option to explain. Then, how would we find the best point exactly? Time each route.

    Take the vote with Ask the class. The answer is between the straight line and the point opposite the swimmer, nearer the latter when she runs much faster. Keep the vote on the board: it comes back as light.

    Shorter: Vote only; the reasons in the next step (−2 min).

  2. 2 · Watch14 min

    Quickest, not shortest

    x: where she enters (m)

    y: her time (s), run + swim

    Straight line: about 26.4 s

    Enter at 40 m: 10 s + 13 s = 23 s

    Lowest near 43 m: 22.65 s

    Move k, her run ÷ swim speed

    Where is the lowest point?

    2 · Watch

    Find the best point: a small shift

    Move the entry point along the edge by a small d.

    The run grows by d sin θ₁: costs d sin θ₁ ÷ v₁

    The swim shrinks by d sin θ₂: saves d sin θ₂ ÷ v₂

    At the best point the two balance:

    sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂

    (Angles from the normal to the water's edge.)

    Run 5 times as fast: sin θ₁ = 5 sin θ₂

    2 · Watch

    Light does the same

    Fermat: light takes the path of least time.

    Speed in a material: v = c ÷ n

    sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂ becomes

    n₁ sin θ₁ = n₂ sin θ₂: Snell's law

    Into slower glass: towards the normal

    Out into faster air: away from the normal

    Snell's law, derived, not just measured.

    2 · Watch

    Try it: test Snell's law

    50° into glass, n = 1.5:

    predict the angle of refraction.

    Then diamond: bigger or smaller?

    Then out of the glass: from what

    angle is there no path out?

    Predict first, then move one setting.

    RefractionBends towards the normal: refracted at 30.7° (n = sin i ÷ sin r = 1.5)

    2 · Watch

    Mirrors and mirages

    Mirror: reflect B in it. Every path A, mirror, B

    is as long as one from A to B's image.

    Shortest: the straight line, so equal angles.

    Hot road: warm air near it is faster for light.

    Light from the sky dips down and curves up to you:

    quicker. You see the sky on the road, like water.

    Which way would a cold sea's mirage bend?

    14 min 2 · Explain · you explain · the slides say “Watch”

    Quickest, not shortest

    Two routes timed, the small-shift argument, Snell's law tested on the simulation, then reflection and mirages.

    Say

    “The question is not how far, but how long. Let's time two routes, then find the best one without trying them all.”

    Ask
    • If she swam as fast as she ran, which route would be best?
    • Before we run it: 50° into glass, n = 1.5. Predict the angle of refraction.
    • Near a hot road, is the air faster or slower for light?
    Watch for

    Measuring angles from the surface: Snell's law uses the angle from the normal.

    Two routes

    Run 5 m/s, swim 1 m/s; swimmer 12 m out, 45 m along

    Straight line: about 26.4 s

    Enter 40 m along: run 50 m, swim 13 m: 10 s + 13 s = 23 s

    Snell's law

    Air to glass, n = 1.5, sin θ₁ = 0.6 (about 36.9°)

    1 × 0.6 = 1.5 sin θ₂, so sin θ₂ = 0.4, θ₂ ≈ 23.6°

    For the teacher

    Time two routes: the straight line (about 26.4 s) and entering 40 m along (23 s). Bending wins, because more of the trip is on the fast sand.

    Small shift: move the entry point a small distance d along the water's edge. The run grows by about d sin θ₁ (θ₁ from the normal), costing d sin θ₁ ÷ v₁. The swim shrinks by about d sin θ₂, saving d sin θ₂ ÷ v₂. At the best point the two balance: sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂.

    Light: Fermat says it takes the quickest path. With n = c ÷ v, sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂ becomes n₁ sin θ₁ = n₂ sin θ₂: Snell's law, derived. Glass is slower, so light bends towards the normal going in.

    Try it on the simulation: 50° into glass (predict 30.7°), into diamond (18.5°), then out of the glass past 41.8°, where no path out exists: total internal reflection.

    Reflection: to go from A to a mirror to B by the shortest path, reflect B in the mirror; the straight line from A to that image crosses the mirror where the angles are equal. Mirage: air near a hot road is warmer and less dense, so light is slightly faster there. Light from the sky dips down through it and curves up to your eye: a quicker path. You see the sky on the road, like water.

    Vote before each run of the simulation. Its angles are from the normal, as Snell's law needs. The small-shift argument needs only the sides of a thin triangle: draw it large. The lifeguard's best entry for k = 5 is about 43 m along (22.65 s), where sin θ₁ ÷ sin θ₂ = 5.

    Shorter: Leave out reflection and the mirage; one run of the simulation (−5 min).

  3. 3 · Your turn8 min

    A worked example, then yours

    I do: run 50 m at 5, swim 13 m at 1: 23 s

    You do: run 50 m at 5, swim 15 m at 1: the time?

    I do: glass, sin θ₁ = 0.6: 0.6 = 1.5 sin θ₂, 0.4

    You do: water, n = 4/3, sin θ₁ = 0.8: sin θ₂?

    I do: glass: v = 3.0 × 10⁸ ÷ 1.5 = 2.0 × 10⁸ m/s

    You do: diamond, n = 2.42: the speed inside?

    The law first, then the numbers.

    Write here

    The answers slide comes with your copy.

    8 min 3 · Your turn · students write

    A worked example, then yours

    Each worked example beside a twin that students solve themselves.

    Say

    “Watch me, then do its twin. Write Snell's law first, then the numbers.”

    Ask
    • Is the angle from the normal?
    • Which material is slower?
    Watch for

    Dividing the wrong way: going into a slower material, the angle gets smaller.

    A route timed

    Run 50 m at 5 m/s and swim 13 m at 1 m/s: 10 s + 13 s = 23 s

    Then their turn

    Run 50 m at 5 m/s, then swim 15 m at 1 m/s: the time?

    Snell's law

    Air to glass: 1 × 0.6 = 1.5 sin θ₂, sin θ₂ = 0.4

    Then their turn

    Air to water, n = 4/3, sin θ₁ = 0.8: sin θ₂?

    The speed inside

    Glass, n = 1.5: v = c ÷ n = 3.0 × 10⁸ ÷ 1.5 = 2.0 × 10⁸ m/s

    Then their turn

    Diamond, n = 2.42: the speed of light inside?

    For the teacher

    Work each example aloud, the law first. Ask students to say which way the light bends before they calculate.

    The speed pair ties n back to least time: the slower the material, the bigger n.

    Open the answers slide once most have finished. The water twin gives the 3–4–5 angles: 53.1° bends to 36.9°.

    Shorter: The first two pairs only (−3 min).

  4. 4 · Vote and practise23 min

    Vote first

    Light enters glass at an angle and bends to the normal.

    A: light always takes the shortest path

    B: it is slower in glass; the bent path is quickest

    C: it speeds up in glass, so it turns

    D: the glass surface pulls the light towards it

    Choose on your own, then say why.

    4 · Vote and practise

    Climb: Snell's law

    1. Glass, n = 1.5: the speed of light inside?

    2. Into glass, sin θ₁ = 0.75: sin θ₂ and θ₂?

    3. Glass: the critical angle?

    4. Lifeguard, 5 times faster running: where to enter?

    5. Why does a mirror make equal angles?

    Stuck? Where is it faster?

    Write here

    4 · Vote and practise

    Olympiad

    6. 3.0 cm of glass: how long to cross?

    7. Derive Snell's law from least time.

    8. Why does a hot road look wet?

    9. Run 7 m/s, swim 1.4 m/s, sin θ₁ = 0.5: sin θ₂?

    One step a line, with its reason.

    Write here

    23 min 4 · Who's stuck? · students vote · the slides say “Vote and practise”

    Vote, then climb

    One question shows who's stuck; then practice from Snell's law to olympiad arguments.

    For this length: Swap and mark: pairs mark each other's derivation, question 7

    Say

    “Choose on your own. Nobody talks until everyone has chosen.”

    Ask
    • Is the straight line the quickest path here?
    • Where is light slower?
    Watch for

    'Shortest path' given as the reason; light thought to speed up in glass.

    Take c = 3.0 × 10⁸ m/s and n = 1 for air. Angles are from the normal. Show your working.

    The question that shows who's stuck

    1. Light goes from air into glass at an angle and bends towards the normal. Which is the best explanation?
      1. Light always takes the shortest path
      2. Light is slower in glass, and the bent path spends less of its length there: it is the quickest
      3. Light speeds up in glass, so it turns towards the normal
      4. The glass surface pulls the light towards it
    An example of what your Classroom shows as they answer
    • A12
    • B10
    • C6
    • D2

    Each wrong answer points to a different mistake. As they answer, your Classroom shows who chose what, so you can see in seconds who needs help, and with what.

    1. Glass has n = 1.5. What is the speed of light in it, in units of 10⁸ m/s?
    2. Light enters glass (n = 1.5) from air with sin θ₁ = 0.75. Then sin θ₂ = ___, so θ₂ = ___°
    3. Light inside glass (n = 1.5) meets the surface. At what angle of incidence, in degrees, does no path out exist (the critical angle)?
    4. A lifeguard runs five times as fast as she swims. Where should she enter the water to reach a swimmer out to sea and further along the beach?
      1. Where the straight line to the swimmer meets the water
      2. Between that point and the point opposite the swimmer, nearer the latter
      3. Exactly opposite the swimmer, so the swim is as short as it can be
      4. At the water nearest to where she stands, to get swimming soonest
    5. Light goes from A to a flat mirror and on to B by the shortest path. Why are the angles of incidence and reflection equal?
      1. Reflect B in the mirror: the shortest path is the straight line from A to B's image, which makes equal angles
      2. Light slows down at the mirror
      3. The mirror pushes light back the way it came
      4. It is a rule found by experiment that can't be explained
    6. How long does light take to cross a 3.0 cm glass block (n = 1.5) straight through, in nanoseconds?
    7. Derive Snell's law from least time: light crosses from a material where its speed is v₁ into one where it is v₂. Use a small shift d of the crossing point along the boundary.
    8. On a hot day a road far ahead looks wet. What is happening?
      1. Light from the sky is faster in the warm air near the road and curves up to your eye: you see the sky
      2. Heat makes the road give off light that looks like water
      3. The road reflects light like a mirror because it is hot
      4. Your eyes are tired by the bright light
    9. Stretch: a lifeguard runs at 7 m/s and swims at 1.4 m/s. On her quickest route she runs at an angle with sin θ₁ = 0.5 to the normal of the water's edge. What is sin θ₂ for her swim?

    Support · For every question: where is the light (or the lifeguard) faster? The quickest path spends more of its length there.

    For the teacher

    Everyone votes before anyone explains, then a student for each option says why.

    Questions 1–4 use Snell's law; 5 and 6 ask why; 7 is the derivation; 8 and 9 stretch it.

    If the class splits, go back to the lifeguard: she bends her route for the same reason. Questions 1–4 are fluency, 5–6 reasoning, 7–9 olympiad. Long answers are marked by you; model answers are in the explanations.

    Shorter: After the vote, questions 1–5 only (−5 min).

    Longer: Swap and mark: pairs mark each other's derivation, question 7 (+10 min).

  5. 5 · Show what you know10 min

    Least time, in two lines

    1. Air into water, n = 4/3, sin θ₁ = 0.6: sin θ₂?

    2. By least time: why towards the normal?

    A number, then a reason.

    Write here

    10 min 5 · Exit · students show · the slides say “Show what you know”

    Least time, in two lines

    One calculation and one reason show who has the whole idea.

    For this length: Then ask: why do stars twinkle and the setting Sun look squashed?

    Say

    “A number, then the reason light bends, in a sentence or two.”

    Watch for

    'It takes the shortest path' as the reason.

    A number, then a reason in a sentence or two.

    1. Light goes from air into water, n = 4/3, with sin θ₁ = 0.6. Find sin θ₂.
    2. Explain, using least time, why light entering water bends towards the normal.
    For the teacher

    Light goes from air into water, n = 4/3, with sin θ₁ = 0.6. Find sin θ₂.

    Explain by least time why it bends towards the normal.

    Students who say 'shortest' need the lifeguard again next time. Set the homework.

    Longer: Then ask: why do stars twinkle and the setting Sun look squashed? (+5 min).

One-to-one: let the student plan the lifeguard's route on squared paper, timing two or three routes, before any light. Then ask them to say the small-shift argument in their own words before writing it.

Homework: least time

Take c = 3.0 × 10⁸ m/s and n = 1 for air. Angles are from the normal.

  1. Water has n = 1.33. Find the speed of light in water, to 3 significant figures.
  2. Light enters glass (n = 1.5) from air with sin θ₁ = 0.9. Find sin θ₂ and θ₂.
  3. Diamond has n = 2.42. Find sin c and the critical angle c inside diamond.
  4. A lifeguard runs 25 m at 5 m/s and swims 10 m at 1 m/s. How long does she take? Would entering the water sooner, with a 20 m run and a 13 m swim, be quicker?
  5. Explain, with a sketch, why light reflected from a mirror makes equal angles, using the shortest path.
  6. Explain why a road can look wet on a hot day.
  7. Challenge: with calculus, find the x that makes T(x) = √(a² + x²) ÷ v₁ + √(b² + (d − x)²) ÷ v₂ least, and show it gives Snell's law.

Print the worksheet, with space for working and the homework. The answers come with your copy in the Library.

Fermat's principle: common questions

Which competitions is this lesson useful for?

It suits able students aged about 15 to 18 preparing for physics challenges and olympiads, such as the British Physics Olympiad's Senior and AS Challenge rounds. The problems are our own, written in their style, not taken from past papers.

Is it really least time, or just a stationary time?

Strictly, light takes a path whose time doesn't change to first order when the path is moved slightly: usually a least time, sometimes not (some curved mirrors). For refraction and flat mirrors it is a least time, which is all this lesson needs.

Do students need calculus?

No: the small-shift argument uses only the sides of a thin triangle. Students who know calculus can find the least of the lifeguard's time directly, which is the homework's challenge.

Can I use the lesson without creating an account?

Yes. You can read the lesson, print the worksheet and open its slides without signing in. Anything you draw on the slides isn't saved. With a free teacher account, you can keep the whole lesson in your Library to change and teach, including the quizzes, the answers and the answer slides.

Teach this lesson tomorrow

Keep the whole lesson, change what you like, and use it with a group. Present its slides step by step while each student works on their own copy.

Use in my lessons

Free. The whole lesson is copied into your Library for you to change.

Written in our own words and free to use with your students. Not endorsed by any exam board.