Summary: Fermat's principle of least time is used to derive Snell's law and the law of reflection.
Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.
Fermat postulated that rays of light follow the path that takes the least time. This is a very profound idea! There is something very deep in it. It also gives the experimentally observed results! Lets apply it to reflection and see what results:
![]() |
We want to find the length (which is the same as time times the speed) AEB. To do this we construct a fake point B' which is on the other side of the surface the same perpendicular distance from the surface such that the line BB' is a perpendicular to the surface. Then clearly the length AEB equals the length AEB'. So which point on the surface gives the shortest path to B, the one that gives the shortest path to B' and that clearly lies on the straight line AB'. I have labeled this point C.
Now clearly
Now lets apply Fermat's principle to refraction. Look at the next figure:
![]() |
If light travels via many different media then the time is