Mathematical Proof Techniques
Mathematical proof is a rigorous, logically valid argument that establishes the truth of a statement beyond any doubt from accepted premises (axioms, definitions, previously proven theorems). The core techniques are direct proof, contrapositive, contradiction, induction, construction, and exhaustion. They apply across all of mathematics, from number theory to geometry. The method matured from Euclid (c. 300 BCE) through modern formal logic.A proof is a finite sequence of statements, each of which is an axiom, a definition, a hypothesis, or follows from earlier statements by a valid rule of inference, ending in the claim to be proved. Proof is what distinguishes mathematics from empirical science: a mathematical truth, once correctly proved, is certain and never overturned by new data. Mastering proof techniques means learning which strategy fits a given problem — and recognising the logical structure ("for all", "there exists", "if-then") that dictates that choice. A surprising fact: some true statements about whole numbers can be proven impossible to prove from the standard axioms (Gödel's incompleteness theorems), yet the everyday proofs a student writes remain perfectly valid within their system.
The Core Insight
A proof transports you from what you are allowed to assume (the hypothesis ) to what you must show (the conclusion ) using only logically guaranteed steps. The art is choosing the form of the journey: go forward from (direct), flip the implication (), assume the opposite and crash (), or climb an infinite ladder one rung at a time (induction). The logic never changes — only the route.
Formal Statement
Most theorems have the form of a conditional: "If , then ", written . Understanding the logic of this connective is the foundation of every technique.
The Conditional and Its Relatives
For statements (hypothesis) and (conclusion), the implication is false only when is true and is false. Three related conditionals are:
Here , are propositions; is logical negation ("not"); is "implies"; denotes a contradiction (a statement that is always false).
Logical Equivalence of Contrapositive
The implication and its contrapositive have identical truth values in every case:
The quantifiers determine which proof technique is even possible.
Universal and Existential Statements
A universal statement claims something for all members of a set; an existential statement claims at least one member exists:
Their negations swap the quantifier:
Why It Holds / Derivation
The validity of each technique rests on the truth table of . Here we justify the three deductive methods and induction.
Direct Proof Is Valid
- Goal. Prove .
- Method. Assume is true. (If is false the implication is automatically true, so this case needs no work.)
- From , apply definitions, axioms, and known theorems in a chain of valid inferences.
- Arrive at .
- Since we reached whenever holds, the only case that could falsify (namely true, false) never occurs.
Proof by Contrapositive Is Valid
- Goal. Prove .
- By equation , this is logically equivalent to .
- Assume (the conclusion fails).
- Derive by direct reasoning.
- Having proven the equivalent statement, the original holds.
Proof by Contradiction Is Valid
- Goal. Prove a statement (which may itself be ).
- Assume alongside all hypotheses.
- Derive a contradiction (e.g. , or a number both even and odd).
- Since true premises can never yield a falsehood, the added assumption must be false.
- Therefore is true. (When proving , one assumes and reaches .)
The Principle of Mathematical Induction
- Goal. Prove for integers .
- Base case. Prove directly.
- Inductive step. Prove the implication for arbitrary . The assumption is the inductive hypothesis.
- Conclusion. By the well-ordering of the integers, holds for all .
Euclid of Alexandria | c. 325 – c. 265 BCE
Euclid's Elements is the founding document of the axiomatic method. From five geometric postulates and five "common notions", he deduced 465 propositions across thirteen books, each justified by explicit logical steps from what came before. His proof that there are infinitely many primes — assume finitely many, multiply them all and add one, derive a contradiction — remains the textbook model of proof by contradiction over two millennia later. The phrase "Q.E.D." (quod erat demonstrandum, "which was to be demonstrated") descends directly from his closing formula.
Building Intuition
Think of each technique as a tool with a natural job:
- Direct proof — when a clear chain of cause-and-effect runs from to . Best for algebraic identities and definitional unpacking.
- Contrapositive — when assuming gives you something concrete to manipulate but assuming gives a vague existence claim. ("If is even then is even" is awkward forward but easy backward: assume odd, square it, get odd.)
- Contradiction — when the statement asserts something is impossible or unique (" is irrational", "there is no largest prime"). You give your opponent what they want and watch it self-destruct.
- Induction — when a statement is indexed by the natural numbers and each case builds on the previous one (sums, divisibility, inequalities for all ).
- Construction — for existence claims: don't argue that a thing exists, build it.
- Exhaustion (cases) — when finitely many situations cover everything; check each.
Decision flowchart for selecting a proof technique
Worked Examples
Irrationality of √2 — Proof by Contradiction
Claim. is irrational (cannot be written with integers ). Given / assume the opposite. Suppose in lowest terms, so are integers with no common factor and . Steps.- Square: , hence .
- So is even, which forces even (contrapositive: odd² is odd). Write .
- Substitute: .
- So is even, hence is even.
- But then and share the factor — contradicting "lowest terms".
Sum of First n Integers — Proof by Induction
Claim. For all integers :- Base case : left side ; right side . ✓
- Inductive hypothesis. Assume for some .
- Inductive step. Add :
- This is exactly the formula with .
- By induction, the formula holds for all .
Common Misconceptions
A proof of the converse is NOT a proof of the original
Proving tells you nothing about (equation ). "If it rained, the ground is wet" is not established by "if the ground is wet, it rained" — a sprinkler wets the ground. Likewise, one example is never a proof of a universal statement, and a picture is not a proof (it can suggest but cannot guarantee). Finally, in contradiction proofs you must reach a genuine logical impossibility, not merely something surprising.
Disproving "every odd number is prime"
The statement is false. By equation , one counterexample suffices: is odd but is composite. A single witness destroys a universal claim — this is the asymmetry between proving "for all" (needs a general argument) and disproving it (needs one case).
The flawed-induction trap: "all horses are the same colour"
A famous fallacy "proves" all horses share one colour by induction on the number of horses, failing only because the inductive step silently assumes overlap between two sub-groups that does not exist when . Moral: the inductive step must hold for every , including the smallest. Always check that the step's reasoning is valid right from the base case.
Connections
Proof techniques are the connective tissue of mathematics. Mathematical Induction is the engine behind nearly every formula indexed by and underlies Recursion in computer science. Proof by Contradiction depends on Propositional Logic and the law of the excluded middle, linking proof to the foundations of Set Theory. The structure of Quantifiers dictates whether you build a witness (Constructive Proof) or argue abstractly. The deductive method itself was systematised in Euclidean Geometry and is formalised by First-Order Logic and Truth Tables.
Real-World Applications
- Cryptography (RSA). The security of RSA encryption rests on proven theorems in Number Theory (Fermat's little theorem, properties of modular arithmetic), all established by direct and inductive proofs.
- Software verification. Tools like Coq and Isabelle/HOL use machine-checked proofs by induction to certify that programs (e.g. the CompCert C compiler) are bug-free.
- Algorithm correctness. Computer scientists prove that algorithms (Dijkstra's shortest path, mergesort) terminate and return correct output using loop invariants — a disguised form of induction.
- Engineering tolerances. Proving inequalities (by cases or contradiction) guarantees a control system stays within safe bounds for all inputs, not just tested ones.
- Database integrity. Formal proofs ensure that transaction protocols preserve consistency under every possible interleaving of operations.
- Blockchain consensus. Protocols like Byzantine fault tolerance are accompanied by mathematical proofs that agreement holds whenever fewer than one-third of nodes are faulty.
- Error-correcting codes. Reed–Solomon and Hamming codes used in CDs, QR codes, and deep-space communication rely on proven algebraic guarantees about recoverable errors.
Historical Development
- c. 600 BCE — Thales of Miletus is credited with the first deductive proofs in geometry, moving beyond empirical measurement.
- c. 300 BCE — Euclid's Elements codifies the axiomatic-deductive method; the infinitude-of-primes proof by contradiction appears.
- c. 250 BCE — Archimedes uses the method of exhaustion, an early limiting/case argument, to compute areas and the value of .
- 1654 — Pascal articulates a clear principle of mathematical induction in his treatise on the arithmetic triangle.
- 1847 — George Boole's Mathematical Analysis of Logic turns logical inference into algebra, the seed of Truth Tables.
- 1879 — Gottlob Frege's Begriffsschrift introduces formal quantifier logic, making "for all" and "there exists" precise.
- 1889 — Giuseppe Peano states his axioms for the natural numbers, putting induction on a rigorous footing.
- 1931 — Kurt Gödel proves the incompleteness theorems: any consistent system rich enough for arithmetic contains true statements it cannot prove.
- 1976 — Appel and Haken prove the Four Colour Theorem by computer-assisted exhaustion of 1,936 cases, igniting debate over what counts as a proof.