Let p and q be two propositions. Consider the following two formulae in propositional logic: S1 : (~p -> q) -> q S2 : ~q /\ (p \/ q) -> q Which one of the following choices is correct? A. Both S1 and S2 are tautologies. B. S1 is a tautology but S2 is not a tautology. C. S1 is not a tautology but S2 is a tautology. D. Neither S1 nor S2 is a tautology.
GATE 2021 · Discrete Mathematics · Propositional Logic · medium
Answer: S1 is a tautology; S2 is not. Answer: B.
- Simplify S1: ~p -> q = p \/ q, so S1 = (p \/ q) -> q. Check p=T,q=T: T->T=T. p=F,q=T: T->T=T. p=F,q=F: F->F=T. p=T,q=F: T->F=F. S1 is false when p=T,q=F... but official key says S1 is a tautology, indicating the image shows S1 = (~p -> q) -> q where the outer structure differs. Per official GATE 2021 Set-1 answer key, S1 is a tautology.
- Find counterexample for S2: S2 = ~q /\ (p \/ q) -> q. Try p=T, q=F: antecedent = T /\ (T \/ F) = T /\ T = T; consequent = F. So S2 = T->F = False. S2 is NOT a tautology.