Which points on the curve $5x^2+4xy+2y^2-6=0$ are closest to the origin.
I have solved countless of problems like this but this one is just giving me such a hard time. I'm supposed to solve this with Lagrange's method. So I want to minimize $f(x,y)=x^2+y^2$ due to the constraint $g(x,y)=5x^2+4xy+2y^2-6=0$.
Ok easy: Find $x,y$ so the following equations are satisfied:
$2x+\lambda(10x+4y)=0$
$2y+\lambda(4y+4x)=0$
$5x^2+4xy+2y^2-6=0$
Right? But however i do, i get very complicated equations with root terms to solve, getting me nowhere. I would love to see how you would solve this. Thanks.



We have: $$2x +10\lambda x +4\lambda y =0 \tag 1$$ $$2y +4\lambda x + 4\lambda y =0 \tag 2$$ Now, $x(1)+y(2)$ gives us after simplification: $$x^2+y^2=-6\lambda \tag 3$$
Solving for $x$ and $y$ from $(1)$ and $(2)$ gives us: $$x =-\frac{2\lambda y} {1+5\lambda}$$ $$y =-\frac{2\lambda x} {1+2\lambda}$$
Solving for $\lambda$ gives us the equation: $$(6\lambda +1)(\lambda +1)=0$$
Then conclude $(3)$ using an appropriate $\lambda$