GATE 2021 CS – Question 17
Let $p$ and $q$ be two propositions. Consider the following two formulae in propositional logic.
$S_1$: $(\neg p \wedge (p \vee q)) \rightarrow q$
$S_2$: $q \rightarrow (\neg p \wedge (p \vee q))$
Which one of the following choices is correct?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $S_1$ is a tautology but $S_2$ is not a tautology.
Explanation
$\neg p \wedge (p\vee q) \equiv \neg p \wedge q$, which implies $q$, so $S_1$ is a tautology. $S_2$ fails when $p=q=1$.