Lagrangian mechanics
…the motion of the system is, all the coordinates and velocities will vary in such a way that these momenta are conserved. Given a Lagrangian L , the Hamiltonian of the corresponding mechanical system is, by definition, H = ( ∑ i = 1 n q ˙ i ∂ L ∂ q ˙ i ) − L . This quantity will be equivalent to energy if the…