Download Discrete Structures - CB0246 Mathematical Induction

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Discrete Structures - CB0246
Mathematical Induction
Andrés Sicard-Ramírez
EAFIT University
Semester 2014-2
Motivation
Example
Conjecture a formula for the sum of the first 𝑛 positive odd integers.
Discrete Structures - CB0246. Mathematical Induction
2/39
Motivation
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 𝑛 ∈ β„€+ ?
Discrete Structures - CB0246. Mathematical Induction
3/39
Principle of Mathematical Induction
Definition (Principle of mathematical induction)
Let 𝑃 (𝑛) be a propositional function.
To prove that 𝑃 (𝑛) is true for all 𝑛 ∈ β„€+ , we must make two proofs:
Basis step: Prove 𝑃 (1)
Discrete Structures - CB0246. Mathematical Induction
4/39
Principle of Mathematical Induction
Definition (Principle of mathematical induction)
Let 𝑃 (𝑛) be a propositional function.
To prove that 𝑃 (𝑛) is true for all 𝑛 ∈ β„€+ , we must make two proofs:
Basis step: Prove 𝑃 (1)
Inductive step: Prove 𝑃 (π‘˜) β†’ 𝑃 (π‘˜ + 1) for all π‘˜ ∈ β„€+
𝑃 (π‘˜) is called the inductive hypothesis.
Discrete Structures - CB0246. Mathematical Induction
5/39
Principle of Mathematical Induction
314 5 / Induction induction
and Recursion works*
How mathematical
FIGURE 2
*
Illustrating How Mathematical Induction Works Using Dom
WAYS TO REMEMBER HOW MATHEMATICAL INDUCTION WORK
Fig. 2 of [Rosen 2012, §the5.1].
infinite ladder and the rules for reaching steps can help you remember ho
Discrete Structures - CB0246. Mathematical
Induction works.
induction
Note that statements (1) and (2) for the infinite ladder 6/39
are e
Principle of Mathematical Induction
Definition (Principle of mathematical induction)
Inference rule version:
𝑃 (1)
βˆ€π‘˜(𝑃 (π‘˜) β†’ 𝑃 (π‘˜ + 1))
(PMI)
βˆ€π‘›π‘ƒ (𝑛)
or equivalently
[𝑃 (1) ∧ βˆ€π‘˜(𝑃 (π‘˜) β†’ 𝑃 (π‘˜ + 1)] β†’ βˆ€π‘›π‘ƒ (𝑛)
Discrete Structures - CB0246. Mathematical Induction
(PMI)
7/39
Principle of Mathematical Induction
Methodology for using the principle of mathematical induction
Discrete Structures - CB0246. Mathematical Induction
8/39
Principle of Mathematical Induction
Methodology for using the principle of mathematical induction
1. State the propositional function 𝑃 (𝑛).
Discrete Structures - CB0246. Mathematical Induction
9/39
Principle of Mathematical Induction
Methodology for using the principle of mathematical induction
1. State the propositional function 𝑃 (𝑛).
2. Prove the basis step, i.e. 𝑃 (1).
Discrete Structures - CB0246. Mathematical Induction
10/39
Principle of Mathematical Induction
Methodology for using the principle of mathematical induction
1. State the propositional function 𝑃 (𝑛).
2. Prove the basis step, i.e. 𝑃 (1).
3. Prove the induction step, i.e. βˆ€π‘˜(𝑃 (π‘˜) β†’ 𝑃 (π‘˜ + 1)).
Remark: In this proof you need to use the inductive hypothesis 𝑃 (𝑛).
Discrete Structures - CB0246. Mathematical Induction
11/39
Principle of Mathematical Induction
Methodology for using the principle of mathematical induction
1. State the propositional function 𝑃 (𝑛).
2. Prove the basis step, i.e. 𝑃 (1).
3. Prove the induction step, i.e. βˆ€π‘˜(𝑃 (π‘˜) β†’ 𝑃 (π‘˜ + 1)).
Remark: In this proof you need to use the inductive hypothesis 𝑃 (𝑛).
4. Conclude βˆ€π‘›π‘ƒ (𝑛) by the principle of mathematical induction.
Discrete Structures - CB0246. Mathematical Induction
12/39
Principle of Mathematical Induction
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.
Discrete Structures - CB0246. Mathematical Induction
14/39
Principle of Mathematical Induction
Exercise (cont.)
Proof.
1. 𝑃 (𝑛): 1 + 2 + 3 + β‹― + 𝑛 = 𝑛(𝑛 + 1)/2.
Discrete Structures - CB0246. Mathematical Induction
15/39
Principle of Mathematical Induction
Exercise (cont.)
Proof.
1. 𝑃 (𝑛): 1 + 2 + 3 + β‹― + 𝑛 = 𝑛(𝑛 + 1)/2.
2. Basis step 𝑃 (1): 1 = 1(1 + 1)/2.
Discrete Structures - CB0246. Mathematical Induction
16/39
Principle of Mathematical Induction
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.
Let’s prove 𝑃 (π‘˜ + 1):
1 + 2 + 3 + β‹― + π‘˜ + (π‘˜ + 1) = π‘˜(π‘˜ + 1)/2 + (π‘˜ + 1) (by IH)
Discrete Structures - CB0246. Mathematical Induction
= (π‘˜ + 1)(π‘˜/2 + 1)
(by arithmetic)
= (π‘˜ + 1)(π‘˜ + 2)/2
(by arithmetic)
17/39
Principle of Mathematical Induction
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.
Let’s prove 𝑃 (π‘˜ + 1):
1 + 2 + 3 + β‹― + π‘˜ + (π‘˜ + 1) = π‘˜(π‘˜ + 1)/2 + (π‘˜ + 1) (by IH)
= (π‘˜ + 1)(π‘˜/2 + 1)
(by arithmetic)
= (π‘˜ + 1)(π‘˜ + 2)/2
(by arithmetic)
4. βˆ€π‘›π‘ƒ (𝑛) by the principle of induction mathematical.
Discrete Structures - CB0246. Mathematical Induction
18/39
Principle of Mathematical Induction
Exercise
Prove that if 𝑛 ∈ β„•, then
20 + 21 + 22 + β‹― + 2𝑛 = 2𝑛+1 βˆ’ 1
Discrete Structures - CB0246. Mathematical Induction
19/39
Principle of Mathematical Induction
Exercise (cont.)
Proof.
1. 𝑃 (𝑛): 20 + 21 + 22 + β‹― + 2𝑛 = 2𝑛+1 βˆ’ 1
Discrete Structures - CB0246. Mathematical Induction
20/39
Principle of Mathematical Induction
Exercise (cont.)
Proof.
1. 𝑃 (𝑛): 20 + 21 + 22 + β‹― + 2𝑛 = 2𝑛+1 βˆ’ 1
2. Basis step 𝑃 (0): 20 = 1 = 20+1 βˆ’ 1.
Discrete Structures - CB0246. Mathematical Induction
21/39
Principle of Mathematical Induction
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
Let’s prove 𝑃 (π‘˜ + 1):
20 + 21 + 22 + β‹― + 2π‘˜ + 2π‘˜+1 = 2π‘˜+1 βˆ’ 1 + 2π‘˜+1 (by IH)
Discrete Structures - CB0246. Mathematical Induction
= 2(2π‘˜+1 ) βˆ’ 1
(by arithmetic)
= 2π‘˜+2 βˆ’ 1
(by arithmetic)
22/39
Principle of Mathematical Induction
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
Let’s prove 𝑃 (π‘˜ + 1):
20 + 21 + 22 + β‹― + 2π‘˜ + 2π‘˜+1 = 2π‘˜+1 βˆ’ 1 + 2π‘˜+1 (by IH)
= 2(2π‘˜+1 ) βˆ’ 1
(by arithmetic)
= 2π‘˜+2 βˆ’ 1
(by arithmetic)
4. βˆ€π‘›π‘ƒ (𝑛) by the principle of induction mathematical.
Discrete Structures - CB0246. Mathematical Induction
23/39
Strong Induction
Definition (Strong (or course-of-values) induction)
Let 𝑃 (𝑛) be a propositional function.
To prove that 𝑃 (𝑛) is true for all 𝑛 ∈ β„€+ , we must make two proofs:
Basis step: Prove 𝑃 (1)
Discrete Structures - CB0246. Mathematical Induction
24/39
Strong Induction
Definition (Strong (or course-of-values) induction)
Let 𝑃 (𝑛) be a propositional function.
To prove that 𝑃 (𝑛) is true for all 𝑛 ∈ β„€+ , we must make two proofs:
Basis step: Prove 𝑃 (1)
Inductive step: Prove [𝑃 (1) ∧ 𝑃 (2) ∧ β‹― ∧ 𝑃 (π‘˜)] β†’ 𝑃 (π‘˜ + 1) for all
π‘˜ ∈ β„€+
Discrete Structures - CB0246. Mathematical Induction
25/39
Strong Induction
Definition (Strong (or course-of-values) induction)
Let 𝑃 (𝑛) be a propositional function.
To prove that 𝑃 (𝑛) is true for all 𝑛 ∈ β„€+ , we must make two proofs:
Basis step: Prove 𝑃 (1)
Inductive step: Prove [𝑃 (1) ∧ 𝑃 (2) ∧ β‹― ∧ 𝑃 (π‘˜)] β†’ 𝑃 (π‘˜ + 1) for all
π‘˜ ∈ β„€+
The (strong) inductive hypothesis is given by
𝑃 (𝑗) is true for 𝑗 = 1, 2, … , π‘˜.
Discrete Structures - CB0246. Mathematical Induction
26/39
Strong Induction
Definition (Strong induction)
Inference rule version:
𝑃 (1)
βˆ€π‘˜[(𝑃 (1) ∧ 𝑃 (2) ∧ β‹― ∧ 𝑃 (π‘˜)) β†’ 𝑃 (π‘˜ + 1)]
(strong induction)
βˆ€π‘›π‘ƒ (𝑛)
Discrete Structures - CB0246. Mathematical Induction
27/39
Strong Induction
Example (A part of the fundamental theorem of arithmetic)
Prove that if 𝑛 is an integer greater than 1, either is prime itself or is the
product of prime numbers.
Discrete Structures - CB0246. Mathematical Induction
28/39
Strong Induction
Example (cont.)
Proof.
1. 𝑃 (𝑛): 𝑛 is prime itself or it is the product of prime numbers.
Discrete Structures - CB0246. Mathematical Induction
29/39
Strong Induction
Example (cont.)
Proof.
1. 𝑃 (𝑛): 𝑛 is prime itself or it is the product of prime numbers.
2. Basis step 𝑃 (2): 2 is a prime number.
Discrete Structures - CB0246. Mathematical Induction
30/39
Strong Induction
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, … , π‘˜.
Discrete Structures - CB0246. Mathematical Induction
31/39
Strong Induction
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, … , π‘˜.
Let’s prove that π‘˜ + 1 satisfies the property:
Discrete Structures - CB0246. Mathematical Induction
32/39
Strong Induction
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, … , π‘˜.
Let’s prove that π‘˜ + 1 satisfies the property:
3.1 If π‘˜ + 1 is a prime number then it satisfies the property.
Discrete Structures - CB0246. Mathematical Induction
33/39
Strong Induction
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, … , π‘˜.
Let’s 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).
Discrete Structures - CB0246. Mathematical Induction
34/39
Strong Induction
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, … , π‘˜.
Let’s 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.
Discrete Structures - CB0246. Mathematical Induction
35/39
First-Order Peano Arithmetic
Axioms of first-order Peano arithmetic*
βˆ€π‘›. 0 β‰  𝑛′
βˆ€π‘š 𝑛. π‘šβ€² = 𝑛′ β†’ π‘š = 𝑛
βˆ€π‘›. 0 + 𝑛 = 𝑛
βˆ€π‘š 𝑛. π‘šβ€² + 𝑛 = (π‘š + 𝑛)β€²
βˆ€π‘›. 0 βˆ— 𝑛 = 0
βˆ€π‘š 𝑛. π‘šβ€² βˆ— 𝑛 = 𝑛 + (π‘š βˆ— 𝑛)
Giuseppe Peano
(1858 – 1932)
*
See, for example, Hájek, Petr and Pudlák, Pavel (1998). Metamathematics of
First-Order Arithmetic.
Discrete Structures - CB0246. Mathematical Induction
36/39
First-Order Peano Arithmetic
Axioms of first-order Peano arithmetic*
βˆ€π‘›. 0 β‰  𝑛′
βˆ€π‘š 𝑛. π‘šβ€² = 𝑛′ β†’ π‘š = 𝑛
βˆ€π‘›. 0 + 𝑛 = 𝑛
βˆ€π‘š 𝑛. π‘šβ€² + 𝑛 = (π‘š + 𝑛)β€²
βˆ€π‘›. 0 βˆ— 𝑛 = 0
βˆ€π‘š 𝑛. π‘šβ€² βˆ— 𝑛 = 𝑛 + (π‘š βˆ— 𝑛)
For all formulae 𝐴,
Giuseppe Peano
(1858 – 1932)
[𝐴(0) ∧ (βˆ€π‘›. 𝐴(𝑛) β†’ 𝐴(𝑛′ ))] β†’ βˆ€π‘›π΄(𝑛)
*
See, for example, Hájek, Petr and Pudlák, 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 equivalent.*
*
See, for example, Gunderson, David S. (2011). Handbook of Mathematical
Induction.
Discrete Structures - CB0246. Mathematical Induction
38/39
References
Gunderson, David S. (2011). Handbook of Mathematical Induction. Chapman &
Hall.
Hájek, Petr and Pudlák, Pavel (1998). Metamathematics of First-Order
Arithmetic. 2nd printing. Springer.
Rosen, Kenneth H. (2012). Discrete Mathematics and Its Applications. 7th ed.
McGraw-Hill.
Discrete Structures - CB0246. Mathematical Induction
39/39
Related documents