I got stuck at this problem for some hours:
Determine whether the first-order sentence $\exists x\forall y Q(x,y)\to \forall y\exists x Q(x,y)$ is logically true, where $Q$ is a 2-ary predicate symbol.
If the sentence is logically true then prove it. And if the sentence is false then find a model $\mathcal{M}$ in which the sentence is false, that is, find a model $\mathcal{M}$ in which $$\mathcal{M}\nvDash\exists x\forall y Q(x,y)\to \forall y\exists x Q(x,y)$$
I tried the model $M=<\mathbb{N}; Q>$ in which $Q^M=\{(x,y)\in\mathbb{N}^2| x^2=y\}$, and it doesn't worked.
I tried several other models and it doesn't worked too.
Thanks for any hint/help.