Consider the function
$$f(x,y) = x^3 + 3y - y^3 - 3x$$
How would I be able to determine the number of critical points $f(x,y)$ has?
I know critical points will exist if $\nabla f(x,y) = 0$ or $f_x(x,y) $ and/or $ f_y(x,y)$ don't exist. But if I don't care about the particular values of the critical points, is there just a way to determine the number of critical points?
Thanks in advance!
Using Macaulay2,
Hence, there are $4$ critical points. It's easy to conclude that these $4$ points are $(\pm 1, \pm 1)$.
Bernd Sturmfels, Ideals, Varieties and Macaulay 2 [PDF]