Proof
What Is a Proof?
A mathematical proof is a logical argument that establishes the truth of a statement beyond all doubt. Unlike evidence in the empirical sciences, a mathematical proof is deductive: it proceeds from axioms, definitions, and previously established results using rules of inference to reach an irrefutable conclusion.
A statement that has been proved is called a theorem. A lemma is a subsidiary result proved in service of a larger theorem. A corollary is a direct consequence of a theorem.
Direct Proof
Method
To prove directly:
- Assume is true.
- Use definitions, axioms, and known results to derive .
This is the most straightforward proof technique and should be the first strategy attempted.
Examples
Theorem. The sum of two even integers is even.
Proof. Let and be even integers. By definition, and for some . Then:
Since , is even by definition.
Theorem. If is an odd integer, then is odd.
Proof. Let for some . Then:
Since , is odd.
Theorem. The product of two rational numbers is rational.
Proof. Let and where and . Then:
Since and , is rational.
Proof by Contradiction
Method
To prove a statement :
- Assume (the negation of ).
- Derive a logical contradiction (something that violates an axiom, definition, or known fact).
- Conclude that is false, hence is true.
This rests on the law of excluded middle: for any proposition , exactly one of and is true.
Examples
Theorem. is irrational.
Proof. Suppose, for contradiction, that is rational. Then where , (the fraction is in lowest terms).
Squaring: , so . This means is even, so is even (since the square of an odd number is odd). Write .
Substituting: . So is even, and hence is even.
Both and are even, contradicting .
Theorem. There are infinitely many primes.
Proof. Suppose, for contradiction, that there are only finitely many primes . Consider:
, so has a prime factor. But is not divisible by any (since leaves remainder upon division by each ). This contradicts the assumption that the list contains all primes.
Theorem. is irrational.
Proof. Suppose with . Then , so . The left side is even; the right side is odd. Contradiction.
Proof by Contrapositive
Method
To prove , prove the logically equivalent contrapositive :
- Assume .
- Derive .
The statements and have identical truth tables.
Example
Theorem. If is even, then is even.
Proof. We prove the contrapositive: if is odd, then is odd.
Let for . Then , which is odd. Therefore, if is even, must be even.
Proof by Induction
Method
To prove that a statement holds for all integers :
- Base case. Verify is true.
- Inductive hypothesis. Assume is true for some arbitrary .
- Inductive step. Using the hypothesis, prove that is true.
- Conclusion. By the principle of mathematical induction, is true for all .
Examples
Theorem. For all , .
Proof. By induction on .
Base case (): . True.
Inductive hypothesis: Assume for some .
Inductive step:
This is precisely the formula with .
Conclusion: By induction, the formula holds for all .
Theorem. For all , is divisible by .
Proof. By induction on .
Base case (): , divisible by .
Inductive hypothesis: for some .
Inductive step:
By the hypothesis, . Also, is always even (product of consecutive integers), so is divisible by . Hence the sum is divisible by .
Theorem. for all .
Proof. By induction.
Base case (): . True.
Inductive hypothesis: for some .
Inductive step: (since ).
Conclusion: for all .
Counterexamples
Method
To disprove a universal statement of the form "for all , ", find a single element for which is false. This single counterexample is sufficient to refute the claim.
Examples
Claim. "All prime numbers are odd."
Counterexample. is prime and even.
Claim. "If is continuous, then is differentiable."
Counterexample. is continuous on but not differentiable at .
Claim. "For all real numbers , ."
Counterexample. : . Also : , and : .
Proof by Exhaustion
Method
When a statement involves a finite number of cases, verify each case individually. This is a valid but often tedious technique, applicable only when the case set is small.
Example
Theorem. Every prime with can be expressed in the form .
Proof. The primes in this range are and .
- : . Since does not match, we check: . Actually, . Better: is the sole exception as and .
Let us reconsider. For primes : every integer is of the form , , , or . Numbers of the form , , are divisible by , , or respectively. So any prime must be of the form .
For the given range, . Verified.
Common Pitfalls
-
Circular reasoning. Assuming the statement to be proved within the proof itself. Every step must follow from definitions, axioms, or previously established results.
-
Affirming the consequent. From and , one cannot conclude . This is a common logical error.
-
Incomplete induction base case. If a statement is claimed for all , the base case must be verified. For multi-variable induction, every base case must be checked.
-
Improper counterexample. A counterexample must satisfy all the hypotheses of the statement. Disproving "if , then " requires and simultaneously.
-
Confusing contradiction and contrapositive. Proof by contradiction assumes the negation of the conclusion (or the entire statement) and derives any contradiction. Proof by contrapositive specifically proves . They are related but distinct techniques.
-
Overlooking cases in exhaustion proofs. If the case set is not genuinely exhaustive, the proof is invalid. List all cases explicitly.
-
Using examples as proof. Showing that a statement holds for several values does not constitute a proof for all values. "True for " is not a proof.
Practice Problems
Problem 1
Prove by direct proof that the sum of three consecutive integers is divisible by .
Problem 2
Prove by contradiction that is irrational.
Problem 3
Prove by contrapositive: if is odd, then is odd.
Problem 4
Prove by induction that for all .
Problem 5
Prove by induction that is divisible by for all .
Problem 6
Give a counterexample to disprove: "If , then ."
Problem 7
Prove that there is no largest rational number.
Problem 8
Prove by induction that for all integers .
Problem 9
Prove: the product of any three consecutive integers is divisible by .
Problem 10
Prove that if and are rational and , then .
Answers to Selected Problems
Problem 1: Let the three consecutive integers be . Their sum is , which is divisible by since .
Problem 2: Suppose in lowest terms, . Then , so is divisible by , hence is divisible by . Write : , so is divisible by . Both and divisible by contradicts lowest terms.
Problem 3: Contrapositive: if is even, then is even. If , then , which is even.
Problem 4: Base case (): . True. Inductive hypothesis: . Inductive step: . This is the formula with .
Problem 5: Base case (): , divisible by . Inductive hypothesis: . Inductive step: .
Problem 6: Let . Then but .
Problem 7: Suppose is the largest rational number. Then is rational and , contradicting maximality.
Problem 8: Base case (): . True. Inductive hypothesis: for some . Inductive step: . The inequality holds since .
Problem 10: If , then , which is rational (since are rational and ). But is irrational (established earlier). Contradiction. Therefore , and from we get .
Worked Examples
Worked Example: Direct Proof Involving Divisibility
Prove that the square of any odd integer leaves remainder when divided by .
Solution
Let be an odd integer. Then for some .
Since and are consecutive integers, one of them is even. Therefore is even, so for some .
Hence leaves remainder upon division by .
Worked Example: Proof by Contradiction Involving Rationals
Prove that is irrational.
Solution
Suppose, for contradiction, that where and .
Squaring: , so is even (divisible by ), and hence is even. Write .
Substituting: .
This means is even, so is even (since is odd), and hence is even.
Both and are even, contradicting .
Therefore is irrational.
Worked Example: Strong Induction
Prove that every integer can be expressed as a product of prime numbers.
Solution
We use strong induction on .
Base case (): is itself prime, hence a product of primes (with one factor).
Inductive hypothesis: Assume that every integer with can be written as a product of primes.
Inductive step: Consider .
- If is prime, it is trivially a product of primes.
- If is composite, then where . By the inductive hypothesis, both and are products of primes. Therefore is also a product of primes.
Conclusion: By strong induction, every integer is a product of primes.
Worked Example: Proof by Contrapositive
Prove that if is not divisible by , then is odd.
Solution
We prove the contrapositive: if is even, then is divisible by .
If is even, then for some .
Since , is divisible by .
Therefore, if is not divisible by , then must be odd.
Worked Example: Proof by Exhaustion
Prove that for all integers with , the value is even.
Solution
We verify each case:
- : (even)
- : (even)
- : (even)
- : (even)
- : (even)
All cases confirmed. The statement holds for .
Note: this can also be proved generally. is the product of three consecutive integers, which always includes at least one even factor.
Additional Common Pitfalls
-
Assuming the converse. does not imply . For example, "if is even then is even" is true, but "if is even then is even" requires a separate proof (by contrapositive).
-
Induction with incorrect base case. If the claim starts at , verifying as the base case is insufficient. The base case must match the starting value in the claim.
-
Weak vs. strong induction confusion. Standard induction assumes to prove . Strong induction assumes to prove . Use strong induction when depends on more than just .
-
Contradiction: negating the statement incorrectly. The negation of "for all , " is "there exists such that ". The negation of "there exists such that " is "for all , ". Quantifier negation must swap "for all" with "there exists."
-
Incomplete exhaustion. Proof by exhaustion requires checking every single case. Missing even one case invalidates the proof. This technique should only be used when the number of cases is genuinely small and enumerable.
-
Using specific numbers in a general proof. A proof that relies on a specific value (e.g., "let ") only proves the statement for that value, not for all . General proofs must use arbitrary or general variables.
Exam-Style Problems
Problem 11
Prove by contradiction that is irrational.
Problem 12
Prove by induction that for all .
Problem 13
Prove by direct proof: if and are integers and and , then or .
Problem 14
Prove that there are infinitely many positive integers such that is composite. (Hint: consider specific values of that make the expression factorable.)
Problem 15
Prove by induction that for all .
Problem 16
Prove by contrapositive: for integers , if does not divide , then does not divide .
Problem 17
Give a counterexample to disprove: "For all real numbers and , ."
Problem 18
Prove that is irrational.
Answers to Additional Problems
Problem 11: Suppose with in lowest terms. Squaring: , so , which is rational. But is irrational (proved earlier). Contradiction.
Problem 12: Base case (): . True. Inductive hypothesis: . Inductive step: . This is the formula with .
Problem 13: and for some . Substituting: , so . Since are integers, either (giving ) or (giving ).
Problem 14: Take : , which is composite. Take : . Check: . Actually , so check: . Try : , composite. Take for any : , which is composite for all . Since there are infinitely many such , there are infinitely many composite values.
Problem 15: Base case (): . True. Inductive hypothesis: . Inductive step: . This is the formula with .
Problem 16: Contrapositive: if , then . If , then for some , so , hence . This proves the contrapositive, hence the original statement.
Problem 17: Take and . , but .
Problem 18: Suppose with . Then , so . The left side is a power of (even for ), the right side is a power of (odd). For : is impossible. For : even = odd. Contradiction.
If You Get These Wrong, Revise:
- Logic and set theory → Review the logic and proof fundamentals
- Divisibility and prime factorisation → Review number theory and algebra topics
- Summation notation and series → Review ./calculus (section on integration and series)
- Quadratics and factorisation → Review algebra fundamentals
- Function notation and domain → Review functions topics
For the A-Level treatment of this topic, see Proof.