We are concerned with the problem of finding minima (maxima) of a functional , where is a subset of a (normed) linear space of real-valued (or real-vector-valued) functions. The formulation of a problem of the calculus of variations requires two steps: the specification of a performance criterion is discussed and the statement of physical constraints that should be satisfied.
Remark 3.1: Performance Criterions
A performance criterion , also called cost functional or simply cost must be specified for evaluating the performance of a system quantitatively. The typical form of (also called Lagrange problem of the calculus of variations) is
where is the real or independent variable, usually called time, , , is a real vector variable, usually called the phase variable. The functions are generally called trajectories or curves; stands for the derivative of with respect to time; and is a real-valued function, called a Lagrangian function or, briefly, a Lagrangian a , the function measures the instantaneous cost and is sometimes called running cost. Overall, we may thus think of as dependent on an real-vector-valued continuous function . A slightly different performance criterion is:
an additional function weights the endpoints of the phase trajectory and . This problem is called Bolza problem. In the same way one can define a third type of cost functional known as Mayer problem b :
It can be shown that all these formulations are equivalent that means that can be transformed into one another via a variable transformation.
Definition 3.1: Calculus of Variation Basic Problem
The basic problem of Calculus of Variation is defined as:
For example we can take as the space of real continuously differentiable functions on and as a subset of this function space that is the space of continuously differentiable functions that is equal to a fixed at . Enforcing constraints in the optimization problem reduces the set of candidate functions, i.e., not all functions in are allowed. This leads to the following:
Definition 3.2: Admissible Trajectory
A trajectory a a Again we emphasize the fact that a trajectory is a real or vector valued function, we use both the notation or in a real linear function space is said to be an admissible trajectory provided that it satisfies all the physical constraints (if any) along the interval . The set of admissible trajectories is defined as
Typically, the functions are required to satisfy conditions at their end-points. Problems of the calculus of variations having end-point constraints only, are often referred to as free problems of the calculus of variations. A great deal of boundary conditions is of interest. The simplest one is to enforce both end-points fixed, e.g., and Then, the set of admissible trajectories can be defined as:
In this case, we may say that we seek for trajectories joining the fixed points and . Alternatively, we may require that the trajectory join a fixed point to a specified curve . Because the final time is now free, not only the optimal trajectory shall be determined, but also the optimal value of . That is, the set of admissible trajectories is now defined as
Besides bound constraints, another type of constraints is often required:
for lagrangian functionals with lagrangian functions . These constraints are often referred to as isoperimetric constraints. Similar constraints with sign are sometimes called comparison functionals. Finally, further restriction may be necessary in practice, such as requiring that for all or part of the optimization horizon . More generally, constraints of the form
for in some interval are called constraints of the Lagrangian form, or path constraints. A discussion of problems having path constraints is deferred until the following chapter on optimal control. We now give a series of examples of classical problems of the Calculus of Variations whose admissible function spaces present some of the constraints discussed previously. The most famous and maybe first problem of the calculus of variations is the Brachistochrone Problem below.
Example 3.1 (Brachistochrone Problem). Consider the problem of finding the curve in the vertical plane joining given points and and such that a material point sliding along without friction from to , under gravity and with initial speed reaches in a minimal time (see Figure 3.1 ). This problem was first formulated then solved by Johann Bernoulli, more than 300 years ago!
The objective function is the time required for the point to travel from to along the curve
where denotes the arc length of defined by and the velocity along . Since the point is sliding along without friction, energy is conserved,
with being the mass of the point, and , the gravity acceleration. That is, and
The Brachistochrone problem thus formulates as a Lagrange problem of the calculus of variations.
We note that this problem is a free problem since we have assigned endopoints and were given. Another classical problem of the calculus of variations with Lagrange cost functional is the catenary problem.
Example 3.2 (Hanging rope with fixed length). Given a rope of length attached at two poles and find the function that describes the shape assumed by the rope under the action of gravity. Using the infinitesimal arc length we can express the constraint enforcing the length of the rope as an isoperimetric constraint. That is:
Therefore the admissible space of functions is a subset of a general linear function space that is defined as:
Since we are seeking for a static equilibrium condition, we look for a function that minimzes the potential energy. In the continuous setting the potential energy of the rope can be expressed as:
Therefore the catenary problem is:
A similar problem to the catenary one is Didoβs isoperimetric problem that, according to Virgilβs Aeneid, dates back to the foundation of Carthago around 850 B.C. Didoβs problem is to find the arc that given the endpoints and the length is able to maximize the area.