Skip to content
Official PYQ · 2005

GATE CS 2005 Q40 — Propositional and First Order Logic

Explain with AI

Let P,Q,P, Q, and RR be three atomic propositional assertions. Let XX denote (P∨Q)→R( P ∨ Q ) → R and YY denote (P→R)∨(Q→R).(P → R) ∨ (Q → R). Which one of the following is a tautology?

Choose one option
View worked solution

Answer: B

To determine which of the options is a tautology, let us simplify the propositional formulas XX and YY using standard logical equivalences.

Given:

X=(P∨Q)→RX = (P \lor Q) \to R Y=(P→R)∨(Q→R)Y = (P \to R) \lor (Q \to R)

Step 1: Simplify XX

Using the implication equivalence A→B≡¬A∨BA \to B \equiv \neg A \lor B and De Morgan's laws:

X≡¬(P∨Q)∨R≡(¬P∧¬Q)∨RX \equiv \neg(P \lor Q) \lor R \equiv (\neg P \land \neg Q) \lor R

Step 2: Simplify YY

Using the implication equivalence:

Y≡(¬P∨R)∨(¬Q∨R)≡¬P∨¬Q∨RY \equiv (\neg P \lor R) \lor (\neg Q \lor R) \equiv \neg P \lor \neg Q \lor R

Step 3: Analyze the relationship between XX and YY

Let us evaluate the implication X→YX \to Y:

  • If RR is true, both XX and YY are true.
  • If RR is false, then:
    • XX simplifies to ¬P∧¬Q\neg P \land \neg Q
    • YY simplifies to ¬P∨¬Q\neg P \lor \neg Q
    Since the conjunction (¬P∧¬Q)(\neg P \land \neg Q) logically implies the disjunction (¬P∨¬Q)(\neg P \lor \neg Q), whenever XX is true, YY must also be true.

Thus, X→YX \to Y is always true, making it a tautology.

Step 4: Eliminate other options

  • Option A (X≡YX \equiv Y): False. If PP is true, QQ is false, and RR is false, then XX is false but YY is true.
  • Option C (Y→XY \to X): False. Using the same counterexample (P=True,Q=False,R=FalseP = \text{True}, Q = \text{False}, R = \text{False}), we get Y→X≡True→False≡FalseY \to X \equiv \text{True} \to \text{False} \equiv \text{False}.
  • Option D (¬Y→X\neg Y \to X): False. If P=True,Q=True,R=FalseP = \text{True}, Q = \text{True}, R = \text{False}, then X=FalseX = \text{False} and Y=FalseY = \text{False}. This gives ¬Y→X≡True→False≡False\neg Y \to X \equiv \text{True} \to \text{False} \equiv \text{False}.

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

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