I'm having a problem while deciding which points I should take into consideration as critical points, the function I'm working with is:
$\ f(x,y)=(ax^2 +by^2)e^{(-x^2 -y^2)}$
I found that
$\ \frac{\partial f}{\partial x}=f_x=-2xe^{(-x^2 -y^2)}(ax^2 -a+by^2)$
$\ f_y=-2ye^{(-x^2 -y^2)}(ax^2 -b+by^2)$
After that, I tried to find the points where $\ f_y=f_x=0$ and found:
$\ f_x=0$ if and only if $\ y=±\frac{\sqrt(a-ax^2)}{\sqrt(b)}$ or $\ a=0$ and $\ b=0$ or $\ x=0$
$\ f_y=0$ if and only if $\ y=±\frac{\sqrt(b-ax^2)}{\sqrt(b)}$ or $\ a=0$ and $\ b=0$ or $\ y=0$
So, the criticals points are (I think):
$\ (0,\frac{\sqrt(b-ax^2)}{\sqrt(b)})$, $\ (0,-\frac{\sqrt(b-ax^2)}{\sqrt(b)})$, $\ (0,0)$
Question is, am I right? Are these all the critical points of $\ f$?