Beruflich Dokumente
Kultur Dokumente
4.1. Examples
There are three types of constraints that occur. We will give examples of all three.
4.1.1. The isoperimetric problem
Let I D .a; b/ and suppose that u 2 C 1 .I /. assuming that u.x/ 0 for all x, the
area under the graph of u is given by the area functional, defined to be
Z b
(4.1.1) A.u/ D u.x/ dx:
a
On the other hand, the length of the graph of u is given by the length funcitonal
Z bp
(4.1.2) L.u/ D 1 C u0 .x/2 dx:
a
The isoperimetric problem is to find the function u 2 C 1 .I / which minimizes L.u/ sub-
ject to the constraint A.u/ D A, and the end conditions u.a/ D c and u.b/ D d .
This problem illustrates our first class of constrained problems. We want to mimimize
a functional
Z b
F .u/ D F .x; u.x/; u0 .x// dx
a
subject to a constraint expressed in terms of another functional
Z b
(4.1.3) G .u/ D G.x; u.x/; u0 .x//; dx D C;
a
where C is a constant, as well as the end conditions u.a/ D c and u.b/ D d . Because this
is the type of constraint that appears in the isoperimetric problem, a constraint such as that
in (4.1.3) is called an isoperimetric constraint.
39
40 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS
Theorem 4.5 can be generalized in two ways. We can allow the functional to depend
on a vector valued function, so that
Z b
F .u/ D F x; u.x/; u0 .x/ dx;
(4.3.7)
a
4.3. ISOPERIMETRIC CONSTRAINTS 43
is nonsingular. Then there are real numbers j for j D 1; 2; : : : ; m such that u satisfies
the Euler-Lagrange equations
0 1 0 1
m m
X d @ X
@Fuk C j Guj k A Fpk C j Gpj k A D 0; for k D 1; 2; : : : ; N .
dx
j D1 j D1
Pm
Therefore u is an extremal for the functional F C j D1 j G j .
The proof of this more general theorem is only slightly more difficult that that of
Theorem 4.5.
Thus
1
u.x/ D cosh.M x C N / :
M
The three constants M , N , and cam be found by solving the three equations u.a/ D c,
u.b/ D d , and L.u/ D l:
Let’s look at the special case with the end conditions u. a/ D u.a/ D c. This implies
first that N D 0, and then that
1 1
c D u.a/ D cosh.M a/ or D cosh.M a/ c:
M M
So far we know that
1
u.x/ D cosh.M x/ C c cosh.M a/ :
M
We have yet to determine the constant M . For this we use the equation
l D L.u/
Since u0 .x/ D sinh.M x/, this becomes
Z aq a
2
Z
lD 1 C sinh2 .M x/ dx D cosh.M x/ dx D sinh.M a/:
a a M
If we set y D M a, or M D y=a, this equation becomes
l
y D sinh y:
2a
It is easy to see that the equation ˛y D sinh y has a unique positive solution if and only
if the coefficient ˛ > 1. In our case l is the length of the chain, and 2a is the distance
between the points of suspension, so clearly l > 2a. Therefore there is a unique solution.
4.3.2. The isoperimetric problem
In Section 4.1.1 we reduced this problem to finding a minimum of the length funcitonal
Z bp
(4.3.9) L.u/ D 1 C u0 .x/2 dx:
a
subject to the constraint that the area functional
Z b
(4.3.10) A.u/ D u.x/ dx D A:
a
where A is fixed. In addition u must satisfy the end conditions u.a/ D c and u.b/ D d .
Suppose that u 2 C 2 .I / is a local constrained minimum. According to Theorem 4.5,
there is a real number such that u is an extremal of the functional
Z b hp i
.L C A/ .u/ D 1 C u0 .x/2 C u.x/ dx:
a
p
The Lagrangian of this functional is F .u; p/ D 1 C p 2 Cu: Since Fx D 0, the quantity
p2 p 1
pFP F D p 1 C p 2 u D p u
1Cp 2 1 C p2
is conserved. Therefore there is a constant C1 such that
p
.u C C1 / 1 C p 2 D 1:
4.4. HOLONOMIC CONSTRAINTS 45
Remark 4.8. Notice that we again get a “Lagrange multiplier”, but this time it is a function
defined on I and not a number.
Remark 4.9. The Lagrangian of the functional G in (4.4.3) is
G.x; u; p/ D F .x; u; p/ C .x/g.x; u/:
The Euler-Lagrange equations are
d
Fuj C guj Fp D 0 for j D 1; 2; : : : ; N .
dx j
46 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS
where rg.x; y; z/ ¤ 0 for .x; y; z/ 2 S . Suppose that a and b are two points in S . Then
g.a/ D g.b/ D C . If
is a curve in S which joins a and b, then
has a parametrization
defined on the interval I ,where I D .0; 1/: Thus we have x 2 C 2 .I ; R3 /, and the fact that
is a curve in S is equivalent to the constraint
(4.4.8) g.x.t// D C:
The length of
is given by the functional
Z 1
(4.4.9) L.x/ D jx0 .t/j dt:
0
48 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS
To find the geodesics in the surface S we want to find parametrizations x which minimize
L in (4.4.9) subject to the holonomic constraint (4.4.8).
By Theorem 4.7 a minimum x must be an extremal of the functional with Lagrangian
G.t; x; p/ D jpj C .t/g.x/:
We compute that
p
rx G D .t/rg and rp G D :
jpj
Hence the Euler-Lagrange equation is
0
d x .t/
D .t/rg.x/:
dt jx0 .t/j
We can choose any parametrization for
defined on the unit interval, so choose the one
that has constant speed. This means that we can assume that jx0 .t/j D v, where v is a
constant. Then the Euler-Lagrange equation becomes
(4.4.10) x00 .t/ D .t/rg.x.t//; where .t/ D v.t/.
Thus any constant speed parametrization of a geodesic in the surface S must satisfy (4.4.10)
for a suitable funciton .t/, as well as the constraint equation (4.4.8).
Suppose, on the other hand that x.t/ satisfies (4.4.10) for some .t/ and the constraint
equation (4.4.8). If we differentiate (4.4.8), we get
(4.4.11) rg.x.t// x0 .t/ D 0:
Then from (4.4.10) we get
x00 .t/ x0 .t/ D .t/rg.x.t// x0 .t/ D 0:
Therefore
0
jx0 .t/j2 D 2x0 .t/ x00 .t/ D 0;
so x.t/ is a constant speed parametrization which also satisfies (4.4.10). Hence x.t/ satis-
fies the Euler-Lagrange equation and is the parametrization of a geodesic in S .
4.4.2. Geodesics in the sphere
Let’s look at the special case when S is the sphere
S D x D .x; y; z/ 2 R3 jxj2 D x 2 C y 2 C z 2 D R2
˚
of radius R.
The constraint equation is g.x; y; z/ D x 2 Cy 2 Cz 2 D R2 , so rg D 2.x; y; z/ D 2x:
Equation (4.4.10) becomes the system
(4.4.12) x00 D .t/x; or x 00 D 2.t/x; y 00 D 2.t/y; z 00 D 2.t/z:
If we differentiate the constraint equation we get
2x x0 D 2xx 0 C 2yy 0 C 2zz 0 D 0:
Dropping the factor 2, and differentiating again we get
x0 x0 C x x00 D 0:
Since the speed v D jx0 .t/j is constant we get, using (4.4.12)
v2 v2
v 2 C 2.t/jxj2 D 0 or .t/ D D :
jxj2 R2
4.4. HOLONOMIC CONSTRAINTS 49
Thus .t/ is a negative constant. The first equation in the system in (4.4.12) is x 00 D
.v=R/2 x; which has general solution x.t/ D c cos.vt=R/ C d sin.vt=R/ where a and
b are constants. The solutions for y and z have a similar form, and in vecotr notation we
have
x.t/ D cos.vt=R/c C sin.vt=R/d
where c and d are arbitrary vectors in R3 . Thus for 0 t 1 the vector x.t/ is a linear
combination of c and d, and therefore lies in the plane through the origin spanned by these
two vectors, as well as in the sphere S. The intersection of a plane through the origin with
the sphere is defined to be a great circle, so our geodesic is a segment of a great circle.
4.4.3. The motion of the pendulum
Physicists prove that Hamilton’s principle works with holonomic constraints. We will
illustrate this by analyzing the motion of a pendulum.
Let’s assume that the pendulum rod has length R, the fixed end of the perndulum is at
the point .0; R/, and the bob has mass m. According to Hamilton’s principle, the motion
u.t/ D .x.t/; y.t// of the pendulum is such that u is an extremal of the functional
Z b
L.u/ D .T V / dt;
a
where the kinetic energy
1 1 2 2
T D mju0 j2 D m x 0 C y 0 ;
2 2
and the potential for the force of gravity is V D mgy. Of course the pendulum is con-
strained by the rod to follow the curve defined by
x 2 C .y R/2 D R2 :
According to Theorem 4.7, there is a function .t/ such that u D .x; y/ is an extremal
of the functional
Z b
1 02 2
F .x; y/ D m x C y0 mgy C x 2 C .y R/2 dt:
a 2
The Lagrangian is
1
F .t; x; y; p; q/ D m p2 C q2 mgy C x 2 C .y R/2 :
2
From this we see that the Euler-Lagrange equations are
d d
(4.4.13) .mx 0 / D 2x; and .my 0 / D mg C 2.y R/:
dt dt
From the constraint we see that x D R sin and R y D R cos , where is the angle
the rod makes with the vertical. Differentiating and sustituting into (4.4.13), we get
h i
2
mR 00 cos 0 sin D 2R sin ; and
h i
2
mR 00 sin C 0 cos D 2R cos mg:
Multiplying the first equation by cos and the second by sin and adding we get
mR 00 D mg sin ;
which is the diferential equation for the motion of the pendulum.
50 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS
Remark 4.12. The condition in (1) is not unexpected, since similar conditions were re-
quired for both isoperimetric and holonomic constraints. However, the condition in (2) is
unexpected.
Let’s look at some examples.
4.5.1. Functionals depending on the second and higher derivatives
Consider a functional of the form
Z b
(4.5.1) F .u/ D F .x; u.x/; u0 .x/; u00 .x// dx:
a
which depends on the second derivative u00 in addition to u and u0 . The appropriate end
conditions have the form
u.a/ D c; u0 .a/ D c0 ; u.b/ D d; and u0 .b/ D d0 :
Problems of this sort can be reduced to what we have already done by using the functional
Z b
(4.5.2) G .u; v/ D F .x; u.x/; u0 .x/; v 0 .x// dx;
a
together with the nonholonomic constraint
(4.5.3) u0 v D 0:
4.5. NONHOLONOMIC CONSTRAINTS 51
It is clear that u is a local minimum of (4.5.1) if and only if the pair .u; u0 / is a local
minimizum of (4.5.1) subject to the constraint (4.5.3). According to Theorem 4.11, if the
pair .u; v/ is a local minimum of (4.5.1) subject to the constraint (4.5.3) implies that .u; v/
is an extremal of the functional with Lagrangian
F .x; u; v; p; q/ D F .x; u; v; p; q/ C .x/.p v/
for some function .x/. The Euler-Lagrange equations for F are
d d
ru F D rp F C ; and D rq F:
dx dx
Differentiating the second equation and substituting for 0 in the first we get the equation
d2 d
(4.5.4) 2
rq F rp F C ru F D 0:
dx dx
This is the Euler-Lagrange equation for the functional F in (4.5.1).
The general solution to this fourth order differential equation is a polynomial of degree
4. Because of the end conditions in (4.5.5), this polynomial must vanish to second order
at both a and b. Hence it must have the form u.x/ D A.x a/2 .x b/2 ; where A is a
constant. When mulitplied out, the coefficient of x 4 in u is A. Therefore u.iv/ D 24A, and
according to the Euler-Lagrange equation, we must have 48HACg D 0, or A D g=48H:
Consequently, the solution is
g
u.x/ D .x a/2 .x b/2 :
48A
4.5.3. The isoperimetric problem
We have already solved one version of this problem in Section 4.3.2. Here we will
take another look at it. We will look at open sets R2 with connected, C 2 boundaries
of length l, and we want to find those with maximal area.
Let
be the boundary of .
is a smooth curve, so we can parametrize it by arc
length. This means we areusing the parametrization x.s/ D .x.s/; y.s// with
(4.5.6) jx0 .s/j2 D x 0 .s/2 C y 0 .s/2 D 1 for 0 x l:
52 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS
Thus we want to maximize the functional A subject to the nonholonomic constraint in (4.5.6).
According to Theorem 4.11, x D .x; y/ is an extremal of the functional
Z l
F .x; y/ D y.s/x 0 .s/ x.s/y 0 .s/ C .s/ x 0 .s/2 C y 0 .s/2 ds;
0
We want to find such a u which minimizes L.u/ subject to the condition that the beginning
endpoint .a; u.a// 2
1 and the final endpoint .b; u.b// 2
2 . Thus, we have a variational
problem where the endpoints are allowed to vary with the function.
4.6. VARIATIONAL PROBLEMS WITH VARIABLE ENDPOINTS 53
subject to the endpoint conditions .a; u.a// 2
1 and .b; u.b// 2
2 . These endpoint
conditions can be written as
(4.6.2) f .a; u.a// D 0 and g.b; u.b// D 0:
Suppose that u 2 C 2 .Œa; b/ is a local extremum for the problem. If u.a/ D c and
u.b/ D d , then f .a; c/ D 0 and g.b; d / D 0. As we did before we want to vary u by
replacing it with u.x/ C t.x/. However, since we want to allow the endpoints to vary
as well, we do not assume that .x/ D 0 for x near the endpoints a and b. Instead we
will assume that the graph of u C t intersects
1 at a point .˛.t/;
.t//, where ˛.0/ D a.
Notice that .˛.t/;
.t// 2
1 implies that
(4.6.3) f .˛.t/;
.t// D 0 for all small t,
and .˛.t/;
.t// 2
uCt , the graph of u C t, implies that
(4.6.4) u.˛.t// C t.˛.t// D
.t/ for all small t.
Doing the same analysis at the other end point, we find that there are functions ˇ.t/ and
ı.t/ such that
(4.6.5) g.ˇ.t/; ı.t/ D 0 for all small t, and
(4.6.6) u.ˇ.t// C t.ˇ.t// D ı.t/ for all small t.
In addition, since u.a/ D c and u.b/ D d , we have
(4.6.7) ˛.0/ D a; ˇ.0/ D b;
.0/ D c; and ı.0/ D d:
Notice that if 2 C01 ..a; b//; then
(4.6.8) ˛.t/ D a; ˇ.t/ D b;
.t/ D c; and ı.t/ D d for small t.
Now define
Z ˇ.t /
ˆ.t/ D F .u C t/ D F x; u.x/ C t.x/; u0 .x/ C t 0 .x/ dx:
(4.6.9)
˛.t /
Notice the end points on the integral. We are assuming that u is a local extremum for our
problem. Hence t D 0 is an extremum for ˆ, and therefore ˆ0 .0/ D 0. Differentiating ˆ
is somewhat harder now, since t appears in the end point so the integral. However,
ˆ0 .t/ D F ˇ.t/; u.ˇ.t// C t.ˇ.t//; u0 .ˇ.t// C t 0 .ˇ.t// ˇ 0 .t/
At t D 0, we have ˆ0 .0/ D 0, or
0 D F b; u.b/; u0 .b/ ˇ 0 .0/ F a; u.a/; u0 .a/ ˛ 0 .0/
(4.6.10) Z b
C Fu x; u.x/; u0 .x/ .x/ C Fp x; u.x/; u0 .x/ 0 .x/ dx:
a
54 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS
Next, we will integrate by parts for the Fp term in the integral. Since we have to take the
end points into account, we get
Z b
Fp x; u.x/; u0 .x/ 0 .x/ dx D Fp b; u.b/; u0 .b/ .b/ Fp a; u.a/; u0 .a/ .a/
a
b
d
Z
Fp x; u.x/; u0 .x/ .x/ dx
a dx
Substituting into (4.6.10), this becomes
0 D F b; u.b/; u0 .b/ ˇ 0 .0/ F a; u.a/; u0 .a/ ˛ 0 .0/
This equation is valid for all 2 C 1 .Œa; b/. However, to use it we must compute ˛ 0 .0/
and ˇ 0 .0/. To compute ˛ 0 .0/; we differentiate equations (4.6.3) and (4.6.4) and evaluate at
t D 0 using (4.6.7) to get
fx .a; c/˛ 0 .0/ C fu .a; c/
0 .0/ D 0 and u0 .a/˛ 0 .0/ C .a/ D
0 .0/:
If we eliminate
0 .0/ from these equations, we have
fx .a; c/ C fu .a; c/u0 .a/ ˛ 0 .0/ D fu .a; c/0 .a/;
so
fu .a; c/
˛ 0 .0/ D .a/:
fx .a; c/ C fu .a; c/u0 .a/
In the same way, at the other end point we get
gu .b; d /
ˇ 0 .0/ D .b/:
gx .b; d / C gu .b; d /u0 .b/
4.6. VARIATIONAL PROBLEMS WITH VARIABLE ENDPOINTS 55
4.6.2. Examples
Let’s apply these results to lagrangians of the form
p
F .x; u; p/ D !.x; u/ 1 C p 2 :
We have seen three examples:
p
(1) !.x; u/ D 1: Then F .x; u; p/ D 1 C p 2 us the Lagrangian for the length
functional which
p we studied in Section 2.5.1.
(2) !.x; u/ D 1= 2gm: Then F is the Lagrangian for the brachistochrone, which
we studied in Section 2.5.3.
(3) !.x; u/ D 1=v.x; u/. If v.x; u/ is the speed of light, then F is the Lagrangian
for the Fermat principle for light transmission, which we looked at in Section 2.5.4.
For a Lagrangian of the form in (4.6.15) we compute that
!p !
Fp D p ; and pFp F D p :
1Cp 2 1 C p2
The transversality condition is satisfied at the curve
1 if the vector
!
.Fp ; pFp F / D p .p; 1/
1 C p2
56 4. VARIATIONAL PROBLEMS WITH CONSTRAINTS