Inertigratus
- 123
- 0
Homework Statement
Find the largest and shortest distance from origo to the ellipse.
Homework Equations
Ellipse: g(x, y) = 13x^2 + 13y^2 + 10xy = 72
Function to optimize: F(x, y) = \sqrt{x^2 + y^2}
But this is easier to optimize: f(x, y) = x^2 + y^2
The Attempt at a Solution
I set up the equations, \nabla f = \lambda \nabla g, which got me that x = y. g(x) = 36x^2 = 72 and x^2 = 2 which got me that one of the values (either minimum or maximum) is F(x, y) = 2.
The question is, how do I get the other value?