Skip to content

Proof by deduction and exhaustion

A mathematical proof shows that a claim must be true in every case it covers. Two important A-level methods are:

  • deduction, where established facts and definitions are linked in a logically valid chain;
  • exhaustion, where every possible case in a finite set is checked.

The hard part is usually not the algebra. It is representing the claim generally enough, justifying each implication, and knowing when all cases have genuinely been covered.

You should be able to:

  • expand, factorise and rearrange algebraic expressions;
  • use integer notation such as nZn\in\mathbb Z;
  • recognise factors, multiples, odd numbers and even numbers;
  • distinguish a universal claim, such as “for every integer”, from a claim about one example.

Review algebraic proof and mathematical reasoning or algebraic fluency if these ideas are uncertain.

A deductive proof starts from the hypothesis and moves through statements that follow necessarily from what is already known. Its basic shape is

P    P1    P2        Q.P\implies P_1\implies P_2\implies\cdots\implies Q.

If PP is the given information and QQ is the required conclusion, the chain proves P    QP\implies Q.

For example, if nn is even, then n=2kn=2k for some kZk\in\mathbb Z. Therefore

n2=(2k)2=4k2=2(2k2).n^2=(2k)^2=4k^2=2(2k^2).

Since 2k2Z2k^2\in\mathbb Z, n2n^2 has the form 2m2m for an integer mm. Hence n2n^2 is even.

The last sentence matters. The algebra produces a form; the definition turns that form into the conclusion.

Direct proofs become manageable when verbal properties are written in a usable form.

PropertyAlgebraic form
nn is evenn=2kn=2k, kZk\in\mathbb Z
nn is oddn=2k+1n=2k+1, kZk\in\mathbb Z
nn is a multiple of ddn=dkn=dk, kZk\in\mathbb Z
aa divides bbb=akb=ak, kZk\in\mathbb Z
xx is rationalx=pqx=\frac pq, p,qZp,q\in\mathbb Z, q0q\ne0
xx is positivex>0x>0

Use different integer parameters for quantities that may differ. Two arbitrary odd integers should normally be written 2a+12a+1 and 2b+12b+1, not both as 2k+12k+1.

Prove that the sum of any two odd integers is even.

Let the odd integers be 2a+12a+1 and 2b+12b+1, where a,bZa,b\in\mathbb Z. Their sum is

(2a+1)+(2b+1)=2a+2b+2=2(a+b+1).\begin{aligned} (2a+1)+(2b+1) &=2a+2b+2\\ &=2(a+b+1). \end{aligned}

Since a+b+1Za+b+1\in\mathbb Z, the sum is twice an integer. Therefore it is even.

This proof covers negative odd integers too. No positivity was assumed.

Prove that the square of an odd integer is odd.

Let n=2k+1n=2k+1, where kZk\in\mathbb Z. Then

n2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1.\begin{aligned} n^2&=(2k+1)^2\\ &=4k^2+4k+1\\ &=2(2k^2+2k)+1. \end{aligned}

The number 2k2+2k2k^2+2k is an integer, so n2n^2 has the form 2m+12m+1. Hence n2n^2 is odd.

Prove that the product of an even integer and any integer is even.

Answer

Let the even integer be 2k2k and let the other integer be mm, where k,mZk,m\in\mathbb Z. Then

(2k)m=2(km).(2k)m=2(km).

Since kmZkm\in\mathbb Z, the product is twice an integer and is therefore even.

To prove that an expression is divisible by dd, rewrite it as dd multiplied by an integer. Merely obtaining a decimal or checking several substitutions is not enough.

Prove that the product of three consecutive integers is divisible by 66.

Let the integers be nn, n+1n+1 and n+2n+2, where nZn\in\mathbb Z.

Among any two consecutive integers, one is even. Therefore the product n(n+1)(n+2)n(n+1)(n+2) has a factor of 22.

Every integer has one of the forms

3q,3q+1,3q+2.3q,\qquad 3q+1,\qquad 3q+2.

If n=3qn=3q, then nn is divisible by 33. If n=3q+1n=3q+1, then n+2=3(q+1)n+2=3(q+1) is divisible by 33. If n=3q+2n=3q+2, then n+1=3(q+1)n+1=3(q+1) is divisible by 33.

Thus the product has a factor of 22 and a factor of 33. Since 22 and 33 are coprime, it is divisible by 66.

This is deduction containing a small exhaustive case split. Methods can work together.

Worked example 4: a factorisation that exposes divisibility

Section titled “Worked example 4: a factorisation that exposes divisibility”

Prove that n3nn^3-n is divisible by 66 for every integer nn.

Factorise:

n3n=n(n21)=n(n1)(n+1).n^3-n=n(n^2-1)=n(n-1)(n+1).

These are three consecutive integers. By the previous result, their product is divisible by 66. Hence n3nn^3-n is divisible by 66.

Notice the efficient structure: an established result may be used once its conditions are matched exactly.

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

Answer

Let the consecutive integers be nn and n+1n+1, where nZn\in\mathbb Z. Then

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

Since nZn\in\mathbb Z, this has the form 2k+12k+1 for an integer kk. Therefore the difference is odd.

An inequality proof must preserve direction correctly. You may:

  • add or subtract the same expression on both sides;
  • multiply by a known positive quantity without reversing the sign;
  • multiply by a known negative quantity only if the sign is reversed;
  • use a square such as (xa)20(x-a)^2\geq0 for real xx.

Worked example 5: starting from a non-negative square

Section titled “Worked example 5: starting from a non-negative square”

Prove that

x+1x2x+\frac1x\geq2

for every x>0x>0.

For real xx,

(x1)20.(x-1)^2\geq0.

Expanding gives

x22x+10,x^2-2x+1\geq0,

so

x2+12x.x^2+1\geq2x.

Because x>0x>0, division by xx preserves the inequality:

x+1x2.x+\frac1x\geq2.

Equality occurs when (x1)2=0(x-1)^2=0, so equality holds precisely at x=1x=1.

Worked example 6: proving one expression is larger

Section titled “Worked example 6: proving one expression is larger”

Prove that x2+4>4x1x^2+4>4x-1 for every real xx.

Consider the difference:

(x2+4)(4x1)=x24x+5=(x2)2+1.\begin{aligned} (x^2+4)-(4x-1) &=x^2-4x+5\\ &=(x-2)^2+1. \end{aligned}

For every real xx, (x2)20(x-2)^2\geq0, so (x2)2+1>0(x-2)^2+1>0. Therefore

x2+4>4x1x^2+4>4x-1

for every real xx.

Prove that a2+b22aba^2+b^2\geq2ab for all real aa and bb. When does equality hold?

Answer

Since every real square is non-negative,

(ab)20.(a-b)^2\geq0.

Therefore

a22ab+b20,a^2-2ab+b^2\geq0,

which rearranges to

a2+b22ab.a^2+b^2\geq2ab.

Equality holds precisely when (ab)2=0(a-b)^2=0, which means a=ba=b.

An identity is true for every value in its stated domain. An equation may be true only for particular values.

To prove an identity, start from one side and use valid algebra to reach the other, or show that both sides equal the same expression. Do not begin by writing the target equality and then manipulate it as though it were already known.

Prove that, for x2,2x\ne2,-2,

1x21x+2=4x24.\frac1{x-2}-\frac1{x+2}=\frac4{x^2-4}.

Starting from the left-hand side,

1x21x+2=x+2(x2)(x2)(x+2)=4x24,\begin{aligned} \frac1{x-2}-\frac1{x+2} &=\frac{x+2-(x-2)}{(x-2)(x+2)}\\ &=\frac4{x^2-4}, \end{aligned}

which is the right-hand side. The restrictions ensure that no denominator is zero.

Checking x=3x=3 would confirm only one value. It would not prove the identity.

Proof by exhaustion divides the claim into a finite list of possible cases and proves each one. It is valid only when:

  1. the cases cover every possibility;
  2. no case is left as “similar” without adequate justification;
  3. the conclusion is verified in each case.

The list may be written explicitly, or generated systematically using parity, remainders, signs or a finite range.

Worked example 8: explicit finite checking

Section titled “Worked example 8: explicit finite checking”

Prove that n2+n+41n^2+n+41 is prime for every integer nn satisfying 0n50\leq n\leq5.

There are exactly six possible integers:

n012345n2+n+41414347536171\begin{array}{c|cccccc} n&0&1&2&3&4&5\\ \hline n^2+n+41&41&43&47&53&61&71 \end{array}

Each output is prime. Since the table covers every integer in the stated range, the claim is proved.

This does not prove the expression prime for all non-negative integers. Indeed, at n=40n=40,

402+40+41=412,40^2+40+41=41^2,

which is composite.

Worked example 9: exhaustion by remainders

Section titled “Worked example 9: exhaustion by remainders”

Prove that every integer square leaves remainder 00 or 11 when divided by 44.

Every integer has exactly one of the forms

4q,quad4q+1,quad4q+2,quad4q+3,4q,quad4q+1,quad4q+2,quad4q+3,

where qZq\in\mathbb Z. Squaring each form gives

(4q)2=4(4q2),(4q+1)2=4(4q2+2q)+1,(4q+2)2=4(4q2+4q+1),(4q+3)2=4(4q2+6q+2)+1.\begin{aligned} (4q)^2&=4(4q^2),\\ (4q+1)^2&=4(4q^2+2q)+1,\\ (4q+2)^2&=4(4q^2+4q+1),\\ (4q+3)^2&=4(4q^2+6q+2)+1. \end{aligned}

The first and third forms have remainder 00 on division by 44; the second and fourth have remainder 11. These four cases exhaust all integers, so the result follows.

A shorter parity split also works. If n=2kn=2k, then n2=4k2n^2=4k^2. If n=2k+1n=2k+1, then n2=4(k2+k)+1n^2=4(k^2+k)+1.

Worked example 10: choosing cases economically

Section titled “Worked example 10: choosing cases economically”

Prove that n(n+1)n(n+1) is even for every integer nn by exhaustion.

Every integer is either even or odd.

  • If n=2kn=2k, then n(n+1)=2k(2k+1)=2[k(2k+1)]n(n+1)=2k(2k+1)=2[k(2k+1)], so the product is even.
  • If n=2k+1n=2k+1, then n+1=2k+2=2(k+1)n+1=2k+2=2(k+1), so n(n+1)=2[(2k+1)(k+1)]n(n+1)=2[(2k+1)(k+1)], which is even.

The even and odd cases cover all integers. Therefore n(n+1)n(n+1) is always even.

Prove that n2+n+1n^2+n+1 is odd when nn is even and odd when nn is odd. Hence prove it is odd for every integer nn.

Answer

If n=2kn=2k, then

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

which is odd.

If n=2k+1n=2k+1, then

n2+n+1=(2k+1)2+(2k+1)+1=4k2+6k+3=2(2k2+3k+1)+1,\begin{aligned} n^2+n+1 &=(2k+1)^2+(2k+1)+1\\ &=4k^2+6k+3\\ &=2(2k^2+3k+1)+1, \end{aligned}

which is odd. Every integer is either even or odd, so the two cases exhaust all possibilities.

Choose the method that makes completeness easiest to see.

Feature of the problemNatural approach
A general algebraic implicationDeduction from definitions
A finite stated list or bounded integer rangeExhaustion
Behaviour depends on odd or even inputExhaustion into two parity cases
Behaviour depends on remainder after division by ddExhaustion into dd residue cases
A useful factorisation or non-negative square is visibleDeduction

Exhaustion is not less rigorous than symbolic deduction. It becomes weak only when the list is incomplete or when a large sample is mistaken for every case.

Examples provide evidence and may reveal a pattern. A universal statement has infinitely many possible inputs, so no finite sample proves it. Use an arbitrary input or a genuinely exhaustive classification.

”The final algebraic line speaks for itself”

Section titled “”The final algebraic line speaks for itself””

If you obtain 2(k2+k)2(k^2+k), say that k2+kk^2+k is an integer and therefore the expression is even. Connect the algebra to the required definition.

”Cases chosen at random are exhaustive”

Section titled “”Cases chosen at random are exhaustive””

The cases n=1,2,3n=1,2,3 are exhaustive only if the domain is exactly {1,2,3}\{1,2,3\}. By contrast, “even or odd” is exhaustive for integers because every integer has exactly one of those properties.

”Reversible algebra automatically gives a forward proof”

Section titled “”Reversible algebra automatically gives a forward proof””

Working backwards can help discover a proof, but the presented argument must show that the hypothesis implies the conclusion. This is especially important if a step such as squaring could introduce extra possibilities.

A diagram can suggest a construction, but it may not be drawn accurately or represent every configuration. A geometric proof must cite established facts such as equal radii, parallel-line angle rules or congruence conditions.

  1. Prove that the sum of three consecutive integers is divisible by 33.
  2. Prove that (x+1)24x(x+1)^2\geq4x for all real xx.
  3. An integer nn satisfies 1n41\leq n\leq4. Prove by exhaustion that n2+nn^2+n is even.
  4. Explain why checking the first 10001000 positive integers cannot prove that n2+n+41n^2+n+41 is always prime.
Answers
  1. Write the integers as n1,n,n+1n-1,n,n+1. Their sum is 3n3n, which is divisible by 33 because nZn\in\mathbb Z.

  2. The difference between the two sides is

    (x+1)24x=x22x+1=(x1)20.(x+1)^2-4x=x^2-2x+1=(x-1)^2\geq0.

    Therefore (x+1)24x(x+1)^2\geq4x. Equality holds at x=1x=1.

  3. The four values of n2+nn^2+n are

    2,6,12,20.2,\quad6,\quad12,\quad20.

    Each is even, and 1,2,3,41,2,3,4 are all possible integer values in the stated range.

  4. The claim concerns infinitely many positive integers. Checking 10001000 of them leaves infinitely many unchecked. In fact n=40n=40 gives 41241^2, so the claim is false even within that sample.

Before finishing a proof, ask:

  1. Have I stated the domain of each new variable?
  2. Have I represented the hypothesis, rather than assumed the conclusion?
  3. Does every line follow from the previous information?
  4. If I split into cases, have I explained why they are exhaustive?
  5. Have I connected the final algebraic form to the required conclusion?
  6. Have I respected restrictions such as non-zero denominators and positive divisors?

Direct deduction proves a claim by moving forward from its hypothesis. When assuming the opposite exposes an impossibility more naturally, use proof by contradiction. When a universal statement is false, a single valid example can disprove it, as explained in disproof by counterexample.

For clearer exam presentation, continue to communicating mathematical reasoning. Deductive arguments also recur in trigonometric proof and modelling and throughout algebra and calculus.