Question

For two different persons xx and yy, the predicate M(x,y)M(x, y) denotes that xx knows yy. Consider the following statement.

There is a person who does not know anyone else, but that person is known by everyone else.

Which one of the following expressions represents the above statement?

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2026 answer key

Solution

Bind the existential quantifier ∃y\exists y to 'there is a person' and the universal quantifier ∀x\forall x to 'everyone else'.

Let yy be the special person ('there is a person': ∃y\exists y). For every other person xx (∀x\forall x with x≠yx \neq y), two conditions hold: xx knows yy (M(x,y)M(x, y)) and yy does not know xx (¬M(y,x)\neg M(y, x)). Combining these yields:

(∃y)(∀x)((x≠y)→(M(x,y)∧¬M(y,x)))(\exists y)(\forall x) ((x \neq y) \rightarrow (M(x, y) \wedge \neg M(y, x)))
Final answer

Option (A)

Common trap

Reversing the quantifier order to ∀y∃x\forall y \exists x.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
Question
11 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.