The Well-Ordering Property asserts that every nonempty set of positive integers has a least element. This is obvious, but still has high util in proving theorems.
Mathematical induction
We can prove the principle of mathematical induction, that a set of positive integers containing the number 1 and the number whenever it contains must be the set of all positive integers, using the well-ordering property.
Proof: Let be a set of positive integers containing the number and the number whenever it contains . First, assume that is not the set of all positive integers; ). By the well-ordering property there is a least positive integer which is not in . Since , the integer is a positive integer smaller than , and hence must be in . But since contains , it must also contain , which is a contradiction.
To prove theorems using induction, we must show that:
- the statement we are trying to prove is true for the smallest positive integer (1)
- the statement is true for the integer if it is positive for the integer
Let’s use this strat to establish a formula for the sum of the terms of a geometric progression.
Def: Given real numbers , the real numbers are said to form a geometric progression. is the initial term, is the common ratio.
Ex: The numbers form a geometric progression with .
Summation notation
Summation notation is a common way to denote sums. The following notation represents the sum of the real numbers :
You can use the same notation to express geometric progressions:
Notable theorem: If are real numbers, then the sum of the terms of a geometric progression is given by:
Proof: To prove this formula valid, we’ll first show that it holds for . Then, we’ll prove that if the formula is valid for a pos int , it’s valid for .
Let . The left side of is , and the right side is:
Our formula is valid for , now we assume it’s valid for a pos int :
We must show that it holds for , that:
To show that (6) is valid, we add to both sides of (5), obtaining:
The left side of (7) is equivalent to the left side of (6). To show the right sides are equal:
Since we’ve shown that (5) implies (6), we can conclude that (4) holds for all positive integers .
A common computer science example of this is that the sum of consecutive nonnegative powers of two is one less than the next power of two; that .