Use a truth table to prove completely that is logically equivalent to its contrapositive .
Compute all four rows explicitly and explain why matching truth values in every row means logical equivalence.
Show proof
By definition is .
Compute the four rows explicitly.
: , contrapositive .
: , contrapositive .
: (an implication with a false antecedent is true), contrapositive .
: , contrapositive .
So the row-by-row truth pairs are — 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 and .
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 we may prove the equivalent .