The Gradient of f(x,y)=ln(2x⁴+ax²y²+2y⁴) is, in each point (x,y)≠(0,0), orthogonal to the circle with center at the origin and radius r=(x²+y²)⁽1/2), then "a" equals to:
I am trying to solve this question, but I just don't understand how to keep going. I read about orthogonality of the gradient, I made some attempts but I got nowhere. Can someone help me, please?
The formal way to solve this problem is to: first, find the gradient. To this end we write down $$\nabla f(x,y)=\left({8x^3+2axy^2\over 2x^4+2y^4+ax^2y^2},{8y^3+2ayx^2\over 2x^4+2y^4+ax^2y^2}\right)$$as the gradient vector is orthogonal to the circle $x^2+y^2=r^2$, the for each point on the perimeter of the circle we must have $$\vec{\nabla f}\cdot (y,-x)=0\quad,\quad x^2+y^2=r^2$$from which we obtain$$8x^3y+2axy^3=8xy^3+2ayx^3$$since on the circle, $xy\ne 0$ we conclude that$$8x^2+2ay^2=8y^2+2ax^2$$which is true only if $a=4$ and $$f(x,y)=\ln 2(x^2+y^2)^2$$