Lesson 7 +30 XP

Well-Ordering, Mathematical Induction & Complete Induction

1. The Well-Ordering Principle

Every non-empty set of positive integers has a least element.

  • N = {1, 2, 3, …} → least element 1 ✅
  • {5, 10, 15, …} → least element 5 ✅
  • {1/2, 1/3, 1/4, …} → no least element (not integers) ❌
  • Z → no least element (not bounded below) ❌

Well-ordering, ordinary induction and strong induction are logically equivalent - each can be proved from the others. Induction is just the well-ordering principle applied to the set of counter-examples: if P(n) failed somewhere, there would be a smallest failing n, and the inductive step shows that cannot happen.

2. Principle of Mathematical Induction (PMI)

To prove P(n) for all n ≥ n₀:

  1. Basis step: prove P(n₀).
  2. Inductive hypothesis: assume P(k) is true for an arbitrary k ≥ n₀.
  3. Inductive step: prove P(k + 1) using P(k).

[P(n0) ∧ ∀k (P(k) → P(k+1))] → ∀n ≥ n0 P(n)

Induction as falling dominoes: basis knocks the first, the step knocks the nextInduction as falling dominoes: basis knocks the first, the step knocks the next

Solved 1-Sum formula

Prove 1 + 2 + … + n = n(n + 1)/2.

  • Basis n = 1: LHS = 1, RHS = 1·2/2 = 1 ✓
  • Hypothesis: 1 + … + k = k(k + 1)/2
  • Step: 1 + … + k + (k + 1) = k(k + 1)/2 + (k + 1) = (k + 1)(k + 2)/2 ✓ ∎

Solved 2-Sum of odd numbers

1 + 3 + 5 + … + (2n − 1) = n². Step: k² + (2k + 1) = (k + 1)² ✓

Solved 3-Divisibility

Prove 32n+1 + 2n+2 is divisible by 7 for all n ≥ 1.

  • Basis n = 1: 3³ + 2³ = 27 + 8 = 35 = 7 × 5 ✓
  • Hypothesis: 32k+1 + 2k+2 = 7m
  • Step: 32k+3 + 2k+3 = 9 · 32k+1 + 2 · 2k+2

= 7 · 32k+1 + 2(32k+1 + 2k+2) = 7 · 32k+1 + 2 · 7m = 7(32k+1 + 2m) ✓ ∎

💡 Tip

Divisibility trick: write the (k + 1) expression so that the hypothesis block appears, then split off a multiple of the divisor.

Solved 4-Product of consecutive integers

n(n + 1)(n + 2) is divisible by 6. Step: (k + 1)(k + 2)(k + 3) = k(k + 1)(k + 2) + 3(k + 1)(k + 2). The first term is divisible by 6 (hypothesis) and (k + 1)(k + 2) is a product of two consecutive integers, so it is even; hence 3(k + 1)(k + 2) is divisible by 6 ✓

More practice (answers checked)

  • 6n+2 + 72n+1 is divisible by 43 (n = 1: 216 + 343 = 559 = 43 × 13).
  • 102n-1 + 1 is divisible by 11.
  • ∑ k · 2k for k = 1..n equals (n - 1) · 2n+1 + 2.
  • Geometric series: a + ar + … + arn-1 = a(rn - 1)/(r - 1), r ≠ 1.
  • Π (1 − 1/k²) for k = 2..n equals (n + 1)/(2n), n ≥ 2.

3. Strong (Complete) Induction

In the inductive step you may assume all of P(n₀), P(n₀ + 1), …, P(k) to prove P(k + 1). Use it when P(k + 1) depends on several earlier cases (recurrences, factorisation).

Theorem. Every integer n ≥ 2 is a product of primes. Proof. Basis: 2 is prime. Step: if k + 1 is prime, done. Otherwise k + 1 = ab with 2 ≤ a, b ≤ k; by the strong hypothesis both a and b are products of primes, so k + 1 is too. ∎

Solved (recurrence). a₁ = 1, a₂ = 8, aₙ = aₙ₋₁ + 2aₙ₋₂ for n ≥ 3. Prove an = 3 · 2n-1 + 2(-1)n.

  • Basis: a₁ = 3 − 2 = 1 ✓; a₂ = 6 + 2 = 8 ✓ (two base cases because the recurrence looks back two steps)
  • Step: ak+1 = ak + 2ak-1 = [3 · 2k-1 + 2(-1)k] + 2[3 · 2k-2 + 2(-1)k-1]

= 3 · 2k-1 + 3 · 2k-1 + 2(-1)k - 4(-1)k = 3 · 2k - 2(-1)k = 3 · 2k + 2(-1)k+1 ✓ ∎

FeatureOrdinary inductionStrong induction
HypothesisP(k) onlyP(n₀), …, P(k)
Typical usesums, divisibilityrecurrences, prime factorisation, games
Base casesusually oneas many as the recurrence needs
🎯 END-TERM EXAM PREP

📝 IPU End-Term Exam Corner (5-10 Marks)

  • Q1. State the well-ordering principle and the principle of mathematical induction. Prove 1 + 2 + … + n = n(n + 1)/2. (5 Marks)
  • Q2. Prove by induction that 32n+1 + 2n+2 is divisible by 7. (5 Marks)
  • Q3. Differentiate ordinary and complete induction. Prove every n ≥ 2 is a product of primes. (10 Marks)