The Variational Problem
Prerequisites: Variational Calculus. Full path (3 pages)
The core idea of this problem is to find a function that is a stationary point for a certain process, expressed as an integral functional, this means that we need to set the functional derivative of the integral to zero.
We haven't made any assumption of the form of and the space where it resides. On the standard variational problem is the space of the functions that and , i.e, fixed boundaries, and are sufficiently smooth. Also, we assumed a standard lift: .
Saying that, now the fundamental lemma of variational calculus enters. The variation, , is arbitrary but with . The later assertion, makes the term outside the integral zero. On the other hand, by the fundamental lemma, the interior parenthesis is zero, giving:
that is, the Euler-Lagrange equations.
Some variations worth studying
\1. Change : the functions do not need to be continous at all points, this gives collisions on a variational setting.
\2. Variable end points, i.e. and vary with
\3. Change the interdependencies of the lift . This will lead to Vakonomic Mechanics.
Intuitive
The variational problem asks: among all curves that start at a given point and end at a given point, which one makes some quantity (a length, a travel time, an energy) as small or as large as possible, or at least stationary?
Think of standing in a landscape and looking for the bottom of a valley. At the bottom the ground is flat, so taking a tiny step in any direction does not change your height to first order. The variational problem uses the same test on curves. Take a candidate curve and push it slightly out of shape somewhere in the middle, keeping its two ends pinned down. If the quantity does not change to first order, for every such small push, the candidate is a solution.
Because the push can be placed anywhere along the curve, the condition has to hold at every point separately. That turns one condition on the whole curve into a local rule, a differential equation that the curve must obey at each point. This equation is the Euler-Lagrange equation. The fixed ends are part of the problem. If an end is allowed to move, the test has to include pushes that move it, and this gives an extra condition at that end.
Concrete
Statement
Given a function , find among all sufficiently smooth with and those that make stationary. As derived above, they satisfy
For several functions there is one such equation for each , since each can be varied independently.
A first integral
If does not depend explicitly on , then along solutions
so is constant (the Beltrami identity). For a mechanical Lagrangian this is minus the energy.
Worked example: the brachistochrone
A bead slides without friction from the origin to a lower point, along a curve with measured downward. Energy conservation gives the speed , so the travel time is
where now plays the role of . The integrand does not depend on , so the Beltrami identity gives
that is for a constant . One checks by substitution that the cycloid
solves this: and . The constant is fixed by the endpoint.
Changing the boundary conditions
If the value is not prescribed, the variation is arbitrary and the boundary term in the derivation above no longer vanishes automatically. Stationarity then requires, in addition to the Euler-Lagrange equation, the natural boundary condition
If the admissible functions must also satisfy a constraint of the form , as for the hanging chain of fixed length, one makes stationary with a Lagrange multiplier .
Abstract
Let be a manifold and consider the space of paths of a suitable regularity class (for example or ). This is an infinite-dimensional manifold, and its tangent space at consists of the vector fields along with . The variations of the derivation above are exactly these tangent vectors, and the computation shows
where in local coordinates . The Euler-Lagrange expression is a covector in , which is why the equations take the same form in every chart. The variational problem is the search for critical points of the function on .
Geodesics
On a Riemannian manifold the critical points of the energy are the geodesics with constant speed. The length functional has the same critical curves, but because it is invariant under reparametrization its critical points come in infinite-dimensional families of reparametrizations, which is why the energy is used in practice.
Stationary versus minimal
The variational problem asks for critical points. In mechanics, with and positive definite, the physical trajectories are local minima of the action as long as the time interval contains no point conjugate to the initial point, which holds for sufficiently short intervals. Beyond the first conjugate point they are no longer minima. The second variation and the Morse index theorem, which counts the negative directions of the second variation by conjugate points, make this precise.
Variants
The modifications listed above change the space or the form of . Free or moving endpoints lead to natural boundary and transversality conditions. For nonholonomic constraints (constraints on that cannot be integrated to constraints on ), imposing the constraint on the space of paths before varying gives vakonomic mechanics, which in general yields different equations of motion than the Lagrange-d'Alembert principle used for mechanical systems with rolling constraints.