Find the shortest distance from the origin to the hyperbola $x^2+8xy+7y^2=225$
i know that $$d(x_0, x) = \sqrt{(x-x_0)^2+(y-y_0)^2+(z-z_0)^2}$$
I also found this formula in my notes $$ d(x_0,p) = \frac{|ax_0+by_0+cz_{0}-c|}{\sqrt{a^2+b^2+c^2}}$$
I just haven't seen it been applied in class so i'm a bit confused.
This was in a week we were learning about Lagrange Multipliers and we don't seem to be given a constraint.
taking $d(x+y)=\sqrt{x^2+y^2}$
$$f(x,y) = x^2+y^2 +\lambda(x^2+8xy+7y^2-225)$$ $$f_x = 2x+2\lambda x + 8\lambda y =0$$ $$f_y=2y+8\lambda x + 14 \lambda y = 0$$
So i gotta solve the tree equations $$x^2+8xy+7y^2-225=0 $$
$$f_x = 2x+2\lambda x + 8\lambda y =0$$ $$f_y=2y+8\lambda x + 14 \lambda y = 0$$
So i need to equate for x and y by eliminating $\lambda$ i said $$x = \frac{-\lambda y}{2+2 \lambda }$$
$$y = \frac{-\lambda x}{2+14 \lambda }$$
From $f_x$ and $f_y$ $$\lambda = \frac{-2x}{2x+8y}$$ $$ \lambda = \frac{-2y}{8x+14y}$$
So solve... $$ \frac{-2x}{2x+8y} = \ \frac{-2y}{8x+14y}$$ $$0=8y^2-8x^2-12yx$$
the remaining $\lambda x$ really complicates things