
The above question is taken from our textbook
Here, the domain is the set of all integers. And, if x<0 then the predicates evaluate to true.( As per the question ,the predicate must evaluate to True if x,y are +ve integers and x+y>0. ) It means that, the textbook answer is deviating from the requirements mentioned in the question.
I think the more appropriate answer for this question is,
∀x,y ( (x>0) ∧ (y>0) ∧ (x+y>0) )
Here, the predicate evaluates to True only if all the 3 conditions are met.
Please correct me if my answer is wrong.
$$\forall x,y ((x>0) \land (y>0) \land (x+y>0))$$
evidently implies
$$\forall x(x>0)$$
which says all integers are positive, which isn't what you want at all. ("The sum of two positive integers is positive" doesn't imply that all integers are positive!)
The textbook answer is right. You want to capture the thought that IF $x$ and $y$ are positive, so is $x + y$, no matter which integers $x$ and $y$ are. Which is exactly what the given answer does. This thought can't be falsified by looking at negative integers, so the fact that the conditional trivially evaluates as true when $x$ and/or $y$ is negative is exactly what we want (not as you seem to suppose, a bug to be avoided!)
Read any good intro logic book on translating English quantified sentences into their formal equivalents (Paul Teller is good, and his book is freely available at his website http://tellerprimer.ucdavis.edu: I also happen to think that P-t-r Sm-th's Intro to Formal Logic is good on translation!)