Find the absolute maximum and absolute minimum of f(x,y)=x2+y2+4x−4y+3 subject to x2+y2≤2.
The point (−2,2) lies outside the disk x2+y2≤2, so f has no relevant critical points. The extrema must occur on the boundary of the domain, that is, on the curve x2+y2=2. To find the extrema, we use Lagrange multipliers.
Step 1 Using g(x,y)=x2+y2−2=0 as the constraint, the problem is expressed in the required form.
Step 2 The functions f and g(x,y)=x2+y2−2=0 each have continuous partial derivatives.
Step 3 We solve the system of equations ∇f(x,y)=λ∇g(x,y) and g(x,y)=0. {2x+4=2λxfx(x,y)=λgx(x,y)2y−4=2λyfy(x,y)=λgy(x,y)x2+y2=2g(x,y)=0
We eliminate λ from the first two equations. 2x+4=2xλ2y−4=2yλλ=2x+42xλ=2y−42yλ=1+2xλ=1−2y
Then 1+2x=1−2y, so y=−x.
If we substitute y=−x into the third equation x2+y2=2, we find 2x2=2. Then x=±1 and y=∓1. There are two test points: (1,−1) and (−1,1).
Step 4 We evaluate z=f(x,y) at each test point. f(1,−1)=13Maximum valuef(−1,1)=−3Minimum value