Switch the connective and watch the new column fill in while the P, Q columns stay fixed. Compare the shaded P→Q column with its contrapositive ¬Q→¬P row by row — identical in all four rows. The converse Q→P, though, splits off in the (T,F) row.
(P→Q)≡(¬Q→¬P)
¬(P∧Q)≡(¬P)∨(¬Q)
(P→Q)≡(¬P∨Q)
Examples & Exercises
Use a truth table to prove completely that P→Q is logically equivalent to its contrapositive ¬Q→¬P. Compute all four rows explicitly and explain why matching truth values in every row means logical equivalence.
(P→Q)≡(¬Q→¬P)
Connective: implication, contrapositive column shown: the P→Q and ¬Q→¬P columns agree in all 4 rows, while the converse Q→P column differs in the (T,F) row.Show proof
By definition P→Q is ¬P∨Q. Compute the four rows explicitly. (P,Q)=(T,T): P→Q=T, contrapositive (¬Q)→(¬P)=F→F=T. (T,F): P→Q=T→F=F, contrapositive T→F=F.
(P,Q)=(F,T): P→Q=F→T=T (an implication with a false antecedent is true), contrapositive F→T=T. (F,F): P→Q=F→F=T, contrapositive T→T=T. So the row-by-row truth pairs are (T,T),(F,F),(T,T),(T,T) — the two columns match in every row.
Matching truth values in every row means the two propositions take the same value under every assignment of truth values to P and Q. Their "when is this true" answers coincide in every possible case, so the two propositions are logically equivalent. This justifies proof by contrapositive: instead of P→Q we may prove the equivalent ¬Q→¬P.
Prove De Morgan's law ¬(P∧Q)⟺(¬P)∨(¬Q) with a truth table. Compute both sides in all four rows, and observe in which rows the ∧ column is F.
¬(P∧Q)⟺(¬P)∨(¬Q)
Connective: conjunction, contrapositive column shown: the P∧Q column is T only in the (T,T) row, and only in that row are ¬(P∧Q) and (¬P)∨(¬Q) both F.Show proof
First the P∧Q column: (T,T)→T, (T,F)→F, (F,T)→F, (F,F)→F — T occurs only in the (T,T) row. Hence the left side ¬(P∧Q) has the column (F,T,T,T) in row order.
Now compute the right side (¬P)∨(¬Q) row by row. (T,T): F∨F=F. (T,F): F∨T=T. (F,T): T∨F=T. (F,F): T∨T=T. So the right side also has column (F,T,T,T) — matching the left side row by row.
Since the two columns agree in every row, ¬(P∧Q) and (¬P)∨(¬Q) are logically equivalent. Observe: in exactly the three rows where P∧Q is F — i.e. where at least one of P,Q is false — the right side is T. "Not both are true" says the same thing as "at least one is false".
Show that P→Q is NOT equivalent to its converse Q→P. Exhibit the row (P,Q)=(T,F) where they split, and instead prove the true equivalence P→Q⟺¬P∨Q with a truth table.
(P→Q)≡(Q→P),(P→Q)≡(¬P∨Q)
Connective: implication, contrapositive column hidden: the P→Q column (T,F,T,T) and the converse Q→P column (T,T,F,T) split F vs T in the (T,F) row.Show proof
Look at the row (P,Q)=(T,F). There P→Q=T→F=F, while the converse Q→P=F→T=T. A single row with different truth values rules out logical equivalence, so P→Q and Q→P are not equivalent. Intuitively: "if x is prime then x is odd or equal to 2" is true, but its converse is false.
Instead we prove P→Q⟺¬P∨Q — which is also the definition of implication. Computing the ¬P∨Q column: (T,T): F∨T=T; (T,F): F∨F=F; (F,T): T∨T=T; (F,F): T∨F=T. That is (T,F,T,T) — matching the P→Q column row by row.
Hence P→Q is equivalent to ¬P∨Q. This form makes negations easy to push inward: ¬(P→Q)≡¬(¬P∨Q)≡P∧¬Q (by De Morgan). So there is exactly one way an implication can be false — the row (T,F): true antecedent, false consequent.