Noether's theorem essentially states that for every continuous symmetry in the Lagrangian, there is a corresponding conservation law. For instance, time translation symmetry of the Lagrangian yields the conservation of energy. To show this, we will assume our Lagrangian does not explicitly depend on t. That is, t itself does not appear directly in our Lagrangian. The only time dependence L has on t is through the dependence of qi and q˙i on time. If the Lagrangian did explicitly depend on time, we would expect it not to have time translation symmetry. Say we increase time according to the transformation: t→t+ϵ.
L(qi(t+ϵ),q˙i(t+ϵ))≈L(qi(t),q˙i(t))+dtdLϵ=L(qi(t),q˙i(t))+i=1∑n∂qi∂Ldtdqiϵ+∂q˙i∂Ldtdq˙iϵ..(1)(2) Subtracting L(qi(t),q˙i(t)) from both sides of Equation (2) yields:
L(qi(t+ϵ),q˙i(t+ϵ))−L(qi(t),q˙i(t))≈i=1∑n∂qi∂Ldtdqiϵ+∂q˙i∂Ldtdq˙iϵ.(3) We will call the left-hand side of Equation (3) ΔL, hence Equation (3) becomes:
ΔL≈i=1∑n∂qi∂Ldtdqiϵ+∂q˙i∂Ldtdq˙iϵ.(4) Rearranging Equations (??) yields that:
∂qi∂L=dtd(∂q˙i∂L).(5) If you are wondering what about if we have non-conservative forces? Would that not mean Equations (5) would not hold as there would be a missing generalized force term? Yes and in that event the Lagrangian would indeed change in time and conservation of energy would not hold, as our system would be losing energy to those non-conservative forces.
Substituting Equations (5) into Equation (4) yields:
ΔL≈i=1∑nϵ(dtd∂q˙i∂Lq˙i+∂q˙i∂Lq¨i).(6) Substituting Equations (??) into Equation (6) yields:
ΔL≈ϵi=1∑n(dtdpiq˙i+piq¨i)=ϵi=1∑n(p˙iq˙i+piq¨i).(7) We can rewrite the bracketed expression on the right-hand side of Equation (7) using the product rule of differentiation as:
ΔL≈ϵi=1∑ndtd(piq˙i)=ϵdtdi=1∑npiq˙i. If L does not change in time, ΔL=0, and hence:
ϵdtdi=1∑npiq˙i=0.(8) Dividing both sides of Equations (8) by ϵ yields:
dtdi=1∑npiq˙i=0. L does not change, so dtdL=0, too. Hence:
dtd(i=1∑npiq˙i−L)=0.(9) Interestingly, i=1∑npiq˙i=2T, that is it is twice the kinetic energy of our system. Hence if we substitute Equation (??) into Equation (9), we obtain:
dtd(2T−(T−V))dtd(T+V)=0=0.(10) Hence substituting Equation (??) into Equation (10) yields:
dtdH=0.(11) In other words, we obtain that the Hamiltonian — the total energy of the system — does not change, hence it is conserved.