37
CHAPTER 4 Statement of the Necessary Condition for Mayer Problems of Optimal Control 4.1 Some General Assumptions We consider here Mayer problems of optimization. Precisely, we are con- cerned with the problem of the minimum of a functional (4.1.1) with differential equations, constraints, and boundary conditions (4.1.2) (4.1.3) (4.1.4) (4.1.5) dx/dt = I(t, x(t), u(t)), t E [tl' t 2] (a.e.), tE[t 1,t2], (t, x(t)) E A, u(t) E U(t), t E [tl' t 2] (a.e.), in the class Q of all admissible pairs x(t) = (xl, ... , x n ), u(t) = (u 1 , .•. , urn), tl t t 2 . Again, I(t, x, u) = (11, ... , In) is a given vector function, and the system (4.1.2) can be written equivalently in the form dxi/dt = J;(t, x(t), u(t)), t E [t 1 , t 2 ] (a.e.), i = 1, ... , n. Here U will be assumed to be either a fixed subset of the u-space R rn , or the whole space R rn , or depending on t only. For the sake of simplicity, we shall refer mostly to problems of minimum, since the same will hold for problems of maximum or, what is the same, problems of maximum become problems of minimum by changing g into - g. Given the generality of the constraints (4.1.2-5) under consideration, we must explicitely assume that they are compatible, that is, that there is at least one pair x(t), u(t), tl t t 2 , X AC, u measurable, satisfying (4.1.2-5). 159 L. Cesari, Optimization—Theory and Applications © Springer-Verlag New York Inc. 1983

Optimization—Theory and Applications || Statement of the Necessary Condition for Mayer Problems of Optimal Control

Embed Size (px)

Citation preview

CHAPTER 4

Statement of the Necessary Condition for Mayer Problems of Optimal Control

4.1 Some General Assumptions

We consider here Mayer problems of optimization. Precisely, we are con­cerned with the problem of the minimum of a functional

(4.1.1)

with differential equations, constraints, and boundary conditions

(4.1.2)

(4.1.3)

(4.1.4)

(4.1.5)

dx/dt = I(t, x(t), u(t)), t E [tl' t2] (a.e.),

tE[t1,t2], (t, x(t)) E A,

u(t) E U(t), t E [tl' t 2] (a.e.),

in the class Q of all admissible pairs x(t) = (xl, ... , xn), u(t) = (u1 , .•. , urn), tl ~ t ~ t2 . Again, I(t, x, u) = (11, ... , In) is a given vector function, and the system (4.1.2) can be written equivalently in the form

dxi/dt = J;(t, x(t), u(t)), t E [t 1, t2] (a.e.), i = 1, ... , n.

Here U will be assumed to be either a fixed subset of the u-space Rrn , or the whole space Rrn, or depending on t only. For the sake of simplicity, we shall refer mostly to problems of minimum, since the same will hold for problems of maximum or, what is the same, problems of maximum become problems of minimum by changing g into - g.

Given the generality of the constraints (4.1.2-5) under consideration, we must explicitely assume that they are compatible, that is, that there is at least one pair x(t), u(t), tl ~ t ~ t2 , X AC, u measurable, satisfying (4.1.2-5).

159

L. Cesari, Optimization—Theory and Applications© Springer-Verlag New York Inc. 1983

160 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

We say that such pairs are admissible. Thus, we assume explicitly that the data are compatible, that is, that the class Q of all admissible pairs is not empty. In any particular problem this may have to be verified.

Also, as mentioned, we assume that the minimum of the functional is being sought in the whole class Q of all admissible pairs (x, u). We say that I[x,u] has an absolute minimum (in Q), and that this minimum is attained at an element (x, u) e Q (any admissible pair), provided I[ x, u] ::;; I[x, u] for all elements (x, u) e Q (admissible pairs). In other words, if i denotes the infimum of I[ x, u] in Q, then i is finite, and I[ x, u] = i for some element (x,u) e Q.

In no way do we expect that the minimum of the functional is attained at only one element of Q, though this happens in many cases.

For the sake of simplicity, we formulate below the necessary condition under a simple set of assumptions, (a)-( e), and we shall then mention alternate assumptions. Different proofs of the necessary condition-of various degrees of sophistication-will be given in Chapter 7 (see also 4.2D).

To formulate the necessary condition we shall also need new variables A = (At> ... ,An), called multipliers, and an auxiliary function H(t, x, u, A), the Hamiltonian, defined in M x Rn by taking

(4.1.6) n

H(t,X,U,A) = Adl + ... + AnIn = I AJj(t,x,u). i= 1

Thus, H is linear in the mUltipliers At> ... ,An' Finally, for every (t, x,A)eA x Rn we shall consider H as a function of u only, with u in U (or U(t», and search for its minimum value in U (or U(t». If this minimum is lacking we shall search for its infimum in U or U(t), and say in any case

(4.1.7) M(t, x, A) = inf H(t, x, u, A). ueU

In this Chapter we shall think of A as a closed subset of the tx-space R1+n and, if M denotes the set ofall (t,x, u) e R1+n+m with (t, x) e A, u e U(t), we shall assume that M is closed and that f(t, x, u) = (fl' ... ,In) is of class C1 on M. We shall denote as usual by ht, hxi the partial derivatives of h with respect to t and xi. Also, we shall denote by Hxi = 8H/8xi, HI = 8H/8t, HAi = 8H/8Ai, i = 1, ... , n, the partial derivatives of H with respect to Xi, t, Ai' Obviously

(4.1.8) H xi = I Aijjxi, HI = I A ijjt' H Ai = h, i=l, ... ,n, i i

where Ii will always denote a sum ranging over allj = 1, ... , n. We shall list now a few specific hypotheses for our first presentation below

of the necessary condition. First we shall assume that

(a) A certain admissible pair x(t) = (xl, ... ,xn), u(t) = (ul, ... ,~), tl ::;; t::;; t2 , gives a minimum of I[x,u] = g(e[x]) in the class Q of all admis-

4.1 Some General Assumptions 161

sible pairs x, u, that is, l[ x, u] 5 lex, u], or g(e[ x]) 5 g(e[x]), for every admissible pair X, u.

We shall assume, more specifically, that

(b) the graph [(t,x(t))1 tl 5 t 5 t2] of the optimal trajectory x is made up of only interior points of A: briefly, x is made up of interior points of A.

Finally, we shall assume, for the moment, that

(c) U is a fixed closed subset of Rm, and the optimal control function u is bounded, that is, lu(t)15 N,t 1 5 t 5 t2, for some constant N (though U may be unbounded, and we do not exclude the case U = Rm).

Condition (c) is certainly satisfied if U is a fixed compact subset of Rm,

that is, U is fixed, bounded, and closed, since then lui 5 N for all u E U, and hence lu(t)15 N, lu(t)15 N, tl 5 t 5 t2, for all strategies, optimal or not. We shall list below in Section 4.2C, Remark 5, other possible assumptions which may replace (c) above.

Some general assumptions are needed on the smoothness of Band g, since now B is not a "single point," and we must have some control over how g varies when (tb Xb t 2, x 2) describes B. We shall assume

(d) that the end point e[x] = (t b x(t d, t2, x(t2)) of the optimal trajectory x is a point of B, where B possesses a "tangent linear variety" B' (of some dimension k, 05 k 5 2n + 2; see Section 4.4 below for examples and details), whose vectors will be denoted by h = ('1'~b'2'~2) with ~1 = (~L ... , ~1), ~l = (~i, ... , ~l)' or in differential form h = (dt 1, dXb dt2, dX2) with dXl = (dxi, ... ,dx1), dX2 = (dxi, ... ,dXl).

(e) g possesses a differential dg at e[ x], say n n

dg = gtl'l + L gx\~~ + gt2'2 + L gx~~~, i= 1 i= 1

or n n

dg = gtl dtl + .L gxi, dXil + gt2 dt2 + L gx~ dx~, ,= 1 i= 1

where gt" . .. , gx~denote partial derivatives of g with respect to t 1 , ••• ,Xl' all computed at e[x].

In many cases most of these differentials dt b ... , dx'2 are zero except for a few which are arbitrary, or satisfy simple relations, as we shall see by a great many examples in Section 4.4, where we shall discuss these assumptions and their implications in the transversality relations.

We shall also discuss in Remark 10 of Section 4.2C the case where B possesses at e[x], not a full tangent hyperspace B' of tangent vectors h, as assumed in (d), but only a convex cone of tangent vectors h, as at end points, edges, or vertices of B.

162 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

4.2 The Necessary Condition for Mayer Problems of Optimal Control

A. The Necessary Condition

4.2.i (THEOREM). Vnder the hypotheses (a)-(e) listed in Section 4.1 let x(t) = (Xl, ... , Xn), U(t) = (U 1, ... , Urn), t 1 ~ t ~ t2 , be an optimal pair, that is, an admissible pair x, u such that I[ x, u] ~ I[x, u] for all pairs X, u of the class Q of all admissible pairs. Then the optimal pair x, u necessarily has the following properties:

(PI) There is an absolutely continuous vector function A(t) = (AI' ... , An), (multipliers), such that

dAJdt = -HAt,x(t),U(t),A(t», i = 1, ... , n,

for t in [t 1, t2 ] (a.e.). If dg is not identically zero at e[x], then A(t) is never zero in [t 1,t2].

(P2) For almost any fixed tin [tb t 2] (a.e.), the Hamiltonian H(t, x(t), u, A(t))­thought of as a real valued function of u only with u in V-takes its minimum value in V at the optimal strategy u = u(t), or

M(t, x(t), A(t» = H(t, x(t), u(t), A(t»,

and this relation holds for any t in [t l' t 2] (a.e.). (P3) The function M(t) = M(t, x(t), A(t» is absolutely continuous in [t l' t 2J

(more specifically, M(t) coincides a.e. in [t1, t2] with an AC function), and (with this identification)

dM/dt = (d/dt)M(t, x(t), A(t» = Ht(t, x(t), u(t), A(t»

for t in [t l , t2] (a.e.). (P4) Transversality relation. There is a constant Ao ~ 0 such that

n

(Aogtl - M(tl»dt 1 + L (Aogx~ + Ai(t1»dx~ i= 1

n

+ (A ogt2 + M(t2»dt2 + L (Aogx~ - Ai(t2»dx~ = 0 i= 1

for every vector h = (r 1, ~1' r 2, ~2) E B', or briefly h = (dtb dx 1, dt2, dX2) E

B', that is,

This form is classical, and in each particular situation yields precise infor­mation on boundary values of the multipliers Ai and of the function M(t),

4.2 The Necessary Condition for Mayer Problems of Optimal Control 163

as we shall see in detail in Section 4.4 below in a number of typical and rather general situations.

Note that x, u above is an admissible pair, so that the differential equations

(4.2.2) dxijdt = f(t, x(t), u(t)), i = 1, ... , n,

are certainly satisfied for t in [t l' t2] (a.e.). Note that these equations and the n equations (PI) can be written, in view of (4.1.2), in the symmetric form

dxi oH dAi oH dt OAi' dt - oxi'

(4.2.3) i = 1, ... , n.

These are the so-called canonical equations. The equations (4.1.2), (PI), and (P3) (that is, the equations (4.2.3)) can be

given the equivalent integral form

(4.2.4)

Xi(t)=Xi(t1)+ it f(r,x(r),u(r))dr, i= 1, ... , n, Jtl

A;(t)=Ai(t1)- it HXi(r,x(r),u(r),A(r)) dr, i=I, ... ,n, Jtl

M(t)=M(t1)+ it Ht(r,x(r),u(r),A(r))dr, Jtl

which hold for all t, t1 S t S t2. Using the expressions for H and the expres­sions (4.1.8) for the partial derivatives Ht, Hxi, we can write the equations (PI), (P3) also in the explicit form

(4.2.5)

(4.2.6)

n

dA;/dt = - L Aj.f}At,x(t),u(t)), i = 1, ... , n, j; 1

n

dMjdt = L Aj.f},(t,X(t),u(t)). j; 1

Thus, we see from (4.2.5) that the multipliers Ai(t), i = 1, ... , n, are the solu­tions in [tt. t2 ] of a system oflinear homogeneous differential equations. We can always multiply them, therefore, by an arbitrary nonzero constant~ actually, an arbitrary positive constant~and still preserve both properties (PI) and (P2). Note that for autonomous problems (that is, when f is inde­pendent of t), all.f}t are zero, dM jdt = 0, and M is a constant.

The transversality relation (P4) is essentially an orthogonality relation. Indeed, it can be written in the form

where

n n

A 10dt 1 + I Ali dx~ + A 2o dt2 + I A2i dx~ = 0, i; 1 i; 1

A 10 = AOgtl - M(t 1},

A 20 = AOgt2 + M(t2), Ali = Aogx\ + Ai(t1), i = 1, ... , n,

A2i = Aogx~ - Ai(t2), i = 1, ... , n.

164 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

Thus, if A denotes the (2n + 2)-vector

A = (AlO' Ali' i = 1, ... , n, A20 , A2i, i = 1, ... , n),

then (P4) states that A is orthogonal to B at the point e[ x J E B, that is, A is orthogonal to the hyperplane B' tangent to B at e[xJ. We shall discuss (P4) in detail in Section 4.4 with many examples, for some of which (P4) has further striking geometric interpretations.

As mentioned above, if dg is not identically zero, then A(t) = (A1' ... , An) itself is never zero in [t1> t 2J. Finally, whenever AO > 0, we can always mul­tiply the (n + I)-vector (Ao,A1(t), ... ,An(t)) by a positive constant and make AO = 1. There are criteria which guarantee that AO > 0, and then we can take Ao = 1. (See Remark in Section 7.4E.)

If we denote by A(t) = [ajj(t)J the n x n matrix whose entries are aij(t) = hxJ(t, x(t), u(t)), i, j = 1, ... , n, then the system (4.2.5) can be written in the compact form

(4.2.7) dA/dt= -A*(t)A,

where A * is the transpose of the matrix A. Note that conditions (Pl)-(P4) above are necessary conditions for a

minimum. The necessary conditions for a maximum are essentially the same, and can be obtained by replacing 9 with - 9 in Mayer problems (fo with - fo in Lagrange problems).

It may well occur that the control variable, as determined by the necessary condition (4.2.i) has values on the boundary of U, say, u(t) E bdU, as in the example below, and in most of the examples we shall discuss in the Sections 6.1-6. In these cases we say that the optimal control is bang-bang (as in the case in which U = [ -1 sus IJ and u(t) takes only the values -1 and + 1).

Alternatively, it may occur that u(t) takes values in the interior of U for an entire arc of the trajectory, say, u(t) E int U for all (X < t < p. In this case it follows from (P2) that

(4.2.8) HuJ(t, x(t), u(t), A(t)) = 0, j = 1, ... , m, (X < t < p. In this situation, if in addition we know that H(t,x(t),U,A(t)) has second

order partial derivatives with respect to u1, ••• , um, at least in a neighborhood of u(t), then we must also have

(4.2.9) m

L Huiuh~j~h ~ ° j,h= 1

for all ~ = (~1' ... '~m) E Rm, all (X < t < p, and where the derivatives HUiUh are computed at (t, x(t), u(t), A(t)). Relation (4.2.9) is often called the Legendre­Clebsch necessary condition.

The situation we have just depicted may occur rather naturally, if for instance, U is an open set, or in particular if U = Rm is the whole u-space.

Finally, we shall see in the Sections 4.7 and 4.8 that the classical necessary conditions for problems of the calculus of variations and for classical isoperi-

4.2 The Necessary Condition for Mayer Problems of Optimal Control 165

metric problems can be derived from the necessary condition (4.2.i) (and variants) for Mayer problems of optimal control. In either case we shall have V=Rm.

B. Example

We consider the problem of the stabilization of a point moving on a straight line under a limited external force. A point P moves along the x-axis, governed by the equation x" = u with lui:$; 1. The problem is to take P from any given state (x = a, x' = b) to rest at the origin (x = 0, x' = 0) in the shortest time. As mentioned at the end of Sec­tion 1.10, Example 3, we have here a Mayer problem of minimum time with n = 2, m=1, I[x,y,u]=g=t2, with the system dx/dt=y, dy/dt=u, uEU=[-1:$; U:$; 1] c R, t1 = 0, x(td = a, y(td = b, x(t2) = 0, y(t2) = 0, t2 2: t1. Here we have

H = H(t,x,y,u,A 1,A2) = A1Y + A2u,

{A1Y - ..1.2 if ..1.2 > 0,

M=M(t,x,y,Ab A2)=, "f' /l,lY + /1,2 1 /1,2 < 0.

In particular, if ..1.2 > 0, then H attains its minimum for u = -1; if ..1.2 < 0, then H attains its minimum for u = + 1. If we use the "signum function" rx = sgn fJ defined by rx = 1 for fJ > 0, and rx = -1 for fJ < 0; (rx any value between -1 and 1 for fJ = 0), then the possible optimal strategy u(t) is related to the multiplier A2(t) by the relation

u(t) = - sgn Az(t),

The equations for the multipliers Ab .12 are

dAtfdt = -Hx = 0, dA2/dt = -Hy = -Ab

Thus, ..1.1 = C1, ..1.2 = -c1t + C2, t1 :$; t:$; tz, C1, C2 constants. Now C1, C2 cannot be both zero, since A(t) = (..1.1>..1.2) would be both zero in [t1> t2]' in contradiction with (Pi). Thus, either C1 i= ° and Az is a nonzero linear function, or C1 = ° and Az = Cz is a nonzero constant. Thus, Az changes sign at most once in [tbtZ]' and so [t1,tZ] can be divided at most into two subintervals, in one of which u = 1 and in the other u = -1.

If u = 1, then y = t - rx, x = 2- 1(t - rx)Z + fJ, rx, fJ constants, that is, we have the parabolas x = 2 -1 yZ + C, along which P = (x, y) moves in such a way that y is in­creasing. If u = -1, then y = - (t - rx), x = r l(t - rx)Z + fJ, rx, fJ constants, that is, we have the parabolas x = - 2 -1 yZ + C, along which P = (x, y) moves in such a way that y is decreasing. Thus, the optimal solution, if any, must be made up of at most two arcs of such parabolas. Since x(tz) = y(tz) = 0, there are only two arcs of such parabolas reaching (0,0),

AO:y = -(t - t2),

BO:y = (t - t 2),

x=-2- 1(t-t2)2, u=-1,

x = 2- 1(t - tz)2, U = 1,

and they are graphically represented with an arrow in the illustration denoting the sense along which they are traveled. Now any point (a, b) above the line BOA can be joined to BO by an arc of a parabola x = - 2 -1 yZ + C along which u = -1; any point (a, b) below the line BOA can be joined to AO by an arc of a parabola x = 2 -1 y2 + C along which u = 1.

166 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

y

A

------~~-+~+_-+~~r_----~x

B

The illustration sketches the family of solutions. Every point P = (a, b) can be taken to (0,0) by a unique path PAD, or PBO, satisfying the necessary conditions (Pl)-(P3), as well as (P4) as we shall see in Section 6.1. Since we shall see from Sections 4.3 and 9.4 that an optimal solution exists, the uniquely determined path and corresponding strategy are optimal. In Section 4.5, by sufficient conditions (and "feedback" and "synthesis" con­siderations) we shall see another reason why the uniquely determined paths PAD, or POB, are optimal.

Exercise

Write the problem of the curve C:x = x(t), tl ~ t ~ t2, of minimum length between two points 1 = (thXl), 2 = (t2,X2), tl < t2, as a Mayer problem of optimal control, and use the necessary conditions (4.2.i) to obtain the results in Section 3.1.

C. Remarks

Remark 1. For the use of the necessary condition (4.2.i), or (Pl)-(P4), the reader should see the numerous examples and exercises in Chapter 6, particularly Sections 6.1-5. In all those examples we shall determine one, or a few, admissible pairs which satisfy the necessary condition, and are therefore good candidates for optimality. Alternatively, the opposite conclusion can be reached, that is, that no admissible pair satisfies the necessary condition, and then certainly the minimum of the functional is not attained (at least under the given set of assumptions). On the other hand, it may even occur that there are infinitely many optimal solutions and that the necessary condition (4.2.i) yields no information on them. Examples of such an occurrence are given in Remark 8 below. The relevance of the necessary condition (4.2.i) lies in the fact that it is valid even if the optimal strategy u(t) lies for most t on the boundary of the control space U (though we must assume that the trajectory x lies in the interior of A).

4.2 The Necessary Condition for Mayer Problems of Optimal Control 167

Remark 2. Note that if u(t) is continuous in [tj, t2J, then x(t) is continuous in [tj, t2J together with x', and so are A(t), A'(t), and all statements (Pl)-(P4) hold for all t in [t 1, tzJ. If u(t) is sectionally continuous in [t 1, tzJ, then x(t) is continuous in [tj, tzJ with sec­tionally continuous derivative x', and so is A(t), and all statements (Pl)-(P4) hold at all points t of continuity of u(t), as well as at the points t of jump discontinuity of u(t) if in each relation we replace u(t), x'(t), A'(t), M'(t) by u(t + 0), x'(t + 0), }:(t + 0), M'(t + 0) as well as by u(t - 0), x'(t - 0), A'(t - 0), M'(t - 0). If u(t) is merely measurable, then x(t), A(t) are only absolutely continuous in [t 1, tzJ, x', A' may not exist in a subset of measure zero in [t 1, t2J, and actually all the relations (Pl)-(P4) may not be satisfied in a set of measure zero. Note that we can always change the values of a strategy in a set of measure zero; the trajectory x(t) and the multipliers A(t) are not modified.

Remark 3. Among the general assumptions for the necessary condition, we required the set A to be closed. Since the graph [(t,x(t»lt 1 ::; t::; tzJ of the optimal trajectory x is certainly compact (and by hypothesis made up of points all interior to A), there is certainly some number b > 0 such that all points (t, y) at a distance::; b from the graph of x(t) are also interior to A. If we denote this set of points by Ao, we see that the graph of x is made up of interior points of Ao, and Ao is now compact. We see, therefore, that it is not restrictive to assume A compact instead of closed in the general assumptions for the necessary condition, or alternatively, that A is an open bounded subset of the tx-space Rn + 1.

Remark 4. If x(t), u(t), t1 ::; t::; tz of Section 4.1, is any admissible pair, with u(t) bounded, or essentially bounded, then f(t, x(t), u(t» = (f1,' .. , fn) is bounded and there­fore x(t) is Lipschitzian. Analogously, the partial derivatives f:xj(t, x(t), u(t» are bounded, and then the multipliers A(t) = (.A.1, ... , An) are also Lipschitzian. Note that if x(t), u(t), t1 ::; t::; tz, is any admissible pair, and (to, x(to» is an interior point of A, if u(t) is bounded and W is any bounded neighborhood of (to, xo) in A, then f(t, x, u(t» =

(flo ... ,In) and the partial derivatives fixj(t, x, u(t» are bounded for (t, x) E W, they are continuous in x for a.a. t, and measurable in t for all x, and finally f(t, x, u(t» is uniformly Lipschitzian in x for (t, x) E W. Thus, the differential system dx/dt = f(t, x, u(t» satisfies usual conditions for the local existence and uniqueness theorem (see e.g., E. J. McShane [1, pp. 344-345J).

Hence, for any (Y, x) in W there is one and only one solution x(t) in a neighborhood ofY with x(Y) = x.

Remark 5 (ALTERNATE HYPOlHESES FOR (c) OF SECTION 4.1). There are situations where the optimal trajectory is not Lipschitzian (for instance, the trajectory x(t) = (1 - tZ)l/Z, -1 ::; t::; 1, a semicircle, certainly is not Lipschitzian). In such situations condition (c) of Section 4.1 cannot hold. We shall denote by x(t), u(t), t1 ::; t::; t2, a given optimal pair for which we assume, as in Section 4.1, that all points (t,x(t», t1 ::; t::; tz, are interior to A. Thus, there is some bo > 0 such that all points (t', x') E Rn+ 1 with It' - tl ::; bo, lx' - x(t)1 ::; bo for some t E [t 1, t2J are also all interior to A. An assumption wider than (c) and under which the conclusions of (4.2.i) still hold is as follows:

(c') U is a fixed closed subset of Rm. There is a number b, 0 < b ::; bo, and a scalar function S(t) ~ 0, t1 ::; t::; tz, such that (c'd S(t) is L-integrable in [tlotZJ; and (c~)

168 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

for every t E [t1,t2] and point (t', x') E A with It' - tl ~ 0, lx' - x(t)1 ~ 0, we have

(4.2.10) Ih,(t', x', u(t))I, IhxP', x', u(t))1 ~ Set), i,j = 1, ... , n.

This is often called a condition (S).

Another assumption replacing (c) or (c') is as follows:

(c") U(t) is a closed subset of Rm for every t and: (c'{) the optimal control function u is bounded, that is, lu(t)1 ~ N, tl ~ t ~ t2; and (c~) for almost all IE [tb t2] and every point ti E U(T) and number e > 0, there is some v E Rm and numbers (J > 0, (J < 0o, such that Iv - til < e, v E U(t) for all t E [I - (J, I + (J].

Let us denote by I the projection of the set A on the t-axis, that is, I = [tl(t,x) E A for some x E Rft]. Condition (c") is certainly satisfied if U(t) is compact for every t and contained in a fixed compact set U ° of Rm, if the set V of all (t, u) with tEl, u E U(t) is the closure of an open subset of Rm + t, and if every (7, ti) E (7, U (I) ) is a point of accum u­lation of points (7, v) interior to V.

Another assumption replacing (c), (c'), or (c") is as follows:

(c"') U(t) is an open subset of Rm for every t, such that: (c't) the set V of all (t, u) with tEl, u E U(t) is open (relatively to I x Rm); and (c~') the optimal control function u is bounded, that is, lu(t) I ~ N, tl ~ t ~ t2.

Another assumption replacing (c), (c'), (c"), or (c"'), is as follows:

(C(iv)) U(t) is a closed subset of Rm for every t, such that: (c~v)) for almost all IE [tl' t2], every point ti E U(I), and e > 0 there is some v E Rm and numbers (J > 0, (J < 0o, such that Iv - til < e, v E U(t) for all t E [I - (J, I + (J]; (c¥V)) there is a number 0,0< ° ~ 0o, and a scalar function Set) ;::: 0, t1 ~ t ~ t2, L-integrable in [tb t2], such thatforeverytE [tbt2] and points (t', x') E A with It' - tl ~ 0, lx' - x(t)1 ~ 0, the relations (4.2.10) hold.

Finally, another assumption replacing (c), (c'), (c"), (c"'), or (C(iv)) is as follows:

(c(V)) U(t) is an open subset of Rm for every t, such that: (c~V)) the set V of all (t, u) with tEl, u E U(t) is open (relatively to I x Rm); and (eli)) statement (c~V)) holds.

Under anyone ofthese hypotheses, the conclusions in (4.2.i) still hold as stated. The situations described by properties (c) to (c(v)) cover essentially all practical cases. Proofs are given in Chapter 7. Finally, for control sets U(t) depending on t, a weaker form (P~) of (P2) will be stated and proved in Section 7.1.

Remark 6. In (e) of Section 4.1 we have assumed that the scalar function g possesses a differential dg at a point of a given set B. We remind the reader here that given any subset K ofthe x-space Eft, x = (xt, ... ,xft ), we say that a scalar function g(x) possesses a differential dg = D= 1 ai dxi at a given point x = (xt, ... , xn) of K provided there are numbers ab ••• , aft such that

ft

(4.2.11) g(x) - g(x) = I ai(xi - Xi) + Ix - xle(x) i=l

for every point x in K, where e(x) -+ 0 as Ix - xl-+ o.

4.2 The Necessary Condition for Mayer Problems of Optimal Control 169

In Section 4.1 we have also assumed that the scalar functions /; possess continuous partial derivatives on a given set M. We recall here that given any closed subset K of the x-space E" x = (xl, ... ,x'), we say that a scalar function g(x) possesses continuous first order partial derivatives gl(x), ... ,g,(x) in K provided that: (a) the functions gi(X) are continuous in K, i = 1, ... , n, and (b) for every point x of K a relation (4.2.11) holds with ai = g;(:x), i = 1, ... , n. It is known (Whitney [4]) that there is then an extension G(x) of 9 in the whole of R' which is continuously differentiable in R' and G = g, aG/axi = gi in K, i = 1, ... , n. We refer to Whitney [4] for the analogous definitions and statements concerning partial derivatives of higher order.

Remark 7. We have assumed so far that the pair x(t), u(t), tl ~ t ~ t2 , gives an absolute minimum for the functional in D, that is, l[ x, u] ~ I [x, u] for all pairs X, u in D. Never­theless, the entire statement (PI )-(P4) still holds even if we know only that l[ x, u] ~ lex, u] holds only for the pairs X, u with the trajectory x satisfying the same boundary conditions as x, and lying in any small neighborhood N a of the trajectory x. If this occurs we say that the pair x, u is a strong local minimum, and thus (Pl)-(P4) constitute a necessary condition for strong local minima.

Remark 8. The optimal solution is not necessarily unique, and it may well occur that not enough information can be gathered from the necessary condition to characterize candidates for the optimal solutions. Here are a few examples.

1. Find the minimum time t2 for a moving point P = (x, y) governed by x' = y' = u, lui ~ 1, starting from (0, 0) at time t 1 = 0, to hit a moving target Q moving on a trajectory r with law of motion x = h(t), y = k(t), t' ~ t ~ t". The only possible trajectories for P lie on the straight line r:x = y. Assume that r crosses the locus r at only one point R = (a, a) in the first quadrant. Then x = y = t, u(t) = 1, 0 ~ t ~ a is the trajectory by which P reaches the locus r in a minimum time a. We assume that Q reaches R at a time t2 > a, and thus certainly t' ~ t2 ~ t". Then there are infinitely many laws of motion for P to reach R at the time t2 ; u(t) can take arbitrary values in [ -1,1] (provided fa u(t)dt = a). All these trajectories are admissible and also optimal with l[x,u] = t2 •

One of these trajectories is of course x = y = t, u = 1 for 0 ~ t ~ a; x = y = a, u = 0 for a ~ t ~ t2 •

2. Here we want that the point P as in Example 1 to hit the locus r in such a way to minimize lex, u] = (t2 - b)2, where now b is a fixed number, b > a. Again, there are

y

----~----------~----~x

170 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

infinitely many laws of motion for P to reach R at the time t2 = b; u(t) can take arbitrary values in [ -1,1] (provided Jlf u(t) dt = a). All these trajectories are admissible and optimal with I[ x, u] = O. The same trajectory singled out in Example 1 is also of in terest here.

In both examples, H = A1U + A2u, dAddt = dA2/dt = 0, ,11 = C1, ,12 = C2, Cb C2

constants, and for ,11 + ,12 = Cl + C2 = 0, H is identically zero, and the minimum property of H yields no information on the control u.

3, Problems as the one above, where the necessary condition (4.2.i) does not deter­mine the optimal strategy, are often called singular problems. Often this situation occurs only for certain arcs of the optimal solution which then are called singular arcs. All this happens as a rule if the control variable u = (u1, ..• , u"') enters linearly in the functions J;, that is J; = Fi(t, x) + Ij= 1 Gij(t, x)ui, and for those arcs of the optimal trajectory for which the control variable u(t) is expected to take values in the interior of U (or U is open, or U = Rm), as mentioned at the end of Subsection 4.2A. Indeed then n m

H = I AiFi + I (I APi)ui, i=l j=l i=l

and the equations (4.2.8), or Hu i = 0, reduce to

I AiGij(t, x) = 0, j= 1, ... ,m, i=l

which do not depend on u, and thus leave u = (u1, ••• ,u"') undetermined.

x

'~ • t

o 1

Here is a specific example. Let us consider the problem of the minimum of I[ x, u] =

x~ + H x2 dt, under the constraints dx/dt = u, lui::;; 1, x(O) = 1, n = m = 1. By taking dy/dt = x2, y(O) = 0, we have the Mayer problem I[ x, y, u] = x~ + Y2, under the con­straints dy/dt = x2, dx/dt = u, lui::;; 1, x(O) = 1, y(O) = O. Then H = AX2 + AU, and we take u = -1 if A > 0, u = 1 if A < 0, while u remains undetermined if A = O. Moreover, dA/dt = - Hy = 0, dA/dt = - Hx = - 2Ax, and A = C, a constant. By the transversality relation with dg = 2X2dx2 + dY2, dtl = dt2 = 0, dXl = dYl = 0, dx2, dY2 arbitrary, we have (1 - A)dY2 + (2X2 - A(t2))dx2 = 0, hence A = 1, A(t2) = 2X2' If we take u(t) = -1, hence x(t) = 1 - t, 0::;; t::;; 1, we see that x(l) = 0, and for the minimum of I we can only take x(t) = 0 for 1 ::;; t ::;; 2, X2 = x(2) = 0, and u(t) = 0 for 1 ::;; t::;; 2. Then, dA/dt = -2(1 - t)forO::;; t::;; l,dAjdt = Oforl ::;; t::;; 2,and wetakd(t) = (1 - t)2 forO::;; t::;; 1, A(t) = 0 for 1 ::;; t ::;; 2. The optimal solution is now depicted in the illustration, and I min = t. The value u(t) = 0 for 1 ::;; t::;; 2 is not determined by (4.2.i) since A(t) = 0 in this interval. The arc x(t), 1 ::;; t::;; 2, of the optimal solution is said to be a singular arc.

Remark 9. For m = 1, n ;;::: 1, and allJ; linear in u, or J; = Fi(t, x) + Gi(t, x)u, i = 1, ... , m, then H(t, x, u, A) = Ii AiFi + (Ii APi)u. The canonical equations become xi = Fi + Giu, A.i = - Ij AjFjxi + (Ij APN)u. On a singular arc, with u(t) E int U, U c R, then Hu =

0, and Hu = Ij AjGit,x) = 0 does not contain u. Let us assume here that all Fi and

4.2 The Necessary Condition for Mayer Problems of Optimal Control 171

Gi have continuous partial derivatives of orders as large as we need. Let us take now successive total derivatives of Hu with respect to t, say H(l) = (d/dt)Hu, where now we replace X(t) and x'(t) by their expressions above. Let us proceed computing H(2) = (d/dt)H(l) with the same substitutions, or briefly H(2) = (d 2/dt2)Hu, etc. It may occur that for some minimal p an expression H(2p) is obtained which actually contains u, of course linearly. Under various assumptions it has been proved that

(-1)P(O/OU)(d2p/dt2p)Hu> 0

is a necessary condition for a minimum of I. This condition is often called the gener­alized Legendre-Clebsch necessary condition.

For n;:=: 1, m > 1, the generalized Legendre-Clebsch condition becomes, in matrix notation and the same conventions as before,

(%u)W/dtq)Hu = 0 for q odd,

in [t l ,t2](H. 1. Kelley [1,2] and H. J. Kelley, R. E. Kopp, and H. G. Moyer [1]). Two more necessary conditions for singular arcs will be stated and proved in Section 7.3K. For more details, further necessary conditions, and important technical applications we refer to D. J. Bell and H. Jacobson [I].

In the example of Remark 8, on the singular arc x(t) = 0, 1 ::;; t::;; 2, we have Hu = A, H(l) = (d/dt)Hu = X = -2x, n<2) = (d/dt)H(l) = -2x' = -2u, p = 1, and finally -(o/OU)H(2) = 2 > O. The generalized Legendre-Clebsch condition is satisfied.

Remark 10. THE CASE OF B' A CONVEX CONE. In Section 4.2 we have considered the set B' of all tangent vectors h = ('l:1,el,'l:2,e2) at e[x] in B. The set B' certainly is a cone, since hE B' and Il ;:=: 0 imply that Ilh E B'. This follows from the definition of tangent vector, and B' is said to be a convex cone if B', as a subset ofthe linear space R2n +2, is convex, that is, hl' h2 E B, Ill' 112 ;:=: O,lll + 112 = 1 implies thatlllhl + 1l2h2 E B'. Finally, if B' is a linear space, then we say that B has a full tangent space B' at ,,(x).

If B' is only a closed convex cone, the necessary condition (4.2.i) still holds, except for the statement (4.2.1) in P4, which is replaced by

(4.2.13) Aodg + [ M(t)dt - it Ai(t)dxiI ;:=: o.

We denote this modified statement by P4*. Note that whenever B' is a linear space, P4* reduces to P4. Indeed, (4.2.13) must hold for both (dg, dt l, dXl' dt2,dx2) and (-dg, -dtl, -dXl' -dt2' -dX2), and this implies equality in (4.2.13) that is, (4.2.1).

D. An Elementary Proof of (P2) of (4.2.i) in a Particular Case

While we shall give in Chapter 7 two proofs of the necessary condition (4.2.i) or (Pl-4) in the general case, we anticipate here an elementary proof of (P2) for the important linear case with initial data. Namely, we assume that tb x(t l ) = Xl and t2 are fixed, that x(t2) = X2 is arbitrary, that g is linear in X2, that f is linear in X and u, and that U is a fixed set. In other words, we consider the Mayer problem of the minimum of I[x,u] with

I[ x, u] = g(x2) = CX2, dx/dt = A(t)x + B(t)u, u E U,

172 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

where C = row(Y1, ... ,Yn), A(t) = [aij(t)] , B(t) = [bi.(t)] are given 1 x n, n x n, n x m matrices respectively, Yi constants, aij(t), bi.(t) continuous functions on [t 1o t2J. Thus;

(4.2.11)

(4.2.12)

n

I[ x, u] = L YiXi(t2), i=1

n m

dxi/dt = L aij(t)xj{t) + L bi.{t)u·{t), j= 1 .= 1

H{t, x, u, A) = L AiaijXj + L Aibi.u", ij is

dA;/dt= -Hxi= -LAjaji' j

i = 1, ... ,no

Here dt1 = dt2 = 0, dx~ = 0, gxi = Yio and the transversality relation (P4) reduces to Li(AoYi - Ai{t2»dx~ = ° where all dx~ are arbitrary. Thus, AOYi - Ai{t2) = 0, i = 1, ... ,n. For any given admissible pair xo(t), uo(t), t1 ~ t ~ t2, we take for the multipliers Ai{t), t1 ~ t ~ t2, the unique AC solution A{t) of the linear system (4.2.12) with terminal data Ai(t2) = AOYi where Ao > ° is an arbitrary constant.

For any other admissible pair x{t), u(t), t1 ~ t ~ t2, we have now Xi{t1) = X~(t1) and

L1 = Ao(I[ x, u] - I[xo, uo]) = Ao L Yi{Xi{t2) - X~{t2» i

= L Ai(t2)(Xi(t2) - X~(t2» i

= L:2 (d/dt) ~ Ai{t){Xi{t) - x~(t». I

By (4.2.11) and (4.2.12) we derive

L1 = L:2 [ ~ A/{t){Xi{t) - x~{t» + ~ Ai{t)(Xri{t) - x~(t) ] dt

= .t [-4 Ajaji(xi - x~) + 4 Aiaij{Xj - xb) + ~ Aibi.{u" - U~)Jdt. v v ~

By exchanging i with j we see that the second term in the last expression cancels the first one. By adding and subtracting terms and manipulation we have

= rt2 [H{t, xo(t), u{t), A(t» - H(t, xo(t), uo(t), A{t))] dt. Jtl

4.3 Statement of an Existence Theorem for Mayer's Problems of Optimal Control 173

Let us assume that xo, Uo is optimal. First, Xo and AO are AC, and Uo is measurable, and also bounded as in the main assumptions of (4.2.i). Thus, H(t, xo(t), uo(t), A(t» is a bounded measurable function in [tt> t2], and hence L-integrable. Then, at almost all t, H(t, xo(t), uo(t), A(t» is the derivative of its indefinite integral. If tl ~ T ~ t2 is any such point, if e > 0 is such that tl ~T - e <T < t 2 ,andifuis any point of U,letustakeu(t) = uforT - e ~ t ~ T, and u(t) = uo(t) otherwise. Then

e- 1Li = e- l f_JH(t,xo(t),U,A(t» - H(t,xo(t),uo(t),A(t))]dt,

and as e -+ 0 + we also have

lim Aoe- l(I[x,u] - I[xo,uo]) = H(T,xo(T),U,A(T» - H(T,xo(T),uo(T),A(T» £-+0+

~o.

This difference is nonnegative since I[ x, u] ~ I[ Xo, uo]. This holds for almost all T E (tt> t2] and u E U; hence H(t, xo(t), u, A(t» ~ H(t, xo(t), uo(t), A(t» for all u E U and almost all t. We have proved (P2) in the present situation.

An important further conclusion of the previous remarks is that, in the linear situation depicted above, condition (P2) is not only necessary but also sufficient for optimality. Indeed, if x, u and Xo, Uo are admissible pairs, and A(t) is chosen as stated above, then (4.2.13) holds, (P2) implies that H(t, xo(t), u(t), A(t» ~ H(t, xo(t), uo(t), A(t» for almost all t, and LI ~ 0, that is, I[x, u] ~ I[xo, uo].

4.3 Statement of an Existence Theorem for Mayer's Problems of Optimal Control

We state here briefly a particular but useful existence theorem for the problems we are considering in this Chapter. This theorem will be contained in the statements we shall prove in Chapter 9 and in the more general statements of Chapters 11-16.

Thus, we are concerned with functionals of the form I[ x, u] = g(tt>x(tl ),t2,X(t2» and we shall state a theorem guaranteeing the existence of an absolute minimum of I[x, u] in the class Q of all pairs x(t), u(t), tl ~ t ~ t2, X AC, u measurable, with dx/dt = f(t,x(t), u(t», t E [tl' t2] (a.e.), and with (t,x(t» E A c Rn+ 1, u(t) E U c Rm, (tt>x(t l ), t2, x(t2» E B C R2n+2.

4.3.i (FILIPPOV'S EXISTENCE THEOREM). If A and U are compact, B is closed, f is continuous on A x U, g is continuous on B, Q is not empty, and for every (t, x) E A the set Q(t, x) = f(t, x, U) c Rn is convex, then I[ x, u] has an absolute minimum in Q.

174 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

If A is not compact, but closed and contained in a slab to::;; t::;; T, x E W, to, T finite, then the statement still holds if we know for instance that (b) there is a compact subset P of A such that every trajectory in Q has at least one point (t*, x(t*)) E P; and (c) there is a constant C such that Xl!l + ... + x"j,. ::;; C(lxl2 + 1) for all (t, x, u) E A x U.

If A is contained in no slab as above but A is closed, then the statement still holds if (b) and (c) hold, and in addition (d) g(tl,x b t2,X2)--+ +00 as t2 - tl --+ + 00, uniformly with respect to Xl and X2 and for (tb Xb t2, X2) E B.

We note that condition (b) is certainly satisfied if all trajectories X in n have either the first end point (tb Xl) fixed, or the second end point (t2' X2) fixed.

We note here that if! is linear in x, precisely, if!(t, x, u) = A(t, u) + B(t, u)x, where A = [a;] is an n x 1 matrix and B = [bij] is an n x n matrix with all entries continuous and bounded in A x U, then certainly condition (c) is satisfied. Indeed if lai(t, u)l, Ibij(t, u)1 ::;; c then

Lxi; = L aixi + L L bijXiXi ::;; nclxl + n2clxl2 ::;; 2n2c(lxl2 + 1). iii j

Both statement (4.3.i) and conditions (b), (c), (d) will be restated in more general forms in Sections 9.2 and 9.4.

Example

Let us consider the same example of Section 4.2B, with n = 2, m = 1, g = t 2 , x' = y,

y' = u, tl = 0, XI = a, YI = b, X2 = 0, Y2 = 0, t2 2: 0 undetermined, U = [ -1 ~ u ~ 1] is compact, B = (0, a, b, 0, 0) x [t 2: 0] is closed, and we have seen in Section 4.2B that Q is not empty. Here all trajectories start at (a, b) and (b) holds with P the single point (0, a, b). Moreover, xII + yI2 = xy + yu < x2 + y2 + 1, and condition (c) holds with C = 1. Finally g -+ + 00 as t2 -+ + 00, and (d) also holds. Thus, the absolute minimum exists.

More examples are discussed in Chapter 6.

4.4 Examples of Transversality Relations for Mayer Problems

We shall now apply the transversality relation (P4) of the necessary condition (4.2.i) to a number of particular but rather typical cases. In each case, we shall write explicitly the vectors h of the linear space (tangent space) B'. In each case we shall deduce from (P4) a number of finite relations concerning the values of the multipliers AI(t), ... , An(t) and of the function M(t) at the end points tl and t2 .

We mention in passing that, as proved in Section 4.2 the function M(t) is actually a constant in [tl' t2] whenever the problem is autonomous, that i , when II, ... ,J. depend on x and u only, and not on t.

4.4 Examples of Transversality Relations for Mayer Problems 175

A. The Transversality Relation in General

We consider here the case where B is defined by a certain number of equations, say k - 1, or

CPit1,X1,t2,X2) = 0, j = 2, ... , k.

In this situation, it will be convenient to denote g(t1,X1,t2,X2) by CP1(t1,X1,t2,X2), or g = CPl. We assume here all CP1' ... ,CPk are of class C1. The transversality relation (P4),

A.odg + [ M(t)dt - ;t1 A.;(t)dX;I = 0,

or

• (4.4.1) dT = [A.og" - M(t1)] dt1 + L [A.ogx\ + A.;(t1)] dx~

i=l

• + [A.Og'2 + M(t2)] dt2 + L [A.ogx~ - A.;(t2)] dx~ = °

i=l

must be valid for all (2n + 2)-vectors h = (dt1' dx}>dt2' dX2) satisfying

• (4.4.2) dcpj = CPjt, dt1 + L CPjx\ dx~ + CPj'2 dt2 + L CPjx~ dx~ = 0, j= 2, ... ,k.

i=1 i=l

In other words, equation (4.4.1) must be an algebraic consequence of the k - 1 linear equations (4.4.2), that is, there is a numerical (k - I)-vector A 2 , ••• , Ak , such that

(4.4.3)

k

A.og" - M(t1) = - L Ajcpjt" j=2

k

A.ogx\ + A.;(t1) = - L Ajcpjx\, j=2

k

A.Og'2 + M(t2) = - L AjCPjt2' j=2 .

A.~x~ - A.;(t2) = - L Ajcpjx~, j=2

i = 1, ... , n,

i = 1, ... , n.

By writing Al for A.o, and CP1 for g, these relations become

(4.4.4)

k

A.;(td = - L Ajcpjx\(I1), j= 1

k

M(t1) = L Ajcpjt,(I1), j= 1

where 11 = e[x] = (t1,X1,t2,X2).

k

A.;(t2) = L Ajcpjx~(I1), j=l

k

M(t2) = - L Ajcpjt2(I1), j= 1

In the situation under consideration, the transversality relation (P4) yields the following statement: There is a k-vector A = (AI' ... ,Ak ), nonzero with Al ~ 0, such that the relations (4.4.4) hold at t = t1 and t = t2.

176 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

B. The Transversality Relation for Unilateral Constraints

We consider here the case where B is defined by a number of equalities and inequalities, say

<Pj(tl,Xl,t2,X2) = 0,

<pitl,xl,t2,x2) ~ 0,

j= 2, .. . ,k',

j = k' + 1, ... , k.

Let x(t), tl :s; t:s; t2, be the given optimal trajectory and let e[ x] = (tlo x(t l ), t2, x(t2») as usual. Then <pj(e[x]) = Oforj= 1, ... , k', and <pj(e[x]) ~ Oforj = k' + 1, ... , k. Some of the last relations may be satisfied with an equal sign. Bya relabeling we may assume that

<pie[x]) = 0 forj = 1, ... , k', k' + 1, ... , k",

<pie[x]) > 0 forj = k" + 1, ... , k, O:s; k':s; k":s; k.

It is often said that the constraints <Pj,j = k' + 1, ... ,k", are active, or briefly that the indices j = k' + 1, ... , k" are active for the trajectory x. As in Subsection A we denote by d<pj the differential of <Pj at e[x]. Then B' is the set of all dt l, dXl' dt2, dX2 satisfying

d<pj = 0 for j = 1, ... , k', d<pj ~ 0 for j = k' + 1, ... , k",

the remaining <Pj,j = k" + 1, ... , k, having no relevance on B'. Here B' is a convex cone and the transversality relation in the form mentioned in Section 4.2, Remark 10, yields dT - Xo = 0 with Xo ~ 0 for all dt l, dx~, dt2, dx~ satisfying d<pj = 0 for j = 1, ... , k' and d<pj - Xj = 0 with Xj ~ 0 for j = k' + 1, ... k". Then as in Subsection A, there are k" - 1 numbers A 2 , ••• , Ak" such that relations (4.4.3) hold and -Xo = - D~k'+l Ai -Xj), that is, Xo = - D~k'+l AjXj' and since Xo ~ 0 and the Xj can take any nonnegative value, the multipliers Aj,j = k' + 1, ... ,k", must be nonpositive. By writing Al for A,o, and <Pl for 9 as in Section A, we obtain relations (4.4.4).

In the situation under consideration, the transversality relation of Section 4.2C, Remark 10, yields the following statement: there is a k"-vector (Al' ... ,Ak ,,), non zero and with Al ~ 0, Aj:S; 0 for j = k' + 1, ... , k", such that the relations (4.4.4) hold at t = tl and t = t2.

EXAMPLE 1. Take n = 2, t l , Xl = (xL xi), t2 fixed, 9 = g(x~), and further constraints: X2 = (x}, x~) with x~ = 0, x~ ~ a for some fixed a. Then B is the half straight line x~ ~ a. Ifthe second end point ofthe trajectory x(t), tl:s; t:s; t2, is x(t2) = (0, a), then B' =(dxi.dx~) is the cone dx~ ~ O. The transversality relation is here (A,ogx~ - A,2(t2))dx~ ~ 0 for all dx~ ~ 0, and we obtain directly A,ogx~ - A,2(t2) ~. O. The rule stated above yields the same result.

EXAMPLE 2. Take n = 2, t l, Xl = (xL xi), t2 fixed 9 = g(x~,x~), and further constraint: X2 = (xi.x~) with x~ ~ a for some fixed a. Then B is the half plane x~ arbitrary, x~ ~ O. If the second end point of the trajectory x(t), tl :s; t:s; t2, is x(t2) = (X l(t2), a), then B' = (dx~, dx~) is made up of all dx~ arbitrary, and dx~ ~ O. The transversality relation is now

(A,ogx~ - A,1(t2»dx~ + (A,ogx~ - A,2(t2))dx~ ~ O.

By taking first dx~ = 0 and dx~ arbitrary, and then dx~ = 0 and dxi ~ 0 arbitrary, we obtain directly

The rule stated above yields the same result.

4.4 Examples of Transversality Relations for Mayer Problems 177

C. The Transversality Relation in Specific Cases

(a) Let us consider the case of the first end point 1 = (tI>X1) being fixed, Xl = (xL . .. ,x1), and the second end point X2 also fixed in R', X2 = (x~, ... ,X2), to be reached at some undetermined time t2 ~ t1 (as in the example of Section 4.2B). We certainly have dt1 = 0, dX 1 = ° (that is, dx~ = 0, i = 1, ... , n), dX2 = ° (that is, dx~ = 0, i = 1, ... , n). If we assume t2> t1, then dt2 is arbitrary. Here B=(t1,X1) x (t~ t1) x (X2) (a half straight line, dimension k = 1), and B' = (0, 0, dt2 , 0) (that is, B' = R). (See illus­tration where we have taken n = 2.) For a problem of minimum time we have lex, u] =

g = t2, and hence dg = dt2, or

gIl = 0, gIl = 1, gx\ = 0, gx~ = 0,

~---X-(t)----- I X 1--- ) 1 ///)

i = 1, ... ,n. The transversality relation (P4) of Section 4.2, or formula (4.2.1), reduces now to (Ao + M(t2»dt2 = 0, where dt2 is arbitrary. We have then the finite relation

Ao + M(t2) = 0,

or M(t2) = -10 ~ 0, which must be satisfied at t2 together with the equations Xi(t2) =

x~, i = 1, ... , n. (b) Let us consider the case of the first end point 1 = (t lo X1) being fixed, Xl =

(xL . .. ,x'D, and the second end point 2 = (t2,X(t2», x(t2) = (X 1(t2), .. . ,x'(t2», being on a given curve r:x = b(t), b(t) = (b1(t), ... ,b.(t», t' ~ t ~ til; hence x(t2) = b(t2), or Xi(t2) = bi(t2), i = 1, ... , n, with t' ~ t2 ~ til, t2 ~ t1. (See illustration, where we have taken n = 2.) This is the problem ofa material point P in R' starting at X = Xl at time t = tl> required to hit a moving target point Q during a time interval [t', til]'

178 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

The next illustration is to be thought of as depicting the actual situation in Rn+ 1.

Here bet) then represents the known law of motion of the point Q during the time interval [t',t"], and x(t) the law of motion of the point P from the time tl to the time t2 when Phits Q.

t=I"

Let us assume that t2 > th that 2 is not an end point of r (that is, t' < t2 < t"), and that b is differentiable at t 2 •• Here dtl = 0, and dXl = ° (that is, dx~ = 0, i = 1, ... , n). Also, r has a tangent line 1 at (t2,b(t2» of slope b'(t2) = (b1Jt2), ... ,b~(t2)); hence, dX2 = b'(t2)dt2, that is, dx~ = b;(t2)dt2, i = 1, ... , n. Here B = (tl,Xl) x r, B' =

(0,0,dt2,b'(t2)dt2), and dt2 is arbitrary. Finally, 1= g = g(t2,X2) = g(t2'X~, ... ,~), and

n

dg = g" dt2 + I gx~ dx~, dx~ = b;(t2)dt2' 1

i = 1, ... , n.

Then the transversality relation (P4) of Section 4.2, formula (4.2.1), reduces to

[AO (g,l + ~ gx~bi(t2») + M(t2) - ~ A;(t2)bi(t2)}t2 = 0,

where dt2 is arbitrary. Hence, we have the finite relation

(4.4.5) Ao (g,l + ~ gx~bi(t2») + M(t2) - ~ A;(t2)b'(t2) = 0.

If the problem is a problem of minimum time, that is, g = t2 , I[x,u] = t2 , then dg =

dt2, or g'l = 1, gx~ = 0, i = 1, ... , n, and the relation (4.4.5) reduces to

(4.4.6) AO + M(t2) - I A;(t2)b'(t2) = 0. ";

(c) Let us consider the case of the first end point 1 = (thXl) being fixed, Xl = (xL .. . ,x~), and the second end point X2 on a given fixed set S in Rn (target), X2 =

(x~, ... ,x~), to be reached at some indeterminate time tl ::;; t' ::;; t2 ::;; t". Let us consider first the case, say (c1), where S = Rn is the whole x-space, and assume t' < t2 < t", t2 undetermined. (In the illustration we have taken n = 2.) Then, we have dt l = 0, dX l = ° (that is, dx~ = 0, i = 1, ... ,n), while dt2, dX2 are arbitrary, dX2 = (dxt ... ,dx~}-­that is, dt2, dx}, . .. , dx~ are all arbitrary. Here B = (thX l) x (t2 ~ td x Rn (dimension k = n + 1), and B' = (0, 0, dt2, dx2). Then the transversality relation (P4) of Section 4.2 reduces to

(4.4.7) n

(Aog'l + M(t2»dt2 + I (Aogx~ - Ait2»d~ = 0. j=l

4.4 Examples of Transversality Relations for Mayer Problems 179

By taking dt2, dx~, j = 1, ... , n, all equal to zero but one which is left arbitrary, we conclude that the following n + 1 (finite) equations must hold:

(4.4.8) i = 1, ... , n.

Let us consider now the case, say (c2), where S is a given curve in Rn, say S:x = b(r), r' :s; r :s; r", r a parameter, b(r) = (b1, ••• ,b.), and assume that x hits the target S at a time t2 > tl (as above) and at a point X2 which is not an end point of S: precisely, X 2 = x(t2) = b(r) for some r = ro, r' < ro < r". Then, as before, dt1 = 0, dX1 = ° (or dx~ = 0, i = 1, ... ,n), dt2 arbitrary, and now dx~ = bf(r) dr, dr arbitrary. Here B = (tl,X1) X (t2 ~ t 1 ) x S (dimension k = 2), and B' = (0,0,dt2,b'(r)dr), dt2, dr arbi­trary. The transversality relation (P4) of Section 4.2 reduces to

(Aog'2 + M(t2))dt2 + [Jl (Aogx~ - Ait2))bj(r)}r = 0,

where dt2, dr are both arbitrary. By taking either dt2 or dr equal to zero and leaving the other one arpitrary, we conclude that the following two (finite) equations must hold:

• (4.4.9) L (Aog~ - Aj(t2))bj(r) = 0.

j= 1

The second relation states that the n-vector Aogx~ - Ai(t2), i = 1, ... , n, is orthogonal at 2 to the tangent I to the curve S at the same point.

If the problem is a problem of minimum time, then I = g = t2, dg = dt2, or g'2 = 1, gx~ = 0, i = 1, ... , n, and (4.4.9) reduces to

• (4.4.10) L Ait2)bj(r) = 0.

j=l

180 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

Let us consider now the case, say (c3), where S is a given k-dimensional manifold in Rn. If we assume that S is given parametrically as before, say, S:x = b(r), b(r) =

(b 1, ••. , bn), T = (T 1, ... , TJ, then Xz = x(tz) = b(T) for some T = To = (T 10, ... , TkO)' We shall assume that b(T) is defined in a neighborhood V ofro, and that b(r) is of class C1

in V. Then, as before, dtl = 0, dXl = 0 (or dx~ = 0, i = 1, ... , n), dtz arbitrary, and

k

(4.4.l1) dx~ = I b;..(r)dr., i = 1, ... , n, s= 1

where dr!> ... , drk are arbitrary. Here B = (tl,X l ) x (t;::O: t l ) x S (dimension k + 1), and B' = (0, 0, dtz, dx z), with dtz arbitrary, dxz = (dx~, ... ,dX2)' dx~ given by (4.4.l1), and dr l , ... , dTk arbitrary. The transversality relation (P4) of Section 4.2 is now (4.4.7) with dx~ given by (4.4.l1); hence

(AOg'2 + M(tz))dt z + stl Lt (Aogx~ - Aj(tz))bjT.(T)}Ts = 0,

with dtz, dT 1, ... , drk arbitrary. This yields k + 1 (finite) equations

(4.4.l2) AOg'2 + M(tz) = 0, n

I (Aogx~ - A)tz))bjT.(r) = 0, s = 1, ... , k. j=l

Again the last k relations state that the n-vector Aogi - Ai(tZ)' i = 1, ... , n, is orthogonal at 2 to the manifold S.

In the particular case in which 1= 9 = tz (problem of minimum time), then dg = dtz, or g'2 = 1, gx~ = 0, i = 1, ... , n, and (4.4.l2) reduces to

(4.4.13) I Aj(t2 )bjTJr) = 0, s = 1, ... , k. j= 1

Let us consider now the case, say (c4), where S is given by n - k equations /3,,(x) = 0, u = 1, ... , n - k, and then dxz = (dx}, ... , dx2) denotes any arbitrary vector satisfying

(4.4.14) u = 1, ... , n - k.

Then (P4) again has the form (4.4.7), where dtz is arbitrary and dx~, ... , dX2 satisfy (4.4.l4). As before, we conclude that AOg'2 + M(tz) = 0, and that

n

I (Aogx~ - A)tz))dx~ = 0 j=l

for all dxi, ... , dX2 satisfying (4.4.l4). The latter states again that the n-vector Aogx~ - A)tz),j = 1, ... , n, is orthogonal at 2 to S.

In the particular case where I = 9 = tz (problem of minimum time), we have

I A)tz)dx~ = 0, j=l

for all dx}, ... , dX2 satisfying (4.4.14). (d) Let us consider the case ofthe first end point 1 = (t l , Xl) being fixed, the second

end point 2 = (tz,x(tz)) being on a "moving target". We consider only the case where the "moving target" is represented by n - k equations:

(4.4.l5) /3,,(t, x) = 0, u = 1, ... , n - k.

4.5 The Value Function 181

In other words, we require that at time t2 the n - k equations

(4.4.16) (J = 1, ... , n - k,

are satisfied. If we denote by S(t) the set of points x E Rn satisfying the n - k equations (4.4.15), then the requirement can be written in the form x(t2) E S(t2), and this variable set S(t) is the "moving target". We assume that the functions {JAt, x) are of class C1,

that t2 > t l , and that the point (t2,X(t2)) is in the interior of the region R c R"+I

where the functions bAt, x) are defined. Then the equations above yield

(4.4.17) {Jer'2(t2, x 2) dt2 + I {Jerx~(t2' x 2) dx~ = 0, (J = 1, ... , n - k, , i=l

where X2 = x(t2), and {Jer" {Jerx~ denote the partial derivatives of {Jer(t2, X2) with respect to t2 and x~. The transversality relation (P4) of Section 4.2, formula (4.2.1), becomes

n

(4.4.18) (AOg'2 + M(t2)) dt2 + I (Aogx~ - Ai(t2)) dx~ = 0 i=l

for all systems of numbers (dt2, dx~, i = 1, ... , n) satisfying (4.4.17). In particular, for 1= 9 = t2 (problem of minimum time), we have dg = dt2, or g'2 = 1, gx~ = 0, i = 1, ... , n, and (4.4.18) reduces to

(4.4.19) (AO + M(t2))dt2 - I Ai(t2)dx~ = o. i= 1

D. Exercise

Derive the transversality relation in finite form for the Mayer problem, with first end point 1 = (t\>XI) fixed, terminal time t2 fixed, t2 > t l , and second end point X2 on a given set B in Rn (target). Consider the same cases (c1)-(c4).

Ans.: Same as under (c), but with no conclusion on M(t 2).

4.5 The Value Function

We consider now the problem oftransferring any given fixed point (t l , Xl) in a set V to a target set B c V by means of admissible trajectories x(t), tl ~ t ~ t2, in V, that is, x(t l ) = Xl' (tz,x(t z)) E B, (t,x(t)) E V. We want to minimize g(tz, x(tz)), where g is thought of as a continuous real valued function g(t, x) in B.

For any (tl,X l ) E V we denote by Q" X , the family of all admissible pairs x(t), u(t), tl ~ t ~ tz, transferring (t\> Xl) to B in V, and by l:" x , the subset of all points (t z, x(tz)) E B which are terminal points oftrajectories X in Q"X,' For every (tl,X l ) E V we take now

(4.5.1) inf

182 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

The function W(t1,X1) is called the value function in V, and may have the value - 00. Also, W(t1'X1) = + 00 whenever QtlXI is empty. Moreover, w(t, x) = g(t, x) for all (t, x) e B.

4.5.i. For every admissible trajectory x(t), t1 :::; t:::; t2, transferring any point (tb x(t1» to B in V, the function w(t, x(t» is not decreasing in [tb t2].

Proof· For any two points t1 :::;!1 :::; !2:::; t2, and ~1 = X(!l), e2 = X(!2), we consider any admissible trajectory x(t), !2 :::; t :::; t~, transferring (!2, ~2) to B in V. This can be extended to [! 1, t~] by taking x(t) = x(t) for [! 1, ! 2], and now x transfers (!b ~1) to B in V. Let Q~2~2 denote the class of the trajectories in Qt2~2' each trajectory increased, or augmented, by the fixed arc ~1~2. We have proved that Qtl~1 ::;) Qt2~2 and Et,~, ::;) Et2~2. By the definition (4.5.1) we derivethatw(!1,etl:::;w(!2,e2)· 0

4.5.ii.lf(tbx1)e V,ifx(t),t1 :::; t:::; t2,isanyadmissibletrajectorytransferring (t1' Xl) to B in V, x(t1) = Xl' (t2' x(t2» e B, (t, x(t» e V, and if x is optimal for (t1,X1), then w(t,x(t» is constant on [t1,t2]. Moreover, the trajectory x is optimal for each of its points (T, x(T».

Proof. Indeed, w(t,x(t» is not decreasing on [tb t2], by (4.5.i). On the other hand, if x is optimal, then w(t1,X(t1» = W(t2,X(t2» = inf[g(t*,x*)I(t*,x*) e Et,xJ Hence w(t, x(t» is constant on [t1' t2]. Conversely, if w(t, x(t» is constant on [t1' t2], then W(t1' x(t1» = W(t2' x(t2», (t2' x(t2» e B, W(t1' x(t1»= inf[g(t*, x*) I (t*, x*) E Et!,J, that is, x is optimal. 0

From now on in this section we assume that (a) any point (tbX1) e V can be transferred to B in V by some admissible pair x(t), u(t), t1 :::; t:::; t2, u(t) sectionally continuous, x(t1) = Xl> (t2,X(t2» e B, u(t) e U, (t,x(t» e V; and (b) U is a fixed subset of Rm.

4.5.iii. Under hypotheses (a), (b), if (t, x) is any interior point of V where the value function w(t, x) is differentiable, then

n

wt(t,x) + L WXi(t,X)J;(t, x, v) ~ 0 i= 1

for all ve U. Moreover, if there is an optimal pair x*(s), u*(s), t:::; s :::; t~, x*(t) = x, (t~,x*(t~» e B, (s,x*(s» e V, u*(s) sectionally continuous, then

(4.5.2) r:!i~ [ wt(t, x) + it1 WXi(t, x)J;(t, x, V)] = 0,

and the minimum is attained by v = u*(t + 0).

Proof. For any fixed v e U let us consider the trajectory issuing from x with constant strategyu(s) = v, defined by the differential system x'(s) = f(s, x(s), v), t :::; s :::; t + e, with x(t) = x, and e > 0 sufficiently small so that the arc x(s),

4.5 The Value Function 183

t :::; s :::; t + e, is completely contained in a neighborhood of (t, x) interior to V. If (t + e, x + u) is the terminal point of this are, then we can transfer this point to B in V by some admissible pair x(s), u(s), t + e :::; s :::; t*. Now the pair x(s), u(s), t :::; s :::; t*, transfers (t, x) to B in V, and by (4.5.i), w(t, x) is monotone nondecreasing along x(s). Hence

n

0:::; dw(s,x(s))/dsls=t+o = wt(t,x) + L wAt, x)h(t, x, v) ~ O. i= 1

If there is an optimal pair x*, u* as stated, then w(t,x) is constant along x* and the same expression is zero. This proves (4.5.iii). 0

4.S.iv. Under hypotheses (a) and (b), if all points (t, x) E V can be optimally transferred to B in V by an admissible optimal pair x(s), u(s), t :::; s :::; t2, if there is a function p(t, x) in V - B, continuous in V - B, such that u(s) =

p(s, x(s» for any such pair, and if the value function w is continuous in V and of class C1 in V - B (w = g on B), then w(t, x) satisfies in V - B the partial differential equation

n

w,(t,x) + L wAt, x)h(t, x, p(t, x» = 0, or i= 1

(4.5.3) w,(t,x) + H(t,x,p(t,X),Wx(t,X)) = O.

This is a corollary of (4.5.iii).

4.S.v. Under hypotheses (a), (b), let (t 1, Xl) be an interior point of V, let x*(t), u*(t}, t1 :::; t:::; t2, be an optimal pair, transferring (tl>xd to B in V, and such that the entire trajectory (t, x*(t)) is made up of points interior to V, except perhaps the terminal point (t2,X*(t2» E B. Suppose that the value function w(t, x) is continuous on V and of class c2 on V - B. Then the functions Ai(t) = wAt,x(t», t1 :::; t:::; t2, i = 1, ... , n, satisfy the relations dAddt = -Hxi(t, x*(t), u*(t), A(t» and H(t, x*(t), u*(t), A(t» :::; H(t, x*(t), u, A(t» for all u E U and t E [t1, t2] (a. e.). In other words, A(t) = (AI' ... , An) are multipliers as in (4.2.i).

Proof. Here (t l , Xl) is an interior point of V, and x*(t), u*(t), t1 :::; t:::; t2 , is an optimal pair transferring (tI>X1) to B in V, and with trajectory x* entirely in the interior of V, except perhaps the terminal point (t 2, x*( t 2»' Thus, (d/dt)xi*(t) = .f;(t, x*(t), u*(t)), t E [tl> t2] (a.e.). Here the value function w(t, x) is twice continuously differentiable in V - B. Thus, at each point t of continuity for u*, then x* has a continuous derivative, and by the chain rule of calculus we have

n

(4.5.4) (d/dt)wxi(t, x*(t» = Wtxi(t, x*(t» + L Wxixj(t, x*(t) )h(t, x*(t), u*(t)). i=l

184 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

From (4.5.iii) we know that

n

wr(t,x) + L wAt, x)./';(t, x, u) ~ 0 i= 1

for all (t, x) E V, U E U. In particular

n

(4.5.5) wr(t,x) + L wAt,x)./';(t,x,u*(t» ~ 0, i= 1

n

(4.5.6) wr(t,x*(t» + L wAt, x*(t»./';(t, x*(t), u*(t» = 0, i= 1

n

(4.5.7) wr(t, x*(t» + L wAt, x*(t) )./';(t, x*(t), u) ~ 0 i= 1

for all u E U. In other words, for t fixed, x = x*(t) is a minimum for the expression (4.5.5) thought of as a function of x. Thus, the n first order partial derivatives of (4.5.5) with respect to xi,j = 1, ... , n, are zero at x = x*(t), or

n

Wrxi(t, x*(t» + L WXixi(t, x*(t) )./';(t, x*(t), u*(t» i= 1

n

+ L Wxi(t, X*(t»./';xi(t, X*(t), U*(t» = O. i=l

By comparison with (4.5.4) we derive

n

(d/dt)wxJ(t, X*(t» = - L WXi(t, X*(t) )./';At, X*(t), U*(t» i=l

= - HxJ(t, X*(t), U*(t), Wx(t, X*(t) », where Wx = (WXl, . .. ,Wxn). Moreover, by comparison of (4.5.6) and (4.5.7) we derive that

H(t, x*(t), u, wx(t, x*(t» ~ H(t, x*(t), u*(t), wAt, x*(t»)

for all u E U. This proves (4.5.v).

4.6 Sufficient Conditions

A. Sufficient Conditions for a Single Trajectory

We begin by showing that statement (4.5.iii) has a converse.

o

4.6.i (A SUFFICIENT CONDITION FOR OPTIMALITY FOR A SINGLE TRAJECTORY).

Let w(t, x) be a function on V such that w(t, x) = g(t, x) for (t, x) E B c V, and let (thXl) be a point of V such that for every trajectory x(t),t 1 ~ t ~ t2 , in

4.6 Sufficient Conditions 185

QtIXI' w(t, x(t» is finite and nondecreasing, and for some pair x*(t), u*(t), t1 :::;; t:::;; t~, in QtIXI' w(t,x*(t» is constant on [tbt~]. Then the pair x*, u* is optimal for (t1,X 1) in V.

Proof. If 1: is the set of points of B reachable from (t 1, Xl), then g(t~, x*(t~» = w(t~,x*(t~» = W(t1,X 1):::;; W(t2,X2) = g(t2,X(t2» for every pair x(t), u(t), t1 :::;; t:::;; t2 of QtIXI' Thus, g(t~, x(tm is the minimum of 9 on Lt,x" that is, x*, u* is optimal. 0

4.6.ii (A SUFFICIENT CONDITION FOR A SINGLE TRAJECTORY). Let w(t,x) be a given function in V with w(t, x) = g(t, x) for (t, x) E B, w(t, x) continuous in V, continuously differentiable in V - B, satisfying

n

wt(t, x) + L wAt, x)/;(t, x, u) ~ ° i= 1

for all (t, x) E V - Band u E U. If x*(t), u*(t), t 1 :::;; t :::;; t~, is an admissible pair transferring (t b X d to B in V, and

n

wt(t,x*(t» + L WX;(t, x*(t»/;(t,x*(t), u*(t» = 0, t E [tb t~] (a.e.), i= 1

(in other words, w(t, x*(t», t 1 :::;; t :::;; t~, is constant), then (x*, u*) is optimal.

This is a corollary of (4.6.i). We consider now the Hamiltonian for the Mayer problem under con­

sideration, H(t, x, u, A) = Li'= 1 Ai/;(t, x, u). Let x(t), u(t), t1 :::;; t:::;; t2, be an ad­missible pair transferring the point (t 1,X1) E V to the target B in V; that is, X(t1) = Xl' (t 2,X(t2» E B, (t,x(t» E V.

4.6.iii. If w(t, x) is a continuous function in V, of class C 1 in V - B, with w(t, x) = g(t, x) on B, if x(t), u(t), t1 :::;; t:::;; t2, is an admissible pair in V, X(t1) = Xl' (t2,X(t2» E B, (t,x(t» E V, and if w(t,x(t» is constant on [t 1,t2], then

wt(t, x(t» + H(t, x(t), u(t), wAt, x(t» = 0, t E [t1' t2] (a.e.).

Proof. Since w is of class C1 in V - B and continuous in V, we have

n ° = dw(t, x(t) )/dt = wt(t, x(t» + L wAt, x(t) )X'i(t), i= 1

n

= wt(t, X(t» + L wAt, x(t) )/;(t, x(t), u(t» i= 1

= Wt(t, X(t» + H(t, X(t), U(t), wAt, x(t»),

t1 :::;; t:::;; t2 (a.e.). 0

The requirement in (4.6.ii) that w be continuously differentiable in V - B is unrealistic. In most applications the function w is only continuous in V

186 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

and continuously differentiable in V - S, where S is a set of Lebesgue measure zero in Rn+\ Be S eVe Rn+l. The following extension of (4.6.ii) is relevant.

4.6.iv (BOLTYANSKII'S SUFFICIENT CONDITION FOR A SINGLE TRAJECTORY).

Let V, B, and S be as above, with meas S = O. Let w(t, x) be a given function in V with w(t, x) = g(t, x) for (t, x) E B, w(t, x) continuous in V and continuously differentiable in V - S, such that

n

(4.6.1) wt(t, x) + I wAt, x)/;(t, x, u) ~ 0 i= I

for all (t, x) E V - S and all u E U, and such that w(t, x*(t)), t I :::; t :::; t~, is constant on a given admissible trajectory x*(t) transferring a point (tbXI) to B in V. Then x* is optimal for (tb Xl) in V.

The proof of this theorem will be given in Chapter 7.

B. Synthesis

We assume now that any point (t, x) E V can be transferred to B in V by a well-determined admissible pair x(s), u(s), t:::; s :::; t2, in such a way that for some function p(t, x) = (PI- ... ,Pm) in V we have u(s) = p(s,x(s)), t:::; s:::; t2. We may say that each of the above trajectories is a marked trajectory. It is often said that a synthesis has been effected in V, and that p(t, x) is a feedback control function in V. Note that we do not exclude that a point may be taken to B by more than one marked trajectory in V. The two statements below attempt to decide under what additional requirements the marked trajec­tories are optimal in V.

If (t, x) E V and x(s), u(s), t :::; s :::; t2, are any marked trajectory and corre­sponding strategy transferring (t, x) to (t2' x(t2)) E B, then we take

(4.6.2) w(t, x) = g(t2' x(t2)), (t,x) E V.

This function w is of course constant on each marked trajectory in V. It is relevant to state and prove that simple requirements, easily verifiable,

guarantee that all marked trajectories are optimal in V. As proved by Boltyanskii, the same conditions (Pl)-(P4) ofthe necessary statement in (4.2), plus suitable regularity and smoothness hypotheses, suffice. Under these hypotheses we shall say with Boltyanskii that we have in Va regular synthesis. We shall indeed require that p(t, x) be sectionally smooth in the precise sense below, that the function w defined by (4.6.1) be continuous in V, and that the marked trajectories hit B and certain critical lines and surfaces at angles all different from zero. Then the same function (4.6.2) will be proved to be sectionally smooth, and all marked trajectories are optimal.

4.6 Sufficient Conditions 187

C. Regular Syntheses

Let K be some bounded, s-dimensional, convex polyhedron, 0 ~ s ~ n, in the ~-space, ~ = (~1, ... , ~n). We shall think of K as closed, that is, oK c K. Let us assume that fjJ, or x = fjJ(~), or Xi = fjJi(~), i = 1, ... , n, is a given transformation of C1 in K from K to VeRn, which is 1-1, and whose n x s matrix of first order partial derivatives [ofjJi/O~j] is ofrank s at every point of K. Then the image L = fjJ(K) of K in Rn is said to be a curvilinear s­dimension ~ n in V, which may be empty.

If a set S c V is the union of finitely many or countably many curvilinear polyhedra arranged in such a way that only finitely many of these polyhedra intersect every closed bounded set lying in V, then S will be called a piecewise smooth set in V. (The polyhedra may "cluster" at the boundary of the set V if V is not closed.) If among the curvilinear polyhedra whose union is S there is some polyhedron of dimension k while all others have dimension ~ k, then we say that S is k-dimensional. We know that any set of dimension less than n in Rn which is piecewise smooth does not contain interior points.

Let V be open in Rn + 1, let B c V be a closed piecewise smooth set in V of dimension ~ n, let S be any given piecewise smooth set in V also of dimension ~n, and Be S c V, and let (tt>Xl) be any point of V. We assume from here on that U is a fixed subset of Rm. We do not exclude that B may be the union of parts as stated above. Also, let N be a given piecewise smooth set of dimension ~ n in V, which may be empty.

We assume now that S is the union of parts pk c pH 1 C ... C pn con­tained in V, each pi of dimension i. If pn+ 1 = V, pk-l = 0, then we assume that for each i = k, ... , n + 1, the set pi = (pi-l U N) has only finitely many components, each of which is an i-dimensional smooth manifold in V; we shall call these components i-dimensional cells. We assume that the function p(t, x) is continuous and continuously differentiable in each cell. More specifically, we assume that, if u .. (t, x) denotes the restriction of u(t, x) in the open cell (1, then u .. can be extended to a neighborhood U of (j so as to be continuously differentiable in U, say the c5-neighborhood of (j. We also assume that f(t, x, u) can be extended as a function of class C1 to a neighbor­hood W of its domain of definition M. Then, for c5 > 0 sufficiently small, f(t, x, u .. (t,x)) is defined and of class C1 in U. We further need the following specific assumptions.

(A) All cells are grouped into cells of the first, second, and third kind. All (n + I)-dimensional cells are of the first kind; B is the union of cells of the third kind. If (J is any i-dimensional cell ofthe first kind, k ~ i ~ n + 1, then through every point of the cell there passes a unique trajectory of the system dx/dt = f(t, x, p(t, x)). Furthermore, there exists an (i - 1)­dimensional cell, say fl(J, such that every trajectory in (J leaves the cell (J

in a finite time by striking against the cell fl (J at a nonzero angle and nonzero velocity.

188 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

(B) If (J is any i-dimensional cell of the second kind, then there is an (i + 1)­dimensional cell E(J of the first kind such that from any point P of the cell (J there issues a unique trajectory moving into the cell E(J and having only the point P on (J. We assume that p(t, x) is continuously differentiable in (J u E(J if (J is of the second kind.

/llI1/fl lIa

(C) The conditions above guarantee the possibility of continuing the trajec­tories from cell to cell: from the cell (J to the cell II (J if (J is of the first kind, and from (J to IIE(J if (J is of the second kind. It is required that any trajectory go through only finitely many cells (ending in B). All the mentioned trajectories are called marked trajectories. Thus, from every point of the set V - N there issues a unique trajectory that leads to B. We require that also from the points of N there issue some trajectory ending in B, which is not necessarily unique; these are also said to be marked. All marked trajectories satisfy the necessary conditions (Pl)-(P4) of Section 4.2.

When all previous assumptions hold, we say that we have effected a regular synthesis in V. Note that the possible discontinuities of p{t,x) in V are only at points P of V belonging to finitely many manifolds of dimension :::;, n (or countably many such manifolds, but only finitely many of them having a nonzero intersection with any compact subset of V). Note that along any marked trajectory x(t), the feedback function p(t, x(t)) has at most finitely many points of jump discontinuity.

4.6.v (THEOREM: BOLTYANSKII [1]). Assume that a regular synthesis has been effected in V with exceptional set S, V::::J S ::::J B, with a possible set N, with cells (J;, with feedback control function p(t, x), so that each point (s, y) of V can be taken to B by some marked trajectory x(t) and corresponding control u(t), s :::;, t :::;, tis, y), x(s) = y, u(t) = p(t, x(t)), (t 2 , x(t2)) E B, and each marked trajectory x and corresponding control u satisfy the necessary conditions (PI )-(P4) of Section 4.2 with multipliers A(t) = (Al, ... , An), A(t) =P 0, constant Ao > 0, Hamiltonian H and minimized Hamiltonian M(t). Then the function w(t,x) defined by (4.6.2) is of class C1 in each cell (J;, the constant Ao can be taken to be the same positive constants for all marked trajectories, and in each cell (Ji we have

(4.6.3) Aj(t) = AOWxj(t, x(t)), j = 1, ... , n, M(t) = AOwt(t, x(t)),

wt(t,x) + H(t, x, p(t, x), wAt,x)) = 0, (t,x) E (Ji.

Moreover, each marked trajectory is optimal.

4.7 Derivation of Some of the Classical Necessary Conditions of Section 2.1 189

The proof of relations (4.6.3) will be given in Chapter 7. The last statement is a consequence of (4.6.iv).

D. Example

We consider here the same example we have used in Section 4.2 to illustrate the necessary condition. We shall discuss a few more details on the same example in Section 6.1 (Example 1). In Section 4.2 we have already effected a regular synthesis covering the whole xy-plane with target the single point (0, 0). Actually, the problem is an autonomous one, V is the whole xyt-space, and the target B is the t-axis, or R = [x = 0, y = 0, - 00 < t < + 00]. Let us denote by A + , A - the parts of the xy-plane above and below the switch line r = AOB of Section 4.2B, and by r+ = AO, r- = BO the two parts of r. We have seen in Section 4.2B that any point (a, b) of the plane is taken to (0,0) in a time t2(a, b) by the trajectories x(t), y(t) determined there, and we shall compute an expression for tz(a, b) in Section 6.1, Example 1. Thus, any point (t,x, y) is taken to the t-axis R, by the corresponding trajectory (t, X(t), Y(t» in a time tz(x, y). Thus, w(t, x, y) =

t + t2(x, y) is constant along the trajectory. Note that all these (marked) trajectories hit the boundaries of the successive cells at positive angles, and the necessary conditions (P1)-(P4) are satisfied (see Section 6.1, Example 1). By (4.6.v) we conclude that each marked trajectory transferring any of its points to B = R is optimal in V = R3. (As mentioned in Section 4.2 the optimality of the marked trajectories can also be obtained by the existence theorems of Sections 4.3 and 9.4.)

Further examples and many exercises on the material above will be mentioned in Sections 6.1-6.

4.7 Appendix: Derivation of Some of the Classical Necessary Conditions of Section 2.1 from the Necessary Condition for Mayer Problems of Optimal Control

The classical problem of the minimum of a functional

I[x] = 1'2 fo(t,x(t),x'(t»dt, "

with boundary conditions (tl,X(tl), t2,X(t2» E B C R2"+2 is immediately reduced to the Mayer problem of control with AC trajectories x(t) = (XO, Xl, ... ,x") = (XO, x), tl :s; t:s; t2 , controls u(t) = (ul, ... ,u"), differential equations

dxo /dt = fo(t, x(t), u(t» t E [tl' t2] (a.e.), i = 1, ... ,n,

functional I[ X, u] = g = X°(t2), and boundary conditions and constraints

190 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

For X = (AO' Ah ... ,A.) = (Ao, A) we have

(4.7.1)

For t, x, A fixed, H can have a minimum at some u E R· only if oH/oui = 0, j = 1, ... , n, since we have assumed fo of class C1. From (P2) we have Aofox" + Ai = 0, or

(4.7.2) Ai = - Aofox·,(t, x, u), j = 1, ... , n.

From (PI), X(t) must be an AC vectorfunction satisfying dA;/dt = - Hx" j = 0, 1, ... , n, or dAo/dt = 0, dA;/dt = - Aofox" Thus, Ao is a constant, and since Ai = - Aofox.,(t, x, u), we see that Ao must be a nonzero constant, since otherwise A(t) would be identically zero, contrary to (P1) (here dg = dx~ is not identically zero). Thus,

(4.7.3)

(4.7.4)

Ai(t) = - Aofox·,(t, x(t), u(t)),

dA;/dt = - AofoAt, x(t), u(t))

for t1 :5; t:5; t2 , Ai AC in [th t2], AO a nonzero constant. Thus,!ox.,(t,x(t),u(t)) is an AC function in [tl' t2 ], and

(d/dt)( - Aofox·,(t, x(t), u(t)) = - AofoAt, x(t), u(t)),

and finally

(d/dt)fox·,(t, x(t), x'(t)) = foAt, x(t), x'(t)), t E [tl' t2] (a.e.), j = 1, ... , n.

These are the Euler equations. Now from (P3),

M(t) = min H(t,x(t),u,A(t)) ueR"

is an AC function in [tl' t2], with dM/dt = H" that is,

(4.7.5) Mo(t) = Ao[fo(t,X(t),X'(t)) - it X'i(t)j~x.,(t'X(t),x'(t))J is AC with

(d/dt{fo(t, x(t), x'(t)) - itl X'i(t)j~x·,(t, x(t), X'(t))] = fo,(t, x(t), x'(t)).

This is the DuBois-Reymond condition. Now the transversality relation (P 4) states that there is a constant Ao ~ ° such that

Aodg + [ Mo(t)dt - ito Ai(t)dX]: = 0,

with dg = dx~, Ao(t) = AO a nonzero constant, dx~ = 0, and thus

4.8 Derivation of the Classical Necessary Condition for Isoperimetric Problems 191

Here the second part is independent of dxg. Thus, Ao = Ao, Ao ~ 0, Ao "# 0, hence Ao = Ao > 0, and by dividing the second relation by Ao, we have

[A01M o(t)dt + it1 !ox.,(t,X(t),X'(t))dXT = 0,

where Ao 1 Mo(t) is the expression in brackets in (4.7.5). This is the classical transversality relation. Now from the minimum property of H we have

H(t, x(t), u(t), A(t)) !5: H(t, x(t), u, A(t)), t E [t1o t2] (a.e.),

for all u E R", or

AO [fo(t, x(t), u(t)) - it ui(t)!Ox·,(t, x(t), U(t))]

!5: Ao[!o(t, x(t), u) - it1 u10x.,(t,X(t),U(t))]

for all u E R", where Ao is a positive constant. Thus

" fo(t, x(t), u) - !o(t, x(t), u(t)) - L (ui - ui(t) )!ox·,(t, x(t), u(t)) ~ 0, i=1

and by writing X' for u and x'(t) for u(t), we have

E(t,x(t),x'(t),X') = !o(t,x(t),X') - !o(t,x(t),x'(t))

" - L (X'i - x·i(t))!ox·,(t, x(t), x'(t)) ~ 0. i=1

This is the Weierstrass condition.

4.8 Appendix: Derivation of the Classical Necessary Condition for Isoperimetric Problems from the Necessary Condition for Mayer Problems of Optimal Control

We consider here the problem of the maxima and minima of the integral

I[ x] = C/2 !o(t, x(t), x'(t)) dt x(t) = (xl, ... ,x"), Jt. with usual boundary conditions and constraints

(t, x(t)) E A C R"+ 1, (t1' x(t1), t2 , x(t2)) E B c R2"+ 2,

and N side conditions of the form

J.[x] = C/2 !.(t,x(t),x'(t))dt = L.. s = 1, ... , N, J/.

192 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

where Ls are given numbers, and J I, ... , J N are given functionals. The classical theory shows e.g. that the optimal solutions of class C I are to be found among the extremals of the auxiliary problem

P[x] = rt2['Ioj~ + ... + 'INj~]dt, Jtl

where '10' ... , 'IN are N + 1 undetermined constants, '10 :2:: O. Actually, the above prob­lem can be shown to be equivalent to a Mayer problem of optimal control, and thus the entire necessary condition (4.2.i) applies, and the classical statements can be imme­diately derived. Indeed, as in Section 4.7, the above problem is transformed into the Mayer problem concerning the functional I[ x, y, u] below, with differential equations, boundary conditions, and constraints

dyo /dt = j~(t, x, u), dys/dt = !set, x, u), s = 1, ... , N, dxi/dt = ui, i = 1, ... , n,

yO(t l ) = 0, ys(tl) = 0, /(t2 ) = L., s = 1, ... , N,

I[x,y,u]=yO(t2), (t1,x(td,t 2 ,x(t2»EB, uEU=Rn,

x = (Xl, ... ,xn), u=(ul, ... ,un).

Here the Hamiltonian is

H = H(t,x,y,u,).,'I) = Alul + ... + Anu" + 'Iofo + 'Itil + ... + 'INfN,

A = (AI,'" ,An), 'I = ('10,'11"" ,'IN)'

and the minimum of Has u describes U = R n must occur at points u E R n where H u' = 0, i = 1, ... , n, or

i = 1, ... , n.

On the other hand, AI(t), ... , An(t), 'Io(t), ... , nN(t) satisfy the differential equations

dAddt = -Hx' = -('Iofox' + 'Itilx' + ... + 'INfNx')' i = 1, ... , n,

d'ls/dt = -Hys = 0, s = 0, 1, ... , N.

Thus, the multipliers '10, 'I I> ... , 'IN are constants. By taking F(t, x, u, 'I) = 'Iofo + ... + 'INfN, 'I = ('10, 'II> ... , 'IN), we see that the equations above for the multipliers Ai become

Ai = -Fx'" dAddt = -Fx" i = 1, ... ,n.

Thus, as in Section 4.7,

i = 1, ... , n.

These are the Euler equations for F = 'Iofo + ... + 'INfN, '10, 'II' ... , 'IN undetermined constants.

Moreover, again for x optimal,

N n N n N

M(t) = I 'Ijj + I uiAi = I 'Ijj - I x" I 'Ijjx" j~O i~1 j~O i~1 j~O

n

(d/dt)F - I x'iFx" = (d/dt)M(t) = Ht = Ft ,

i=l

4.9 Derivation of the Classical Necessary Condition for Lagrange Problems 193

and this is the DuBois-Reymond equation for F. By (P4) the transversality relation

holds for some constant Ao ~ 0, with dy~ = 0, dy{ = dy~ = 0, j = 1, ... , N, dg = dy~ arbitrary. Thus, Ao - '10 = 0, '10 = Ao ~ 0, and the classical transversality relation for F is obtained:

4.9 Appendix: Derivation of the Classical Necessary Condition for Lagrange Problems of the Calculus of Variations with Differential Equations as Constraints

We already stated in Section 2.2 that the optimal solutions for functionals

(4.9.1)

with constraints

J[ x] = r" Io(t, x(t), x'(t)) dt, J"

x(t) = (Xl, ... , x"),

Gj(t,x(t),x'(t)) = 0, j = 1, ... , N < n,

must satisfy the Euler equations for the auxiliary problem

J[x] = r" Fo(t,x(t),x'(t))dt, J"

N

Fo(t,x,x') = Aofo(t, x, x') + L pit)Gj(t,x,x'), j~ I

for Ao ~ 0 a constant and pit),j = 1, ... , N, suitable functions. We shall prove this for the case in which system (4.9.2) is given as explicitly solved

with respect to N of the derivatives X,i. After relabeling we can write the system in the form

dxjjdt = fit, x(t), dxN + I jdt, ... , dx" jdt), j = 1, ... , N, or

(4.9.3) Gj(t,x,x') = x,j - jj(t, xl, ... , x", X,N+I, ••. , x'"), j = 1, ... , N.

We can rewrite problem (4.9.1), (4.9.3) as a problem of control

J[ x, v] = r" Lo(t, x(t), x'(t)) dt, J"

dxijdt = J;(t, x(t), v(t)), i = 1, ... , N,

dxN + jjdt = vj(t), j = 1, ... , n - N,

194 Chapter 4 Necessary Condition for Mayer Problems of Optimal Control

with state variables x = (xl, ... ,x'), control variables v = (vI, ... ,V,-N), v E R,-N, and

Lo(t,x,v) = fo(t, xI, ... , x', fl(t, x, v), ... ,fN(t,X,V), vI, ... , V,-N).

For this Lagrange problem of optimal control, and for the sake of simplicity, we take from Section 5.1 the form of the Hamiltonian

H(t, x, v, A) = AoLo + Alfl + ... + ANfN + AN+IVI + ... + A.V'-N,

with AO ~ ° a constant, AI, ... , A. AC functions satisfying the differential equations dAddt = -oH/oxi, i = 1, ... , n. We have here

dAddt = -Ao(fo", + .tl fo"'.f.,,.) - .tl A.!sx"

or

i = 1, ... , n.

For the minimum of H we must have oH/ovj = O,j = 1, ... , n - N, or

N N

Aofovi + AO I fox,·f.vJ + I Asf.vJ + AN + j = 0, j= 1, .. . ,n- N, s= 1 s::: 1

or

N

(4.9.5) AN + j = - AofovJ - I fsvJ(Aofo,," + As), j= 1, .. . ,n - N. s= 1

By comparing (4.9.5) and the last n - N relations (4.9.4), we have

N

(4.9.6) Aofov'-N + I f.v'-N(Aofo,," + As) s= 1

N

= - Ai(td + I' Aofo,,' + I f.AAofo,," + As)d'!:. Jh 8=1

If we take Pi(t) = Ai(t) + Aoj~"",

then relations (4.9.4) become

i= 1, ... ,N,

Ai(t) = Ai(td - s,: (Aofo,,' + stl P.!sx.)d'!:' i = 1, ... , n,

and if we also write fo,," for fov' -N then relations (4.9.6) become

i= N + 1, ... , n.

Finally, if we take

N

Fo(t,x,x') = -Aoj~(t,x,x') + I ps(t)Gs(t,x,x'), s=l

Bibliographical Notes

we have for i = 1, ... , N, N

Fox" = - Aofox" + I psGsx" = - Aofox" + Pi s= 1

= Ai = Ai(td + s.: ( -Aofox' - stl P.!sx')dT

= Ai(t l ) + s.: ( -Aofox' + JI PsGsx')dT

= Ai(t l ) + r' Fox,dT. J'I For i = N + 1, ... , n, we also have

N

Fox" = - Aofox" - I Psi.x" s= 1

= Ai(t l ) - s.: (Aofox' + JI Psi.x')dT

= Ai(t l )+ s.: ( -Aofox' + stl PsGsx')dT

= Ai(t l ) + r' Fox,dT. Jtl

195

Thus, the partial derivatives F ox,,(t, x(t), x'(t)) coincide almost everywhere with AC functions. By identifying these expressions with such AC functions we can write briefly that (d/dt)F Ox" = Fox" t E [t l , t2] (a.e.), i = 1, ... , n.

Bibliographical Notes

The necessary condition (4.2.i) is essentially due to L. S. Pontryagin [1], who recognized that this formulation holds even if the control function u(t) lies on the boundary of the control space U (while the state variable x(t) must be in the interior of A). However, the transversality relation (P4) is classical, and so are the canonical equations. Basically, there is here a return to the consideration of the function M(t, x, z), which is the classical "Hamiltonian", It is remarkable that a previous partial form of the necessary condition (4.2.i) had been stated by M. R. Hestenes [1] several years before Pontryagin, but passed unnoticed.

The examples in Remark 8 of Section 4.2C show that there are situations in which the necessary condition (4.2.i) gives no information concerning the possible optimal solution (if any). The first example is taken from H. Hermes and 1. P. LaSalle [I]. For singular optimal control problems we refer to D. 1. Bell and D. H. Jacobson [I].

For the alternate conditions to (4.2.i) we refer to E. 1. McShane [18]. The value function has been given much emphasis by R. Bellman [I, II]. The general

concept of synthesis is of course a present day form of the idea of a field. The precise formulation of regular synthesis and the related theorem (4.6.v) are due to V, G. Boltyanskii [1]. For further bibliographical information see the end of Chapter 7.