The formula $n^2+n+41$ gives a prime 质数 for $n=0,1,2,\dots,39$. That is forty correct checks in a row. A student says it is always prime. But at $n=40$:
$$40^2+40+41=1681=41^2,$$
which is not prime. Forty pieces of evidence did not prove the claim, and one case destroyed it. This is the whole idea of the topic: examples can disprove a claim about every case, but they can never prove one. To prove a claim about every number, you need an argument that works for all of them at once.
AQA asks for four shapes of argument:
Shape
What you do
Use it when
Deductive proof 演绎证明
start from definitions and reason step by step
a claim about all numbers that algebra can show
Proof by exhaustion 穷举法
split into cases that cover everything, check each
a few cases, or even/odd, cover all the possibilities
Disproof by counterexample 反例
find one valid case where the claim fails
you think an “always” claim is false
Proof by contradiction 反证法
assume the claim is false and reach something impossible
a “never”, “no largest” or “is irrational” claim
Deduction proves every case at once; one counterexample (n = 40) disproves an “always” claim; contradiction assumes the opposite and breaks it
The language of proof
Proofs use a few symbols. Each arrow shows which way the logic runs.
Why x = 3 ⇒ x² = 9 cannot be reversed
Symbol
Read as
Example
$\Rightarrow$
implies
$x=3\Rightarrow x^2=9$
$\Leftarrow$
is implied by
$x^2=9\Leftarrow x=-3$
$\Leftrightarrow$
if and only if 当且仅当
$2x+1=7\Leftrightarrow x=3$
$\therefore$
therefore
$n=2k$, $\therefore n^2=4k^2$
$\equiv$
is identically equal to
$(x+1)^2\equiv x^2+2x+1$
$x=3\Rightarrow x^2=9$ is true. The reverse, $x^2=9\Rightarrow x=3$, is false, because $x=-3$ also squares to 9. So you may not write $\Leftrightarrow$ here.
To use $\Leftrightarrow$ you must be sure both directions are true.
An identity 恒等式 ($\equiv$) is true for every value of $x$. An equation is true only for some values (its solutions).
In proofs about whole numbers, write an integer 整数 in a general form:
an even number is $2k$, an odd number is $2k+1$, where $k$ is an integer;
a multiple of 3 is $3k$; the other integers are $3k+1$ and $3k+2$;
three consecutive 连续的 integers are $n-1,\ n,\ n+1$ (or $n,\ n+1,\ n+2$).
Proof by deduction
A deductive proof starts from what the words mean and uses algebra that is true for every value. It ends with a sentence that states what you have shown.
Euclid's Elements in a manuscript copied in AD 888: each proposition is proved step by step from what came before, the model for deductive proof
Worked example: odd plus odd. Prove that the sum of any two odd integers is even.
Let the two odd integers be $2a+1$ and $2b+1$, where $a$ and $b$ are integers. Then
$$(2a+1)+(2b+1)=2a+2b+2=2(a+b+1).$$
$a+b+1$ is an integer, so the sum is a multiple of 2. So the sum of any two odd integers is even.
Common mistake. Writing both numbers as $2n+1$. That only proves the result when the two odd numbers are equal. Use a different letter for each number that can change on its own.
Worked example: $n^3-n$ is a multiple of 6. Prove that $n^3-n$ is divisible by 6 for every integer $n$.
Factorise first, to see the structure:
$$n^3-n=n(n^2-1)=(n-1)\,n\,(n+1).$$
This is a product of three consecutive integers. At least one of them is even, so 2 is a factor. Exactly one of them is a multiple of 3, so 3 is a factor. 2 and 3 share no factor, so $6$ divides $n^3-n$ for every integer $n$.
Worked example: an odd square. Prove that the square of any odd number is one more than a multiple of 8.
$$(2k+1)^2=4k^2+4k+1=4k(k+1)+1.$$
$k$ and $k+1$ are consecutive, so one of them is even and $k(k+1)=2m$ for some integer $m$. Then $(2k+1)^2=4(2m)+1=8m+1$. Check with $k=2$: $5^2=25=8\times3+1$. (The check is not part of the proof. It only helps you trust your algebra.)
Proof by exhaustion
Split the problem into cases that together cover every possibility, then prove the claim in each case.
Two cases cover every integer
Worked example. Prove that $n^2+2$ is never divisible by 4, for any integer $n$.
Every integer is even or odd, so two cases are enough.
Case
$n^2+2$
Divided by 4
$n=2k$ (even)
$4k^2+2$
remainder 2
$n=2k+1$ (odd)
$4k^2+4k+3$
remainder 3
Neither case leaves remainder 0, so 4 never divides $n^2+2$.
Exhaustion can also mean checking a short, complete list. For example: “every prime between 10 and 30 is one more or one less than a multiple of 6”. The primes are 11, 13, 17, 19, 23 and 29. Check each: $11=12-1$, $13=12+1$, $17=18-1$, $19=18+1$, $23=24-1$, $29=30-1$. The list is complete, so the claim is proved.
Common mistake. Leaving a case out. Before you start, say why your cases cover everything (“every integer is even or odd”).
Disproof by counterexample
To show that an “always” claim is false, one case is enough. The case must obey the conditions in the claim, and you must show the arithmetic.
One counterexample ends the claim
Worked example. Disprove: “if $p$ is prime, then $2^p-1$ is prime.”
$p=2,3,5,7$ give $3,7,31,127$, which are all prime. But $p=11$ gives
$$2^{11}-1=2047=23\times89.$$
11 is prime and 2047 is not, so the claim is false.
A counterexample must satisfy the hypothesis 前提: here $p$ must be prime. Using $p=4$ ($2^4-1=15$) is not a counterexample, because 4 is not prime.
Watch for claims about real numbers. “$x^2>x$ for every real $x$” fails at $x=\tfrac12$, since $\tfrac14<\tfrac12$. It also fails at $x=1$ and $x=0$, where the two sides are equal.
Proof by contradiction
Assume the opposite of what you want to prove. Reason correctly until you reach something impossible. The assumption must have been false, so the original statement is true.
The contradiction proof that √2 is irrational
Worked example: $\sqrt2$ is irrational. A rational 有理数 number can be written as $\frac pq$ with integers $p$, $q$ and $q\ne0$. An irrational 无理数 number cannot.
Assume $\sqrt2$ is rational: $\sqrt2=\frac pq$, where $p$ and $q$ are integers with no common factor (the fraction is in lowest terms).
Square: $2=\frac{p^2}{q^2}$, so $p^2=2q^2$. So $p^2$ is even, and so $p$ is even. (An odd number squared is odd.)
Write $p=2r$. Then $4r^2=2q^2$, so $q^2=2r^2$. So $q^2$ is even, and $q$ is even.
Now $p$ and $q$ are both even, so they share the factor 2. This contradicts “lowest terms”.
So the assumption is false, and $\sqrt2$ is irrational.
Worked example: there are infinitely many primes.
Assume there are only finitely many primes: $p_1,p_2,\dots,p_n$.
Build $N=p_1p_2\cdots p_n+1$.
Each $p_i$ divides $p_1p_2\cdots p_n$, so dividing $N$ by any $p_i$ leaves remainder 1. No prime on the list divides $N$.
But $N>1$, so $N$ has at least one prime factor. That prime is not on the list, which contradicts “this is every prime”.
So there are infinitely many primes.
Common mistake. Saying “$N$ is a new prime”. $N$ need not be prime. For example, $2\times3\times5\times7\times11\times13+1=30031=59\times509$. The point is that $N$ has a prime factor that is missing from the list.
Evidence or proof?
Not a proof
A proof
checking $n=1$ to $100$ for a claim about all integers
general variables such as $2a+1$ or $(n-1)n(n+1)$
starting from the result and reaching something true
starting from the facts and reaching the result
a proof about integers used for real numbers
a case list that clearly covers everything
“it works for my examples”
a negation that leads to something impossible
Logic must run from the facts to the result
Spot the flaw. A student “proves” $\sqrt2+\sqrt3>3$ like this: square both sides to get $5+2\sqrt6>9$, so $2\sqrt6>4$, which is true, so the claim is true. The logic runs the wrong way. The student started from the conclusion and reached a true statement, but a false statement can also lead to a true one ($-2=2\Rightarrow4=4$). A correct proof starts from $2\sqrt6>4$ (true, since $24>16$), and works forward. Both sides are positive, so each step can be reversed.
Choose the method
Read the claim's key word first: “all”, “some” or “never”.
Claim
Method
The sum of three consecutive integers is a multiple of 3.
deduction: $(n-1)+n+(n+1)=3n$
Every prime between 10 and 30 is one away from a multiple of 6.
exhaustion of the six primes
$x^2>x$ for every real $x$.
counterexample: $x=\frac12$
There is no largest even number.
contradiction: if $N$ is the largest, $N+2$ is larger and even
Practice
Prove that the product of two odd integers is odd.
Prove that the sum of any three consecutive integers is divisible by 3.
Disprove: “$n^2-n+11$ is prime for every positive integer $n$.”
Prove that every square number is a multiple of 3 or one more than a multiple of 3.
Prove by contradiction that there is no largest odd number.
A student writes $x^2=4\Leftrightarrow x=2$. Correct the statement.
Answers.
$(2a+1)(2b+1)=4ab+2a+2b+1=2(2ab+a+b)+1$, which is odd.
$(n-1)+n+(n+1)=3n$, a multiple of 3.
$n=11$: $121-11+11=121=11^2$, not prime.
Exhaustion with $n=3k$, $3k+1$, $3k+2$: $n^2=9k^2=3(3k^2)$; $9k^2+6k+1=3(3k^2+2k)+1$; $9k^2+12k+4=3(3k^2+4k+1)+1$.
Assume $N$ is the largest odd number. $N+2$ is odd and larger than $N$: a contradiction.
$x^2=4\Leftrightarrow x=\pm2$. Only $x=2\Rightarrow x^2=4$ is true one way.
Key points
Examples disprove an “always” claim; they never prove one.
Deduction uses general letters, with a new letter for each number that can change on its own.
Exhaustion needs a case list that clearly covers everything.
A counterexample must obey the claim's conditions, with the arithmetic shown.
Contradiction assumes the opposite and reaches something impossible: $\sqrt2$ is irrational, and there are infinitely many primes.