impera Open Impera

A levels Mathematics · Pure: algebra and functions

Proof

1What a proof is

A proof is a logical argument that shows a statement is always true, starting from facts that are already known. Checking a few examples is never enough: a statement that works for a thousand numbers may still fail for the next one.

A proof needs:

  • a clear statement of what is being proved;
  • logical steps, each following from the one before;
  • a conclusion that restates what has been shown.

Useful notation:

  • $\Rightarrow$ means "implies": if the left side is true, the right side is true.
  • $\Leftrightarrow$ means "if and only if": each side implies the other.
  • $\in$ means "is a member of", and $\mathbb{Z}$ is the set of integers.

An even number can be written $2n$ and an odd number $2n + 1$, where $n \in \mathbb{Z}$. Consecutive integers are $n$ and $n + 1$.

Check yourself

Why is checking several examples not a proof?

  • Examples are always chosen to give the wrong answer in a proof

  • Proofs are never allowed to use any numbers at all

  • Examples are only allowed in statistics, never in pure maths

  • A statement might be true for the examples but false for another case

Show the answer

A statement might be true for the examples but false for another case

A proof must cover every case.

2Proof by deduction

Proof by deduction starts from known facts and uses algebra to reach the result directly.

Worked example

Sum of two odd numbers

  1. Let the odd numbers be $2m + 1$ and $2n + 1$, where $m, n \in \mathbb{Z}$.
  2. Sum: $(2m + 1) + (2n + 1) = 2m + 2n + 2 = 2(m + n + 1)$.
  3. $m + n + 1$ is an integer, so the sum is a multiple of 2.
  4. Therefore the sum of any two odd numbers is even.
Worked example

A quadratic that is always positive

  1. Prove that $x^2 - 6x + 10 > 0$ for all real $x$.
  2. Complete the square: $x^2 - 6x + 10 = (x - 3)^2 + 1$.
  3. $(x - 3)^2 \geq 0$ for all real $x$, so $(x - 3)^2 + 1 \geq 1 > 0$.
  4. Therefore $x^2 - 6x + 10 > 0$ for all real $x$.
Check yourself

How is an odd number written in a proof?

  • 2n + 1, where n is an integer

  • 2n, where n is an integer

  • n², where n is an integer

  • n + 1, where n is an integer

Show the answer

2n + 1, where n is an integer

2n is even, so 2n + 1 is odd.

3Proof by exhaustion

Proof by exhaustion splits the problem into a finite number of cases and proves each one. It works when every possibility can be listed.

Worked example

Squares and multiples of 3

  1. Prove that the square of any integer is either a multiple of 3 or one more than a multiple of 3.
  2. Every integer is $3k$, $3k + 1$ or $3k + 2$ for some integer $k$.
  3. $(3k)^2 = 9k^2 = 3(3k^2)$: a multiple of 3.
  4. $(3k + 1)^2 = 9k^2 + 6k + 1 = 3(3k^2 + 2k) + 1$: one more than a multiple of 3.
  5. $(3k + 2)^2 = 9k^2 + 12k + 4 = 3(3k^2 + 4k + 1) + 1$: one more than a multiple of 3.
  6. All cases are covered, so the statement is true.

Exhaustion is also used for small sets: "Prove that every prime number between 20 and 30 is of the form $6k \pm 1$" can be checked for 23 and 29 directly.

Check yourself

When can proof by exhaustion be used?

  • Only when there is one case

  • Only for statements about prime numbers

  • When all possibilities can be split into a finite number of cases

  • When there are infinitely many unrelated cases to check

Show the answer

When all possibilities can be split into a finite number of cases

Each case must be proved, and together they must cover everything.

4Disproof by counter-example

To show a statement is false, one counter-example is enough: a single case where the statement fails.

Worked example

Disproving a claim

  1. Claim: "$n^2 + n + 41$ is prime for every positive integer $n$."
  2. It works for $n = 1, 2, 3, \dots, 39$.
  3. Try $n = 40$: $40^2 + 40 + 41 = 1681 = 41^2$, which is not prime.
  4. So the claim is false; $n = 40$ is a counter-example.

When asked to disprove, state the counter-example clearly and show why it fails.

Check yourself

How many counter-examples are needed to disprove a statement?

  • Infinitely many

  • Two

  • One

  • Ten

Show the answer

One

A single failure shows the statement is not always true.

5Proof by contradiction

Proof by contradiction assumes the statement is false, then shows that this assumption leads to something impossible. So the statement must be true.

Worked example

√2 is irrational

  1. Assume $\sqrt{2}$ is rational: $\sqrt{2} = \frac{a}{b}$, where $a, b$ are integers with no common factors.
  2. Square: $2 = \frac{a^2}{b^2}$, so $a^2 = 2b^2$. Therefore $a^2$ is even, so $a$ is even.
  3. Write $a = 2c$: $4c^2 = 2b^2$, so $b^2 = 2c^2$. Therefore $b$ is even.
  4. Both $a$ and $b$ are even, so they share a factor of 2. This contradicts the assumption.
  5. Therefore $\sqrt{2}$ is irrational.
Worked example

Infinitely many primes

  1. Assume there are finitely many primes: $p_1, p_2, \dots, p_n$.
  2. Let $N = p_1 p_2 \cdots p_n + 1$.
  3. Dividing $N$ by any of the primes leaves remainder 1, so none of them divides $N$.
  4. So $N$ is either prime or has a prime factor not in the list. Either way, the list was incomplete: a contradiction.
  5. Therefore there are infinitely many primes.
Check yourself

What is the first step in a proof by contradiction?

  • Assume the statement is true

  • Assume the statement is false

  • List every case

  • Find a counter-example

Show the answer

Assume the statement is false

Then show the assumption leads to something impossible.

6Writing proofs well

Examiners look for clear logic and a concluding statement.

  • Define every variable: "Let $n$ be an integer."
  • Show every algebraic step; do not skip to the answer.
  • Use $\Rightarrow$ only where the implication is true.
  • Finish with a sentence: "Therefore…", "Hence…", "This contradicts…".
  • For contradiction, say clearly what the contradiction is.

Common mistakes:

  • using the same letter for two different numbers (writing $2n + 1$ and $2n + 1$ for two different odd numbers);
  • proving only the examples given;
  • starting from the result you want and working backwards without making sure every step reverses.
Check yourself

Why should two different odd numbers be written as 2m + 1 and 2n + 1?

  • To make the proof longer and more detailed

  • Because n is reserved for even numbers in proofs

  • Using the same letter would mean they are the same number

  • Because m is always larger than n in a proof

Show the answer

Using the same letter would mean they are the same number

Different letters keep the proof general.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera