tamintl
- 74
- 0
Homework Statement
Use the method of Lagrange multipliers to find the maximum and minimum values of the function
f(x, y) = x + y2
subject to the constraint g(x,y) = 2x2 + y2 - 1
Homework Equations
none
The Attempt at a Solution
We need to find \nablaf = λ\nablag
Hence,
\nablafx - λ\nablagx = 0
Which becomes, 1 - λ(4x) = 0
\nablafy - λ\nablagy = 0
Which becomes, 2y - λ = 0
-------------------------
Now we have: x = 1/4λ and y = λ/2
I assume I am right in now subbing x and y into the constraint...
To give us: 2/16λ2 + λ2/4 - 1 = 0
It seems a bit messy considering this is an elementary part of my homework? Have I gone wrong somewhere?
Regards as always