Skip to content
Official PYQ · 1990

GATE CS 1990 Q3-x — Propositional and First Order Logic

Explain with AI

Indicate which of the following well-formed formulae are valid:

Choose one option
View worked solution

Answer: A

To determine which formula is valid (a tautology), we analyze each option:

  1. (P⇒Q)∧(Q⇒R)⇒(P⇒R)(P \Rightarrow Q) \wedge (Q \Rightarrow R) \Rightarrow (P \Rightarrow R)
    This is the classic Hypothetical Syllogism rule of inference. If PP implies QQ and QQ implies RR, then PP must imply RR. This is a well-known tautology and is always valid.
  2. (P⇒Q)⇒(¬P⇒¬Q)(P \Rightarrow Q) \Rightarrow (\neg P \Rightarrow \neg Q)
    This represents the fallacy of denying the antecedent. For P=FalseP = \text{False} and Q=TrueQ = \text{True}:
    • Antecedent: P⇒Q≡False⇒True≡TrueP \Rightarrow Q \equiv \text{False} \Rightarrow \text{True} \equiv \text{True}.
    • Consequent: ¬P⇒¬Q≡True⇒False≡False\neg P \Rightarrow \neg Q \equiv \text{True} \Rightarrow \text{False} \equiv \text{False}.
    Thus, True⇒False\text{True} \Rightarrow \text{False} is False\text{False}. This is invalid.
  3. (P∧(¬P∨¬Q))⇒Q(P \wedge (\neg P \vee \neg Q)) \Rightarrow Q
    Simplifying the antecedent using the distributive law: P∧(¬P∨¬Q)≡(P∧¬P)∨(P∧¬Q)≡False∨(P∧¬Q)≡P∧¬QP \wedge (\neg P \vee \neg Q) \equiv (P \wedge \neg P) \vee (P \wedge \neg Q) \equiv \text{False} \vee (P \wedge \neg Q) \equiv P \wedge \neg Q The formula becomes (P∧¬Q)⇒Q(P \wedge \neg Q) \Rightarrow Q. For P=TrueP = \text{True} and Q=FalseQ = \text{False}, the antecedent is True\text{True} but the consequent is False\text{False}. This is invalid.
  4. ((P⇒R)∨(Q⇒R))⇒((P∨Q)⇒R)((P \Rightarrow R) \vee (Q \Rightarrow R)) \Rightarrow ((P \vee Q) \Rightarrow R)
    Let P=TrueP = \text{True}, Q=FalseQ = \text{False}, and R=FalseR = \text{False}:
    • Antecedent: (P⇒R)∨(Q⇒R)≡(True⇒False)∨(False⇒False)≡False∨True≡True(P \Rightarrow R) \vee (Q \Rightarrow R) \equiv (\text{True} \Rightarrow \text{False}) \vee (\text{False} \Rightarrow \text{False}) \equiv \text{False} \vee \text{True} \equiv \text{True}.
    • Consequent: (P∨Q)⇒R≡(True∨False)⇒False≡True⇒False≡False(P \vee Q) \Rightarrow R \equiv (\text{True} \vee \text{False}) \Rightarrow \text{False} \equiv \text{True} \Rightarrow \text{False} \equiv \text{False}.
    Thus, True⇒False\text{True} \Rightarrow \text{False} is False\text{False}. This is invalid.

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

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