Worked example
Prove that the sum of the first n positive odd numbers is .
Worked solution
- Method and reasoningInduction requires a verified base case and a step from k to k+1 using the exact induction hypothesis.
- At n = 1 the claim holds.
- Assuming the sum through 2k − 1 is , adding 2k + 1 gives (k + 1)².
- Induction establishes every positive integer case.