Theorem (Noether's first theorem)
Given a symmetry $\v X(t,s)$ of $f(\v x,\dv x, t)$,
then
$$ \begin{align*}
\sum_i \pdfd{f}{\dot x_i} \left.\dfd{X_i}{s}\right|_{s=0}
\end{align*} $$
is a first integral of the Euler-Lagrange equations, i.e. it is a conserved quantity.
Proof