SteEC 11 08
SteEC 11 08
SteEC 11 08
PARTIAL DERIVATIVES
11.8
Lagrange Multipliers
Lagrange Multipliers
In this section we present Lagranges method for
maximizing or minimizing a general function f (x, y, z)
subject to a constraint (or side condition) of the form
g(x, y, z) = k.
Suppose that a function f has an extreme value at a point
P(x0, y0, z0) on the surface S and let C be a curve with
vector equation
that lies on S and
passes through P.
If t0 is the parameter value corresponding to the point P,
then
3
Lagrange Multipliers
The composite function h(t) = f (x(t), y(t), z(t)) represents
the values that f takes on the curve C.
Since f has an extreme value at (x0, y0, z0), it follows that h
has an extreme value at t0, so h(t0) = 0.
But if f is differentiable, we can use the Chain Rule to write
Lagrange Multipliers
This shows that the gradient vector
orthogonal to the tangent vector
curve C.
is
to every such
Lagrange Multipliers
The number in Equation 1 is called a Lagrange
multiplier. The procedure based on Equation 1 is
as follows.
Lagrange Multipliers
If we write the vector equation
in terms of its
components, then the equations in step (a) become
Lagrange Multipliers
To find the extreme values of f (x, y) subject to the
constraint g(x, y) = k, we look for values of x, y, and
such that
Example 1
A rectangular box without a lid is to be made from 12 m 2 of
cardboard. Find the maximum volume of such a box.
Solution:
Let x, y, and z be the length, width, and height,
respectively, of the box, in meters.
Then we wish to maximize
Example 1 Solution
contd
which become
10
Example 1 Solution
contd
11
Example 1 Solution
contd
12
Example 1 Solution
If we now put x = y = 2z in
contd
, we get
13
Example 4
Find the points on the sphere x2 + y2 + z2 = 4 that are
closest to and farthest from the point (3, 1, 1).
Solution:
The distance from a point (x, y, z) to the point (3, 1, 1) is
Example 4 Solution
contd
15
Example 4 Solution
contd
and
.]
give
16
Example 4 Solution
Therefore from
which gives
contd
we have
so
17
Example 4 Solution
contd
18
Two Constraints
19
Two Constraints
Suppose now that we want to find the maximum and
minimum values of a function f (x, y, z) subject to two
constraints (side conditions) of the form g(x, y, z) = k and
h(x, y, z) = c.
Geometrically, this means that we are looking for the
extreme values of f when (x, y, z) is restricted to lie on the
curve of intersection C of the level surfaces g(x, y, z) = k
and h(x, y, z) = c.
(See Figure 5.)
Figure 5
20
Two Constraints
Suppose f has such an extreme value at a point
We know that
is orthogonal to C there.
But we also know that
is orthogonal to h(x, y, z) = c, so
orthogonal to C.
This means that the gradient vector
plane determined by
and
and
are both
is in the
21
Two Constraints
So there are numbers and (called Lagrange multipliers)
such that.
x,
22
Two Constraints
These equations are obtained by writing Equation 16 in
terms of its components and using the constraint
equations:
23
Example 5
Find the maximum value of the function
f (x, y, z) = x + 2y + 3z on the curve of intersection of the
plane x y + z = 1 and the cylinder x2 + y2 = 1.
Solution:
We maximize the function
the constraints
The Lagrange condition is
the equations
subject to
and
so we solve
24
Example 5 Solution
Putting
Similarly,
[from
] in
contd
we get
gives
25
Example 5 Solution
Substitution in
and so
and, from
contd
then gives
Then
26