GATE / CS ARCHIVE

GATE CSE 2021 SET 1 / QUESTION 7

GATE CSE 2021 Set 1 Q7

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2021 Set 1 paper

GATE 2021 Set 1, Q7 1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 7, GATE 2021: For propositions p,q, let S1=(¬p∧(p∨q))→q and S2=q→(¬p∧(p∨q)). Which are tautologies? A both; B S1 only; C S2 only; D neither.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

The antecedent ¬p∧(p∨q) simplifies to ¬p∧q. Therefore S1 is (¬p∧q)→q, a tautology. S2 is q→(¬p∧q), which is false when p=q=true. Hence only S1 is a tautology, B.

Distributivity gives ¬p∧(p∨q)=(¬p∧p)∨(¬p∧q)=¬p∧q. Any valuation making S1's antecedent true already makes q true, so it cannot be a false implication. To refute S2 it suffices to exhibit one valuation: p=true,q=true makes antecedent true but consequent false. Tautology requires all valuations, not just some.

Original paper, page 15 · Answer key