Jump to content

Proof by Mathematical Induction

From Wikibooks, open books for an open world

Proof by mathematical induction[1]

[edit | edit source]

Mathematical induction is the process of verifying or proving a mathematical statement is true for all values of n within given parameters. For example:

Prove that f(n)=5n+8n+3 is divisible by 4, for n∈ℤ+

We are asked to prove that f(n) is divisible by 4. We can test if it's true by giving n values.

n f(n) Divisible by 4
1 16 4⋅4
2 44 4⋅11
3 152 4⋅38
4 660 4⋅165
5 3168 4⋅792

So, the first 5 values of n are divisible by 4, but what about all cases? That's where mathematical induction comes in.

Mathematical induction is a rigorous process, as such all proofs must have the same general format:

  1. Proposition – What are you trying to prove?
  2. Base case – Is it true for the first case? This means is it true for the first possible value of n.
  3. Assumption – We assume what we are trying to prove is true for a general number. such as k, also known as the induction hypothesis.
  4. Induction – Show that if our assumption is true for the (kth) term, then it must also be true for the (k+1th) term.
  5. Conclusion – Formalise your proof.

There will be four types of mathematical induction that you will come across in FP1:

  1. Summation of series;
  2. Divisibility;
  3. Recurrence relations;
  4. Matrices.

Example of a proof by summation of series

[edit | edit source]

(Empty)

Example of a proof by divisibility

[edit | edit source]

Proposition: Prove that 4|f(n)=5n+8n+3, for n∈ℕ+

Notice our parameter, for n∈ℕ+ . This means that what we want to prove must be true for all values of n which belong to the set (denoted by ∈) of positive integers (ℕ+).

Base case:

Let n=1f(1)=51+8(1)+3⟹f(1)=16∴4|f(1)

Assumption (Induction Hypothesis): Now we let n=k where k is a general positive integer, and we assume that 4 | f(k).

Remember that f(k)=5k+8k+3.

Induction: Now we want to prove that the k+1th term is also divisible by 4

Hence:let n=k+1⟹f(k+1)=5k+1+8(k+1)+3

This is where our assumption comes in, if 4|f(k) then 4 must also divide f(k+1)−f(k).

So: f(k+1)−f(k)=5k+1+8(k+1)+3−(5k+8k+3)

f(k+1)−f(k)=5(5k)−5k+8f(k+1)−f(k)=4(5k)+8∴f(k+1)−f(k)=4(5k+2)

Now we've shown 4|(f(k+1)−f(k)) and thus 4|f(k+1). This implies that 4|f(n) because you have successfully shown that 4 divides f(n), where n is a general, positive integer (k) and also the consecutive term after the general term (k+1)

Conclusion:

4|f(k)⟹4|f(k+1)∴4|f(n),∀n∈ℤ+

If 4 divides f(k) (as we assumed) then it implies that 4 also divides f(k+1)therefore 4 divides f(n), for all values of n that belong to the set of positive integers.

Example of a proof by recurrence relations

[edit | edit source]

(Empty)

Example of a proof by matrices

[edit | edit source]

(Empty)

References

[edit | edit source]