21.04.2015 Views

Multivariate Calculus - Bruce E. Shapiro

Multivariate Calculus - Bruce E. Shapiro

Multivariate Calculus - Bruce E. Shapiro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LECTURE 15. CONSTRAINED OPTIMIZATION: LAGRANGE<br />

MULTIPLIERS 119<br />

or x = M/4. This is the same answer we found using Lagrange’s Method.<br />

<br />

Why does Lagrange’s method work? The reason hinges on the fact that the<br />

gradient of a function of two variables is perpendicular to the level curves. The<br />

equation<br />

∇f(x, y) = λ∇g(x, y)<br />

says that the normal vector to a level curve of f is parallel to a normal vector of<br />

the curve g(x, y) = 0. Equivalently, the curve g(x, y) = 0 is tangent to a level curve<br />

of f(x, y). Why is this an extremum? Suppose that it is not an extremum. Then<br />

we can move a little to the left or the right along g(x, y) = 0 and we will go to a<br />

higher or lower level curve of f(x, y). But this is impossible because we are tangent<br />

to a level curve, so if we move infinitesimally in either direction, we will not change<br />

the value of f(x, y). Hence the value of f(x, y) must be either a maximum or a<br />

minimum at the point of tangency.<br />

Example 15.3 . Find the maximum and minimum value of the function<br />

f(x, y) = x + y<br />

on the ellipse<br />

3x 2 + 4y 2 = 25<br />

Solution. We use Lagrange’s method with the constraint<br />

setting ∇f = λ∇g to give<br />

Our system of equations is<br />

g(x, y) = 3x 2 + 4y 2 − 25 = 0<br />

(1, 1) = λ (6x, 8y)<br />

x = 1<br />

6λ<br />

y = 1<br />

8λ<br />

3x 2 + 4y 2 = 25<br />

Substituting the first two equations into the third equation gives<br />

25 = 3<br />

36λ 2 + 4<br />

64λ 2<br />

25λ 2 = 1 12 + 1 16 + 12<br />

=<br />

16 (16)(12) = 28<br />

192 = 7<br />

48<br />

λ 2 7<br />

=<br />

(48)(25) = 7<br />

1200<br />

√<br />

7<br />

λ = ±<br />

1200 20√ = ± 1 7<br />

3<br />

Math 250, Fall 2006 Revised December 6, 2006.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!