Skip to content
Official PYQ · 2005

GATE CS 2005 Q41 — Propositional and First Order Logic

Explain with AI

What is the first order predicate calculus statement equivalent to the following?

"Every teacher is liked by some student"

Choose one option
View worked solution

Answer: B

To translate the English sentence "Every teacher is liked by some student" into first-order predicate logic, we can break it down step-by-step:

  1. "Every teacher xx ..."
    This indicates a universal quantification over all individuals xx. If xx is a teacher, then some property holds: ∀(x)[teacher(x)→… ]\forall(x) [\text{teacher}(x) \rightarrow \dots] Note: We use the implication (→)(\rightarrow) with the universal quantifier (∀)(\forall) because we only care about individuals who are teachers.
  2. "... is liked by some student yy"
    For each teacher xx, there exists at least one individual yy such that yy is a student and yy likes xx: ∃(y)[student(y)∧likes(y,x)]\exists(y) [\text{student}(y) \land \text{likes}(y, x)] Note: We use the conjunction (∧)(\land) with the existential quantifier (∃)(\exists) because we are asserting the simultaneous existence of someone who is both a student and likes xx. Using an implication (→)(\rightarrow) here would be vacuously true if there exists any non-student in the domain, which is incorrect.

Combining these two parts, we get:

∀(x)[teacher(x)→∃(y)[student(y)∧likes(y,x)]]\forall(x) \left[\text{teacher}(x) \rightarrow \exists(y) \left[\text{student}(y) \land \text{likes}(y,x)\right]\right]

This matches Option B.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Propositional and First Order Logic questions