## The Lagrange equations

We here derive the Lagrange equations in a step-by-step fashion, using the knowledge of generalized forces from our previous discussions.

In our discussion so far, we arrived at an expression for the generalized force in terms of time derivatives of the classical kinetic energy. We now make use of this concept to arrive at a remarkable set of equations called the Lagrange equations, which form an alternate route of describing the motion of classical objects.

# With conservative forces

Rewriting the expression for the generalized force,

(1)

We also know from the definition of generalized force,

But from the transformation equations,

(2)

As we mentioned earlier, let us consider conservative forces. These forces are special in the sense that work done by them in moving a mass in space is independent of the path taken and depends only on where you started and where you stopped (much like it is with electric forces). And so, we can express them as a gradient of a potential, or . Also, since, , equation(2) becomes,

And we are left with,

(3)

I.e., if the forces involved are conservative, we can also write the generalized force as the gradient of the potential with respect to the generalized coordinates.

# Arriving at the Lagrange equations

Let us substitute the result (3) into equation (1), we have,

Or,

We might as well combine the last two terms of the equation above (since differentiation is a linear operator) and write,

(4)

If we further choose only potentials that do not depend on velocities, we have . So, no harm is done if we included this in the first term above,

Let’s name the difference , the Lagrangian.

We then can write,

These are the all-famous **Lagrange equations** which form an alternate method of determining the equations of motion (besides the Newtonian method). To put them to use, all you need to know is the total kinetic energy and potential energy of the system. Take the difference of the energies, find the Lagrangian, , and differentiate it according to this equation, and voila, you have your equation of motion! No need to even think of the constraint forces. No need to draw any force diagrams.

But keep in mind that we have derived these equations for forces that are conservative with a potential that is independent of velocities. For example, we can’t use the above form of the equations when forces such as friction or air drag or any other dissipative ones are acting on the body.

# The Lagrangian

Now, focusing on the new function we introduced above – the Lagrangian. Since, it is just the difference of the kinetic and the potential energies, where the kinetic energy is a function of and , and the potential energy of and ; the Lagrangian must be a function of , and .

As we know, there can be ambiguity regarding the potential function chosen, since we are free to chose any point in space as the point of zero potential. So, say, instead of a potential V that you chose, we choose a potential , where is also some function of and . How will the Lagrange’s equation turn out then?

(5)

We can rewrite the second term here as .

And since is a function of and , .

Which implies, .

Hence, equation (5) becomes,

And we get back the Lagrange’s equation,

So, there seems to be no effect on the equations of motion, of adding the function to the Lagrangian. This means that we can construct a number of different Lagrangian functions (differing by this additional function ) all of which give the same, correct equations of motion.

We will next use the Lagrange equations for different classical systems and surprise ourselves with how simply we can obtain the same results with them, as compared with Newton’s way.