Professional Documents
Culture Documents
Mathematical Induction
Andrs Sicard-Ramrez
EAFIT University
Semester 2014-2
Motivation
Example
Conjecture a formula for the sum of the first positive odd integers.
Example
Conjecture a formula for the sum of the first positive odd integers.
Problem
Let () be a propositional function. How can we proof that () is true
for all + ?
(1) ( () ( + 1))
(PMI)
()
or equivalently
Example
Prove that the sum of the first odd positive integers is 2 .*
Whiteboard.
*
Historical remark. From 1575, it could be the first property proved using the PMI
(see Gunderson, David S. (2011). Handbook of Mathematical Induction, 1.8).
Discrete Structures - CB0246. Mathematical Induction 13/39
Principle of Mathematical Induction
Exercise
Prove that if + , then
1 + 2 + 3 + + = ( + 1)/2.
Exercise (cont.)
Proof.
1. (): 1 + 2 + 3 + + = ( + 1)/2.
Exercise (cont.)
Proof.
1. (): 1 + 2 + 3 + + = ( + 1)/2.
2. Basis step (1): 1 = 1(1 + 1)/2.
Exercise (cont.)
Proof.
1. (): 1 + 2 + 3 + + = ( + 1)/2.
2. Basis step (1): 1 = 1(1 + 1)/2.
3. Inductive step:
Inductive hypothesis (): 1 + 2 + 3 + + = ( + 1)/2.
Lets prove ( + 1):
Exercise (cont.)
Proof.
1. (): 1 + 2 + 3 + + = ( + 1)/2.
2. Basis step (1): 1 = 1(1 + 1)/2.
3. Inductive step:
Inductive hypothesis (): 1 + 2 + 3 + + = ( + 1)/2.
Lets prove ( + 1):
Exercise
Prove that if , then
20 + 21 + 22 + + 2 = 2+1 1
Exercise (cont.)
Proof.
1. (): 20 + 21 + 22 + + 2 = 2+1 1
Exercise (cont.)
Proof.
1. (): 20 + 21 + 22 + + 2 = 2+1 1
2. Basis step (0): 20 = 1 = 20+1 1.
Exercise (cont.)
Proof.
1. (): 20 + 21 + 22 + + 2 = 2+1 1
2. Basis step (0): 20 = 1 = 20+1 1.
3. Inductive step:
Inductive hypothesis (): 20 + 21 + 22 + + 2 = 2+1 1
Lets prove ( + 1):
Exercise (cont.)
Proof.
1. (): 20 + 21 + 22 + + 2 = 2+1 1
2. Basis step (0): 20 = 1 = 20+1 1.
3. Inductive step:
Inductive hypothesis (): 20 + 21 + 22 + + 2 = 2+1 1
Lets prove ( + 1):
() is true for = 1, 2, , .
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
2. Basis step (2): 2 is a prime number.
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
2. Basis step (2): 2 is a prime number.
3. Inductive step:
Inductive hypothesis: () is true for = 1, 2, , .
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
2. Basis step (2): 2 is a prime number.
3. Inductive step:
Inductive hypothesis: () is true for = 1, 2, , .
Lets prove that + 1 satisfies the property:
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
2. Basis step (2): 2 is a prime number.
3. Inductive step:
Inductive hypothesis: () is true for = 1, 2, , .
Lets prove that + 1 satisfies the property:
3.1 If + 1 is a prime number then it satisfies the property.
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
2. Basis step (2): 2 is a prime number.
3. Inductive step:
Inductive hypothesis: () is true for = 1, 2, , .
Lets prove that + 1 satisfies the property:
3.1 If + 1 is a prime number then it satisfies the property.
3.2 If + 1 is a composite number:
+ 1 = where 2 < + 1. Since () and () by
the inductive hypothesis, then ( + 1).
Example (cont.)
Proof.
1. (): is prime itself or it is the product of prime numbers.
2. Basis step (2): 2 is a prime number.
3. Inductive step:
Inductive hypothesis: () is true for = 1, 2, , .
Lets prove that + 1 satisfies the property:
3.1 If + 1 is a prime number then it satisfies the property.
3.2 If + 1 is a composite number:
+ 1 = where 2 < + 1. Since () and () by
the inductive hypothesis, then ( + 1).
4. () is true for all integer greater than 1 by strong induction.
Giuseppe Peano
(1858 1932)
*
See, for example, Hjek, Petr and Pudlk, Pavel (1998). Metamathematics of
First-Order Arithmetic.
Discrete Structures - CB0246. Mathematical Induction 36/39
First-Order Peano Arithmetic
*
See, for example, Hjek, Petr and Pudlk, Pavel (1998). Metamathematics of
First-Order Arithmetic.
Discrete Structures - CB0246. Mathematical Induction 37/39
First-Order Peano Arithmetic
Theorem
The principle of mathematical induction and strong induction are equival-
ent.*
*
See, for example, Gunderson, David S. (2011). Handbook of Mathematical
Induction.
Discrete Structures - CB0246. Mathematical Induction 38/39
References