notes from Kenneth H. Rosen's Discrete Mathematics and Its
Applications, 7th ed. miscellaneous topics in discrete mathematics.
induction and recursion
induction
First used by Maurolico in 16th century to prove the sum of first n
odd positive integers equals
. De Morgan was the first to formalize it in proofs in 1838,
and coined the term "mathematical induction".
despite its name, mathematical induction is not an induction. it's a
completely deductive argument, although it might seem inductive
(because an infinite number of cases are proven automatically).
- Basis step: prove that conjecture holds true for first case
- Inductive step: prove that if assumed true for an arbitrary case,
then the next case must also be true.
In combination, both facts imply that all cases are true. The truth at
the basis step "trickles down" to every case by virtue of also proving
step 2.
- assumes well-ordering of set
- doesn't give new formulas or conjectures, only proves them
- no insight as to why theorem is true
1+2+3+...
triangular numbers:
basis step:
inductive step:
alternative algebraic proof by child Gauss:
1+3+5+...
conjecture:
basis step:
inductive step:
1+2+4+8+...
¿
?,
basis step:
inductive step:
general geometric series
basis step:
inductive step: