Lagrangian
L
=
K
โ
V
L=KโV
where
K
K
is the kinetic energy and
V
V
is the potential energy.