GATE / CS ARCHIVE

SIMILAR QUESTIONS / DISCRETE MATHEMATICS

Apply contraposition to an implication

3 questions solved the same way, newest first. Back to Discrete Mathematics

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 1, GATE 2017: Which statements are equivalent to (¬p)→(¬q)? I: p→q; II: q→p; III: (¬q)∨p; IV: (¬p)∨q. Options A I only; B I and IV; C II only; D II and III.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. Use the identity A→B ≡ ¬A∨B. Substituting A=¬p and B=¬q gives p∨¬q.

2. Statement II becomes ¬q∨p, and III already has that form. Commutativity of OR makes both equivalent to the target.

3. Statements I and IV instead equal ¬p∨q. For p=true,q=false they are false while the target is true. Hence exactly II and III, option D.

Original paper, page 2 · Answer key

1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 1, GATE 2014: P says good mobile phones are not cheap; Q says cheap mobile phones are not good. Let L mean P implies Q, M mean Q implies P, and N mean P is equivalent to Q. Which holds? A only L; B only M; C only N; D L,M,N all true.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Step 1: For an arbitrary phone, write G for “good” and C for “cheap”. P is G→¬C. Step 2: The contrapositive of G→¬C is C→¬G, precisely Q; contraposition preserves truth in classical logic. Both statements also simplify to ¬G∨¬C. Step 3: Therefore each implies the other, and they are equivalent. L, M and N all hold, D.

Original paper, page 53 · Answer key

1 mark · MCQ
Report issue

Validity of conditional inferences

Propositional & Predicate Logic

Question 1, GATE 2012: Consider the following logical inferences.

       I1: If it rains then the cricket match will not be played.
           The cricket match was played.
           Inference: There was no rain.
       I2: If it rains then the cricket match will not be played.
           It did not rain.
           Inference: The cricket match was played.

       Which of the following is TRUE?
       (A) Both I1 and I2 are correct inferences
       (B) I1 is correct but I2 is not a correct inference
       (C) I1 is not correct but I2 is a correct inference
       (D) Both I1 and I2 are not correct inferences
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Let R mean rain and M mean match played. The premise is R→¬M. Its contrapositive M→¬R proves inference I1. From ¬R alone one cannot infer M: the match could be cancelled for another reason. I2 denies the antecedent and is invalid. Hence B.

Check: A truth assignment supplies a counterexample to I2: set R=false and M=false. Both R→¬M and ¬R are true, but M is false. In contrast, R=true together with M=true would violate the conditional, so I1 is forced.

Original paper, page 2 · Answer key