Skip to content
Official PYQ · 2025

GATE CS 2025 Set 2 Q5 — Propositional and First Order Logic

Explain with AI

​​​Let P(x)P(x) be an arbitrary predicate over the domain of natural numbers. Which ONE of the following statements is TRUE?

Choose one option
View worked solution

Answer: A

The given statement in Option A is the formal representation of the Principle of Mathematical Induction (PMI) over the domain of natural numbers N={0,1,2,… }\mathbb{N} = \{0, 1, 2, \dots\}:

(P(0)∧∀x[P(x)⇒P(x+1)])⇒∀xP(x)\Big( P(0) \wedge \forall x [P(x) \Rightarrow P(x+1)] \Big) \Rightarrow \forall x P(x)
  • Base Case: P(0)P(0) is true.
  • Inductive Step: For any natural number xx, if P(x)P(x) is true, then P(x+1)P(x+1) is also true.

By the principle of induction, these two conditions guarantee that P(x)P(x) holds for all natural numbers xx. Hence, the implication is always TRUE.


Why other options are FALSE:

  • Option B: (P(0)∧∀x[P(x)⇒P(x−1)])⇒∀xP(x)\big( P(0) \wedge \forall x [P(x) \Rightarrow P(x-1)] \big) \Rightarrow \forall x P(x)
    Counterexample: Define P(x)P(x) such that P(0)=TrueP(0) = \text{True} and P(x)=FalseP(x) = \text{False} for all x≥1x \ge 1. The antecedent is true because P(0)P(0) holds, and for any x≥1x \ge 1, P(x)⇒P(x−1)P(x) \Rightarrow P(x-1) simplifies to False⇒P(x−1)\text{False} \Rightarrow P(x-1), which is vacuously true. However, the consequent ∀xP(x)\forall x P(x) is false.
  • Option C: (P(1000)∧∀x[P(x)⇒P(x−1)])⇒∀xP(x)\big( P(1000) \wedge \forall x [P(x) \Rightarrow P(x-1)] \big) \Rightarrow \forall x P(x)
    Counterexample: Define P(x)P(x) to be true for all x≤1000x \le 1000 and false for all x>1000x > 1000. The antecedent holds, but the consequent ∀xP(x)\forall x P(x) is false because P(1001)P(1001) is false.
  • Option D: (P(1000)∧∀x[P(x)⇒P(x+1)])⇒∀xP(x)\big( P(1000) \wedge \forall x [P(x) \Rightarrow P(x+1)] \big) \Rightarrow \forall x P(x)
    Counterexample: Define P(x)P(x) to be true for all x≥1000x \ge 1000 and false for all x<1000x < 1000. The antecedent holds, but the consequent ∀xP(x)\forall x P(x) is false because P(0)P(0) is false.

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

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