I'm trying to find the points on which are nearest the origin.

Let:

So:

Hence:

Which yields:

Inserting x=-2y into g(x,y) gives imaginary solutions which are ignored.

Inserting y=2x into g(x,y):

So the solutions are

The problem is when I look at the graph the solutions seem to be:

Any ideas?