How Fermat's Principle Explains Reflection and Refraction
This article explores how Fermat’s principle of least time serves as the foundational rule governing the behavior of light in classical optics. By stating that light always travels between two points along the path that requires the least amount of time, this single principle mathematically and conceptually explains both the law of reflection and Snell's law of refraction.
What is Fermat's Principle of Least Time?
Proposed by the French mathematician Pierre de Fermat in 1662, Fermat's principle states that the path taken between two points by a ray of light is the path that can be traversed in the least time.
It is a common misconception that light always travels in a straight line because it is the shortest distance. In reality, light is optimizing for time, not distance. When light travels through a single, uniform medium (like air or a vacuum), its speed remains constant. Because its speed does not change, the path of least time happens to be the path of shortest distance—a straight line. However, when light encounters barriers or changes mediums, the path of least time forces the light to bend or bounce in specific ways.
Explaining the Law of Reflection
The law of reflection states that when a ray of light reflects off a surface, the angle of incidence is equal to the angle of reflection. Fermat's principle explains this through simple geometry.
Imagine a light ray starting at Point A, bouncing off a flat mirror, and arriving at Point B. Because the light remains in the same medium (air) the entire time, its speed is constant. Therefore, to minimize the time taken, the light must simply minimize the total distance traveled from A to the mirror, and from the mirror to B.
To find the shortest path, you can project a virtual Point B' on the opposite side of the mirror, at the exact same distance behind the mirror as Point B is in front of it. The shortest distance between Point A and the virtual Point B' is a straight line. Where this straight line intersects the mirror is the exact point where the light must bounce to minimize its travel distance.
If you measure the angles created by this specific intersection point, geometry dictates that the incoming angle (angle of incidence) and the outgoing angle (angle of reflection) are identical. If the light hit the mirror at any other point, the total distance—and therefore the total time—would be greater.
Explaining the Law of Refraction
Refraction occurs when light passes from one medium into another (such as from air into water) and changes direction. This happens because light travels at different speeds in different mediums. The speed of light in a medium is defined by its index of refraction (\(n\)). The higher the index of refraction, the slower the light travels.
When light travels from Point A in the air to Point B underwater, a straight line is no longer the fastest route. Because light moves slower in water than in air, a straight line forces the light to spend too much time in the slower medium.
This is often explained using the "lifeguard analogy." Imagine a lifeguard on the beach (Point A) who sees a drowning swimmer in the water (Point B). The lifeguard can run much faster on sand than they can swim in water. If the lifeguard travels in a straight line to the swimmer, they spend too much distance swimming slowly. To reach the swimmer in the least amount of time, the lifeguard should run a longer distance on the sand, and then turn sharply to swim a shorter distance in the water.
Light behaves the exact same way. When moving from air to water, light travels a longer distance through the air (where it is fast) and bends toward the normal line upon entering the water, minimizing the distance it has to travel underwater (where it is slow).
By using calculus to find the exact point on the boundary where the total travel time is minimized (by setting the derivative of the time equation to zero), you directly derive Snell's Law of Refraction:
\(n_1 \sin(\theta_1) = n_2 \sin(\theta_2)\)
In this equation, \(n_1\) and \(n_2\) represent the indices of refraction of the two mediums, and \(\theta_1\) and \(\theta_2\) represent the angles of incidence and refraction. Snell's law is simply the mathematical expression of light finding the fastest possible route across two mediums with different speeds.