Escolar Documentos
Profissional Documentos
Cultura Documentos
Natural Numbers.
When we count objects we assign them the numbers 1, 2, 3, ... We denote
N = {0, 1, 2, . . .}. We fix 0 as the first natural number.
One of the most important properties of the natural numbers is that every
element of N can be obtained by applying the successor function s (s(n) =
n + 1) repeatedly to 0.
0
1 = s(0)
2 = s(s(0))
3 = s(s(s(0))) . . .
We shall be using this fact to prove many properties of the natural numbers.
The natural numbers N is an ordered set:
m n m = n or
n may be obtained applying several times the successor function to m
m = n or n = s(...(s(m))...)
Integer Numbers
To solve the equation m n = x when m < n(i.e. m n and m 6= n) we must
consider negative numbers.
Z = N {1, 2, 3, . . .}
Now, we are not able to obtain every integer by applying repeatedly the succes-
sor function s to 0. We need another generating function which will give us all
the negative numbers. We shall denote it the predecessor function p(n) = n1.
0
1 = s(0) 1 = p(0)
2 = s(s(0)) 2 = p(p(0))
3 = s(s(s(0))) 3 = p(p(p(0)))
.
.
.
1
p(p(3)) = p(p(s(s(s(0))))) = p(s(s(0))) = s(0) = 1
| | | | | | | |
-3 -2 -1 0 1 2 3 4
The fact that there are gaps between the integers leads us to say that Z is
discrete. In analysis limiting processes are of fundamental importance and it
is essential to use continuous number systems.
2 = 1.4142135623730950488016887242097....
3, 5, . . .
Together with the rational numbers we get the real numbers.
2
= 3,1415... e = 2,71828... are not algebraic numbers, they are transcenden-
tal numbers.
1. P1 m, n N s(m) = s(n) = m = n
2. P2 n N s(n) 6= 0
3. P3 Principle of Induction
3
P3 Principle of Mathematical Induction.
Suppose that for each natural n we have a statement S(n) that is either true
or false. Suppose that
Basis Step: S(0) is true.
Inductive Step:
For all k N, if S(k) is true then S(k+1) is also true.
Then S(n) is true for every natural number n.
EXAMPLES
Ex.1
Let Sn denote the sum of the first n positive integers
Sn = 0 + 1 + 2 + 3 + . . . n
n(n + 1)
We claim () Sn = for n = 0, 1, . . .
2
A sequence of statements is really being made, namely
01
S0 = =0
2
12
S1 = =1
2
23
S2 = =3
2
.
.
Our proof using mathematical induction consists of two steps. First we must
prove the Basis step, that is, the statement corresponding to n = 0, S0 , is
true.
01
S(0) S0 = =0
2
S0 = 0
Second, we assume that the statement corresponding to n = k is true (Induc-
tive Hypothesis (IH)), and we must prove that the statement corresponding
to n = k + 1 is true: (S(k) = S(k + 1)) (Inductive Step)
k(k + 1)
S(k) Sk =
2
k(k + 1)
Sk = 0 + 1 + 2 + . . . + k =
2
(k + 1)(k + 2)
We must show that Sk+1 = is true.
2
According to the definition Sk+1 = 0 + 1 + 2 + . . . + k + (k + 1) = Sk + (k + 1)
k(k + 1)
Because of the Inductive Hypothesis we assume Sk = hence
2
4
k(k + 1) k(k + 1) 2(k + 1) k(k + 1) + 2(k + 1)
Sk+1 = Sk +(k+1) = +(k+1) = + = =
2 2 2 2
(k + 2)(k + 1) (k + 1)(k + 2)
=
2 2
as we wanted to prove.
Since the Basis Step and the Inductive Step have been verified, the Principle
of Induction tells us that () is true for all n N.
Ex.2
32n + 4n+1 is divisible by 5 for n = 0, 1, . . ..
Basis Step S(0) 30 + 41 = 5 = 5 1 = 5 t for t = 1
Inductive Step S(k) = S(k + 1)
(IH) S(k) 32k + 4k+1 = 5 t1 for some t1 N
S(k + 1) 32(k+1) + 4(k+1)+1 = 32k 32 + 4k+1 4 = 32k 9 + 4k+1 4 =
32k (5 + 4) + 4k+1 4 = 32k 5 + 4(32k + 4k+1) = 32k 5 + 4(5t1) = 5(32k + 4t1 ) = 5t2
(IH. S(k))
Ex.3
1 n n
1+ 1+ n = 0, 1, . . ..
3 3
1 0 0
Basis Step S(0) 1 + 1+ =1
3 3
1 0 0
1+ =1=1+
3 3
Inductive Step S(k) = S(k + 1)
We assume S(n) is true for n = k
1 k k
(IH) S(k) 1 + 1+
3 3
We must prove
1 k+1 k+1
S(k + 1) 1 + 1+
3 3
1 k+1 1 k 1 k 1 k
S(k + 1) 1 + = 1+ 1+ 1+ 1+ = 1+ +
3 3 3 3 3 3
(IH. S(k))
k 1 k 1 k k 1 k+1
1+ =1+ + + 1+ + =1+
3 3 3 3 9 3 3 3
k
0
9
5
the Principle of Complete Induction. (It is equivalent to the Principle of
Induction we have already studied.)
Sometimes S(0) may not be defined but we still want to prove the truth of
statements
it seems that if we change the Basis step to S(n0 ) is true, instead of, S(0)
is true, we will have a similar Principle of Induction. Indeed it is so and it
happens we may state a more general Principle of Induction. To do so we first
define Zm , a segment of Z.
Principle of Induction
Suppose that for each integer n we have a statement S(n) that is either true
or false. Suppose that
Basis Step: S(m) is true. m Z
Inductive Step:
For all k Zm , if S(k) is true then S(k+1) is also true.
Then S(n) is true for all n Zm .
Note: The key idea behind mathematical induction is the proof that the impli-
cation S(k) = S(k + 1) is true. You should think of this implication in fairly
generic terms: If S is true at some imteger, then it is also true at the next in-
teger. To complete the hypothesis of the theorem of mathematical induction,
we need a starting value, i0 for which S(i0 ) is true. Recall that the implication
S(k) = S(k + 1) may be true, but S(k) may be false. If we cannot find an
integer i0 for which S(i0 ) is true, then the conclusion that S(n) is true for all
n i0 would be false. Thus the base step is essential (even though it is often
trivial to verify).
6
Ex.
S(n) 2 + 2 2 + . . . 2 n = (n 1)(n + 2) n = 1, 2 . . ..
Inductive Step S(k) = S(k + 1)
(IH) S(k) 2 + 2 2 + . . . 2 k = (k 1)(k + 2)
S(k + 1) 2 + 2 2 + . . . 2 k + 2 (k + 1) = (k 1)(k + 2) + 2 (k + 1) =
k 2 k + 2k 2 + 2k + 2 = k(k + 3)
Therefore, if the claim properly calculates the sum of the first k even positive
integers, then it also properly calculates the sum of the first k + 1 positive even
integers.
Notice, however, that the claim is wrong for every positive integer:
n(n + 1)
2 + 2 2 + . . . 2 n = 2(1 + 2 + . . . n) = 2 = n(n + 1) and
2
(n 1)(n + 2) = n(n + 1) implies 2 = 0
Ex.
n! 2n1 n = 1, 2, . . .
Basis Step S(1) 1! = 1 = 211 = 20 = 1
Inductive Step k Z1 S(k) = S(k + 1)
(IH) S(k) k! 2k1
We must prove
S(k + 1) (k + 1)! 2(k+1)1 = 2k
Ex.
n 4 2n < n!
Basis Step S(4) 24 < 4! 16 < 24 = 4!
Inductive Step k Z4 S(k) = S(k + 1)
k
(IH) S(k) 2 < k!
7
We must prove
S(k + 1) 2k+1 < (k + 1)!
There is one subtle point, we are only considering postage of 4 cents or more,
thus when n = 5, n 2 = 3 is not a valid value and we cannot assume S(3)
true. This is only the case for n = 5, hence if we explicitly verify S(4) and S(5)
(i.e. taking them as basis steps) we are done. We have already proved S(4).
S(5) 5 = 1 5 We may use only one 5-cent stamp.
8
Then we may conclude that S(n) is true for all n Zm .
Although so far, this is the most general induction principle we have considered
it cannot still be applied to the whole of Z. We need what it is known as
Structural Induction.
Let S be a statement defined for integer numbers.
1. P1 S(0) is true.
2. P2 k N if S(k) is true = S(s(k)) = S(k + 1) is true, where s is
the successor function.
3. P3 k N if S(k) is true = S(p(k)) = S(k 1) is true, where p is
the predecessor function.
Ex.
Let a, m Z a 6= 0
n Z am+n = am an
1. P1 S(0) am+0 = am = am 1 = am a0
2. P2 (IH) S(k) am+k = am ak
S(s(k)) = S(k + 1) = am+(k+1) = a(m+k)+1 = am+k a = am ak a =
(IH. S(k))
= am (ak a) = am ak+1
3. P3 (IH) S(k) am+k = am ak
am+k am ak ak
S(p(k)) = S(k 1) = am+(k1) = a(m+k)1 = = = am =
a a a
(IH. S(k))
= am ak1