I am having issues understanding the answer to the following question:
Describe a model for the following formula:
$$∀x \big(∃y(P (x, y)∨ P (y, x))∧ (¬P (x, x)∧ (Q(x)→∃y P (x, y))) \big)$$
Answer:
Since there are no function symbols or constants we only need to define the domain, $P$ and $Q$.
Let $J$ be the interpretation such that the $dom(J) = \mathbb{N}$ (where $\mathbb{N}$ is the set of natural numbers) and
$$P^J= \{(x, y) ∈ \mathbb{N} \times \mathbb{N} \mid x \neq y\}$$
and
$$Q^J= \{x ∈ \mathbb{N} \mid x < 0\}.$$
How do I come to the conclusion that $P$ and $Q$ are these relations? Am I supposed to just see this from the formula or is there anyway to go about for getting a correct answer?
You can go through the mathematical definitions of the formal semantics of the logical operators involved, and thus (rather painstakingly) work out that with your interpretation, the sentence will indeed evaluate to True.
Or, you can just do this a little more informally:
Is it true that for any $x$, we have $P(x,y)$ or $P(y,x)$ for some $y$? Clearly yes: you can just pick $x+1$ for $y$
Is it true that $\neg P(x,x)$ for any $x$? Given your interpretation for $P$, clearly yes.
And is it true that $Q(x) \to ...$? Given your clever pick of $Q$ to be empty, clearly yes.
And that's it to convince yourself and others that you interpretation is indeed a model for the sentence. ... and every normal human being working in this area will be perfectly satisfied.
But: if your instructor is looking for a hard-nosed formal semantics-based mathematical proof, then you'll have to painstakingly go through all the little steps using however that formal semantics is precisely defined (and, unfortunately, there can be slight differences in how different texts define that semantics, so I can't really give you a precise proof ... nor have the appetite to go through that :P )