Skip to content
Official PYQ · 2016

GATE CS 2016 Set 2 Q01 — Propositional and First Order Logic

Explain with AI

Consider the following expressions:

  1. falsefalse
  2. QQ
  3. truetrue
  4. P∨QP\vee Q
  5. ¬Q∨P\neg Q\vee P

The number of expressions given above that are logically implied by P∧(P⇒Q)P \wedge (P \Rightarrow Q) is ___________.

View worked solution

Answer: 4

An expression XX is logically implied by a premise AA (written as A⊨XA \models X) if and only if the conditional statement A⇒XA \Rightarrow X is a tautology. This means whenever AA is true, XX must also be true.

First, let us simplify the given premise:

A=P∧(P⇒Q)≡P∧(¬P∨Q)≡(P∧¬P)∨(P∧Q)≡false∨(P∧Q)≡P∧Q\begin{aligned} A & = P \wedge (P \Rightarrow Q) \\ & \equiv P \wedge (\neg P \vee Q) \\ & \equiv (P \wedge \neg P) \vee (P \wedge Q) \\ & \equiv \text{false} \vee (P \wedge Q) \\ & \equiv P \wedge Q \end{aligned}

Thus, the premise AA is true if and only if both PP and QQ are true (i.e., P=trueP = \text{true} and Q=trueQ = \text{true}). To check which of the given expressions are logically implied by AA, we evaluate each expression under this truth assignment:

  1. false\text{false}:
    Evaluates to false\text{false}. Since A⇒falseA \Rightarrow \text{false} is true⇒false≡false\text{true} \Rightarrow \text{false} \equiv \text{false}, it is not implied.
  2. QQ:
    Evaluates to true\text{true}. Since A⇒QA \Rightarrow Q is true⇒true≡true\text{true} \Rightarrow \text{true} \equiv \text{true}, it is implied.
  3. true\text{true}:
    Evaluates to true\text{true}. Since A⇒trueA \Rightarrow \text{true} is always true\text{true}, it is implied.
  4. P∨QP \vee Q:
    Evaluates to true∨true≡true\text{true} \vee \text{true} \equiv \text{true}. Thus, it is implied.
  5. ¬Q∨P\neg Q \vee P:
    Evaluates to ¬true∨true≡false∨true≡true\neg \text{true} \vee \text{true} \equiv \text{false} \vee \text{true} \equiv \text{true}. Thus, it is implied.

The expressions logically implied by the premise are (ii), (iii), (iv), and (v).

Therefore, the number of logically implied expressions is 4.

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

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