Mathematical-Reasoning · Unit 3 · Video 3 · Interactive Practice

Logical Equivalence: De Morgan's Laws and the Contrapositive

IKey Formulas

EquivalenceNameWhat it says
X≡YX \equiv YLogical equivalenceSame truth value in every row of the truth table
¬(P∧Q)≡¬P∨¬Q\neg(P \wedge Q) \equiv \neg P \vee \neg Q
¬(P∨Q)≡¬P∧¬Q\neg(P \vee Q) \equiv \neg P \wedge \neg Q
De Morgan's LawsThe negation moves onto each part and the connective switches
P→Q≡¬P∨QP \to Q \equiv \neg P \vee Q
¬(P→Q)≡P∧¬Q\neg(P \to Q) \equiv P \wedge \neg Q
Conditional and its negationThe negation of a conditional is a conjunction
P→Q≡¬Q→¬PP \to Q \equiv \neg Q \to \neg PContrapositiveThe converse is different: P→Q≢Q→PP \to Q \not\equiv Q \to P

Key Insight: Equivalence is a row-by-row test: the columns must agree in all four rows, and a single disagreeing row rules it out.

IIThe Row-by-Row Test

Two expressions are logically equivalent exactly when their columns agree in every row.

IIIConverse and Contrapositive at Each xx

With PP: x=3x = 3 and QQ: x2=9x^2 = 9, each real xx lands in one row of the truth table.

💡 A conditional and its contrapositive stand or fall together, but proving P→QP \to Q says nothing about the converse Q→PQ \to P: the converse needs its own proof.

IVQuiz Questions

Problem 1 · De Morgan's Second Law

Given: statements PP and QQ. Which expression is logically equivalent to ¬(P∨Q)\neg(P \vee Q)?

✅ Correct! The negation moves onto each part and ∨\vee switches to ∧\wedge: both columns read F, F, F, T.
❌ Close, but the connective must switch. ¬P∨¬Q\neg P \vee \neg Q reads F, T, T, T, while ¬(P∨Q)\neg(P \vee Q) reads F, F, F, T; they disagree in rows 2 and 3. In fact ¬P∨¬Q≡¬(P∧Q)\neg P \vee \neg Q \equiv \neg(P \wedge Q), the first law.
❌ Not quite. ¬P∨Q\neg P \vee Q negates only PP and keeps ∨\vee: it reads T, F, T, T (it is equivalent to P→QP \to Q), while ¬(P∨Q)\neg(P \vee Q) reads F, F, F, T; they disagree in rows 1 and 3.
❌ Not quite. ¬P∧Q\neg P \wedge Q switches the connective but negates only PP: it reads F, F, T, F, while ¬(P∨Q)\neg(P \vee Q) reads F, F, F, T; they disagree in rows 3 and 4. The negation must move onto both parts.
Show solution

P∨QP \vee Q is false only when both parts are false (row 4), so ¬(P∨Q)\neg(P \vee Q) reads F, F, F, T.

¬P∧¬Q\neg P \wedge \neg Q is true only when ¬P\neg P and ¬Q\neg Q are both true, which is again row 4: it reads F, F, F, T.

The columns agree in every row, so ¬(P∨Q)≡¬P∧¬Q\neg(P \vee Q) \equiv \neg P \wedge \neg Q. The other options each disagree in at least one row: ¬P∨¬Q\neg P \vee \neg Q in rows 2 and 3, ¬P∨Q\neg P \vee Q (T, F, T, T) in rows 1 and 3, and ¬P∧Q\neg P \wedge Q (F, F, T, F) in rows 3 and 4.

Problem 2 · Negating a Conditional

Given: the statement "If it rains, then the game is cancelled." Which sentence is its negation?

✅ Correct! With PP: it rains and QQ: the game is cancelled, ¬(P→Q)≡P∧¬Q\neg(P \to Q) \equiv P \wedge \neg Q, and the negation of a conditional is a conjunction.
❌ Not quite. The negation of a conditional is not a conditional. P→¬QP \to \neg Q reads F, T, T, T, but ¬(P→Q)\neg(P \to Q) reads F, T, F, F; they disagree in rows 3 and 4.
❌ Not quite. This is ¬P∨Q\neg P \vee Q, which is logically equivalent to P→QP \to Q itself, so it says the same thing as the original statement rather than denying it.
❌ Not quite. ¬P→¬Q\neg P \to \neg Q reads T, T, F, T, but ¬(P→Q)\neg(P \to Q) reads F, T, F, F; they disagree in rows 1 and 4.
Show solution

Let PP be "it rains" and QQ be "the game is cancelled". The statement is P→QP \to Q, which is false only when PP is true and QQ is false (row 2). So ¬(P→Q)\neg(P \to Q) reads F, T, F, F.

P∧¬QP \wedge \neg Q is true only when PP is true and QQ is false, again row 2, so it also reads F, T, F, F. Hence

¬(P→Q)≡P∧¬Q,\neg(P \to Q) \equiv P \wedge \neg Q,

and the negation is "It rains and the game is not cancelled."

Problem 3 · Contrapositive Versus Converse

Given: an integer nn is a multiple of 4 provided n=4kn = 4k for some integer kk. Let SS be the true statement "If nn is a multiple of 4, then nn is even." Find the contrapositive of SS and the truth value of the converse of SS.

Which statement is the contrapositive of S?

What is the truth value of the converse of S?

✅ Correct! The contrapositive ¬Q→¬P\neg Q \to \neg P is equivalent to SS, but the converse Q→PQ \to P is not, and n=2n = 2 is even without being a multiple of 4.
❌ Check the contrapositive. For P→QP \to Q the contrapositive is ¬Q→¬P\neg Q \to \neg P: the parts trade places and each one is negated. Option (a) only swaps, option (b) only negates, and option (c) is the negation of SS.
❌ Check the converse. The converse "If nn is even, then nn is a multiple of 4" needs its own check; test a small even integer.
❌ Not quite. P→Q≢Q→PP \to Q \not\equiv Q \to P: a true conditional (and its equally true contrapositive) says nothing about whether the converse is true. Test the converse directly on a small even integer.
❌ Not quite. A counterexample to "If nn is even, then nn is a multiple of 4" must make the hypothesis true and the conclusion false. Since 8=4⋅28 = 4 \cdot 2, the conclusion holds for n=8n = 8.
Show solution

Let PP be "nn is a multiple of 4" and QQ be "nn is even", so SS is P→QP \to Q. (SS is true: if n=4kn = 4k, then n=2(2k)n = 2(2k) with 2k2k an integer.)

Contrapositive ¬Q→¬P\neg Q \to \neg P: "If nn is not even, then nn is not a multiple of 4." It is logically equivalent to SS, so it is also true.

Converse Q→PQ \to P: "If nn is even, then nn is a multiple of 4." Take n=2n = 2: the hypothesis is true since 2=2⋅12 = 2 \cdot 1, but 2=4k2 = 4k would need k=12k = \tfrac{1}{2}, which is not an integer. So the conclusion is false and the converse is false. This is row 3 of the table (PP false, QQ true), where P→QP \to Q is true and Q→PQ \to P is false.

Problem 4 · An Equivalent of the Converse

Given: statements PP and QQ. Which expression is logically equivalent to the converse Q→PQ \to P?

✅ Correct! ¬P→¬Q\neg P \to \neg Q is the contrapositive of Q→PQ \to P, so the two always share a truth value: both read T, T, F, T.
❌ Not quite. ¬Q→¬P\neg Q \to \neg P is the contrapositive of P→QP \to Q, so it is equivalent to the original, which disagrees with the converse in rows 2 and 3.
❌ Not quite. Rewriting a conditional as a disjunction negates its hypothesis: Q→P≡¬Q∨PQ \to P \equiv \neg Q \vee P, not Q∨PQ \vee P. Q∨PQ \vee P reads T, T, T, F against the converse's T, T, F, T; they disagree in rows 3 and 4.
❌ Not quite. Q∧¬PQ \wedge \neg P is the negation of the converse, since ¬(Q→P)≡Q∧¬P\neg(Q \to P) \equiv Q \wedge \neg P. It reads F, F, T, F, the opposite of the converse's T, T, F, T in every row.
Show solution

Apply the contrapositive equivalence to the conditional Q→PQ \to P itself: its hypothesis is QQ and its conclusion is PP, so trading places and negating each part gives

Q→P≡¬P→¬Q.Q \to P \equiv \neg P \to \neg Q.

Check with the table. Q→PQ \to P is false only when QQ is true and PP is false (row 3): T, T, F, T. ¬P→¬Q\neg P \to \neg Q is false only when ¬P\neg P is true and ¬Q\neg Q is false, that is PP false and QQ true, again row 3: T, T, F, T. The columns agree in every row.

Option (a) is the contrapositive of P→QP \to Q, so it reads T, F, T, T and disagrees with the converse in rows 2 and 3. Option (c), Q∨PQ \vee P, drops the negation that the disjunction form needs (Q→P≡¬Q∨PQ \to P \equiv \neg Q \vee P) and disagrees in rows 3 and 4. Option (d), Q∧¬PQ \wedge \neg P, is the negation of the converse and disagrees in every row.

Solved: 0 / 4