If $4x^4+9y^4=64$ then what is the maximum value of $x^2+y^2?$
I solved this question by Subhasish Basak method and answer is correct.But i tried Lagrange's multiplier and did not get the correct answer.I write my work here.
We have to maximize $x^2+y^2$ subject to $4x^4+9y^4-64=0$ constraint.Let $f(x,y)\equiv x^2+y^2$ and $g(x,y)\equiv 4x^4+9y^4=64 $ and let $h(x)\equiv x^2+y^2+\lambda(4x^4+9y^4-64)$
Now i found $\frac{\partial h}{\partial x},\frac{\partial h}{\partial y},\frac{\partial h}{\partial \lambda}$
$\frac{\partial h}{\partial x}=2x+16\lambda x^3=0$........(1)
$\frac{\partial h}{\partial y}=2y+36\lambda y^3=0$........(2)
$4x^4+9y^4-64=0$..............(3)
From $(1),x=0$ put $x=0$ in the third equation to get $y=\pm\frac{2\sqrt2}{\sqrt3}$,putting this value in the second equation gives $\lambda=\frac{-1}{48}$,but setting these $x=0,y=\pm\frac{2\sqrt2}{\sqrt3},\lambda=\frac{-1}{48}$ gives me $\frac{8}{3}$.Also i found $y=0$ fro second equation and put it in third equation to find $x=\pm2$ and putting this value in the first equation gives me $\lambda=\frac{-1}{32}$ but setting $x=\pm2,y=0,\lambda=\frac{-1}{32}$ gives me 4.
Neither $\frac{8}{3}$ nor $4$ are the correct maximum value $\frac{4\sqrt{13}}{3}$.Where have i gone wrong or Lagrange's multiplier is not applicable here?Please help me.

$(4x^4+9y^4)(1/4+1/9) \geq (\frac{1}{2}2x^2+\frac{1}{3}3y^2)^2=(x^2+y^2)^2$ by Cauchy Schwartz inequality. Now substitute the values to get the answer.
When using lagrange multiplier.
From your first two equation write $x^2$ and $y^2$ as a function of $\lambda$.(ignore those x,y=0 solutions for now).
And substitute in your third equation.
from there you can find the value of $\lambda(=\sqrt{13}/96)$ now get back to your $x^2 and y^2$ put the value of $\lambda$ there you will get the maximum value. and it will be equal to $4\sqrt{13}/3$