In this blog post we will discuss the Lagrangian approach to Classical Mechanics, this forms a major chapter of almost every Classical Mechanics textbook.
This formulation is very important and plays an important role in Classical physics.
I am solely following John Taylor’s book on Classical Mechanics.
Refer image below,
Figure 1

In the above image, the curve is the correct path and the curve is the incorrect path (basically ).
We will for now will only concentrate on curve ,
The length of a small segment on is given by,
And since, ,
Which is,
Use in ,
Now, to find the total length of the curve , say the total length is , so,
To go further, we will introduce the concept of least time given by Fermat. It’s called Fermat’s principle.
In 1650, Fermat discovered a way to explain reflection and refraction as the consequence of one single principle. It is called the principle of least time or Fermat’s principle.
Fermat’s principle says that the correct path from point 1 to 2 (refer figure) is the path for which the time of travel is the least. So, the correct will the one for which,
is minimum.
For the sake of generalization, we assume that is variable and we, from now on, denote it as .
Now, using in , we have (neglecting because it is a constant - the speed of light) ( assumed as a variable),
So, our task is to find a such that is minimum.
Eqn can be denoted as integral for the sake of simplicity of reference,
For the sake of analysis, we write as
We must appreciate now that, is still unknown.
From the figure, we assume is the wrong path with error value , thus,
Understand that is the error function and therefore,
The can be of any form and type.
The integral taken along the wrong curve must be larger than the right curve , to express we introduce a factor , thus, becomes,
Therefore, the integral will now be written as ,
the requirement is is minimum for right curve , therefore, at , is minimum.
Get into the mathematics now,
Which is,
Now, we need to find the differential of with respect to ,
Now,
Use in ,
For finding minimum, we equate to .
Thus,
We try to simplify the second part of ,
Using condition , we get,
Using in ,
Thus, we have,
The above equation should satisfy for any value of , thus,
Equation is called the Euler Lagrange Equation.
Cheers.