Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Lucky Galvez
Institute of Mathematics
University of the Philippines
Diliman
Math 55
Lagrange Multiplier
Recall
R
R
R
Math 55
Lagrange Multiplier
Lagrange Multiplier
Suppose we want to find the maximum value of f (x, y) over all
points (x, y) satisfying g(x, y) = k (e.g., we want to maximize
volume of a box such that its surface area is a constant k).
Math 55
Lagrange Multiplier
Lagrange Multiplier
Suppose we want to find the maximum value of f (x, y) over all
points (x, y) satisfying g(x, y) = k (e.g., we want to maximize
volume of a box such that its surface area is a constant k).
Consider the level curves f (x, y) = c, for different values of c
Math 55
Lagrange Multiplier
Lagrange Multiplier
Suppose we want to find the maximum value of f (x, y) over all
points (x, y) satisfying g(x, y) = k (e.g., we want to maximize
volume of a box such that its surface area is a constant k).
Consider the level curves f (x, y) = c, for different values of c
and think of g(x, y) = k as a particular level curve for a fixed k.
We are actually looking for the largest c such that f (x, y) = c
intersects g(x, y) = k.
f (x, y) = c6
f (x, y) = c5
f (x, y) = c4
f (x, y) = c3
f (x, y) = c2
f (x, y) = c1
g(x, y) = k
Math 55
Lagrange Multiplier
Lagrange Multiplier
Suppose we want to find the maximum value of f (x, y) over all
points (x, y) satisfying g(x, y) = k (e.g., we want to maximize
volume of a box such that its surface area is a constant k).
Consider the level curves f (x, y) = c, for different values of c
and think of g(x, y) = k as a particular level curve for a fixed k.
We are actually looking for the largest c such that f (x, y) = c
intersects g(x, y) = k.
Intuitively, this happens
when they are tangent to
each other
f (x, y) = c6
f (x, y) = c5
f (x, y) = c4
f (x, y) = c3
f (x, y) = c2
f (x, y) = c1
g(x, y) = k
Math 55
Lagrange Multiplier
Lagrange Multiplier
Suppose we want to find the maximum value of f (x, y) over all
points (x, y) satisfying g(x, y) = k (e.g., we want to maximize
volume of a box such that its surface area is a constant k).
Consider the level curves f (x, y) = c, for different values of c
and think of g(x, y) = k as a particular level curve for a fixed k.
We are actually looking for the largest c such that f (x, y) = c
intersects g(x, y) = k.
Intuitively, this happens
when they are tangent to
each other, i.e., such
f (x, y) = c6
that
f (x, y) = c5
f (x, y) = c4
f (x, y) = c3
f (x, y) = c2
f (x, y) = c1
f (x, y) = g(x, y)
g(x, y) = k
Math 55
Lagrange Multiplier
Lagrange Multiplier
Suppose we want to find the maximum value of f (x, y) over all
points (x, y) satisfying g(x, y) = k (e.g., we want to maximize
volume of a box such that its surface area is a constant k).
Consider the level curves f (x, y) = c, for different values of c
and think of g(x, y) = k as a particular level curve for a fixed k.
We are actually looking for the largest c such that f (x, y) = c
intersects g(x, y) = k.
Intuitively, this happens
when they are tangent to
each other, i.e., such
f (x, y) = c6
that
f (x, y) = c5
f (x, y) = c4
f (x, y) = c3
f (x, y) = c2
f (x, y) = c1
f (x, y) = g(x, y)
g(x, y) = k
Lagrange Multiplier
Lagrange Multiplier
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
Solution. Let f (x, y) = 5x 3y and g(x, y) = x2 + y 2 . We solve
(
the system
f (x, y)
g(x, y)
= g(x, y)
=k
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
the system
f (x, y)
g(x, y)
= g(x, y)
=k
Math 55
Lagrange Multiplier
2x
(1)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
the system
f (x, y)
g(x, y)
= g(x, y)
=k
Math 55
5
3
Lagrange Multiplier
=
=
2x
2y
(1)
(2)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
the system
f (x, y)
g(x, y)
= g(x, y)
3
2
=k
x + y2
Math 55
Lagrange Multiplier
=
=
=
2x
2y
136
(1)
(2)
(3)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
the system
f (x, y)
g(x, y)
From (1): x =
= g(x, y)
3
2
=k
x + y2
5
2
Math 55
Lagrange Multiplier
=
=
=
2x
2y
136
(1)
(2)
(3)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
= g(x, y)
3
2
=k
x + y2
3
5
and from (2): y = .
From (1): x =
2
2
(
the system
f (x, y)
g(x, y)
Math 55
Lagrange Multiplier
=
=
=
2x
2y
136
(1)
(2)
(3)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
= g(x, y)
3
2
=k
x + y2
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
+
= 136
2
2
(
the system
f (x, y)
g(x, y)
Math 55
Lagrange Multiplier
=
=
=
2x
2y
136
(1)
(2)
(3)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
= g(x, y)
3
2
=k
x + y2
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
+
= 136 2 = 136
2
2
4
(
the system
f (x, y)
g(x, y)
Math 55
Lagrange Multiplier
=
=
=
2x
2y
136
(1)
(2)
(3)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
= g(x, y)
3
= 2y
2
=k
x + y 2 = 136
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
+
= 136 2 = 136 2 = 16
2
2
4
the system
f (x, y)
g(x, y)
Math 55
Lagrange Multiplier
(1)
(2)
(3)
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x =
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y =
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6.
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x =
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x = 10, y =
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x = 10, y = 6.
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x = 10, y = 6.
Hence,
f (10, 6) = 68
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x = 10, y = 6.
Hence,
f (10, 6) = 68
f (10, 6) = 68
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x = 10, y = 6.
Hence,
f (10, 6) = 68 (maximum)
f (10, 6) = 68
Math 55
Lagrange Multiplier
Example
Example
Find the extreme values of f (x, y) = 5x 3y subject to the
constraint x2 + y 2 = 136.
2
2
Solution. Let f (x, y) = 5x 3y and g(x,
y) = x + y . We solve
5
= 2x
(1)
= g(x, y)
3
= 2y
(2)
2
=k
x + y 2 = 136
(3)
3
5
and from (2): y = .
From (1): x =
2
2
Substituting in (3):
2
2
5
3
34
1
1
+
= 136 2 = 136 2 = 16 =
2
2
4
4
(
the system
f (x, y)
g(x, y)
If = 14 , x = 10, y = 6. If = 14 , x = 10, y = 6.
Hence,
f (10, 6) = 68 (maximum)
Math 55
f (10, 6) = 68 (minimum)
Lagrange Multiplier
Exercises
1
Math 55
Lagrange Multiplier
Exercises
1
Math 55
Lagrange Multiplier
Exercises
1
Math 55
Lagrange Multiplier
Exercises
1
Math 55
Lagrange Multiplier
Exercises
1
Math 55
Lagrange Multiplier
Exercises
1
Math 55
Lagrange Multiplier
Exercises
1
Lagrange Multiplier
References
Math 55
Lagrange Multiplier