Conjugate momenta are dynamical variables that generalize the idea of momentum to generalized coordinates in both Lagrangian and Hamiltonian systems.
Given a Lagrangian with degrees of freedom over the generalized coordinate , the -th conjugate momentum is defined as