MSG100
- 43
- 0
Hi!
My question is:
Find maximum and minimum values of the function:
f(x,y) = 2x-y+x^2+y^2
when x^2+y^2 ≤ 4
I would like to solve this without using Lagrange method.
I get
x=-1 and y=1/2 when using partial derivative and set it equql to 0.
I can see that the maximum value must be at the edge of the circle, therefore x^2+y^2 = 4
f(x,y) = 2x-y+x^2+y^2 =
2x-y+4 =
2x - sqrt( 4 - x^2 ) + 4
I derivative and get:
2 + x/(sqrt(4-x^2))=0
x=-4/sqrt(5)
Hmm, is this really the right method?
My question is:
Find maximum and minimum values of the function:
f(x,y) = 2x-y+x^2+y^2
when x^2+y^2 ≤ 4
I would like to solve this without using Lagrange method.
I get
x=-1 and y=1/2 when using partial derivative and set it equql to 0.
I can see that the maximum value must be at the edge of the circle, therefore x^2+y^2 = 4
f(x,y) = 2x-y+x^2+y^2 =
2x-y+4 =
2x - sqrt( 4 - x^2 ) + 4
I derivative and get:
2 + x/(sqrt(4-x^2))=0
x=-4/sqrt(5)
Hmm, is this really the right method?