GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 41

Quantifier order for teachers and students

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2005 paper

GATE 2005, Q41 2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 41, GATE 2005: Formalize “Every teacher is liked by some student.” A ∀x(teacher(x)→∃y(student(y)→likes(y, x))); B ∀x(teacher(x)→∃y(student(y)∧likes(y, x))); C ∃y∀x(teacher(x)→(student(y)∧likes(y, x))); D ∀x(teacher(x)∧∃y(student(y)→likes(y, x))).
Question 41, GATE 2005: Formalize “Every teacher is liked by some student.” A ∀x(teacher(x)→∃y(student(y)→likes(y, x))); B ∀x(teacher(x)→∃y(student(y)∧likes(y, x))); C ∃y∀x(teacher(x)→(student(y)∧likes(y, x))); D ∀x(teacher(x)∧∃y(student(y)→likes(y, x))).
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

For each individual x, if x is a teacher, there must exist a y such that y is a student AND likes x: ∀x(teacher(x) → ∃y(student(y) ∧ likes(y, x))). The student may depend on the teacher. Option B has exactly this form; implication within the existential would admit a non-student witness.

The universal quantifier ranges over possible teachers. Conditional on teacher(x), require a witness y satisfying both student(y) and likes(y, x), which is B. A’s inner implication could be satisfied by a non-student who likes nobody. C demands one common student for every teacher, stronger than the original. D asserts every domain object is a teacher instead of restricting the obligation to teachers.

Original paper, page 5