KS Maths
Topic 1.6 · AA Standard Level

Deductive proof

Forty times right, and still wrong.

Why checking is not proving, why one counterexample is enough, and how to lay out a proof that earns the marks.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

proof
A clear logical argument that shows something is always true.Prove that the sum of two even numbers is even.
integer
A whole number. It can be positive, negative or zero. It has no fraction part.Minus 3, 0 and 8 are integers.
odd
A whole number that leaves remainder 1 when divided by 2.7 is an odd number.
term
One part of an expression, separated by plus or minus signs. Also, one number in a sequence.3x plus 2 has two terms.
multiple
A number in the times table of another number.12 is a multiple of 3.
square
Multiply a number by itself. Also, a shape with four equal sides and four right angles.5 squared is 25.
expand
Multiply out brackets.Expand 2(x plus 3) to get 2x plus 6.
identity
An equation that is true for every value of the letter.2(x plus 1) = 2x plus 2 is an identity.
write down
Give the answer with little or no working.Write down the median.
counterexample
One example that shows a claim is false.2 is a counterexample to all primes being odd.

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for in the proofs.

  1. Expand and simplify (n + 1)² − n².
    Answer

    n² + 2n + 1 − n² = 2n + 1. The middle term of (n + 1)² is 2n, not n; the n² terms then cancel.

  2. Write an expression for any odd number, using n for a whole number.
    Answer

    2n + 1. 2n is always even, so one more than it is always odd. This is the standard way to turn “odd” into algebra.

  3. Work out 1/6 + 1/3 and give the answer in its simplest form.
    Answer

    1/6 + 2/6 = 3/6 = 1/2. Rewrite over a common denominator first, then simplify once at the end.

  4. Find one value of x that shows (x + 1)² = x² + 1 is not always true.
    Answer

    Any x except 0 works, for example x = 2: the left side is 9 and the right side is 5. One value that fails is enough to disprove an “always” claim.

Words used in this lesson
prove
show that a statement is true in every case, using steps that follow from each other. For example: to prove that 2n is even for every whole number n.
identity
an equation that is true for every value of the letter. For example: (a + b)² = a² + 2ab + b² is an identity.
counterexample
one example that makes a claim false. For example: x = 1 is a counterexample to “x² > x”, because 1² = 1, which is not greater than 1.
conjecture
a statement that seems true but has not been proved. For example: “every even number above 2 is the sum of two primes” is a famous conjecture.
LHS and RHS
the left-hand side and the right-hand side of an equation. For example: in 3x + 3 = 3(x + 1) the LHS is 3x + 3.
consecutive
one straight after another with nothing missed. For example: 8, 9 and 10 are consecutive integers.
integer
a whole number, positive, negative or zero. For example: −4, 0 and 17 are integers; 2.5 is not.
show that
work from one side to the other, giving every step. For example: “show that 2(x + 3) − 6 = 2x”.
hence
use the result you have just found. For example: “expand, and hence prove” means use your expansion in the proof.
assume
treat as true to see what follows (not allowed for the thing you are proving). For example: assume n is even, so n = 2k for some integer k.

Euler noticed that n² + n + 41 seems to give a prime every time. Test it, one value at a time.

n = 20
461n² + n + 41
primeverdict
21primes in a row

So far, so convincing.

What just happened

Forty correct cases proved nothing. At n = 40 the formula gives 40² + 40 + 41 = 1681, which is 41 × 41. You can see it without any arithmetic once it is pointed out: n² + n = n(n + 1), so at n = 40 the formula is 40 × 41 + 41 = 41 × 41.

Checking cases can never prove a general claim, because there are infinitely many cases and you will always have tested finitely many.

But one counterexample disproves one, completely and for ever. The two are not symmetric, and that asymmetry is the whole reason proof exists.

Laying out a proof

The examined format is left-hand side to right-hand side. Start with one side, transform it, arrive at the other. Never work on both sides at once, and never start by assuming what you are proving.

prove (x + 3)² − (x − 3)² = 12x LHS= (x² + 6x + 9) − (x² − 6x + 9) = x² + 6x + 9 − x² + 6x − 9 = 12x = RHS  ■

The commonest way to lose every mark is to begin by writing the thing you are proving and then rearranging it to 0 = 0. That assumes the result. Start from one side only.

A numerical proof

prove 14 + 112 = 13 LHS= 312 + 112 = 412 = 13 = RHS  ■

A claim about every integer

Many proofs are about all integers of a kind: every odd number, every three in a row. Turn the words into algebra first, then the layout is the same.

prove the sum of any two odd numbers is even let the odd numbers be 2m + 1 and 2n + 1, for integers m and n sum= 2m + 2n + 2 = 2(m + n + 1), which is 2 × an integer, so it is even  ■

Use two different letters. Writing both odd numbers as 2n + 1 proves the claim only when the two numbers are the same, such as 7 + 7. And say why the last line is even: 2 times an integer, not just “it has a 2 in it”.

The symbol ≡ means “is identically equal to”: true for every value of the letter, not just for some. (x + 3)² − (x − 3)² ≡ 12x is an identity; x² = 4 is an equation, true only for x = 2 and x = −2.

A second example, finished by you

The same left-hand-side-to-right-hand-side layout on a new identity, this time in the exam form where part of the right-hand side is for you to find. Three steps are written out with the reason for each; the last is yours.

Show that (2x + 1)² − (x + 2)² can be written in the form k(x² − 1), where k is an integer to be found.

  1. LHS = (2x + 1)² − (x + 2)²Start from the left-hand side only and do not touch the right-hand side until you arrive at it.
  2. = (4x² + 4x + 1) − (x² + 4x + 4)Expand each square separately. The middle term is doubled: 2 × 2x × 1 and 2 × x × 2.
  3. = 4x² + 4x + 1 − x² − 4x − 4The minus sign in front of the second bracket changes the sign of every term inside it.
  4. Collect like terms, take out the common factor, and compare with k(x² − 1). Then write the closing line that says the two sides are equal.Your step. Write it out in full before you type the answer below.

Your answer. Type the value of k.

Check before you go on

One question on the main idea. Each wrong option is a different slip, so the reply tells you which one you made.

You are asked to prove that (n + 1)² − n² = 2n + 1 for every integer n. Which opening line is a valid start?

You are asked to prove that (n + 1)² − n² = 2n + 1 for every integer n. Which opening line is a valid start?

Where a proof decides something

A tiler lays an n by n square of square tiles and wants to know how many extra tiles make it one row and one column bigger, an (n + 1) by (n + 1) square. Testing a few sizes suggests the answer is always 2n + 1, and the identity you can now prove, (n + 1)² − n² = 2n + 1, says it is true for every size. The tiler has a 50 by 50 square.

How many extra tiles are needed to make it a 51 by 51 square?

Your turn

1. The claim also fails at n = 41. Evaluate n² + n + 41 at n = 41.

2. How many counterexamples are needed to disprove “n² + n + 41 is always prime”?

3. A student proves an identity by writing it down and rearranging until both sides read 0 = 0. This:

Where the marks go

Starting from one side and never touching the other until you arrive at it.

Every line following from the one above by a stated step, not a leap.

Ending with a clear statement that the two sides are equal. A proof that trails off has not finished.

Something to think about

The sum of any three consecutive integers is always a multiple of 3. Can you prove it? Then ask the same question about four consecutive integers and a multiple of 4. Is it ever true? If not, can you say exactly why?

One way to think about it

Call the first integer n and write the next ones as n + 1, n + 2 and so on. Add them and collect terms, then try to factor out the 3 (or 4). Look at what is left over in the four-integer case and whether it can ever disappear.

Climb to an exam question

Four steps, each a little harder than the last, building the pieces of a proof about the difference of two squares. Every step is part of the exam question at the end. The exam is a non-calculator paper, so keep everything in algebra.

Step 1 of 4: expand and simplify. Expand and simplify (n + 3)² − (n − 3)². Your answer has the form kn. Type k.

Step 2 of 4: close the proof. You have shown that (n + 3)² − (n − 3)² = 12n, where n is any integer. Which sentence finishes a proof that the difference is a multiple of 12?

You have shown that (n + 3)² − (n − 3)² = 12n, where n is any integer. Which sentence finishes a proof that the difference is a multiple of 12?

Step 3 of 4: a type of number as algebra. Let n be an odd integer, so n = 2k + 1 for an integer k. Type the remainder when 12n is divided by 24.

Step 4 of 4: a counterexample. Sam claims that n² + n + 1 is prime for every positive integer n. Find the smallest positive integer n that is a counterexample.

The exam question

Written for this site in the style of the real papers. Do it on paper first, as you would in the exam, and show your working: most of the marks are for method. There is no calculator on this paper, so give exact answers (fractions, surds, multiples of π) unless the question says otherwise. Then check each part below.

Paper 1 style · no calculator · 11 marks · about 12 minutes

Let n be an integer.

(a) Show that (n + 2)² − (n − 2)² = 8n. [3]

(b) Hence find the value of 1002² − 998². [2]

(c) Hence show that the difference between the squares of two odd integers that differ by 4 is not divisible by 16. [3]

(d) Ama says that part (c) shows that the difference between the squares of any two odd integers is never divisible by 16. Consider consecutive odd integers m and m + 2, where m is a positive integer. Find the smallest value of m that gives a counterexample to Ama's statement. [3]

Check your working for (a)

Start from the left-hand side only. Expand each bracket, keeping all three terms, then subtract, changing the sign of every term of the second bracket, and collect like terms until the right-hand side appears.

Check (b). Type the value of 1002² − 998².

Check your working for (c)

Say what n must be when n − 2 and n + 2 are both odd, write it algebraically with a letter for a whole number, substitute into 8n, and state the remainder on division by 16 in a sentence.

Check (d). Type the smallest value of m.

Want the rest of this topic?

This is a free sample lesson. The IB Diploma plan opens every other Diploma lesson, AA and AI, SL and HL, and every lesson from Year 7 for the refreshers. It covers every child in the family and includes all seven revision packs.

$99 for 12 months, or $149 for 2 years

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

That is $8.25 a month for the whole family.

Student without a card? in one tap.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Already paid? Type the email you paid with in the sign-in box, then click the link we send. See every price, including $19 revision packs.

Teaching this lesson?

Every lesson here has a teacher page beside it: worked answers, what each common wrong answer tells you about a student's thinking, and questions at three levels for the board. Every unit has a free sample lesson for students, and a plan opens every other lesson.

See the teacher pages