Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
0,
0
The naturals.
0, 1,
1
0
The naturals.
0, 1, 2,
2
1
0
The naturals.
0, 1, 2, 3,
3
2
1
0
The naturals.
0, 1, 2, 3,
. . .,
3
2
1
0
The naturals.
0, 1, 2, 3,
n . . ., n,
3
2
1
0
The naturals.
n+1 0, 1, 2, 3,
n . . ., n, n + 1,
3
2
1
0
The naturals.
n+3
n+2
n+1 0, 1, 2, 3,
n . . ., n, n + 1, n + 2,n + 3,
3
2
1
0
The naturals.
n+3
n+2
n+1 0, 1, 2, 3,
n . . ., n, n + 1, n + 2,n + 3, . . .
3
2
1
0
A formula.
A formula.
(∀k ∈ N)(P(k))
Induction
The canonical way of proving statements of the form
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
Induction
The canonical way of proving statements of the form
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
Induction
The canonical way of proving statements of the form
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
Induction
The canonical way of proving statements of the form
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
(∀k ∈ N)(P(k))
n(n+1)
I For all natural numbers n, 1 + 2 · · · n = 2 .
I For all n ∈ N, n3 − n is divisible by 3.
I The sum of the first n odd integers is a perfect square.
P(0)
P(0)
Climb an infinite ladder?
P(0)
P(k ) =⇒ P(k + 1)
P(1)
P(0)
Climb an infinite ladder?
P(0)
P(k ) =⇒ P(k + 1)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(0)
P(k ) =⇒ P(k + 1)
P(3)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(0)
P(k ) =⇒ P(k + 1)
P(3)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(0)
P(n) P(k ) =⇒ P(k + 1)
P(3)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(n + 1) P(0)
P(n) P(k ) =⇒ P(k + 1)
P(3)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(·)
P(·)
P(n + 1) P(0)
P(n) P(k ) =⇒ P(k + 1)
P(3)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(·)
P(·)
P(n + 1) P(0)
P(n) P(k ) =⇒ P(k + 1)
(∀n ∈ N)P(n)
P(3)
P(2)
P(1)
P(0)
Climb an infinite ladder?
P(·)
P(·)
P(n + 1) P(0)
P(n) P(k ) =⇒ P(k + 1)
(∀n ∈ N)P(n)
P(3)
P(2)
P(1)
P(0)
Your favorite example of forever..
Climb an infinite ladder?
P(·)
P(·)
P(n + 1) P(0)
P(n) P(k ) =⇒ P(k + 1)
(∀n ∈ N)P(n)
P(3)
P(2)
P(1)
P(0)
Your favorite example of forever..or the integers...
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ?
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
n2 + n + 2(n + 1)
=
2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
n2 + n + 2(n + 1)
=
2
2
n + 3n + 2
=
2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
n2 + n + 2(n + 1)
=
2
2
n + 3n + 2
=
2
(n + 1)(n + 2)
=
2
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
n2 + n + 2(n + 1)
=
2
2
n + 3n + 2
=
2
(n + 1)(n + 2)
=
2
P(n + 1)!
Simple induction proof.
n(n+1)
Theorem: For all natural numbers n, 1 + 2 · · · n = 2
0(0+1)
Base Case: Does 0 = 2 ? Yes.
n(n+1)
Induction Hypothesis: 1 + · · · + n = 2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
n2 + n + 2(n + 1)
=
2
2
n + 3n + 2
=
2
(n + 1)(n + 2)
=
2
n(n + 1)
1 + · · · + n + (n + 1) = + (n + 1)
2
n2 + n + 2(n + 1)
=
2
2
n + 3n + 2
=
2
(n + 1)(n + 2)
=
2
.
Two color theorem: example.
Any map formed by dividing the plane into regions by drawing
straight lines can be properly colored with two colors.
.
Two color theorem: example.
Any map formed by dividing the plane into regions by drawing
straight lines can be properly colored with two colors.
.
Two color theorem: example.
Any map formed by dividing the plane into regions by drawing
straight lines can be properly colored with two colors.
.
Two color theorem: example.
Any map formed by dividing the plane into regions by drawing
straight lines can be properly colored with two colors.
B B R
R
B
R B
B R
.
Two color theorem: example.
Any map formed by dividing the plane into regions by drawing
straight lines can be properly colored with two colors.
B B R
R
B
R B
B R
.
R R B
B
R
B R
R B
.
Base Case.
Two color theorem: proof illustration.
B
.
Base Case.
Two color theorem: proof illustration.
B
.
1. Add line.
Two color theorem: proof illustration.
R R
B B
.
1. Add line.
2. Get inherited color for split regions
Two color theorem: proof illustration.
R R
switch
B B
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
R B
switch
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
R B
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
R B
R
B
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
sw
it
R ch B
R
B
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
B B
R
R
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
B B
R
R
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
R
B
B R B
R
B
R R
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
s
lor
co R
h
itc
sw B
B R B
R
B
R R
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
B
R
B B R
R
B
R B
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Two color theorem: proof illustration.
B
R
B B R
R
B
R B
B R
.
1. Add line.
2. Get inherited color for split regions
3. Switch on one side of new line.
(Fixes conflicts along line, and makes no new ones.)
Algorithm gives P(k) =⇒ P(k + 1).
Tiling Cory Hall Courtyard.
D
A
Tiling Cory Hall Courtyard.
D
A
Tiling Cory Hall Courtyard.
C
B
D
A
Tiling Cory Hall Courtyard.
C
B
A
D
Tiling Cory Hall Courtyard.
C E
B
A
D
Tiling Cory Hall Courtyard.
C E
A
D
Tiling Cory Hall Courtyard.
C E
A
D
Summary: principle of induction.
(P(0)
Summary: principle of induction.