8

From Discrete Mathematics and Its Applications by Kenneth H. Rosen, 8th edition :

Let $C(x, y)$ be the predicate “$x$ has chatted with $y$”, where the domain for $x$ and $y$ consists of all the students in the class. Translate the following statement into a logical expression involving predicates and quantifiers:

“There are two students in the class who between them have chatted with everyone else in the class.”

In my opinion, the statement can be parsed and translated as follows:

There are two people $x$ and $y$ in the class such that, for any student $z$ in the class, if $z$ is not $x$ and $z$ is not $y,$ then either $x$ or $y$ has chatted with $z.$ $$\exists x \exists y \big( (x \neq y) \land \forall z \big( (z \neq x \land z \neq y ) \rightarrow ( C(x, z) \lor C(y, z) ) \big) \big) \tag{M} $$

However, the book's answer is $$\exists x \exists y \big( x\neq y \land \forall z \big( C(x, z) \lor C(y, z) \big) \big) \tag{R}$$

Which is the correct answer: M or R?

ryang
  • 45,696
  • 2
    It seems to me that Rosen’s version implicitly assumes $C(x,x)$ and $C(y,y)$ are automatically true (i.e one can chat with themselves). A more literal translation of “everyone else” would exclude $x,y$ so your answer would be correct. – H. Qidwai Sep 07 '25 at 08:27
  • 3
    The solution from the book seems to encode the given sentence if we replace the words "everyone else" with "everyone" – Hagen von Eitzen Sep 07 '25 at 08:27
  • The Solution does encode what we get when we replace the words , @HagenvonEitzen , because those two are "Exactly Same" here. Details are in my answer , Kindly take a look to give me feedback !!!! – Prem Sep 07 '25 at 12:38
  • You are right and Rosen is wrong, without a doubt. – WillO Sep 08 '25 at 03:56
  • I always talk to myself, but my wife keeps complaining… – gnasher729 Sep 08 '25 at 06:00
  • I would change the last part to “z is x or z is y or z chatted with x or z chatted with y” – gnasher729 Sep 08 '25 at 06:04

3 Answers3

2

Let $Cxy$ be the predicate “$x$ has chatted with $y$.”

“There are two persons who between them have chatted with everyone else.”

$$\exists x \exists y \;\big( x \neq y \land \forall z\, \big( (z \neq x \land z \neq y ) \rightarrow ( Cxz \lor Cyz ) \big) \big) \tag{M}$$

$$\exists x \exists y \;\big( x\neq y \land \forall z \,\big( Cxz \lor Cyz \big) \big) \tag{R}$$

Only Statement M accurately formalises the given verbal statement. As a matter of fact, the following statements are pairwise non-equivalent:

  • There are two persons who between them have chatted with everyone else. $$\exists x \exists y \;\big( x \neq y \land \forall z\, \big( (z \neq x \land z \neq y ) \rightarrow ( Cxz \lor Cyz ) \big) \big) \tag{M}$$
  • There are two persons who between them have chatted with everyone. $$\exists x \exists y \;\big( x\neq y \land \forall z \,\big( Cxz \lor Cyz \big) \big) \tag{R}$$
  • There are two persons each of whom has chatted with everyone who is neither of them. $$\exists x \exists y \;\big( x \neq y \land \forall z\, \big( (z \neq x \land z \neq y ) \rightarrow ( Cxz \land Cyz ) \big) \big) \tag{C}$$
  • There are two persons each of whom has chatted with everyone who isn't that person. $$\exists x \exists y\; \big( x \neq y \land \forall z\, \big( z \neq x \rightarrow Cxz \big) \land \forall z\, \big(z \neq y \rightarrow Cyz \big) \big) \tag{B}$$
  • There are two persons each of whom has chatted with everyone. $$\exists x \exists y \;\big( x \neq y \land \forall z\, \big( Cxz \land Cyz \big) \big) \tag{A}$$

Specifically (the diagram's arrows denote all the entailments between the five statements):
enter image description here

  1. Statement A is stronger than Statement B, which is stronger than Statement C, which is stronger than Statement M.
  2. Statement B is stronger than Statement R, which is stronger than Statement M.
  3. Neither Statement C nor Statement R implies the other.

For instance:

  1. the domain $\{a,b,c\}$ with $(a,a),(b,b),(a,c),(c,a)$ as the only chatted pairs satisfies Statements M and R but not Statement C;
  2. the domain $\{a,b,c\}$ with $(a,c),(c,a)$ as the only chatted pairs satisfies Statement M but not Statement R.
ryang
  • 45,696
  • There is some ambiguity in 'everyone else in the class". Does this mean $x$ has spoken with $y$ (so "$x$ has spoken with everyone else in the class") or that $x$ and $y$ have only spoken to everyone other than $x$ and $y$? So there is a question whether $C(x,y)$ should hold. In R it is asserted, and $C(x,x)$ and $C(y,y)$ as well. In $M$ it is not asserted, and $C(x,x)$ and $C(y,y)$ are not. So there is a third option $M'$ in which $C(x,y)$ is asserted but not $C(x,x)$ or $C(y,y)$. – Carl Mummert Sep 07 '25 at 10:57
  • 1
    @CarlMummert For comprehensiveness, I've expanded the answer by rounding up all five similar-sounding (but semantically distinct!) statements. Your suggestion, Sentence $M′,$ has been renamed Sentence $B.$ Thanks for prompting me to think this through! – ryang Sep 08 '25 at 14:33
0

SUMMARY :
K H Rosen is right.
You are not wrong.

It is more about "Implicit Assumptions" , rather than "Alternate Interpretations" ....

Consider : We make a claim that "X got more marks than everybody in the class" , it would mean "X got more marks than himself" , which is Contradictory.
Hence we usually make the claim that "X got more marks than everybody else in the class" , to exclude "X got more marks than himself" , which is very good.

Like-wise , there are many relations which are inherently not reflexive , that is , X is not related to itself : Eg Rosen is assuming no number is less than itself , no country is trading with itself , nobody will be chatting with himself , nobody has friendship with himself , ETC.
Hence the claims will automatically include "everybody else" , to eliminate the reflexive case ....

Now , when we have 2 elements $x,y$ , then , it will work out to "everybody" , even with "everybody else" , because $y$ is included in "everybody else" for $x$ , while $x$ is included in "everybody else" for $y$ ....

Hence the Rosen version is correct with that "Implicit Assumption" , while yours is correct too without that.
It just that Natural Languages [ like English ] are inherently ambiguous.

ADDENDUM :

Stating what I am trying to explain , in more theoretical way :

Let $C=\{1,2,3,4,5\}$ be the Universal Set.
Here let us consider 2 Distinct Elements $x=1,y=2$ :
What is "everybody else" for $x$ : It is $C-\{x\}=\{2,3,4,5\}$
What is "everybody else" for $y$ : It is $C-\{y\}=\{1,3,4,5\}$

What is "everybody else" for $x,y$ : It is $[C-\{x\}] \cup [C-\{y\}]$
That will eventually boil down to $=\{1,3,4,5\} \cup \{2,3,4,5\} \equiv C$ , that is , "everybody else" becomes "everybody" here. It is easy to visualize that with Venn Diagram.

When we want "everybody else" to mean $[C-\{x\}-\{y\}]=\{3,4,5\}$ , we might say something like "everybody except the both of them" Explicitly , thereby avoiding the Issues with Natural Languages.

Prem
  • 15,822
0

You don't care if $x$ chatted with $y$, though this seems to be required.

  • Not required since it says “x and y chatted with everyone else”. – gnasher729 Sep 08 '25 at 06:05
  • @gnasher729: that's what you infer from the book's answer. $x$ chatted with everyone else, $y$ chatted with everyone else. –  Sep 08 '25 at 07:31
  • @ryang: why would the book be wrong? –  Sep 08 '25 at 14:41
  • @YvesDaoust Rosen's given verbal statement "There are two persons who between them have chatted with everyone else" does not mean "There are two persons each of whom has chatted with everyone who isn't that person" (my Answer labels this Sentence B). Similarly, if you've eaten zero burgers while I've eaten five, then "Between us (and no one else), we have eaten five burgers" is true. The word "else" is referring to parties external to the "between us" grouping. $\qquad$ I'm just explaining how—and wouldn't know why—Rosen is wrong. – ryang Sep 08 '25 at 15:23
  • @ryang: the interpretation of Rosen seems perfectly legit. –  Sep 08 '25 at 19:24