A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Proof by Contrapositive

College Depth 70 in the knowledge graph I know this Set as goal
1topic build on this
351prerequisites beneath it
See this on the map →
Conditional and Biconditional StatementsProof Structure and Mathematical Terminology+5 moreThe Contrapositive, Converse, and Inverse
proof contrapositive

Core Idea

To prove 'If P then Q', we can instead prove the contrapositive: 'If not Q then not P'. Since a conditional and its contrapositive are logically equivalent, proving one proves the other. This technique is powerful when the contrapositive is easier to establish than the original statement or when assuming the negation of the conclusion leads naturally to the negation of the hypothesis.

Explainer

You already know from your work with conditional statements that "If P then Q" (P → Q) is equivalent to its contrapositive "If ¬Q then ¬P" (¬Q → ¬P). This equivalence is not a trick — it is a straightforward fact from truth tables: P → Q is false only when P is true and Q is false, which is exactly when ¬Q is true and ¬P is false. The two statements have identical truth tables in every case. Proof by contrapositive simply exploits this: instead of assuming P and deriving Q, you assume ¬Q and derive ¬P.

The strategic question is: when should you choose the contrapositive over a direct proof? The signal is almost always in the *form* of the conclusion. If Q is a positive statement ("x is rational," "n is divisible by 4"), its negation ¬Q may open useful algebraic handles ("x is irrational," "n is not divisible by 4"). Consider proving: "If n² is odd, then n is odd." Going directly, you must somehow derive a property of n from a property of n². Going via the contrapositive — "If n is even, then n² is even" — is immediate: if n = 2k, then n² = 4k², which is even. The contrapositive flows naturally; the direct proof would require working backwards.

The mechanics are straightforward. Write down the contrapositive: ¬Q → ¬P. State "We prove the contrapositive." Assume ¬Q. Derive ¬P using whatever tools apply. Conclude that ¬Q → ¬P, and therefore P → Q. That final logical step — invoking the equivalence — closes the proof. This is not "assuming the conclusion"; you are proving a *different but equivalent* statement directly, then transferring the result.

It helps to contrast contrapositive with proof by contradiction, which students often conflate. Contrapositive: assume ¬Q, prove ¬P — you reach a positive conclusion. Contradiction: assume both P and ¬Q, derive any falsehood — you reach an impossibility. Both methods involve negating the conclusion, but they differ in structure and what they produce. Contrapositive is the cleaner tool when ¬Q is a productive assumption in its own right; contradiction is better when the only path forward is showing that something impossible follows from all assumptions taken together.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesProof Structure and TerminologyDirect ProofProof by Contrapositive

Longest path: 71 steps · 351 total prerequisite topics

Prerequisites (7)

Leads To (1)