Fermat’s Principle: Following The Light
- Cosmo

- Sep 7, 2025
- 3 min read
Did you ever wonder why, when you shine a flashlight, it always follows the direction you’re pointing? Or why does a laser’s light tend to follow a direct path? Most would say it’s because light travels in a straight path. After all, it makes sense. You point the light somewhere and that’s where it would go. But it turns out that’s only part of the picture. The other part is crucial in understanding how light actually travels and why it follows the path it does.
Fermat’s Principle
For centuries, the nature of light has been a mystery for physicists. The way it interacts with the world around us was not fully understood. It exhibited properties of both waves and particles that confused physicists but also fascinated them. One key figure was physicist Pierre de Fermat. Until then, no single theory could explain how light can travel in a straight path but also refract in different mediums. Fermat, who devoted much effort to understanding this mystery, proposed a principle to explain it. The Fermat principle states that light travels along the path of least time, which explains why light travels in a straight line in certain mediums and refracts (bends) in others when it enters.
Principle In Action
Let’s consider this analogy often used by the renowned physicist Richard Feynman: A man is drowning offshore, and a lifeguard notices him. The lifeguard has to quickly decide the quickest path to reach the man. The lifeguard can run faster than he can swim. A straight line (Path A) might seem the fastest but it involves more swimming. If he changes his path (B), it will be longer but less swimming is required. The optimal path is one that balances swimming and running which is path C.

Though our first instinct might be to run in a straight path assuming it’s the fastest, we have to take into account the mediums in the paths we are taking. The guard might choose to run more than he swims, but this is time costly. He can also just go in a straight path but that means more swimming. So an in-between solution is the answer, we run a bit while keeping it balanced to optimize the time. This is how light travels, it behaves so it always takes the path that minimizes travel time.
A Quantum Level Perspective
Fermat’s principle connects naturally with Feynman's path integral. According to Feynman, photons explore all possible paths when they travel from point A to point B. Each particular path has a unique phase, similar to the crests and troughs of a wave.

Paths that are “out of phase” cancel each other out, while paths that are “in phase” reinforce each other, leading to constructive interference. The path that is left is the one with stationary action, according to the action principle. In the case of light, this path is the one with the shortest travel time. To make this easier to understand, imagine point A with a wavefront expanding out along every possible path to point B. Along these paths, waves with different phases interfere with each other—some cancel and some reinforce, creating a stronger constructive wave. For light, the resulting path is the one with the least travel time, which is the path we observe light taking. Light doesn’t choose its path, but this outcome is the result of many quantum-level wave interactions.
Putting It Together
What began as an effort to understand light's path evolved into a more sophisticated theory and one of the most impactful principles in physics. The idea that nature follows paths of least action connects not only to light but to motion and quantum particles. Gradually, it has deepened our understanding of the universe, revealing patterns that were once hidden. Fermat’s insight is not just about the path of light—but a new perspective on rays and waves that reshaped our understanding of nature. Through it, we gained insights that improved our technologies and advanced physics. In the end, Fermat’s principle clarified physics, revealing quantum particle interactions and the optimal paths they follow, unraveling the hidden elegance of the universe.
____________________________________________________________________________
Citations:
Sayginal, Hasan. “Fermat’s Principle & Snell’s Law.” Hasan Sayginal, 18 Oct. 2018, youtu.be/bItZbUxrgww?si=nduq21SsHru3tsXg. Accessed 4 Sept. 2025.
Lupetti, Antonio. “Fermat’s Theorem.” Algebrica, 23 Feb. 2025, algebrica.org/fermat-theorem/. Accessed 7 Sept. 2025.
Perepelitsa, Dennis. Path Integrals in Quantum Mechanics.


Comments