|
| 1 | +--- |
| 2 | +title: DS lecture 18 |
| 3 | +author: Shashwat Singh |
| 4 | +code: ma5.101 |
| 5 | +number: 18 |
| 6 | +--- |
| 7 | + |
| 8 | +# Mathematical induction |
| 9 | +## Peano's postulates on $\mathbb{N}$ |
| 10 | +- **postulate 1**: $1 \in \mathbb{N}$ , that is 1 is a natural number. |
| 11 | +- **posulate 2**: for each $n \in \mathbb{N}$ , there exists a unique natural number $n^+ \in \mathbb{N}$ called the successor $| n^+ = n + 1$ |
| 12 | +- **postulate 3**: $1$ is not the successor of any natural number. |
| 13 | +- **postulate 4**: if $m, n \in \mathbb{N}$ and $m = n$ then $m^+ = n^+$ i.e. each natural number if a successor is the successor of a unque natural number. |
| 14 | +- **postulate 5**: if $k \subseteq \mathbb{N}$ such that $1 \in K$ and $n \in K \implies n^+ \in K$ then $K = N$ |
| 15 | +**Deduction 1**: Every element $n|n \in \mathbb{N}$ and $n \not=1$ is the successor of some other element in $\mathbb{N}$ |
| 16 | +**Deduction 2**: $m^+ \not= m \forall m\in N$ |
| 17 | + |
| 18 | +## Order relations in the system of natural numbers |
| 19 | +- **Law of trichotomy**: if $m, n \in \mathbb{N}$, any of the following *must* hold: |
| 20 | + - $m > n$ |
| 21 | + - $m = n$ |
| 22 | + - $m < n$ |
| 23 | +- **Law of transitivity**: if $m, n, p, \in \mathbb{N}$ then $(m > n) \land (n > p) \implies m > p$ |
| 24 | +- **Monotone law of addition**: if $m, n, p \in \mathbb{N}$ then $m > n \implies m + p > n + p$ |
| 25 | +- **Monotone law of multiplication**: if $m, n, p \in \mathbb{N}$ then $m > n \implies m.p > n.p$ |
| 26 | + |
| 27 | +## Well ordering principle |
| 28 | +The set of all natural numbers is said to be *well-ordered* that is, every non empty subset of $\mathbb{N}$ has a least element. |
| 29 | + |
| 30 | +## First principle of Mathmatical induction |
| 31 | +For a given open open statement $P(n)$ involving $n|n \in \mathbb{N}$ *if* we can show that: |
| 32 | +1. $P(n_0)$ is true |
| 33 | +2. and $P(k+1)$ is true given for an **arbitrarily chosen but particular** $k$ $P(k)$ is true. |
| 34 | +Then we can conclude that $P(n)$ is true for all natural number $n \geq n_0$ |
| 35 | +- First step is referred to as the basis of induction |
| 36 | +- Second step is referred to as the *induction step* and the assumption that $P(k)$ is true is referred to as the induction hypothesis. |
| 37 | + |
| 38 | +**Proof**: |
| 39 | +Let $P(n)$ be an open statement satisfying conditions (1.) and (2.) and let $A = \{t \in \mathbb{N} \land t \geq n_0 | P(t) \text{is false}\}$ note that $A \subset \mathbb{N}$. We need to prove that $A = \phi$ and thus we assume the *contrary* that is $A \not= \phi$ and thus by the *well ordering principle* we can conclude that $A$ has a least number. Let $m$ be the least element of $A$, we know that $m \not= n_0$ because $P(n_0)$ is true by condition (1.) and thus $m > n_0$ . By our definition of $A$ we can also say that $P(m-1)$ is true and since $P(n)$ also adheres to condition (2.): if $P((m-1)+1)$is also true there will be a contradiction. |
| 40 | +Hence, by proof by contradiction, we can say that $A = \phi$ if 1. and 2. imply $A = \phi$ . |
| 41 | +or in other words $P(n)$ is true for all elements $n|n > n_0$ |
| 42 | + |
| 43 | +## Second principle of mathematical induction |
| 44 | +For a given statement $P(n)$ involving a natural number $n$ if we can show that: |
| 45 | +1. $P(n)$ is true for $n = n_0$ |
| 46 | +2. The statement $P(n)$ is true for $n = k + 1$ assuming it is true for $n_0 \geq k \geq n$ |
| 47 | +The we can conclude that $P(n)$ is true for all natural numbers $n \geq n_0$ |
| 48 | +- The first step is called the basis of inductions |
| 49 | +- The second step is called the induction step and the assumption is called induction hypothesis. |
| 50 | + |
| 51 | +This can be proved in a very similar way as the first principle. |
| 52 | + |
| 53 | +## Tips and template for using Methematical induction |
| 54 | +- Express the statement that is to proved in the form "for all $n \geq b, P(n)$" for a particular integer $b$ |
| 55 | +- We need to show $P(b)$ is true, this is the basis case. |
| 56 | +- Write out the inductive step, i.e. assuming $P(k)$, $k \geq b$ for an arbitrarily chosen particular $k$ is true. |
| 57 | +- Now show that $P(k+1$ ) is also true. |
| 58 | +- "$P(n)$ is true for all $n \geq b$" |
0 commit comments