Lemma
← All topics
Pure mathematics

Proof I

How mathematicians know, rather than guess.

Introduction

A proof is a chain of logical steps that starts from facts everyone accepts and ends at the statement you want, with no gaps. Once a result is proved, it is true forever: no new data can overturn it. This is what makes mathematics different from every other science.

At A level you need four methods: deduction, exhaustion, counterexample (to disprove) and contradiction. Every board examines all four, and proof ideas appear inside questions on algebra, trigonometry and calculus too.

Why we need proof

Patterns can lie. Join nn points on a circle with every possible chord and count the regions inside the circle:

1, 2, 4, 8, 16, …1,\ 2,\ 4,\ 8,\ 16,\ \dots

It looks like 2n−12^{n-1}. But with six points you get 31 regions, not 32. Checking examples gives you a conjecture; only a proof turns it into a theorem.

Exam questions often say "prove" or "show that". The examiner wants to see every logical step, not just a correct answer.

Intuitive explanation

IntuitionA proof is an argument a sceptic cannot refuse

Imagine explaining your result to a friend who doubts everything. Each line must follow from the line before, or from a fact they already accept. If at any point they can say "but what about...?", the proof has a gap.

The four methods are four different strategies for beating the sceptic:

  • Deduction: argue directly from general facts. Use letters, not numbers, so your argument covers every case.
  • Exhaustion: split into a finite number of cases and check every one.
  • Counterexample: to show a claim is false, one example where it fails is enough.
  • Contradiction: assume the opposite, and show that leads to something impossible.

Formal definitions

DefinitionIntegers, even and odd

An integer nn is even if n=2kn = 2k for some integer kk, and odd if n=2k+1n = 2k + 1 for some integer kk. Two consecutive integers can be written nn and n+1n + 1.

DefinitionRational and irrational numbers

A number is rational if it can be written as ab\dfrac{a}{b} where a,ba, b are integers and b≠0b \neq 0. A number that is not rational is irrational.

DefinitionPrime

A prime is an integer greater than 11 whose only positive factors are 11 and itself.

DefinitionCounterexample

A counterexample to a statement "for all xx, P(x)P(x)" is a single value of xx for which P(x)P(x) is false.

Notation and logic

SymbolMeaningExample
⇒\Rightarrowimplies: if the left is true, so is the rightx=2⇒x2=4x = 2 \Rightarrow x^2 = 4
⇐\Leftarrowis implied byx2=4⇐x=2x^2 = 4 \Leftarrow x = 2
⇔\Leftrightarrowif and only if (both directions)x+1=3⇔x=2x + 1 = 3 \Leftrightarrow x = 2
∈\inis a member of3∈Z3 \in \mathbb{Z}
N,Z,Q,R\mathbb{N}, \mathbb{Z}, \mathbb{Q}, \mathbb{R}natural numbers, integers, rationals, reals
CautionImplication only goes one way

x=2⇒x2=4x = 2 \Rightarrow x^2 = 4 is true, but x2=4⇒x=2x^2 = 4 \Rightarrow x = 2 is false (take x=−2x = -2). Only write ⇔\Leftrightarrow when both directions really hold.

Useful facts

These facts appear in almost every proof question.

  • even ±\pm even == even, odd ±\pm odd == even, even ±\pm odd == odd
  • odd ×\times odd == odd; anything ×\times even == even
  • n2n^2 is even ⇔\Leftrightarrow nn is even
  • Any integer can be written as 3k3k, 3k+13k + 1 or 3k+23k + 2 (useful for divisibility by 3)
  • (a+b)2=a2+2ab+b2≥0(a + b)^2 = a^2 + 2ab + b^2 \ge 0, and more generally any square is ≥0\ge 0
  • The product of nn consecutive integers is divisible by n!n!, so n(n+1)n(n+1) is always even

Key results

Theorem√2 is irrational

There are no integers a,ba, b with (ab)2=2\left(\dfrac ab\right)^2 = 2.

TheoremThere are infinitely many primes

For any finite list of primes, there is a prime not on the list.

Both are proved by contradiction below, and both proofs are on the specification. You should be able to reproduce them from memory.

The classic proofs

Proof2\sqrt2 is irrational

Assume, for contradiction, that 2\sqrt2 is rational, so 2=ab\sqrt 2 = \dfrac ab where a,ba, b are integers with no common factors (the fraction is in its lowest terms).

Squaring, 2=a2b22 = \dfrac{a^2}{b^2}, so a2=2b2a^2 = 2b^2. Hence a2a^2 is even, so aa is even. Write a=2ca = 2c.

Then 4c2=2b24c^2 = 2b^2, so b2=2c2b^2 = 2c^2. Hence b2b^2 is even, so bb is even.

Now aa and bb are both even, so they share a factor of 22. This contradicts the assumption that ab\dfrac ab was in its lowest terms. Therefore 2\sqrt2 is irrational. ■\blacksquare

∎
ProofThere are infinitely many primes

Assume, for contradiction, that there are finitely many primes p1,p2,…,pnp_1, p_2, \dots, p_n. Let

N=p1p2⋯pn+1.N = p_1 p_2 \cdots p_n + 1.

Dividing NN by any pip_i leaves remainder 11, so no pip_i divides NN. But N>1N > 1, so NN has at least one prime factor, and it is not on the list. This contradicts the assumption that the list contained every prime. Therefore there are infinitely many primes. ■\blacksquare

∎
CautionA common misunderstanding

NN itself need not be prime. For example 2⋅3⋅5⋅7⋅11⋅13+1=30031=59×5092\cdot3\cdot5\cdot7\cdot11\cdot13 + 1 = 30031 = 59 \times 509. The point is that NN has a prime factor not on the list.

Writing a good proof

MethodThe structure every examiner looks for
  1. State what you are assuming and define your letters: "Let nn be an integer. Then consecutive integers are nn and n+1n+1."
  2. Work algebraically, one step per line, each justified.
  3. Reach the target form explicitly: "=2(2k2+2k)+1= 2(2k^2 + 2k) + 1, which is odd."
  4. Write a conclusion that repeats the original statement.

For contradiction, the opening is "Assume, for contradiction, that ..." and the ending is "This contradicts ..., so the original statement is true."

For exhaustion, list the cases clearly, show every case is covered, and finish with "all cases have been considered".

Why proof by contradiction is valid

A statement PP is either true or false (the law of excluded middle). If assuming ¬P\neg P (not PP) leads to something impossible, such as QQ and ¬Q\neg Q together, then ¬P\neg P cannot be true, so PP is.

Why the contrapositive works

P⇒QP \Rightarrow Q is false in exactly one situation: PP true and QQ false. The contrapositive ¬Q⇒¬P\neg Q \Rightarrow \neg P is false in exactly the same situation. So the two statements always have the same truth value:

PPQQP⇒QP \Rightarrow Q¬Q⇒¬P\neg Q \Rightarrow \neg P
TTTT
TFFF
FTTT
FFTT

The converse Q⇒PQ \Rightarrow P is different: it is false in the row PP false, QQ true. Confusing an implication with its converse is the most common logical error in proofs.

Why one counterexample is enough

"For all xx, P(x)P(x)" is false exactly when "there exists xx with not P(x)P(x)" is true. Negating a statement swaps ∀\forall and ∃\exists:

¬(∀x P(x))  ⟺  ∃x ¬P(x).\neg\big(\forall x\ P(x)\big) \iff \exists x\ \neg P(x).

So disproving a universal claim needs only one example, while proving it needs an argument covering every case.

Worked examples

ExampleDeduction: the sum of two odd numbers is even

Let the odd numbers be 2m+12m + 1 and 2n+12n + 1 for integers m,nm, n. Then

(2m+1)+(2n+1)=2m+2n+2=2(m+n+1),(2m + 1) + (2n + 1) = 2m + 2n + 2 = 2(m + n + 1),

which is 2×2 \times an integer, so it is even. ■\blacksquare

Use different letters mm and nn. Writing 2n+12n + 1 and 2n+32n + 3 only proves it for consecutive odd numbers.

ExampleCounterexample

Disprove: "n2+n+1n^2 + n + 1 is prime for every positive integer nn."

Take n=4n = 4: 16+4+1=21=3×716 + 4 + 1 = 21 = 3 \times 7, which is not prime. So the statement is false. ■\blacksquare

The Worked examples tab has many more, each with a full step-by-step solution.

Common mistakes

Common mistakeProving with examples

Showing a statement holds for n=1,2,3,4n = 1, 2, 3, 4 is not a proof unless those are the only cases (exhaustion). Use algebra.

Common mistakeUsing the same letter twice

"Let two even numbers be 2n2n and 2n2n" proves the result only when the numbers are equal.

Common mistakeForgetting the conclusion

Examiners award a final mark for a concluding sentence. Write "so n2+nn^2 + n is even for all integers nn."

Common mistakeContradiction without a contradiction

You must say what is contradicted, for example "this contradicts ab\frac ab being in lowest terms".

Common mistakeCounterexamples that are not checked

State the value, show the calculation and say clearly why it breaks the statement.

Where proof is used

  • Cryptography. Online banking relies on proved facts about primes and modular arithmetic.
  • Computer science. Programs that fly aircraft are proved correct, not just tested.
  • Every other topic. "Show that" questions in trigonometry, calculus and sequences are all proofs by deduction.

Connections

Summary

  • Deduction: start from general algebraic forms (2n2n, 2n+12n+1, 3k+13k+1) and work logically to the result.
  • Exhaustion: split into finitely many cases that cover everything, and check each.
  • Counterexample: one failing case disproves a "for all" statement.
  • Contradiction: assume the opposite, derive something impossible, say what is contradicted.
  • Know the proofs that 2\sqrt 2 is irrational and that there are infinitely many primes.
  • Always finish with a clear concluding statement.

Worked examples

Try each one yourself first, then open the solution.

Example 1Choosing the right symbol

Insert ⇒\Rightarrow, ⇐\Leftarrow or ⇔\Leftrightarrow between each pair. (a) x>3 □ x>1x > 3 \ \square\ x > 1 (b) x3=8 □ x=2x^3 = 8 \ \square\ x = 2 (c) x2=9 □ x=3x^2 = 9 \ \square\ x = 3

Show the solution
  1. 1Test each direction separately

    For each pair ask two questions: does the left force the right, and does the right force the left?

  2. 2Part (a)

    If x>3x > 3 then certainly x>1x > 1. But x=2x = 2 satisfies x>1x > 1 and not x>3x > 3. So only ⇒\Rightarrow.

  3. 3Part (b)

    x3=8x^3 = 8 has the single real solution x=2x = 2, and x=2x = 2 gives x3=8x^3 = 8. Both directions hold: ⇔\Leftrightarrow.

  4. 4Part (c)

    x=3x = 3 gives x2=9x^2 = 9, but x2=9x^2 = 9 also allows x=−3x = -3. So only x2=9⇐x=3x^2 = 9 \Leftarrow x = 3.

Answer

(a) ⇒\Rightarrow (b) ⇔\Leftrightarrow (c) ⇐\Leftarrow

To reject a direction, give one counterexample, exactly as in disproof.

Example 2Product of two odd numbers

Prove that the product of any two odd numbers is odd.

Show the solution
  1. 1Write general odd numbers

    Let the numbers be 2m+12m + 1 and 2n+12n + 1, where mm and nn are integers.

  2. 2Multiply out
    (2m+1)(2n+1)=4mn+2m+2n+1.(2m + 1)(2n + 1) = 4mn + 2m + 2n + 1.
  3. 3Reach the odd form
    =2(2mn+m+n)+1.= 2(2mn + m + n) + 1.

    Since 2mn+m+n2mn + m + n is an integer, this is of the form 2k+12k + 1.

  4. 4Conclude

    So the product of any two odd numbers is odd. ■\blacksquare

Answer

(2m+1)(2n+1)=2(2mn+m+n)+1(2m+1)(2n+1) = 2(2mn+m+n)+1, which is odd.

Example 3Difference of consecutive squares

Prove that the difference between the squares of any two consecutive integers is odd.

Show the solution
  1. 1Define the integers

    Let the consecutive integers be nn and n+1n + 1.

  2. 2Expand and simplify
    (n+1)2−n2=n2+2n+1−n2=2n+1.(n+1)^2 - n^2 = n^2 + 2n + 1 - n^2 = 2n + 1.
  3. 3Conclude

    2n+12n + 1 is odd for every integer nn, so the difference is always odd. ■\blacksquare

Answer

(n+1)2−n2=2n+1(n+1)^2 - n^2 = 2n + 1

Example 4An inequality by completing the square

Prove that x2−6x+10>0x^2 - 6x + 10 > 0 for all real xx.

Show the solution
  1. 1Complete the square
    x2−6x+10=(x−3)2−9+10=(x−3)2+1.x^2 - 6x + 10 = (x - 3)^2 - 9 + 10 = (x - 3)^2 + 1.
  2. 2Use the fact that squares are non-negative

    (x−3)2≥0(x - 3)^2 \ge 0 for all real xx, so (x−3)2+1≥1>0(x - 3)^2 + 1 \ge 1 > 0.

  3. 3Conclude

    Hence x2−6x+10>0x^2 - 6x + 10 > 0 for all real xx. ■\blacksquare

Answer

(x−3)2+1≥1>0(x-3)^2 + 1 \ge 1 > 0

"Show it is always positive" almost always means: complete the square.

Example 5Squares and multiples of 3

Prove that the square of any integer is either a multiple of 3 or one more than a multiple of 3.

Show the solution
  1. 1Split into cases

    Every integer is 3k3k, 3k+13k + 1 or 3k+23k + 2 for some integer kk. These three cases cover everything.

  2. 2Case n=3kn = 3k

    n2=9k2=3(3k2)n^2 = 9k^2 = 3(3k^2), a multiple of 3.

  3. 3Case n=3k+1n = 3k + 1

    n2=9k2+6k+1=3(3k2+2k)+1n^2 = 9k^2 + 6k + 1 = 3(3k^2 + 2k) + 1, one more than a multiple of 3.

  4. 4Case n=3k+2n = 3k + 2

    n2=9k2+12k+4=3(3k2+4k+1)+1n^2 = 9k^2 + 12k + 4 = 3(3k^2 + 4k + 1) + 1, one more than a multiple of 3.

  5. 5Conclude

    All cases have been considered, so n2n^2 is always 3m3m or 3m+13m + 1. ■\blacksquare

Answer

n2n^2 leaves remainder 00 or 11 on division by 33, never 22.

Example 6Checking a finite set

Prove that every prime number between 2020 and 3030 is one more or one less than a multiple of 66.

Show the solution
  1. 1List the cases

    The primes between 20 and 30 are 2323 and 2929. These are the only cases.

  2. 2Check each

    23=24−1=6×4−123 = 24 - 1 = 6\times 4 - 1 and 29=30−1=6×5−129 = 30 - 1 = 6 \times 5 - 1.

  3. 3Conclude

    Both primes are one less than a multiple of 6, so the statement is true. ■\blacksquare

Answer

23=6⋅4−123 = 6\cdot4 - 1, 29=6⋅5−129 = 6\cdot5 - 1.

Example 7A false claim about squares

Prove that the statement "if a>ba > b then a2>b2a^2 > b^2" is false.

Show the solution
  1. 1Look for trouble with negatives

    Squaring reverses order for negative numbers, so try a negative bb.

  2. 2Give the counterexample

    Take a=1a = 1 and b=−3b = -3. Then a>ba > b, but a2=1a^2 = 1 and b2=9b^2 = 9, so a2<b2a^2 < b^2.

  3. 3Conclude

    One counterexample is enough: the statement is false. ■\blacksquare

Answer

a=1a = 1, b=−3b = -3: 1>−31 > -3 but 1<91 < 9.

Example 8No greatest even number

Use proof by contradiction to prove that there is no greatest even integer.

Show the solution
  1. 1Assume the opposite

    Assume, for contradiction, that there is a greatest even integer NN.

  2. 2Build a bigger one

    N+2N + 2 is also even, since N=2kN = 2k gives N+2=2(k+1)N + 2 = 2(k + 1). And N+2>NN + 2 > N.

  3. 3State the contradiction

    This contradicts NN being the greatest even integer. Hence there is no greatest even integer. ■\blacksquare

Answer

N+2N + 2 is a larger even integer.

Example 9Rational plus irrational

Prove by contradiction that if aa is rational and bb is irrational, then a+ba + b is irrational.

Show the solution
  1. 1Assume the opposite

    Assume, for contradiction, that a+ba + b is rational, say a+b=pqa + b = \dfrac pq. Also a=mna = \dfrac mn (with p,q,m,np, q, m, n integers, q,n≠0q, n \ne 0).

  2. 2Isolate bb
    b=pq−mn=pn−mqqn.b = \frac pq - \frac mn = \frac{pn - mq}{qn}.
  3. 3Spot the contradiction

    pn−mqpn - mq and qnqn are integers with qn≠0qn \neq 0, so bb is rational. This contradicts bb being irrational.

  4. 4Conclude

    Therefore a+ba + b is irrational. ■\blacksquare

Answer

b=pn−mqqnb = \frac{pn - mq}{qn} would be rational: contradiction.

Example 10If n² is even, n is even

Prove by contradiction that if n2n^2 is even, then nn is even.

Show the solution
  1. 1Assume the opposite

    Assume, for contradiction, that n2n^2 is even but nn is odd, so n=2k+1n = 2k + 1.

  2. 2Compute n2n^2
    n2=4k2+4k+1=2(2k2+2k)+1,n^2 = 4k^2 + 4k + 1 = 2(2k^2 + 2k) + 1,

    which is odd.

  3. 3Conclude

    This contradicts n2n^2 being even. So if n2n^2 is even, nn is even. ■\blacksquare

Answer

An odd nn gives odd n2n^2, contradicting the assumption.

This lemma is the key step inside the proof that 2\sqrt2 is irrational. Quote it, or prove it, when you need it.

Beyond the specification

University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.

Quantifiers and the logic of definitions (university)

University mathematics is written in statements with nested quantifiers. Reading them correctly is a skill in itself.

DefinitionQuantifiers

∀\forall means "for all" and ∃\exists means "there exists". The order matters:

  • ∀x ∃y:y>x\forall x\ \exists y : y > x ("for every number there is a bigger one") is true for the integers.
  • ∃y ∀x:y>x\exists y\ \forall x : y > x ("there is a number bigger than every number") is false.
ExampleLimits, precisely

"an→La_n \to L" is defined as

∀ε>0  ∃N  ∀n>N:∣an−L∣<ε.\forall\varepsilon > 0\ \ \exists N\ \ \forall n > N : |a_n - L| < \varepsilon.

However small a tolerance you name, the terms are eventually within it. To disprove convergence, negate the quantifiers one by one:

∃ε>0  ∀N  ∃n>N:∣an−L∣≥ε.\exists\varepsilon > 0\ \ \forall N\ \ \exists n > N : |a_n - L| \ge \varepsilon.
Proof1n→0\frac1n \to 0

Let ε>0\varepsilon > 0. Choose an integer N>1εN > \frac1\varepsilon. For n>Nn > N, ∣1n−0∣=1n<1N<ε\left|\frac1n - 0\right| = \frac1n < \frac1N < \varepsilon. ■\blacksquare

∎

The proof has the same shape as the definition: "let ε\varepsilon be given" answers ∀ε\forall\varepsilon, "choose NN" answers ∃N\exists N, and the final inequality handles ∀n\forall n. Every proof about limits, continuity and derivatives in an analysis course follows this template.

Common mistakeVacuous truth

"Every unicorn in this room is purple" is true: there are no unicorns, so there is no counterexample. In logic, P⇒QP \Rightarrow Q is true whenever PP is false. Statements about elements of the empty set are always vacuously true.

Proof by induction (university)

To prove a statement for every positive integer, you cannot check them one at a time. Induction gives a way to cover all of them with two finite steps.

TheoremPrinciple of mathematical induction

Suppose P(1)P(1) is true, and for every k≥1k \ge 1, P(k)⇒P(k+1)P(k) \Rightarrow P(k + 1). Then P(n)P(n) is true for every positive integer nn.

Think of dominoes: the first falls, and each one knocks over the next.

ExampleSum of the first n odd numbers

Claim: 1+3+⋯+(2n−1)=n21 + 3 + \cdots + (2n - 1) = n^2.

  • Base case: n=1n = 1: 1=121 = 1^2. ✓
  • Inductive step: Assume 1+3+⋯+(2k−1)=k21 + 3 + \cdots + (2k - 1) = k^2. Then
1+3+⋯+(2k−1)+(2k+1)=k2+2k+1=(k+1)2.1 + 3 + \cdots + (2k - 1) + (2k + 1) = k^2 + 2k + 1 = (k + 1)^2.

So P(k)⇒P(k+1)P(k) \Rightarrow P(k + 1), and by induction the claim holds for all nn. ■\blacksquare

ExampleDivisibility

Claim: 3∣4n−13 \mid 4^n - 1 for all n≥1n \ge 1. Base case: 4−1=34 - 1 = 3. ✓ Step: 4k+1−1=4(4k−1)+34^{k+1} - 1 = 4(4^k - 1) + 3. If 3∣4k−13 \mid 4^k - 1, both terms are multiples of 33. ■\blacksquare

Strong induction and well-ordering

Strong induction assumes P(1),…,P(k)P(1), \ldots, P(k) all hold to prove P(k+1)P(k + 1). It is needed for results like "every integer n>1n > 1 is a product of primes": if nn is composite, n=abn = ab with a,b<na, b < n, and both factor by the strong hypothesis.

All three principles, ordinary induction, strong induction and the well-ordering principle (every non-empty set of positive integers has a least element, used in question Q46), are logically equivalent. Each can be derived from the others.

ParadoxAll horses are the same colour

"Proof" by induction on the size of a group: one horse is trivially one colour. Given k+1k + 1 horses, remove one: the remaining kk share a colour. Remove a different one: those kk also share a colour. The groups overlap, so all k+1k + 1 match.

The flaw: the step from k=1k = 1 to k=2k = 2 fails, since the two groups of one horse do not overlap. An inductive step must work for every kk, including the smallest.

Axioms, incompleteness and computer proofs (university)

Every proof starts from something. What does mathematics ultimately start from, and can it prove everything that is true?

Axioms

Euclid (around 300 BC) built geometry from five axioms. Two thousand years later, mathematicians found that his fifth (parallel) axiom could be replaced by alternatives, giving consistent non-Euclidean geometries, one of which describes the curved spacetime of general relativity.

Today almost all mathematics is built from the Zermelo–Fraenkel axioms with Choice (ZFC), about ten statements about sets. Numbers, functions, spaces and probabilities are all constructed as sets. For example, the natural numbers can be built as 0=∅0 = \emptyset, 1={0}1 = \{0\}, 2={0,1}2 = \{0, 1\}, and so on, satisfying Peano's axioms, of which induction is one.

TheoremGödel's incompleteness theorems (1931)
  1. Any consistent axiom system strong enough to do basic arithmetic contains true statements that it cannot prove.
  2. Such a system cannot prove its own consistency.

Gödel's proof builds, by a diagonal argument like Cantor's (question Q55), a statement that says, in effect, "this statement is not provable". If it were provable, the system would prove something false; so it is unprovable, and therefore true.

ExampleIndependent statements

The continuum hypothesis ("there is no infinity strictly between the sizes of N\mathbb N and R\mathbb R") can be neither proved nor disproved from ZFC (Gödel 1940, Cohen 1963). It is not unknown. It is undecidable from the standard axioms.

Proofs by computer

  • The four colour theorem (Appel and Haken, 1976): every map can be coloured with four colours so that neighbouring regions differ. The proof reduced the problem to about 19001900 configurations, each checked by computer. Many mathematicians were uneasy: no human could check it all.
  • The Kepler conjecture (Hales, 1998; formally verified in 2014): the familiar greengrocer's stacking of oranges is the densest possible packing of spheres.
  • Proof assistants such as Lean, Coq and Isabelle check every logical step mechanically. Large parts of undergraduate mathematics have been formalised in Lean's library, and in 2022 a research-level result of Peter Scholze was verified this way at his own request.
Mathematical curiosityWhat makes a proof beautiful?

Erdős spoke of "The Book", in which God keeps the most elegant proof of each theorem. Euclid's proof that there are infinitely many primes and the proof that 2\sqrt2 is irrational would surely be in it. Both are short, use one idea, and once seen are impossible to forget.

Why does this work?

Why does this work?Why does proof by contradiction work?

Classical logic accepts the law of the excluded middle: every statement PP is either true or false. If assuming "not PP" lets you deduce a statement that is definitely false (such as "aa and bb have no common factor, yet both are even"), then "not PP" cannot be true. So PP must be.

Formally: if ¬P⇒(Q∧¬Q)\neg P \Rightarrow (Q \wedge \neg Q), then ¬P\neg P is false, so PP holds. Some mathematicians (intuitionists) reject this step for infinite collections and insist on constructing objects directly; for them, a proof that something exists must actually exhibit it.

Beyond the syllabus

Beyond the syllabusCantor's diagonal argument: some infinities are bigger than others

Call a set countable if its elements can be listed a1,a2,a3,…a_1, a_2, a_3, \dots The integers are countable (0,1,−1,2,−2,…0, 1, -1, 2, -2, \dots), and surprisingly so are the rationals: list fractions pq\frac pq in order of ∣p∣+q|p| + q.

Theorem (Cantor, 1891). The real numbers in (0,1)(0, 1) are not countable.

Proof. Suppose, for contradiction, they could be listed: x1,x2,x3,…x_1, x_2, x_3, \dots, with decimal expansions xn=0.dn1dn2dn3…x_n = 0.d_{n1}d_{n2}d_{n3}\dots Build a new number y=0.e1e2e3…y = 0.e_1e_2e_3\dots by choosing en=5e_n = 5 if dnn≠5d_{nn} \ne 5, and en=4e_n = 4 if dnn=5d_{nn} = 5. Then yy differs from xnx_n in the nnth decimal place, for every nn, so yy is not on the list. (Using only the digits 4 and 5 avoids the ambiguity 0.0999…=0.10.0999\ldots = 0.1.) This contradicts the list containing every real. ■\blacksquare

So there are "more" real numbers than rational numbers, even though both sets are infinite. This is the start of set theory, and of the idea that the size of infinite sets can be compared using functions: two sets have the same size if there is a bijection between them.

Beyond the syllabusGödel's incompleteness theorem

In 1931 Kurt Gödel proved that any consistent set of axioms strong enough to do ordinary arithmetic contains true statements that cannot be proved from those axioms. The proof constructs, using a clever numerical code for statements, a sentence that effectively says "this sentence is not provable". If it were provable it would be false, so (if the system is consistent) it is true but unprovable. Proof is powerful, but it has limits that can themselves be proved.

Mathematical curiosities

Mathematical curiosityA proof that 2\sqrt2 is irrational with no algebra

Suppose 2=ab\sqrt2 = \frac ab in lowest terms, so a square of side aa has the same area as two squares of side bb. Place the two smaller squares in opposite corners of the big one. They overlap in a square, and leave two uncovered squares. Equal areas force the overlap to equal the two uncovered squares together, giving a smaller integer solution. This contradicts lowest terms. (Tom Apostol popularised this "proof without words".)

Mathematical curiosityThe pattern that fails at 6

Joining nn points on a circle gives 1,2,4,8,161, 2, 4, 8, 16 regions, then 3131. The true formula is (n4)+(n2)+1\binom n4 + \binom n2 + 1, which happens to agree with 2n−12^{n-1} for n≤5n \le 5.

Further exploration

Further explorationInvestigations
  • Prove that there are infinitely many primes of the form 4k+34k + 3. (Adapt Euclid's proof using N=4p1p2⋯pn−1N = 4p_1p_2\cdots p_n - 1.)
  • Show that log⁡102\log_{10}2 is irrational.
  • Is 22\sqrt2^{\sqrt2} rational? Use it to show there exist irrational a,ba, b with aba^b rational, without deciding which case holds.

Reading pathway: How to Prove It (Velleman) → Proofs from THE BOOK (Aigner and Ziegler) → a first course in set theory and logic.

Now practise60 questions from Very easy to Extreme →