Proof by Induction
Back to cs141 |
Proof by induction is one of the most powerful methods of proof, allowing an observation of a single instance to be applied to all possible instances. The relation of inductive proofs to the area of computer science can be seen in their close resemblance to recursion.
A proof by induction always involves three parts. These are: the basis, the inductive hypothesis, and the inductive step.
The following is a proof by induction that the summation of the powers of 2 through some number n is equal to 2^(n+1) - 1.