Proof by Mathematical Induction

From testwiki
Jump to navigation Jump to search

Proof by mathematical induction[1]

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 44
2 44 411
3 152 438
4 660 4165
5 3168 4792

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

(Empty)

Example of a proof by divisibility

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)+3f(1)=164|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+1f(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)+8f(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

(Empty)

Example of a proof by matrices

(Empty)

References

Template:Reflist

Template:BookletTemplate:Shelves