# Variational calculus

*calculus of variations*

The branch of mathematics in which one studies methods for obtaining extrema of functionals which depend on the choice of one or several functions subject to constraints of various kinds (phase, differential, integral, etc.) imposed on these functions. This is the framework of the problems which are still known as problems of classical variational calculus. The term "variational calculus" has a broader sense also, viz., a branch of the theory of extremal problems in which the extrema are studied by the "method of variations" (cf. Variation), i.e. by the method of small perturbations of the arguments and functionals; such problems, in the wider sense, are opposite to discrete optimization problems.

The following scheme describes a rather wide range of problems of classical variational calculus. It is required to minimize the functional

(1) |

where , , ,

subject to the constraints described by equations of the type

(2) |

and by certain boundary conditions . Problems of this type are known as Lagrange problems (cf. Lagrange problem). Other types of problems considered are the Mayer problem, the Bolza problem, etc.

The most elementary question in classical variational calculus is the simplest problem in variational calculus, in which and in (1) are one-dimensional, the constraints (2) are absent and the boundary conditions are fixed:

(3) |

This type includes the brachistochrone problem, or the problem of curves of minimum time of descent. This problem is usually considered to be the starting point in the history of the calculus of variations.

The theoretical foundations of classical variational calculus were laid in the 18th century by L. Euler and J.L. Lagrange. They also discovered the important connections of this discipline with mechanics and physics. Many specific problems (on geodesics, surfaces of revolution, isoperimetric problems, etc.) were solved during the first stage of development of this theory — mainly owing to the work of G. Leibniz, Jacob, and Johann Bernoulli, Euler and Lagrange.

Variational calculus deals with algorithmic methods for finding extrema, methods of arriving at necessary and sufficient conditions, conditions which ensure the existence of an extremum, qualitative problems, etc. Direct methods occupy an important place among the algorithmic methods for finding extrema.

## Direct methods.

Euler (1768) proposed a method for the approximate (numerical) solution of problems in variational calculus, which received the name of Euler's method of polygonal lines. This marked the beginning of the study of numerically solving extremum problems. Euler's method was the first representative of a large class of methods known as direct methods of variational calculus. These methods are based on reducing the problem of finding the extremum of a functional to that of finding the extremum of a function of several variables.

Problem (3) may be solved by Euler's method of polygonal lines as follows. The interval is subdivided into equal parts by means of points . Let the values of the function at these points be , respectively. Each set of points defines some polygonal line. The problem may now be formulated as follows: Out of all possible polygonal lines connecting the points and , to find the line for which the functional (1) assumes an extremal value. The value of the derivative on the interval will be . The functional becomes a function of a finite number of variables :

and problem (3) is reduced to the problem of finding the extremum of the function . In order that Euler's line realizing the extremum of this function approximate the solution of problem (3) with a high accuracy, the number should, as a rule, be sufficiently large. The labour involved in the computations which must be performed to find the extremum of the function (3) is so large that "manual" computations are very difficult. For this reason, direct methods were ruled out in basic studies of variational calculus for a long time.

Direct methods began to be much more extensively studied in the 20th century. At first, new methods were proposed to reduce the problem to finding the extremum of a function in a finite number of variables. These ideas may be clarified by taking, as an example, the minimization of the functional (3) subject to the condition

Consider the solution of this problem in the form

where is some system of functions satisfying the conditions , . The functional becomes a function of the coefficients, , and the problem is reduced to finding the extremum of this function of variables. Under certain conditions imposed on the system of functions , the solution of the problem tends to that of problem (3) as (cf. Galerkin method).

## The method of variations.

A second direction of study is the study of necessary and sufficient conditions to be satisfied by the function realizing the extremum of the functional . The principal method for finding necessary conditions is the method of variations. Construct some function in one way or another. How to test whether or not this function is a solution of the variational problem (3)? An answer to this question was first given by Euler in 1744. The answer as formulated below involves the concept, introduced by Lagrange in 1762, of the variation of the functional (hence the name "variational calculus" ; cf. Variation; Variation of a functional).

For the simplest problem of variational calculus this variation is defined as:

where is an arbitrary smooth function satisfying the conditions . The condition is necessary for the function to realize an extremum of the functional (3). Hence — and also from the expression for the variation — one may conclude that, for the function to constitute an extremum of (3), it must satisfy the following second-order differential equation:

(4) |

The above equation is known as the Euler equation, while the integral curves of this family are said to be the extremals of the variational problem under consideration. A function for which attains an extremum necessarily represents a solution of the boundary value problem , for equation (4). One has thus obtained a second method for solving the extremal problem. The boundary value problem for the Euler equation is solved (in regular cases the number of such solutions will be finite), after which for each one of the solutions which have been obtained supplementary restrictions are tested in order to find out if there are curves which are a solution of the initial problem. However, a significant drawback of this method is that it does not furnish universal methods for solving boundary value problems for ordinary (non-linear) differential equations.

Variational problems with mobile ends are very often encountered. For instance, in the simplest problems, the points and may move along given curves. In problems with mobile ends the condition implies supplementary conditions to be satisfied by the mobile ends — the so-called transversality condition which, in conjunction with the boundary conditions, yields a closed system of conditions for the boundary value problem.

The principal results concerning the simplest problem of variational calculus are applied to the general case of functionals of the type

where is a vector function of arbitrary dimension [3].

## Lagrange's problem.

Euler and Lagrange also studied problems on a conditional extremum. The simplest class of problems of this type is the class of so-called isoperimetric problems (cf. Isoperimetric problem). For the case of one-dimensional , Lagrange stated the class of problems (1) and (2), and obtained an analogue of Euler's equations, involving the so-called Lagrange multipliers for these problems. Such an analogue may also be obtained for the most general case of problems (1) and (2). The Lagrange problem assumed special importance in the mid-20th century in connection with the creation of the mathematical theory of optimal control (cf. Optimal control, mathematical theory of). Below the main results concerning the Lagrange problem are given, in terms of this theory. These were obtained by L.S. Pontryagin and his school.

Consider the following case: In problems (1) and (2), is one-dimensional and the system may be solved for some components of the last-named variables. The resulting problem is that of minimizing the functional

(5) |

under the differential constraint

(6) |

and the boundary conditions

(7) |

In equations (5)–(7), is a vector function known as the phase vector, is a vector function known as the control, , , .

The fixed conditions of problem (3) may serve as an example of boundary conditions of the type (7). In optimal control problems certain "non-classical" conditions such as

(8) |

are imposed in addition to conditions (6) and (7).

## Weak and strong extrema.

Two topologies are usually distinguished in variational calculus — a strong and a weak topology and, correspondingly, one defines strong and weak extrema. For instance, as applied to problem (3) one says that the curve realizes a weak minimum if it is possible to find an such that for all continuously-differentiable functions satisfying the conditions , and

In other words, this fixes the proximity not only of the phase variables, but also of the speeds (controls). One says that a function gives a strong extremum if it is possible to find an such that for all permissible absolutely-continuous functions (for which exists) satisfying the conditions , and

This equation merely represents proximity of the phase variables.

If realizes a strong extremum, it realizes a fortiori a weak extremum as well; accordingly, conditions sufficient for a strong extremum are also sufficient for a weak one. Conversely, if a weak extremum is absent, so is a strong one, i.e. necessary conditions for a weak extremum are also necessary for a strong extremum.

## Necessary and sufficient conditions for an extremum.

Euler's equation, which was discussed above, is a necessary condition for a weak extremum. In the late 1950s, Pontryagin postulated a maximum principle for the problem (5)–(8) which is a necessary condition for a strong extremum (cf. Pontryagin maximum principle). This maximum principle states that if a pair supplies a strong extremum in the problem (5)–(8), there exist a vector function and a number such that the relations

(9) |

are satisfied for the Hamilton function .

If Pontryagin's maximum principle is applied to the problem (3), it follows that a necessary condition for a curve to yield a strong minimum in the problem (3) is that it be an extremal (i.e. satisfy Euler's equation (4)) and satisfy the necessary Weierstrass condition (cf. Weierstrass conditions (for a variational extremum))

(10) |

where

is the so-called Weierstrass function.

In addition to conditions of the type (4) and (10), which are local (i.e. which can be verified at each point of the extremal), there is also a global necessary condition, related to the behaviour of the set of extremals in a neighbourhood of the given extremal (cf. Jacobi condition). For problem (3) Jacobi's condition may be formulated as follows. For the extremal to supply a minimum in the problem (3), it is necessary that the solution of the Jacobi equation

(11) |

with the boundary conditions , , does not have zeros in the interval . The zeros of the solution of equation (11) are said to be points conjugate with the point . Thus, Jacobi's condition means that the interval does not contain points which are conjugate with .

Necessary conditions for a weak minimum, , , are strict analogues of the minimum conditions , for functions of one variable. If the (strong) Legendre condition is met, the Jacobi condition is a necessary condition for the second variation to be non-negative. This leads to the following result: For a function to realize a weak minimum of the functional (3) it is necessary: a) that satisfies Euler's equation; b) that the Legendre condition is satisfied; and c) that the interval does not contain points conjugate with (if the strong Legendre condition is satisfied).

Sufficient conditions for a weak minimum are as follows: The function must be an extremal on which the strong Legendre condition is met, and the semi-interval must not contain points conjugate with . For a curve to yield a strong maximum it is sufficient that the sufficient Weierstrass condition, as well as the sufficient conditions for a weak minimum formulated above, be satisfied.

## Problems in optimal control.

One of the principal directions in the development of the calculus of variations is that of non-classical problems much like the problem (5)–(8) formulated above. Problems of this kind have a major practical significance. For instance, let (6) describe the motion of some dynamic object, say a space ship. The control — the vector — is the thrust of its motor. The initial location of the space ship is some orbit, while its final position is an orbit of different radius. The functional describes the fuel consumption involved in the performance of such a maneuver. The problem (5)–(7) may then be applied to this situation as follows: Determine the law governing the variation of the thrust exerted by the motor of the space ship required to perform the transition from one orbit to the other within a given period of time so as to minimize the fuel consumption. This must be done subject to the control constraints: the thrust of the motor must not exceed a certain given value; the turning angle is also bounded. Thus, the components of the thrust, , , are in this case subject to the constraints

where and are given numbers.

A large number of problems can be reduced to the Lagrange problem, subject to a supplementary restriction of the type (8). Such problems are known as problems of optimal control. It would be desirable to develop a special apparatus for the theory of optimal control. Pontryagin's maximum principle may be said to be such an apparatus.

Another approach to these problems in optimal control theory is also possible. Let be the value of the functional (5) along an optimal solution from a point to a point . For the function to be an optimal control in such a case it is necessary (and also sufficient in certain cases) that the partial differential equation

known as Bellman's equation (cf. Dynamic programming), holds. In problems in classical variational calculus the function (the action integral) must satisfy the Hamilton–Jacobi equation

where is the Hamilton function. In problem (3) the function is the Legendre transform with respect to of the integrand . The Hamilton–Jacobi theory is a powerful tool in the study of numerous variational problems connected with classical mechanics.

The connection between variational calculus and the theory of partial differential equations was discovered as early as the 19th century. It was shown by P.G.L. Dirichlet that solving boundary value problems for the Laplace equation is equivalent to solving some variational problem. Consider, for example, a given linear operator equation

(12) |

where is some function of two independent variables which vanishes on a closed curve . Subject to assumptions which are natural in a certain class of physical problems, the problem of finding the solution of equation (12) is equivalent to finding the minimum of the functional

(13) |

where is the domain bounded by the curve . Equation (12) is in this case the Euler equation for the functional (13).

The reduction of problem (12) to (13) is possible if, for example, is a positive-definite self-adjoint operator. The connection between problems involving partial differential equations and variational problems makes it possible, in particular, to establish the truth of various existence and uniqueness theorems; it played an important part in the crystallization of the concept of a generalized solution. Such a reduction is very important in numerical mathematics as well, since direct methods of variational calculus can be employed to solve boundary value problems in the theory of partial differential equations.

## Qualitative methods.

These methods make it possible to solve problems on the existence and uniqueness of solutions, as well as on the qualitative features of (families of) extremals. It was established in the 20th century that the number of solutions of a variational problem depends on the properties of the space on which the functional has been defined. For instance, if the functional is defined on all possible smooth curves on a torus which connect two given points, or on all possible closed curves in a surface which is topologically equivalent to a torus, the number of critical elements — curves on which the variation — is infinite in both cases. L.A. Lyusternik and L.G. Shnirel'man [7] showed that on every surface which is topologically equivalent to a sphere there exist at least three closed self-intersecting geodesics of different lengths; if the lengths of only two of these geodesics are equal, there exists an infinite number of closed geodesics of equal length. Such problems indicate a close connection between variational calculus and the qualitative theory of differential equations and topology. The development of functional analysis made a substantial contribution to the study of qualitative methods. See also Variational calculus in the large.

## Connection between variational calculus and the theory of cones.

The scope of problems studied in variational calculus keeps increasing. In particular, there is much interest in functionals of a very general type defined on sets of elements of normed spaces. The concept of variation is difficult to introduce into problems of this kind, and another kind of apparatus has to be utilized. This proved to be the theory of cones in Banach spaces. Consider, for example, the problem of minimizing , where is an element of a closed set . The cone is the set of non-zero vectors that can be put into correspondence with a positive number so that the vector for all . The cone is the set of non-zero vectors that can be put into correspondence with a positive so that

for all . For to realize the minimum of , the intersection of the cones and must be empty. This condition is just as elementary as that of vanishing of the variation, but not all the results which follow from it can be obtained by classical methods of variational calculus. It makes it possible to tackle much more complicated problems, such as in studies on extremal values of non-differentiable functionals [6].

#### References

[1] | V.I. Smirnov, "A course of higher mathematics" , 4 , Addison-Wesley (1964) (Translated from Russian) |

[2] | M.A. Lavrent'ev, L.A. Lyusternik, "A course in variational calculus" , Moscow-Leningrad (1950) (In Russian) |

[3] | G.A. Bliss, "Lectures on the calculus of variations" , Chicago Univ. Press (1947) |

[4] | S.G. [S.G. Mikhlin] Michlin, "Variationsmethoden der mathematischen Physik" , Akademie Verlag (1962) (Translated from Russian) |

[5] | L.S. Pontryagin, V.G. Boltayanskii, R.V. Gamkrelidze, E.F. Mishchenko, "The mathematical theory of optimal processes" , Wiley (1962) (Translated from Russian) |

[6] | B.N. Pshenichnyi, "Necessary conditions of an extremum" , Interscience (1962) (Translated from Russian) |

[7] | L.A. Lyusternik, L.G. [L.G. Shnirel'man] Schnirelmann, "Méthode topologiques dans les problèmes variationelles" , Hermann (1934) (Translated from Russian) |

#### Comments

#### References

[a1] | A.R.M. Noton, "Introduction to variational methods in control engineering" , Pergamon (1965) |

[a2] | W.H. Fleming, R.W. Rishel, "Deterministic and stochastic optimal control" , Springer (1975) |

[a3] | L.E. [L.E. El'sgol'ts] Elsgolc, "Calculus of variations" , Pergamon (1961) (Translated from Russian) |

[a4] | R.T. Rockafellar, "The theory of subgradients and its applications to problems of optimization. Convex and nonconvex functions" , Heldermann (1981) |

**How to Cite This Entry:**

Variational calculus.

*Encyclopedia of Mathematics.*URL: http://encyclopediaofmath.org/index.php?title=Variational_calculus&oldid=12984