Professional Documents
Culture Documents
LAGRANGE’S METHOD
Another method for solving the system
of equations 2–5 is to solve each of Equations
2, 3, and 4 for λ and then to equate
the resulting expressions.
LAGRANGE’S METHOD Example 2
Find the extreme values of the function
f(x, y) = x2 + 2y2 on the circle x2 + y2 = 1.
g(x, y) = x2 + y2 = 1
LAGRANGE’S METHOD Example 2
Using Lagrange multipliers, we solve
the equations and g(x, y) = 1.
2x = 2xλ
4y = 2yλ
x2 + y2 = 1
LAGRANGE’S METHOD Example 2
From Equation , we have
x = 0 or λ = 1
g(x, y, z) = x2 + y2 + z2
=4
LAGRANGE’S METHOD Example 4
According to the method of Lagrange
multipliers, we solve:
LAGRANGE’S METHOD
That gives:
2(x – 3) = 2xλ
2(y – 1) = 2yλ
2(z + 1) = 2zλ
x2 + y2 + z2 = 4
LAGRANGE’S METHOD Example 4
The simplest way to solve these equations
is to solve for x, y, and z in terms of λ from
Equations 12, 13, and 14, and then
substitute these values into Equation 15.
LAGRANGE’S METHOD Example 4
From Equation 12, we have:
x – 3 = xλ or x(1 – λ) = 3 or
▪ Thus,
LAGRANGE’S METHOD Example 4
These values of λ then give the corresponding
points (x, y, z):
x, y, z, λ, μ
TWO CONSTRAINTS
These equations are obtained by writing
Equation 16 in terms of its components and
using the constraint equations:
g(x, y, z) = k h(x, y, z) = c
TWO CONSTRAINTS 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
TWO CONSTRAINTS Example 5
We maximize the given function subject
to the constraints
g(x, y, z) = x – y + z = 1
h(x, y, z) = x2 + y2 = 1
TWO CONSTRAINTS
The Lagrange condition is
So, we solve the equations
1 = λ + 2xμ
2 = –λ + 2yμ
3=λ
x–y+z=1
x2 + y2 = 1
TWO CONSTRAINTS Example 5
Putting λ = 3 (from Equation 19)
in Equation 17, we get 2xμ = –2.
Thus, x = –1/μ.
▪ Similarly, y = 5/(2μ).
TWO CONSTRAINTS Example 5
Substitution in Equation 21 then
gives:
▪ Thus,
TWO CONSTRAINTS Example 5
Then,