Induction
Induction is a reasoning method to demonstrate true properties for the natural numbers:
In Computer Science, this is widely used since a lot of entities can be mapped to them.
To illustrate the process through an example, say we are given the following proposition -something that is either true or false:
Proposition.
That is our proposition
If we continue to calculate the values for
holds true because verifying an assertion for a finite set of values doesn’t prove anything for the whole infinite set of , no matter the amount of values checked. As a point in case:
which is clearly not prime.
Example: A true proposition
We have to demonstrate by induction that:
First, let’s remove the ellipses and use a summation to represent the formulation:
- Induction hypothesis: P(n)
- Basis step:
- Inductive step:
We just used a basic inference rule named modus ponens: if is true and
is true, then
is true, also written:
Therefore, the Induction Axiom can be expressed as:
Demonstrating the Induction Axiom
But, how can we demonstrate the Induction Axiom itself? To that end, we can use reduction to the absurd:
- Hypothesis:
is not true for every
, i.e. there are natural numbers for which the proposition is false.
- Using the Well-Ordering Principle of the natural numbers, we can state:
is true by induction
is true.
(Ifis not 1, then
must be true because
is the smallest of all the natural numbers for which the proposition is false.)
is true
is true by induction.
is true by induction, but at the same time
is false by 2. Hence, the initial hypothesis must be false.
References
Mathematics for Computer Science at MIT OpenCourseWare

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution 2.0 UK: England & Wales License.
Tags: maths
September 19th, 2010 at 5:27 AM
Really like this post, thanks for writing.