Section 5.1 – Mathematical Induction¶
Fact¶
The punctured $2^n \times 2^n$ chessboard can be tiled by the 3-square corner piece. Once you have the initial $2 \times 2$ board and you know the centre tile trick, you can solve any board.
Example
Consider a line of dominos, $1,2,3,...,n-1,n,n+1,...$ where domino $n$ falls over. This infers that dominos $n+1,n+2,...$ will fall.
We need two things to ensure all the dominos fall over,
- We need to know one domino falls, an initial push (Basis)
- We need to know that one domino falling will cause the others to fall (Inductive step)
Induction¶
definition:
Example
Prove that for any natural number $n \gt 1$,
Solution
Let $P(n)$ be the statement,
where $n \in \mathbb N$ and $n \gt 0$.
Basis¶
Consider the base case $P(1)$, on the left hand side,
on the right hand side,
since the left hand side is equal to the right hand side $P(1)$ is true.
Inductive Hypothesis¶
Suppose that $P(k)$ is true for some $k \in \mathbb N$ where $k \gt 1$, i.e.,
Inductive Step¶
Consider $P(k+1)$, on the left hand side,
by the inductive hypothesis,
and if we consider the right hand side of $P(k+1)$,
The right hand side is equal to the left hand side, therefore, by induction,
for all $n \in \mathbb N$.
Example
Prove that for all $n \ge 1$,
Solution
Let $P(n)$ be the statement,
where $n \in \mathbb N$, $n \ge 1$.
Base¶
Consider the base case $P(1)$ where $n = 1$, on the left hand side,
on the right hand side,
since the left hand side equals the right hand side, $P(1)$ holds.
Inductive Hypothesis¶
Suppose $P(k)$ is true for $k \ge 1$,
Inductive Step¶
Consider $P(k+1)$, on the left hand side,
on the right hand side,
since the left hand side is equal to the right hand side, $P(k+1)$ holds. Therefore, by induction, $P(n)$ holds for all $n \in \mathbb N$ where $n \ge 1$.
Example
Prove that for $n \in \mathbb N$ where $n \ge 5$, $4n \le 2^n$.
Solution
Let $P(n)$ be the statement,
for all $n \in \mathbb n$ where $n \ge 5$.
Base¶
Consider $P(5)$, on the left hand side,
on the right hand side,
since the left hand side is less than the right hand side, $P(5)$ holds.
Inductive Hypothesis¶
Suppose $P(k)$ is true for $k \ge 5$, i.e.,
Inductive Step¶
Consider $P(k+1)$, on the left hand side,
on the right hand side,
since the left hand side is less than or equal to the right hand side, if $P(k)$ is true then $P(k+1)$ holds for all $k \in \mathbb N$ where $k \ge 5$. Therefore, by induction, $P(n)$ is true for all $n \in \mathbb N$.
Example
Prove for $n \ge 1$,
Solution
Let the tameness $P(n)$ be,
for $n \in \mathbb N$ where $n \ge 1$.
Base¶
Consider the case $P(1)$, on the left hand side,
and on the right hand side,
since $2 \mid 2 \cdot 12$, $P(1)$ holds.
Inductive Hypothesis¶
Suppose $P(k)$ holds for some $k \in \mathbb N$ where $k \ge 1$, i.e.,
Inductive Step¶
Consider $P(k+1)$, on the left hand side,
by the induction hypothesis, and on the right hand side,
since the right hand side has the left hand side as a factor the left hand side divides the right hand side. Therefore, by induction, $P(n)$ holds.
Strong Induction¶
Induction with expanded base cases
definition: Let $P(n)$ be a statement whose truth-value depends upon $n$. If the following hold then $P(n)$ is true for all $n \ge n_0$,
- $P(n)$ is true for all $n = n_0, n_0 + 1, n_0 +2, ... ,t$ for some $t \ge n_0$. (Base)
- If $P(m)$ is true for some $n_0 \le m \lt k$, then $P(k)$ is true. (Inductive Step)
Strategy¶
- Show $P(n)$ is true for $n = n_0, n_0 + 1, n_0 +2, ... ,t$.
- Suppose $P(m)$ is true for $n_0 \le m \lt k$.
- Show $P(k)$ is also true.
Example
Show that any amount of postage greater than $12$ cents can be paid using only $3$ cent stamps and $7$ cent stamps.
Solution
Let $P(n)$ be the statement,
where $n \ge 12$.
Base¶
For $n = 12$,
and for $n = 13$,
and for $n = 14$,
and for $n = 15$,
and for $n = 16$,
Inductive Hypothesis¶
Suppose $P(m)$ is true for some $12 \le m \le k$ where $k \in \mathbb N$ and $k \gt 12$.
Inductive Step¶
Consider $P(k+1)$, this implies $k+1 \gt 12$, by the induction hypothesis,
or $P(k-2)$ is payable, and therefore, by adding $3$ cents $P(k+1)$ is payable. Therefore, by induction $P(n)$, is payable.