Can you please help me understand why implication was used instead of conjunction in the answer to this practice question? I have been struggling with nested quantifiers and when to use implication versus conjunction. I thought for sure this would be a case for conjunction. Thank you.
Use predicates, quantifiers, logical connectives, and mathematical operators to express the statement that every positive integer is the sum of the squares of four integers.
my answer:
$$ \forall x \exists a \exists b \exists c \exists d ((x > 0) \land (x = a^2 + b^2 + c^2 + d^2)) $$
correct solution from book:
$$ \forall x \exists a \exists b \exists c \exists d ((x > 0) \implies x = a^2 + b^2 + c^2 + d^2) $$
Generally, you use $\to$ for $\forall$ and $\land$ for $\exists$. When there are multiple quantifiers, the choice of connective depends on which of the quantified variables the questionable connective should restrict. Here, you're restricting the domain of $x$ by requiring that $x > 0$. $x$ is universally quantified, so you need $\to$.