Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Mathematical Induction
William Shoaff
Spring 2008
Outline
1 Introduction to Induction
Outline
1 Introduction to Induction
2 Induction on Sequences
Outline
1 Introduction to Induction
2 Induction on Sequences
3 Induction on Sums
Quotation
2 3
Observations: Full Binary Trees
Observations: Full Binary Trees
2 3
4 5 6 7
Question
Question
root
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
left
subtree
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
left right
subtree subtree
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height h
left right
subtree subtree
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height 1
height h
left right
subtree subtree
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height 1
root
height 1
root
height 1
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
(1 root node) + (nodes in left) + (nodes in right)
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
(1 root node) + (nodes in left) + (nodes in right)
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
(1 root node) + (nodes in left) + (nodes in right)
1 + (2h − 1) + (2h+1 − 1)
Height h, Full Binary Tree Has 2h+1 − 1 Nodes
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
(1 root node) + (nodes in left) + (nodes in right)
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
(1 root node) + (nodes in left) + (nodes in right)
root
height 1
If the left and right subtree both have 2h+1 − 1 nodes, then
the nodes in the higher tree are
(1 root node) + (nodes in left) + (nodes in right)
1 + 2 + 3 + · · · + 99 + 100
Gauss Fools the Third Grade Teacher
1 + 2 + 3 + · · · + 99 + 100
1 + 2 + 3 + · · · + 99 + 100
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1)
Generalizing the Problem
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1)
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1)
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1)
To prove
n−1
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1) = n
2
To prove
n−1
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1) = n
2
To prove
n−1
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1) = n
2
0 + 1 + · · · + (0 − 2) + (0 − 1) = 0 (empty sum)
P n(n−1)
Prove k= 2
To prove
n−1
0 + 1 + 2 + 3 + · · · + (n − 2) + (n − 1) = n
2
0 + 1 + · · · + (0 − 2) + (0 − 1) = 0 (empty sum)
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
P n(n−1)
Prove k= 2
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
Then the next sum is:
P n(n−1)
Prove k= 2
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
Then the next sum is:
P n(n−1)
Prove k= 2
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
Then the next sum is:
[0 + 1 + · · · + (n − 1)] + n
P n(n−1)
Prove k= 2
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
Then the next sum is:
n(n − 1)
[0 + 1 + · · · + (n − 1)] + n = +n
2
P n(n−1)
Prove k= 2
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
Then the next sum is:
n(n − 1)
[0 + 1 + · · · + (n − 1)] + n = +n
2
n(n − 1) 2n
= +
2 2
P n(n−1)
Prove k= 2
Induction: Pretend
n(n − 1)
0 + 1 + 2 + · · · + (n − 2) + (n − 1) =
2
for some n ≥ 0
Then the next sum is:
n(n − 1)
[0 + 1 + · · · + (n − 1)] + n = +n
2
n(n − 1) 2n
= +
2 2
n(n + 1)
=
2
Which shows the next sum equals the function
at the next natural number
Inductive Template For Functional Equality
Inductive Template For Functional Equality
3(4) − 5 = 12 − 5 = 7
Checking Solutions to Algebraic Equations
Checking Solutions to Algebraic Equations
√
Pretend you want to check that x = (1 + 5)/2 is a solution
to the quadratic equation
x2 = x + 1
Checking Solutions to Algebraic Equations
√
Pretend you want to check that x = (1 + 5)/2 is a solution
to the quadratic equation
x2 = x + 1
√
You can do this by substitiuting (1 + 5)/2 for x in both the
left-hand and right-hand sides and show the results are equal
Checking Solutions to Algebraic Equations
√
Pretend you want to check that x = (1 + 5)/2 is a solution
to the quadratic equation
x2 = x + 1
√
You can do this by substitiuting (1 + 5)/2 for x in both the
left-hand and right-hand sides and show the results are equal
The left-hand side is
√ !2 √ √
1+ 5 1+2 5+5 3+ 5
= =
2 4 2
Checking Solutions to Algebraic Equations
√
Pretend you want to check that x = (1 + 5)/2 is a solution
to the quadratic equation
x2 = x + 1
√
You can do this by substitiuting (1 + 5)/2 for x in both the
left-hand and right-hand sides and show the results are equal
The left-hand side is
√ !2 √ √
1+ 5 1+2 5+5 3+ 5
= =
2 4 2
2 2n−1 − 1 + 1 = (2n − 2) + 1 = 2n − 1
Checking Solutions to Recurrence Equations
Checking Solutions to Recurrence Equations
c2n − 1
Checking Solutions to Recurrence Equations
c2n − 1
2 c2n−1 − 1 + 1 = c2n − 1
Checking Solutions to Recurrence Equations
c2n − 1
2 c2n−1 − 1 + 1 = c2n − 1
then
Induction on Sums
P
To prove a summation ak can be expressed as a function
g (·) on the natural numbers,
Establish a basis for induction, that is, show
0
X
ak = a0 = g (0)
k=0
then
Induction on Sums
P
To prove a summation ak can be expressed as a function
g (·) on the natural numbers,
Establish a basis for induction, that is, show
0
X
ak = a0 = g (0)
k=0
then
n
X
ak
k=0
Induction on Sums
P
To prove a summation ak can be expressed as a function
g (·) on the natural numbers,
Establish a basis for induction, that is, show
0
X
ak = a0 = g (0)
k=0
then
n
"n−1 #
X X
ak = ak + an
k=0 k=0
Induction on Sums
P
To prove a summation ak can be expressed as a function
g (·) on the natural numbers,
Establish a basis for induction, that is, show
0
X
ak = a0 = g (0)
k=0
then
n
"n−1 #
X X
ak = ak + an
k=0 k=0
= g (n) + an
Induction on Sums
P
To prove a summation ak can be expressed as a function
g (·) on the natural numbers,
Establish a basis for induction, that is, show
0
X
ak = a0 = g (0)
k=0
then
n
"n−1 #
X X
ak = ak + an
k=0 k=0
= g (n) + an
= g (n + 1)
Alice Sum Math Induction Proof
Alice Sum Math Induction Proof
then
n
X
1=n+1
k=0
By computing
Alice Sum Math Induction Proof
then
n
X
1=n+1
k=0
By computing
Alice Sum Math Induction Proof
then
n
X
1=n+1
k=0
By computing
n
X
1
k=0
Alice Sum Math Induction Proof
then
n
X
1=n+1
k=0
By computing
n
"n−1 #
X X
1= 1 +1
k=0 k=0
Alice Sum Math Induction Proof
then
n
X
1=n+1
k=0
By computing
n
"n−1 #
X X
1= 1 +1
k=0 k=0
=n+1
Gauss Sum Math Induction Proof
Gauss Sum Math Induction Proof
n
"n−1 #
X X
k= k + n = (n + 1)n/2
k=0 k=0
Zeno Sum Math Induction Proof
Zeno Sum Math Induction Proof
n
"n−1 #
X X
k k
2 = 2 + 2n = 2n+1 − 1
k=0 k=0
Sum of the Odd Integers is a Square
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
n+1
X
(2k − 1)
k=1
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
n+1 n
" #
X X
(2k − 1) = (2k − 1) + 2(n + 1) − 1
k=1 k=1
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
n+1 n
" #
X X
(2k − 1) = (2k − 1) + 2(n + 1) − 1
k=1 k=1
2
= n + 2(n + 1) − 1
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
n+1 n
" #
X X
(2k − 1) = (2k − 1) + 2(n + 1) − 1
k=1 k=1
2
= n + 2(n + 1) − 1
= n2 + 2n + 1
Sum of the Odd Integers is a Square
n
X
(2k − 1) = 1 + 3 + 5 + · · · + (2n − 1) = n2
k=1
Pn
Induction: If k=1 (2k − 1) = n2 , then
n+1 n
" #
X X
(2k − 1) = (2k − 1) + 2(n + 1) − 1
k=1 k=1
2
= n + 2(n + 1) − 1
= n2 + 2n + 1
= (n + 1)2
Sum of Cubes is a Squared Triangular Number
Sum of Cubes is a Squared Triangular Number
The formula
n−1 2
X
3 1
k = n(n − 1)
2
k=1
The formula
n−1 2
X
3 1
k = n(n − 1)
2
k=1
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
n
X
k3
k=1
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
n
"n−1 #
X X
3
k = k 3 + n3
k=1 k=1
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
n
"n−1 #
X X
3
k = k 3 + n3
k=1 k=1
2
1
= n(n − 1) + n3
2
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
n
"n−1 #
X X
3
k = k 3 + n3
k=1 k=1
2
1
= n(n − 1) + n3
2
2
2 (n − 1)
=n +n
4
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
n
"n−1 #
X X
3
k = k 3 + n3
k=1 k=1
2
1
= n(n − 1) + n3
2
2
2 (n − 1)
=n +n
4
2 (n + 2n + 1)
=n
4
Sum of Cubes is a Squared Triangular Number
n−1 2
X
3 1
k = n(n − 1)
2
k=1
Pn−1 3
Induction: If k=1 k = n2 (n − 1)2 /4, then
n
"n−1 #
X X
3
k = k 3 + n3
k=1 k=1
2
1
= n(n − 1) + n3
2
2
2 (n − 1)
=n +n
4
2 (n + 2n + 1)
=n
4
2
1
= n(n + 1)
2
Sum of Fibonacci Numbers
Sum of Fibonacci Numbers
S0
Sum of Fibonacci Numbers
S0 = f0 = 0
Sum of Fibonacci Numbers
S0 = f0 = 0
S1
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
S3
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
S3 = f0 + f1 + f2 + f3 = 4
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
S3 = f0 + f1 + f2 + f3 = 4
S4
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
S3 = f0 + f1 + f2 + f3 = 4
S4 = f0 + f1 + f2 + f3 + f4 = 7
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
S3 = f0 + f1 + f2 + f3 = 4
S4 = f0 + f1 + f2 + f3 + f4 = 7
S4
Sum of Fibonacci Numbers
S0 = f0 = 0
S1 = f0 + f1 = 1
S2 = f0 + f1 + f2 = 2
S3 = f0 + f1 + f2 + f3 = 4
S4 = f0 + f1 + f2 + f3 + f4 = 7
S4 = f0 + f1 + f2 + f3 + f4 + f5 = 12
n−1
X
fk = fn+1 − 1
k=0
Sum of Fibonacci Numbers
n−1
X
fk = fn+1 − 1
k=0
Basis: For n = 0
Sum of Fibonacci Numbers
n−1
X
fk = fn+1 − 1
k=0
Basis: For n = 0
The sum on the left-hand side is empty and so
equal to 0
Sum of Fibonacci Numbers
n−1
X
fk = fn+1 − 1
k=0
Basis: For n = 0
The sum on the left-hand side is empty and so
equal to 0
The formula on the right-hand side is also equal
to 0
f0+1 − 1 = f1 − 1 = 1 − 1 = 0
Sum of Fibonacci Numbers
n−1
X
fk = fn+1 − 1
k=0
Basis: For n = 0
The sum on the left-hand side is empty and so
equal to 0
The formula on the right-hand side is also equal
to 0
f0+1 − 1 = f1 − 1 = 1 − 1 = 0
This establishes the basis for induction
Sum of Fibonacci Numbers
n−1
X
fk = fn+1 − 1
k=0
Sum of Fibonacci Numbers
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
n−1
X
fk = fn+1 − 1
k=0
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 8 28 56 70 56 28 8 1
.. .. .. .. .. .. .. .. .. . .
. . . . . . . . . .
Pascal’s Triangle: Sum of Rows
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1+6
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1+6
7
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15
7
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15
7 21
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20
7 21
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20
7 21 35
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15
7 21 35
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15
7 21 35 35
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15 15 + 6
7 21 35 35
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15 15 + 6
7 21 35 35 21
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15 15 + 6 6 + 1
7 21 35 35 21
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15 15 + 6 6 + 1
7 21 35 35 21 7
Pascal’s Triangle: Sum of Rows
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 + 6 6 + 15 15 + 20 20 + 15 15 + 6 6 + 1
7 21 35 35 21 7
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 1 + 6 6 + 15 15 + 20 20 + 15 15 + 6 6 + 1 1
1 7 21 35 35 21 7 1
0 1 2 3 4 5 6 7 8 ···
0 1
1 1 1
2 1 2 1
3 1 3 3 1
4 1 4 6 4 1
5 1 5 10 10 5 1
6 1 6 15 20 15 6 1
7 1 7 21 35 35 21 7 1
8 1 8 28 56 70 56 28 8 1
.. .. .. .. .. .. .. .. .. . .
. . . . . . . . . .
Pascal’s Triangle: Binomial Coefficients
Pascal’s Triangle: Binomial Coefficients
n
We’ll name terms in row n, column m by the symbol m
Pascal’s Triangle: Binomial Coefficients
n
We’ll name terms in row n, column m by the symbol m
n
The symbol m is called a binomial coefficient
Pascal’s Triangle: Binomial Coefficients
n
We’ll name terms in row n, column m by the symbol m
n
The symbol m is called a binomial coefficient
n
The symbol m is read “n choose m”
Pascal’s Triangle: Binomial Coefficients
n
We’ll name terms in row n, column m by the symbol m
n
The symbol m is called a binomial coefficient
n
The symbol m is read “n choose m”
The binomial coefficient “n choose m” can be expressed in
terms of factorials
n n!
=
m m!(n − m)!
Pascal’s Triangle
Pascal’s Triangle
0 1 2 3 4 5 6 7 8 ···
0
0 0
1 1
1 0 1
2 2 2
2 0 1 2
3 3 3 3
3 0 1 2 3
4 4 4 4 4
4 0 1 2 3 4
5 5 5 5 5 5
5 0 1 2 3 4 5
6 6 6 6 6 6 6
6 0 1 2 3 4 5 6
7 7 7 7 7 7 7 7
7 0 1 2 3 4 5 6 7
8 8 8 8 8 8 8 8 8
8 0 1 2 3 4 5 6 7 8
.. .. .. .. .. .. .. .. .. ..
. . . . . . . . . .
Pascal’s Identity
Pascal’s Identity
and
7 7! 7×6
= = = 21
5 5!2! 2×1
Therefore
8 7 7
= + = 35 + 21
5 4 5
Pascal’s Identity
Pascal’s Identity
and
12 12!
= = 660
9 9!3!
Therefore
13
= 495 + 660 = 1155
9
Pascal’s Triangle Row Sum
Pascal’s Triangle Row Sum
Leave the first and last terms alone, but use Pascal’s identity
on the middle terms
n n−1 n−1 n−1 n−1
+ + + +
0 0 1 1 2
n−1 n−1 n
+ ··· + + +
n−2 n−1 n
Pascal’s Triangle Row Sum
Pascal’s Triangle Row Sum
Recognize that the first two and last two terms are equal to 1
and so can be replaced as
n−1 n−1 n−1 n−1
2 +2 + ··· + 2 +2
0 1 n−2 n−1
Pascal’s Triangle Row Sum
Recognize that the first two and last two terms are equal to 1
and so can be replaced as
n−1 n−1 n−1 n−1
2 +2 + ··· + 2 +2
0 1 n−2 n−1
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
3 · 1 − 22
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
3 · 1 − 22 = −1
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
3 · 1 − 22 = −1
5 · 2 − 32
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
3 · 1 − 22 = −1
5 · 2 − 32 = 1
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
3 · 1 − 22 = −1
5 · 2 − 32 = 1
8 · 3 − 52
Cassini’s Identity
n 0 1 2 3 4 5 6 7 8 9 ...
Fn 0 1 1 2 3 5 8 13 21 34 . . .
0 · 1 − 12 = −1
2 · 1 − 12 = 1
3 · 1 − 22 = −1
5 · 2 − 32 = 1
8 · 3 − 52 = −1
Lewis Carroll’s Favorite Trick
Thus if
Fn+1 Fn−1 − Fn2 = (−1)n
Inductive Proof of Cassini’s Identity
Thus if
Fn+1 Fn−1 − Fn2 = (−1)n
Then
2
Fn+2 Fn − Fn+1 = (−1)n+1
Inductive Proof of Cassini’s Identity
Thus if
Fn+1 Fn−1 − Fn2 = (−1)n
Then
2
Fn+2 Fn − Fn+1 = (−1)n+1
Since F2 F0 − F1 = 1 · 0 − 1 = (−1)1 , the basis for induction is
true, so Cassini’s identity holds for all n.
Fundamental Theorem of Arithmetic
nm = n(n − 1) · · · (n − m + 1)
The Fundamental Theorem of the Sum and Difference
Calculus
nm = n(n − 1) · · · (n − m + 1)
nm = n(n − 1) · · · (n − m + 1)
Therefore
Exponential Beat Powers
Therefore
Exponential Beat Powers
Therefore
(n + 1)2
Exponential Beat Powers
Therefore
(n + 1)2 = 2n2
Exponential Beat Powers
Therefore
(n + 1)2 = 2n2
≤ 2 · 2n
Exponential Beat Powers
Therefore
(n + 1)2 = 2n2
≤ 2 · 2n
= 2n+1
Induction Over Products
Q
Define the product notation ak by
n−1
Y
ak = a0 a1 · · · an−1
k=0
Induction Over Products
Q
Define the product notation ak by
n−1
Y
ak = a0 a1 · · · an−1
k=0