Euler–Lagrange equation
The following derivation of the Beltrami identity starts with the Euler–Lagrange equation,