This is my original equation
f[x_, y_] = (4 x^2 + y^2)*Exp[-x^2 - y^2];
So I'm trying to find the partial derivatives w/ respect to $x$ and $y$ and set them equal to $0$ to find the critical points. First I found the partial derivatives.
So this is $f_{x}$
In[4]:= D[f[x, y], {x, 1}]
Out[4]= 8 E^(-x^2 - y^2) x - 2 E^(-x^2 - y^2) x (4 x^2 + y^2)
and this is $f_{y}$
In[5]:= D[f[x, y], {y, 1}]
Out[5]= 2 E^(-x^2 - y^2) y - 2 E^(-x^2 - y^2) y (4 x^2 + y^2)
and this is where I ran into a problem. After finding the partial derivatives, you're supposed to set them equal to $0$ and solve for $x$ and $y$, so I tried to do that:
Solve[{8 E^(-x^2 - y^2) x - 2 E^(-x^2 - y^2) x (4 x^2 + y^2) == 0,
2 E^(-x^2 - y^2) y - 2 E^(-x^2 - y^2) y (4 x^2 + y^2) == 0}, {x, y}]
This is the display
So from what I know the only critical points I need are $(0,0),(-1,0), and (1,0)$. Can you tell me how fix the errors?
ContourPlot[f[x, y], {x, -2, 2}, {y, -2, 2}, Contours -> 20]
orPlot3D[f[x, y], {x, -2, 2}, {y, -2, 2}]
. $\endgroup$