(See @olver86 page 243)
Let be an open, connected subset with smooth boundary . A variational problem consists of finding the extrema of a functional
in some class of functions , where is called the Lagrangian of the variational problem and it is a smooth function of , and their derivatives. Indeed, the Lagrangian should be thought as a horizontal 1-form, instead of a function. See Lagrangian Mechanics#Jet space approach.
The search of the extrema of this functional can be shown to be equivalent (by means of the variational derivative) to the Euler-Lagrange equations.