This section is a direct follow on from Section two of classical mechanics on the Lagrangian and so should certainly be read after it. In this section we will prove that the Lagrangian system follows the conservation of energy principle. With a few mathematical tweaks, we will force the conservation of energy to drop out of the Lagrangian system:
Note: As discussed in classical mechanics, Ė (read E-dot) is a way of writing the time-derivative of energy. This notation extends to any variable. For example, v-dot is acceleration.
For a single particle system, the total energy is defined as:
\[\tag{1}
E = T + V
\]
The energy change for a system over time is therefore:
\[\tag{2}
Ė = \frac{dE}{dt} = \frac{dT}{dt} + \frac{dV}{dt}
\] \[
\tag{3}
T = \frac{1}{2}mv^2
\]
Ignoring relativistic effects (see the special relativity chapter), we assume mass to be a constant but v is free to change – v is almost always the factor that changes kinetic energy.
\[\tag{4}
\frac{d(v^2)}{dt} = \frac{d(v * v)}{dt}
\]
We can use a clever differential trick called the product rule here. The product rule says if you have a function (A(x)) that is the product of two smaller functions (B(x)and C(x)), where both B and C are functions of a common variable (x), then:
\[\frac{d A}{dx}= B .\frac{d C}{dx} + C.\frac{d B}{dx}
\]
In our case A is v2 and B and C are both v. Therefore:
\[\frac{d v^2}{dt} = v.\frac{d v}{dt} + v.\frac{d v}{dt} = 2(v.\frac{d v}{dt})
\]
dv/dt is the rate of change of velocity which is of course just acceleration, a, so:
\[\frac{d v^2}{dt} = 2va
\]
We can’t forget those constants though! T = 1/2 mv2 . So:
\[\frac{d T}{dt} = mva
\]
Turns out this result comes out in physics a lot so it’s a good one to have stored upstairs. Retuning to our equation for energy change (equation 2), we have found a value for the differential of kinetic energy but we need to use an even cleverer trick to differentiate the potential energy, V.
The way we do this is through one of the fundamental principles behind classical mechanics: the potential energy principle, which states:
“All forces come from unique potential energy functions. These functions are denoted by V(x).”
The exact relationship is defined as:
\[F(x) = -\frac{d V(x)}{dx}
\]
Important Note: the above equation assumes the force causes the potential energy to decrease. For forces that act against potential energy and increase it, the minus sign on the right side is removed.
This equation becomes logical when you remember that the right side (excluding the minus sign) merely shows the rate of change of potential energy. In words, this equation says “when a force is applied, potential energy changes at a rate dependent on the force.”
We have run into a barrier in the form of an annoying variable. We can only apply the potential-energy principle if we are differentiating V(x) with respect to x. We are doing dV(x) / dt though.
The secret to dodging this barrier is to use another differential trick called the chain rule. This states:
\[\frac{dA}{dB} = \frac{dA}{dC}. \frac{dC }{dB}
\]
Where C is another function in x of your choice. Although it’s not exactly how derivatives work, a neat way to remember this is to treat the two derivatives on the right side like normal fractions being multiplied together and cancelling C. The chain rule can also be used for cascades of new functions where each new function is defined based on the last one – you might define D, E and F variables too and then apply the “fraction-cancelling” system.
For our case, we will use C = x (for displacement). So:
\[\frac{dV}{dt} = \frac{dV}{dx}.\frac{dx}{dt}
\]
Recognise these terms now? Next, we use the potential-energy principle to convert dV/dx into -F(x). By it’s very definition, the rate of change of displacement, dx/dt, is just velocity, v. With the end now in sight, we will combine these to show:
\[\frac{dV}{dt} = -F(x).v
\]
Returning to equation 2, we have now defined both terms. The final stretch is to combine them:
\[\dot{E} = mva -F(x) . v = v(ma-F(x))
\]
Newton’s second law shows us that F = ma. So ma – F(x) = 0 because it is a value minus the value which is always 0 for any value of m or a. Therefore (phew):
\[\dot{E} = 0
\]
Et voila!!! The energy change of the system is 0, in other words energy has been conserved

