Propositional & Predicate Logic
![Question 11, GATE 2026: M(x,y) means x knows y for distinct people. Express: one person knows nobody else but is known by everybody else. All choices use [(x≠y)→(M(x,y)∧¬M(y,x))], preceded by A ∃y∀x; B ∀y∃x; C ∃y∃x; D ∀y∀x.](../../assets/questions/CS-2026-S2-Q11-1.webp)
Answer & solution
Official answer: A
Givens and goal
M(x,y) means x knows y for distinct people. Express: one person knows nobody else but is known by everybody else. All choices use [(x≠y)→(M(x,y)∧¬M(y,x))], preceded by A ∃y∀x; B ∀y∃x; C ∃y∃x; D ∀y∀x.
Approach
Choose the exceptional person before ranging over all other people.
Step-by-step solution
1. Let y name the person whose existence is claimed. The phrase there is requires ∃y. Once this y is fixed, every other person x must satisfy the two knowledge conditions, requiring ∀x.
2. For x≠y, everyone else knowing y is M(x,y). The same y knowing nobody else is ¬M(y,x). Both are needed, so join them with ∧.
3. Use an implication with antecedent x≠y to exclude self-knowledge from the requirement. When x=y the antecedent is false and imposes no restriction.
4. The complete expression is ∃y∀x[(x≠y)→(M(x,y)∧¬M(y,x))], A. B and C can choose x=y and satisfy the implication vacuously; they do not require all other people to know y. D incorrectly asserts the special property of every y, rather than at least one.