Question

Consider the following expressions:
(i) false\text{false}
(ii) QQ
(iii) true\text{true}
(iv) P∨QP \lor Q
(v) ¬Q∨P\neg Q \lor P

The number of expressions given above that are logically implied by P∧(P  ⟹  Q)P \land (P \implies Q) is ________.

Official answer and solution
Official answer
4
From
Official GATE 2016 answer key

Solution

Simplify the given premise using logical equivalence and test which expressions are logically entailed.

Simplify the premise A=P∧(P  ⟹  Q)A = P \land (P \implies Q):
Since P  ⟹  Q≡¬P∨QP \implies Q \equiv \neg P \lor Q, by distribution we have:

P∧(¬P∨Q)≡(P∧¬P)∨(P∧Q)≡false∨(P∧Q)≡P∧QP \land (\neg P \lor Q) \equiv (P \land \neg P) \lor (P \land Q) \equiv \text{false} \lor (P \land Q) \equiv P \land Q

Thus, the premise is logically equivalent to P∧QP \land Q.

An expression EE is logically implied by AA if the conditional A  ⟹  EA \implies E is a tautology (that is, whenever P∧QP \land Q is true, EE must be true):

  1. (i) false\text{false}: (P∧Q)  ⟹  false(P \land Q) \implies \text{false} is false when PP and QQ are both true. Not implied.
  2. (ii) QQ: (P∧Q)  ⟹  Q(P \land Q) \implies Q is a tautology. Implied.
  3. (iii) true\text{true}: (P∧Q)  ⟹  true(P \land Q) \implies \text{true} is always true. Implied.
  4. (iv) P∨QP \lor Q: Since both PP and QQ are true, P∨QP \lor Q is true. Implied.
  5. (v) ¬Q∨P\neg Q \lor P: Since PP is true, ¬Q∨P\neg Q \lor P is true. Implied.

Among the 5 expressions, exactly 4 expressions (ii, iii, iv, v) are logically implied by P∧(P  ⟹  Q)P \land (P \implies Q).

Final answer

4

Common trap

Forgetting that 'true' is implied by any non-contradictory premise, or attempting to prove equivalence rather than implication.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2016 Computer Science and Information Technology (CS) Session 2
Question
11 of 65, printed as CS Q.1
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.