This formalism is as fundamental as the Hamiltonian, and both can be used to derive the equations of motion or be derived from them