A variation in the calculus of variations is a perturbation of a function or path.
For a family , the first
variation of a functional
is the derivative of
with respect to
at 0, when it exists.
In mechanics,
denotes the variation of the coordinate
at fixed time. If the endpoint times and values are fixed,
then
If an endpoint time varies, the total variation of the endpoint coordinate to first order is
where is the change in the endpoint time.
In the Bolza problem, endpoint variations can contribute
to the first variation of the functional.