Skip to content
Official PYQ · 2004

GATE CS 2004 Q23 — Propositional and First Order Logic

Explain with AI

Identify the correct translation into logical notation of the following assertion.

Some boys in the class are taller than all the girls

Note: taller(x,y)\text{taller} (x, y) is true if xx is taller than yy.

Choose one option
View worked solution

Answer: D

To translate the English sentence into first-order logic, we can break it down into two parts:

  1. "Some boys..."
    This indicates an existential quantifier (∃x\exists x). When using ∃\exists, we pair it with a conjunction (∧\land) because we want to assert that there exists an element xx which is both a boy and satisfies the subsequent condition: ∃x(boy(x)∧… )\exists x (\text{boy}(x) \land \dots) Using an implication like ∃x(boy(x)→… )\exists x (\text{boy}(x) \rightarrow \dots) is incorrect because it would be vacuously true if there exists any object in the domain that is not a boy.
  2. "...are taller than all the girls."
    This means that for the chosen boy xx, and for every yy in the domain, if yy is a girl, then xx is taller than yy. This is a universal statement (∀y\forall y) which is paired with an implication (→\rightarrow): ∀y(girl(y)→taller(x,y))\forall y (\text{girl}(y) \rightarrow \text{taller}(x, y)) Using a conjunction like ∀y(girl(y)∧taller(x,y))\forall y (\text{girl}(y) \land \text{taller}(x, y)) is incorrect because it would assert that every entity yy in the universe is a girl and xx is taller than them.

Combining these two parts, we get:

∃x(boy(x)∧(∀y)(girl(y)→taller(x,y)))\exists x (\text{boy}(x) \land (\forall y) (\text{girl}(y) \rightarrow \text{taller}(x, y)))

This matches Option D.

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

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