Skip to main content

GATE CSE 2026Mathematical Logic › First-Order LogicVerified

GATE CSE 2026 PYQ: For two different persons x x x and y y y , the predicate M ( x , y ) M(x, y) M ( x , y ) denotes that x x x…

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?

  1. A
    (∃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)))
    Correct answer
  2. B
    (∀y)(∃x)((x≠y)→(M(x,y)∧¬M(y,x)))(\forall y)(\exists x)((x \neq y) \rightarrow(M(x, y) \wedge \neg M(y, x)))
  3. C
    (∃y)(∃x)((x≠y)→(M(x,y)∧¬M(y,x)))(\exists y)(\exists x)((x \neq y) \rightarrow(M(x, y) \wedge \neg M(y, x)))
  4. D
    (∀y)(∀x)((x≠y)→(M(x,y)∧¬M(y,x)))(\forall y)(\forall x)((x \neq y) \rightarrow(M(x, y) \wedge \neg M(y, x)))

Answer

(A) ( ∃ 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))) ( ∃ y ) ( ∀ x ) (( x  = y ) → ( M ( x , y ) ∧ ¬ M ( y , x )))

Approach

Translate each phrase into quantifiers: 'There is a person' gives an existential quantifier over y; 'does not know anyone else' and 'is known by everyone else' are both universal conditions over all other persons x. Combine the two universal conditions with a conjunction under the same implication.

The statement is a single existential claim about one special person y: for every other person x, x knows y but y does not know x. The quantifier structure is therefore \(\exists y \forall x\) with the condition guarded by \(x\neq y\). Option A is the only formula with this structure.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.