Question #107938
Use Lagrange multipliers to find the maximum and minimum values of f(x,y)=x−2y subject to the constraint x^2+y^2=5, if such values exist.

maximum = ?

minimum = ?
1
Expert's answer
2020-04-08T12:28:59-0400

Given f(x,y)=x2yf(x,y) =x-2y

Let  g(x,y)=x2+y25g(x,y) = x^{2}+y^{2}-5 and

let F=f(x,y)+λg(x,y)F = f(x,y)+\lambda g(x,y)

where λ\lambda  is the Lagrangian multiplier.

F=x2y+λ(x2+y25)F = x - 2y + \lambda(x^{2} + y^{2} -5)


To find the maximum and minimum values, we have to solve the system

Fx=0\dfrac{\partial F}{\partial x} = 0

Fy=0\dfrac{\partial F}{\partial y} = 0 and 

Fλ=0\dfrac{\partial F}{\partial \lambda} = 0


We get,

1+2xλ=02+2yλ=0x2+y2=5.1 + 2x\lambda = 0\\ -2 + 2y\lambda = 0\\ x^{2} + y^{2} = 5.

From the first and the second equation we get,

x=12λy=1λx = -\dfrac{1}{2\lambda}\\ y = \dfrac{1}{\lambda}\\

Using these values in the third equation we get,

14λ2+1λ2=5λ2=14λ=±12\dfrac{1}{4\lambda^{2}} + \dfrac{1}{\lambda^{2}} = 5\\ \lambda^{2} = \dfrac{1}{4}\\ \lambda = \pm\dfrac{1}{2}\\


When λ=12\lambda = -\dfrac{1}{2},

x=1,y=2x= 1, y =-2

When λ=12\lambda = \dfrac{1}{2},

x=1,y=2x= -1, y =2

The maximum and minimum values of f(x,y) are respectively,

f(1,2)=1+4=5f(1,2)=14=5f(1,-2) = 1+4 = 5\\ f(-1,2) = -1-4=-5


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS