# Optical Path and Fermat’s Principle.

Featured Image: We can see ourselves in mirror and take our mirror reflected selfie as a consequence of Fermat’s Principle, the topic of discussion of the blog.

This article at the moment is well prepared although it may still be improved. The article is partly technical and partly historical, its not intended to be given as a lecture by me although its a comprehensive discourse.

A separate lecture will be developed anon that was delivered to Honors students. For now Happy read.

Snell’s Law governs refraction which is adjustment of optical paths in in-homogeneous media because light can no more travel at its speed in free-space. Snell’s Law; $\frac{v_1}{v_2}= \frac{sin(\theta_1)}{sin(\theta_1)}=\frac{\lambda_1}{\lambda_2}$.

# Snell’s Law and Refraction.

The above expression comes from Fermat’s optical theorem, called as “Fermat’s least time principle” which can in turn follow either from;

• Huygens’s Principle; that light travels like spherical wave-fronts hence satisfies geometric rules.

## Or,

• Principle of least or stationary action or Hamilton’s action principle.

So in the beginning of our understanding we thought “Light travels a path which is shortest, or the least-path”. This is due to Heron of Alexandria, who lived between 10 AD and 70 AD. Then this path which is traversed by light was redefined to something called optical path, which led us to our understanding that “light travels the path of least time“.

All physical laws are derivable mathematically –with appropriate physical understanding, from Hamilton’s Action variation or Principle of Action, made to provide the least or stationary time. Then time is replaced by definition of action as the most general formulation of the law.

So all in all, path/distance >> Time >> Action. That is crudeness goes towards abstract physical understanding. This can be recognized as an attribute of unification and tells us why Mathematics reigns supreme in Physics.

In the last few weeks I am trying to understand why light traverses straight lines and why it refracts. The other day, I saw a little mug, floating inside a bucket full of water. Inside water any object would look shortened, this is known by a phenomenon called as refraction.

Lets envisage the phenomenon or observation, via this quickly reproducible trick. Lets dip our favorite pencil in a glass of water and another in a glass filled with air. This is how it looks, I quickly made this arrangement to which my 3 year old niece just glued with rapt attention.

What are you doing kaka? I am like I am playing. She didn’t want to leave me, she was so thrilled with this unusual thing happening around her. Kids are always curious, until its completely wiped out of them by social apathy.

So the shortening of the image is a direct consequence of shortening of the path that light ‘rays’ have to travel inside water or any such optically denser media.

Yes, optical density is totally different from mass density of materials that we so fervently talk about or imagine when someone says density, this is perhaps a misconception I have carried even until a year ago, when I confirmed both densities are different.

But I certainly think they can be correlated, more matter in a small volume can also lead to a higher optical density in line with matter density, perhaps?

Also lets realize the fact that things might not necessarily look shortened right-away, eg as shown in the above picture. But one can see for oneself an object immersed in a bucket full of water, which was a bit harder for me to produce here.

Big experiments need bigger funding.

Having a big bucket full of water might make my mother cringe about it harder, domestic etiquette, you know, I resisted.

This shortening is because, light rays would “bend” inside water, towards a direction where they have to take a shorter path, as their speed must reduce, given to the fact, that, in the same time in a rarer medium, light would have traveled a longer distance, in the exact same time, which is no longer possible, due to the crowd of molecules and subatomic ghetto that light meets along its way.

Lets look at the process a bit deeper. Lets look at the historical understanding of it first.

More than 2000 years ago, scientists of those time, knew that, light would take a path of shortest time. It is a law of reflectionHeron of Alexandria in C. 60, had noted that; Light reflections, to any number, from a flat mirror surface would traverse that path, which would be shortest among all paths nearby, in the same media.

Note that here the shortest path is synonymous with least time, since during reflection light ray traverses a homogeneous medium, i.e., there is only one speed with which the ray travels, hence least amount of time correspond to shortest path.

The fact to be noted here to avoid future “I am in a pickle” moment is to realize, reflection necessarily means light remains in a homogeneous medium. That means light travels with the same speed, depending on the refractive index of the given medium. This necessarily means minimizing time and minimizing corresponding distance, are the same thing.

Lets give it a 3rd  shot to understand, this time mathematically: there are 3 variables, speed, distance and time, if speed is fixed, given that there already exists a relation between distance and time, in terms of speed, changing one among distance and time necessarily changes the other among these two, the same way.

In simpler words having speed constant, distance and time change in the same manner, since speed is the ratio of distance and time, hence minimizing distance is same as minimizing time. Hence Heron could not catch the subtlety here, namely for refraction minimal time is not same as minimal distance.

Hence Heron’s principle of least path or for him least time, would not suffice to explain refraction, which is no more simply, a principle of least path, although still a principle of least time, satisfactorily.

About a 1000 years ago, in the Middle-east, Ibn Sahl propounded the law of “least time” for  the path of light although its accounted to the much later day scientist and polymath Fermat who gave the general formulation of such.

Also note that Ibn Sahl although a noted Optical Physicist of his time, was not the most celebrated scientist, Ibn al-Haytham or Alhazen who wrote Book of Optics — “Kitab al Manazir” was. Although it shall also be noted that al-Hayatham was influenced by Ibn Sahl, even though al-Hayatham took optics to a far higher echelon, than the former.

Ibn Sahl had given the refinement of law of reflection by including refraction, to be following the shortest-time path as well as the principle does for reflection. Ibn’s work was based on work on refraction, from Ptolemy.

Fermat’s principle of least time which is the most important basis of Optics, the Physics of light, and from there Quantum Electrodynamics, Physics of light and electrons, is a specific form of the more general Principle of least action known as Hamilton’s Principle.

Fermat’s Principle is also derivable from Huygens’s Principle, a geometrical attribute known to be valid for light as waves for centuries now. Note that Optics is primarily Ray Optics or Geometrical Optics apart from another exclusive regime known as Wave Optics.

In Ray Optics waves are assumed to be following straight-line motion because of negligible size of wavelength in a given situation. So Ray optics must follow from Wave-Optics. Fermat’s Principle is the most important edifice of Ray or Geometrical Optics. ray and wave optics are together known as Classical Optics as opposed to Modern Optics which is where the Quantum Mechanical views of light production and propagation becomes important.

Also note that Classical Optics is essentially studied as a first order theory and goes by the name Paraxial Optics. Any higher order corrections are going to bring into light the precise nature of light and there are a flurry of worrisome deviations from how simply we have formulated the various principles based eg on Fermat’s principle. These deviations are known as Aberrations.

Nonetheless Fermat’s Principle is still valid and governs these phenomena only hesitation we have is the paraxial assumption and we must let it be corrected for for a better understanding of the underlying phenomena.

Three words of caution in the continuity of our discussion in the penultimate paragraphs.

• While Fermat himself stated his principle in terms of least time, the essence of his principle was not that of least time. Its to be understood that in general its not least nor it is time which has any fundamental validity. Only in specific cases the action is least and only in specific cases the time, — of flight, is fundamental and is least.
• There could be other physical situations; when action itself can be either flat (stationary)  or maximum. Also same can be said about time. Time of flight can be maximum or flat among a slew of possible paths, for the physical situation under consideration.
• Fermat’s principle as we understand today and formally stated; is based on the idea of optical path and not time or action, and this will be soon discussed.

The principle of least action or more appropriately stationary action, is the most important principle in all of Physics. Its the principle that can lead to any principles of Physics, conceptually, formally and fundamentally. Thats because its the generator of whats called as “Equations of motion”. An equation of motion is a set of differential equation, that is, its an equation that involves differentials of motion and when solved gives a solution to the equation of motion, the solution known as trajectory or path of the physical objects, under consideration.

Needless to say the Principle of stationary or least action contains in it both waves and particles and in formalism covers in its various avatars or versions classical mechanics, theory of relativity or new classical mechanics and quantum mechanics.

But Huygens’s principle is a principle on the wave nature of objects eg electromagnetic waves. The Huygens’s Principle elucidates the spherical propagation of waves. Hence this can easily give rise to the law of refraction or law of sines, known as Snell’s Law, given at the top of this article, a statement of the fact that speed of travel of light must depend upon the angle at which light is traveling, in a given medium, wrt another.

That’s so because of the fact that angles are ratio of length segments, here the length being what is known as “Optical path”. Optical path is a physical quantity that differentiates from the physical path by taking into account the idea that speed of light must reduce, when it travels in any denser media.

A geometrical path is a pure length segment, a physical path is one which takes “amount of time taken” included into a geometric consideration and an optical path is the additional inclusion of speed (of light).

So far so good, we are only taking in a general fashion the dictum of a “principle of stationary action” as opposed to the principle of stationary time. First, time correlated with speed, is a general step towards time correlated with energy or energy in a form known as Lagrangian, this correlation of time with Lagrangian is known as Action.

Action is a correlation of time with energy of a system, rather than just time being a determinant of the fate of a system. All generalizations in physics must produce the principle of stationary action.

When we say least we mean: the shortest. In general the light path could also be the longest and-or stationary. Together they are called principle of extremum. So light travels that path, which when suffers a little variation in time, or in the energy, action, speed or path, does not jump abruptly, rather changes to almost null, a condition known as stationary.

Its like our car moving on the highway. If there is a slight hitch we don’t fall into oblivion. We catch on almost smoothly, hence we keep on moving. That’s also a condition known as flat. And at the infinitesimal everything’s gotta be smooth or flat, hardly changing, then only can we move.

The above principle of flatness is applicable in general to all things physical, which is a beauty of Physics. Even if life of Physicists are not mean or easy by any means it is not a bug in jaggery — or is it? By studying little variations in these flatness we come to know about new phenomena and new forces and mysteries of nature. One challenge in such task is how to deal with any prevalent inconsistencies. **

So light travels the shortest path. A shortest path is that where time taken is the shortest among different neighboring path, if we are considering homogeneous or isotropic medium. An optical path is then defined as the refractive-index times physical-path, where physical path is a geometric path taken in a given time interval. Refractive index given as n is the amount by which speed of light reduces in a medium from what it is in free-space.

In free-space under all conditions of arbitrariness, such as changing frames of reference, changing wavelength, frequency, energy and so on, speed of light is a fixed value given as $c = 2.99 \times 10^8$ m/s. Refractive index is always greater than 1.0, satisfying a condition that speed is always less than c, and density of the medium is higher than that in free-space. As mentioned in the beginning density is optical density which is different from matter density, given by; m/V.

Then light takes that path where a variation of the optical path is zero, a condition called as extremum. That would mean the optical path would be shortest, longest or stationary or flat. Stationary or flat means all nearby paths are almost same wrt a given quantity, such as energy.

This extremum principle is known as Fermat’s Principle. This leads to the law of refraction known as Snell’s law: given as; $\frac{n_2}{n_1}=\frac{v_1}{v_2}= \frac{\lambda_1}{\lambda_2} = \frac{sin(i)}{sin(r)}$, where the incidence is occurring in medium 1 at angle i, given by refractive index n1 and r is refraction angle, occurring in medium 2, given by refractive index n2. In other words the speeds reduce in ratio of the refractive indices, of optical media.

Here is a summary of the optical path as it pertains to optical phenomena from simpler to the more involved, and why the understanding took the historical perspective that it did. I represent a simple tabulation of the values or ideas as it occurred to me while teaching the Optical path and Fermat’s Principle to my honors class.

The article was originally written in October 2013 but my lectures to honors students that I just mentioned was in 2016-17. So the idea is just an addendum.

 Phenomena Geometrical Path (distance) Physical Path (wrt time) Optical Path (wrt free-space) Reflection Reflection occurs in homogeneous medium; minimization is same Refraction These two are same Differs

### Rough Patch ahead, just sharing, needs review.

I tried to derive the conditions mathematically, from geometric considerations, although I am half-way. The diagram that occurred to me, turns out to be same as the one Ibn’s manuscript possesses. Although I didn’t look at the latter ever before. I am stuck by the fact why should I consider perpendiculars in the original and refracted path of the light ray, as opposed to any other possible intercepts, that’s when I started researching more when I understood the fact known as Huygens’s Principle which makes spherical waves propagation.

But I haven’t made any more progress, I was simply trying to apply algebra; kx + ωt = k’x’ + ω’t’ as the condition of phase, where one must realize the conditions of symmetry in Physics are nothing but a simple application of this algebraic equation, which states “given to a change in some conditions there must be a quantity that must be the same or conserved”. Here phase of original ray = kx + ωt and phase of refracted ray = k’x’ + ω’t’. Instead of energy or momentum, I started with the more fundamental quantity, to the problem; the phase.

So I have two approaches,

Geometric:
it leads to trigonometry, I need some more tinkering with that.
Algebraic: two methods,
in one method if I apply conservation of momentum, without thinking exactly what its doing, I get Snell’s law,
2nd method: the one I am doing here: kx + ωt = k’x’ + ω’t’; I get v/v’ = x/x’. Where x, x’ being physical location of the wave, give the distance light is traveling, in two cases, original ray vs refracted ray, but how to go from there.

The idea of mine is to show that energy conservation is a natural idea built into refraction, because this is the condition that gives a particular speed, given a particular angle of path of light.

**

Talking about inconsistencies >> Relativity of Einstein is a beautiful application of Algebra into Geometry, to remove inconsistencies from existing theories of waves and particles just as Re-normalization is an application of various mathematical techniques, such as calculus and group theory, to remove inconsistencies from Quantum Mechanics, which was already a refined theory of wave and particle mechanics, known as classical mechanics.

I just realized how this is so, when I was trying to understand the refraction of light as a process that involves classical, relativistic or new classical and modern or quantum mechanical ideas. Think this: if $\alpha = A+B+C+D$ etc then by realizing that A, B and C are equivalents, if one must simply be zero it must not be included in the denominator, in order to make our theory consistent.

eg Photon has no mass. It is wrong to say rest mass of photon, just no mass, when it has, it only has energy and mass and energy are equivalents given to the right unit-dimension and if A = mass and B = energy, we must see that A does never come in the denominator, simply because its zero, so there are two distinct forms of energy as Physics has been formulated, one is mass and the other is other forms of energy, which are again equivalents among each other.