GATE / CS ARCHIVE

GATE CSE 2025 SET 1 / QUESTION 48

Expressing exactly one in predicate logic

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2025 Set 1 paper

GATE 2025 Set 1, Q48 2 marks · MSQ
Report issue

Propositional & Predicate Logic

Question 48, GATE 2025: mother(y,x) means y is x’s mother; noteq(x,y) means x≠y. Which formulae express that everyone has exactly one mother? A ∀x∃y∃z(mother(y,x) ∧ ¬mother(z,x)); B ∀x∃y[mother(y,x) ∧ ∀z(noteq(z,y)→¬mother(z,x))]; C ∀x∀y[mother(y,x)→∃z(mother(z,x)∧¬noteq(z,y))]; D ∀x∃y[mother(y,x) ∧ ¬∃z(noteq(z,y)∧mother(z,x))].
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, D

Approach: “Exactly one” requires both existence and uniqueness for each x.
B first supplies a witness y with mother(y,x). Its universal clause says every z different from y is not a mother of x, which excludes all second mothers. Hence B expresses both requirements.
D has the same existence clause and says there is no different z that is also a mother. By negating an existential conjunction, that uniqueness clause is equivalent to B’s universal implication. Thus D is also correct.
A only supplies one mother and one nonmother. It allows two or more mothers as long as somebody is not a mother, so it does not enforce uniqueness. C says that if y is a mother, an equal mother z exists; choosing z=y always satisfies it. It imposes no uniqueness and, when no mothers exist, is vacuously true, so it does not even enforce existence.
Therefore choose B,D. The location of the quantifiers and the difference between a universal exclusion and one existential nonexample are decisive.

Original paper, page 48 · Answer key