Professional Documents
Culture Documents
|
c c
+ =
c c
c c
+ =
c c
These are three equations in three unknowns (x, y, ). Note that |(x,y) is not necessarily
linear, so these equations may have more than one solution.
Three-variables, two constraints:
Here we want to minimize a function E(x,y,z) subject to two constraint equations
|
1
(x,y)=0 and |
2
(x,y)=0. We again have level sets of E, but this time they are surfaces in
a three-dimensional space. The two constraints are also surfaces, and their intersection
forms a curve in three-space. The point we seek must be on this curve with E(x,y,z) a
minimum. At this point, we must again have the gradient of E(x,y,z) perpendicular to the
curve; for if it were not, we could move along the curve to make E even smaller. Thus,
we must have the gradient of E in the same plane as the gradients of |
1
and |
1
.
1 1 2 2
E | | V = V V
We can solve this, along with the constraint equation, for the minimum point (x,y,z)
along with the two Lagrange multipliers,
1
and
2
.
1 2
1 2
1 2
1 2
1 2
1 2
1
1
0
0
0
( , ) 0
( , ) 0
E
x x x
E
y y y
E
z z z
x y
x y
| |
| |
| |
|
|
c c c
+ + =
c c c
c c c
+ + =
c c c
c c c
+ + =
c c c
This gives five equations for five unknowns. Although we solve for the unknown
Lagrange multipliers, they dont give us any useful information.
Multiple dimensions, multiple constraints:
Now consider the more general problem of minimizing a multidimensional function E(x)
with x of dimension M with multiple constraint equations |
i
(x)=0. There obviously must
be fewer constraint equations than dimensions or the point is already uniquely
determined. Here, the equations become
1 1 2 2
( ) ( ) ( ) ... 0
( ) 0
i
E | |
|
V + V + V + =
x x x
x
The first set of equations is more easily written in terms of a Lagrange funct ion defined
as
1 1 2 2
( ) ( ) ... x E x | | u = + + +
so that we can write
( ) 0
( ) 0
i
|
Vu =
x
x
Again, these equations are necessarily linear, so multiple solutions may exist.