Lagrangian mechanics is a subset of Hamiltonian mechanics
TL;DR – Hamiltonian systems for which two states have the same trajectory $q(t)$ are not Lagrangian. Lagrangian systems are Hamiltonian systems where the velocity is a function $v=v(x,p)$ strictly increasing with respect to momentum (i.e. an increase in momentum yields an increase in velocity). In a previous post we saw how the photon, as a …