Home Laboratory Computer Lab Theses

3.1 Introduction

We are concerned with the problem of finding minima (maxima) of a functional F : β„± β†’ ℝ , 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 F , also called cost functional or simply cost must be specified for evaluating the performance of a system quantitatively. The typical form of F (also called Lagrange problem of the calculus of variations) is

β„± [ x ] : = ∫ t 1 t 2 f ( t , x ( t ) , x Λ™ ( t ) ) d t

where t ∈ ℝ is the real or independent variable, usually called time, x ( t ) ∈ ℝ n x , n x β‰₯ 1 , is a real vector variable, usually called the phase variable. The functions x ( t ) = ( x 1 , … , x n x ) t 1 ≀ t ≀ t 2 are generally called trajectories or curves; x Λ™ ( t ) ∈ ℝ n x stands for the derivative of x ( t ) with respect to time; and f : ℝ Γ— ℝ n x Γ— ℝ n x β†’ ℝ is a real-valued function, called a Lagrangian function or, briefly, a Lagrangian a , the function f measures the instantaneous cost and is sometimes called running cost. Overall, we may thus think of β„± ( x ) as dependent on an real-vector-valued continuous function x ( t ) ∈ 𝒳 . A slightly different performance criterion is:

F [ x ] = Ο† ( t 1 , x ( t 1 ) , t 2 , x ( t 2 ) ) + ∫ t 1 t 2 f ( t , x ( t ) , x Λ™ ( t ) ) d t

an additional function Ο† weights the endpoints of the phase trajectory { t 1 , x ( t 1 ) } and { t 2 , x ( t 2 ) } . This problem is called Bolza problem. In the same way one can define a third type of cost functional known as Mayer problem b :

F [ x ] = ψ ( t 1 , x ( t 1 ) , t 2 , x ( t 2 ) )

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:

min x ( t ) F [ x ] = ∫ t 1 t 2 f ( t , x ( t ) , x Λ™ ( t ) ) d t s . t . x ∈ β„± βŠ‚ 𝒳

For example we can take as 𝒳 = C 1 ( [ t 1 , t 2 ] ) the space of real continuously differentiable functions on [ t 1 , t 2 ] and as β„± a subset of this function space β„± : = { x ∈ 𝒳 such that x ( t 1 ) = x 1 } that is the space of continuously differentiable functions that is equal to a fixed x 1 at t 1 . 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 x a a Again we emphasize the fact that a trajectory x ∈ 𝒳 is a real or vector valued function, we use both the notation x or x ( t ) 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 [ t 1 , t 2 ] . The set π’Ÿ of admissible trajectories is defined as

π’Ÿ : = { x ∈ 𝒳 : x  admissible  }

Typically, the functions x ( t ) 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., x ( t 1 ) = x 1 and x ( t 2 ) = x 2 . Then, the set of admissible trajectories can be defined as:

π’Ÿ : = { x ∈ 𝒳 : x ( t 1 ) = x 1 , x ( t 2 ) = x 2 } .

In this case, we may say that we seek for trajectories x ( t ) ∈ 𝒳 joining the fixed points ( t 1 , x 1 ) and ( t 2 , x 2 ) . Alternatively, we may require that the trajectory x ( t ) ∈ 𝒳 join a fixed point ( t 1 , x 1 ) to a specified curve Ξ“ : x = g ( t ) , t 1 ≀ t ≀ T . Because the final time t 2 is now free, not only the optimal trajectory x ( t ) shall be determined, but also the optimal value of t 2 . That is, the set of admissible trajectories is now defined as

π’Ÿ : = { ( x , t 2 ) ∈ 𝒳 Γ— [ t 1 , T ] : x ( t 1 ) = x 1 , x ( t 2 ) = g ( t 2 ) }

Besides bound constraints, another type of constraints is often required:

F k [ x ] : = ∫ t 1 t 2 f k ( t , x ( t ) , x Λ™ ( t ) ) d t = C k k = 1 , … , m

for m β‰₯ 1 lagrangian functionals F 1 , … , F m with lagrangian functions f 1 , … , f m . 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 x ( t ) β‰₯ 0 for all or part of the optimization horizon [ t 1 , t 2 ] . More generally, constraints of the form

Ξ¨ ( t , x ( t ) , x Λ™ ( t ) ) ≀ 0 Ξ¦ ( t , x ( t ) , x Λ™ ( t ) ) = 0

for t in some interval I βŠ‚ [ t 1 , t 2 ] 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 x ( ΞΎ ) , ΞΎ A ≀ ΞΎ ≀ ΞΎ B , in the vertical plane ( ΞΎ , x ) , joining given points A = ( ΞΎ A , x A ) and B = ( ΞΎ B , x B ) , ΞΎ A < ΞΎ B , x A < x B , and such that a material point sliding along x ( ΞΎ ) without friction from A to B , under gravity and with initial speed v A β‰₯ 0 , reaches B 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 F [ x ] is the time required for the point to travel from A to B along the curve x ( ΞΎ )

F [ x ] = ∫ ξ A ξ B d t = ∫ ξ A ξ B d s v ( ξ )

where s denotes the arc length of x ( ΞΎ ) , defined by d s = 1 + αΊ‹ ( ΞΎ ) 2 d ΞΎ , and v , the velocity along x ( ΞΎ ) . Since the point is sliding along x ( ΞΎ ) without friction, energy is conserved,

1 2 m ( v ( ΞΎ ) 2 βˆ’ v A 2 ) + m g ( x ( ΞΎ ) βˆ’ x A ) = 0

with m being the mass of the point, and g , the gravity acceleration. That is, v ( ΞΎ ) = v A 2 βˆ’ 2 g ( x ( ΞΎ ) βˆ’ x A ) , and

F [ x ] = ∫ ΞΎ A ΞΎ B 1 + αΊ‹ ( ΞΎ ) 2 v A 2 βˆ’ 2 g ( x ( ΞΎ ) βˆ’ x A ) d ΞΎ

The Brachistochrone problem thus formulates as a Lagrange problem of the calculus of variations.

PIC

Figure 3.1:: The Brachistochrone Problem

We note that this problem is a free problem since we have assigned endopoints A = ( ΞΎ A , x A ) and B = ( ΞΎ B , x B ) 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 L attached at two poles A = ( x A , y A ) and B = ( x B , y B ) find the function y ( x ) that describes the shape assumed by the rope under the action of gravity. Using the infinitesimal arc length d s we can express the constraint enforcing the length L of the rope as an isoperimetric constraint. That is:

F 1 [ y ] = ∫ x A x B d s = ∫ x A x B 1 + ẏ 2 d x = L 1 1 Note that in this case  x  is the independent variable and  ẏ = d y d x  

Therefore the admissible space of functions π’Ÿ is a subset of a general linear function space 𝒳 that is defined as:

π’Ÿ : = { y ∈ 𝒳 : y ( x A ) = y A , y ( x B ) = y B , F 1 [ y ] = L }

Since we are seeking for a static equilibrium condition, we look for a function y that minimzes the potential energy. In the continuous setting the potential energy of the rope can be expressed as:

F [ x ] = V [ x ] = ∫ M y ( x ) g d m = ∫ x A x B y g ρ d s = ρ g ∫ x A x B y 1 + ẏ 2 d x

Therefore the catenary problem is:

min y ( x ) F [ y ] = ρ g ∫ x A x B y 1 + ẏ 2 d x s . t . y ∈ π’Ÿ

pict

Figure 3.2:: The Catenary Problem

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.

Example 3.3 (Dido’s Problem). Given a length L , find the curve of length L with fixed endpoints that maximize the area between the curve and the x-axis. The isoperimetric constraint is again:

G [ y ] = ∫ x A x B d s = ∫ x A x B 1 + ẏ 2 d x = L

While the cost functional to maximize is:

F [ y ] = ∫ x A x B y d x