Processing math: 100%

Find the maximum and minimum values of z=f(x,y)=3xy+1 subject to the constraint 3x2+y2=9.

Solution We use the steps for Lagrange multipliers:

Step 1 The problem is expressed in the required form.

Step 2 The functions f and g(x,y)=3x2+y29=0 each have continuous partial derivatives.

Step 3 Solve the system of equations {3=6λxfx(x,y)=λgx(x,y)1=2λyfy(x,y)=λgy(x,y)3x2+y29=0g(x,y)=0

From the first two equations, we find that x=12λ and y=12λ from which x=y. Substituting into the third equation, we have 4x2=9x=±32

Then x=±32, y=32, and the test points are (32,32) and (32,32).

894

Step 4 The values of z corresponding to the test points are z=92+32+1=7 and z=9232+1=5. The maximum value of z is 7 and the minimum value is 5.