I have trouble understanding if the placement quantifier matter in these following problems.
Problem One: Nobody in calculus class is smarter than everybody in the discrete math class.
Let S(x,y) stand for "x is smarter than y", D(x) stand for "x is in discrete math class," and C(x) stand for "x is in calculus class."
My analysis of the English statement in logical form was this:
$\neg \exists_x \forall_y [(C(x) \land D(y)) \to S(x,y)]$
However ,the books answer was the following:
$\neg \exists_x [(C(x) \land \forall_y (D(y) \to S(x,y))]$
Here's another example:
Problem Two: Anyone who has a friend who has the measles will be quarantined
Let F(x,y) stand for "x and y are friends", M(x) stand for "x has the Measles," and Q(x) stand for "x will be quarantined."
This was my answer: $\forall_x \exists_y [(F(x,y) \land M(y)) \to Q(x)]$
This was the books answer:
$\forall_x [\exists_y(F(x,y) \land M(y)) \to Q(x)]$
Does my logical analysis of the English statement change the meaning of the English statement? In other words, is my logical translation an incorrect representation of the English statement? Is my answers and the author's answers acceptable to the representation of the English statements?
Problem One: If $\exists_x \neg C(x)$ then $\forall_y[(C(x)\wedge D(y))\to S(x,y)]$ would be true for that $x$, in which case your statement would be false but the book statement could remain true.
Problem Two: If there is an $x$ who is not friends with a $y_1$ but is friends with a $y_2$ who has measles yet $x$ is not quarantined, then your statement may remain true but the book statement is false.
Thus neither of your statements are logically equivalent to what the book has.