I have to find and classify all the critical points of the function $f: K\to \mathbb{R}$
$$f(x,y) = \sin(2x)\cos(y)$$
inside the set $K = \{(x,y)\in\mathbb{R}^2 : 0\le x \le \pi , 0\le y \le 2\pi \}$
Well, K is bounded and closed, so it is compact. Thanks to Weierstrass, we know that $f$ has maximum and minimum in $K$. I calculated the partial derivatives, which are
$$ \frac{\partial f}{\partial x} = 2\cos(2x)\cos y $$ $$ \frac{\partial f}{\partial y} = -\sin(2x)\sin y $$
In the critical points che gradient is $0$, so we have to solve
$$ \begin{cases} \cos(2x)\cos y=0 \\ \sin(2x)\sin y=0 \end{cases} $$
$\cos(2x) = 0 \Leftrightarrow x = \pi/4, x = 3\pi/4$
$\cos(y) = 0 \Leftrightarrow y = \pi/2, y=3\pi/2$
$\sin(2x) = 0 \Leftrightarrow x = 0, x = \pi/2$
$\sin(y) = 0 \Leftrightarrow y = 0, y=\pi, y = 2\pi$
Is it possible that there are so many critic points?
These are the possible critical Points: $$\left(x=\frac{\pi }{4}\land (y=0\lor y=\pi \lor y=2 \pi )\right)\lor \left(x=\frac{3 \pi }{4}\land (y=0\lor y=\pi \lor y=2 \pi )\right)\lor \left(\left(x=0\lor x=\frac{\pi }{2}\lor x=\pi \right)\land \left(y=\frac{\pi }{2}\lor y=\frac{3 \pi }{2}\right)\right)$$