How to Solve Lagrange Multiplier Problems for Function Extremes?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
tasveerk
Messages
24
Reaction score
0

Homework Statement


Find the product of the maximal and the minimal values of the function
z = x - 2y + 2xy
in the region
(x -1)2+(y + 1/2)2≤2

Homework Equations





The Attempt at a Solution


I have taken the partial derivatives and set-up the problem, but I am having difficulty solving for x and y.
F(x,y) = x-2y+2xy-λ((x -1)2+(y + 1/2)2 -2)
Fx = 1 - 2y - 2λ(x-1)
Fy = -2 + 2x - 2λ(y+1/2)
Fλ = -((x -1)2+(y + 1/2)2 -2))
 
Physics news on Phys.org
tasveerk said:

Homework Statement


Find the product of the maximal and the minimal values of the function
z = x - 2y + 2xy
in the region
(x -1)2+(y + 1/2)2≤2

Homework Equations





The Attempt at a Solution


I have taken the partial derivatives and set-up the problem, but I am having difficulty solving for x and y.
F(x,y) = x-2y+2xy-λ((x -1)2+(y + 1/2)2 -2)
Fx = 1 - 2y - 2λ(x-1)
Fy = -2 + 2x - 2λ(y+1/2)
Fλ = -((x -1)2+(y + 1/2)2 -2))

The first two equations are linear in x and y, so you can solve for x and y as functions of λ.

RGV