Mathematics Lecture 7: Induction and Recursion Study Guide

Principles and Motivation of Mathematical Induction

The concept of mathematical induction is often illustrated through the analogy of climbing an infinite ladder. To successfully reach every rung of an infinite ladder, two conditions must be met. First, one must be able to reach the first rung of the ladder. Second, there must be a rule stating that if a particular rung can be reached, then the subsequent rung (the next one up) can also be reached. By starting at the first rung and repeatedly applying the second rule, one can eventually reach the second rung, then the third, and so on, reaching any specific rung no matter how high it is positioned. This logical progression serves as the foundation for proof by mathematical induction.

To formally prove that a proposition P(n)P(n) is true for all positive integers nn, the Principle of Mathematical Induction requires two distinct steps. The Basis Step involves showing that the proposition P(1)P(1) is true. The Inductive Step involves showing that the conditional statement P(k)ightarrowP(k+1)P(k) ightarrow P(k+1) is true for all positive integers kk. During the inductive step, we assume the inductive hypothesis, which is the assumption that P(k)P(k) holds for an arbitrary integer kk, and then demonstrate that P(k+1)P(k+1) must necessarily be true based on that assumption. In the ladder analogy, the Basis Step corresponds to reaching the first rung, and the Inductive Step corresponds to the physical ability to move from rung kk to rung k+1k+1. If both are verified, we conclude that we can reach every rung on the ladder.

Structural and Logical Properties of Induction

Mathematical induction is fundamentally a rule of inference where the domain is the set of positive integers. It can be expressed symbolically as (P(1)orallk(P(k)ightarrowP(k+1)))ightarroworallnP(n)(P(1) \bigwedge orall k(P(k) ightarrow P(k+1))) ightarrow orall n P(n). It is critical to understand that a proof by induction does not involve assuming that P(k)P(k) is true for all positive integers at the outset. Instead, we show that if the assumption is made for a single arbitrary integer kk, the truth of the subsequent integer k+1k+1 is guaranteed. Furthermore, while many proofs begin at the integer 11, induction can start at any integer bb. In such instances, the basis step begins by proving P(b)P(b) is true rather than P(1)P(1).

The validity of mathematical induction is derived from the well-ordering property, which states that every nonempty subset of the set of positive integers contains a least element. The proof of induction's validity proceeds by contradiction. Suppose that P(1)P(1) holds and the implication P(k)ightarrowP(k+1)P(k) ightarrow P(k+1) is true for all kk, but there exists at least one positive integer nn for which P(n)P(n) is false. We can then define a set SS consisting of all positive integers for which P(n)P(n) is false. Since SS is non-empty, the well-ordering property dictates it must have a least element, denoted as mm. We know mm cannot be 11 because P(1)P(1) is true. Because mm is the smallest element in SS and m > 1, the integer m1m-1 must not be in SS, meaning P(m1)P(m-1) is true. However, since the conditional P(k)ightarrowP(k+1)P(k) ightarrow P(k+1) holds for all integers, the truth of P(m1)P(m-1) implies the truth of P(m)P(m). This creates a contradiction because mm was defined as an element of SS (where the proposition is false). Therefore, no such set of counterexamples can exist, and P(n)P(n) must be true for all positive integers.

Another helpful visualization of induction is an infinite sequence of standing dominoes labeled 1,2,3,ext,n1, 2, 3, ext{…}, n. If the first domino is knocked down (Basis Step, P(1)P(1)) and the distance between dominoes is such that whenever the kextthk ext{-th} domino falls, it knocks over the (k+1)extst(k+1) ext{-st} domino (Inductive Step, P(k)ightarrowP(k+1)P(k) ightarrow P(k+1)), then all dominoes in the sequence will eventually fall. This implies P(n)P(n) is true for every positive integer nn.

Applications in Summation and Divisibility

Mathematical induction is a powerful tool for proving summation formulas. Consider the formula for the sum of the first nn positive integers: racn(n+1)2rac{n(n+1)}{2}. To prove this, the Basis Step shows P(1)P(1) is true because rac1(1+1)2=1rac{1(1+1)}{2} = 1. For the Inductive Step, we assume the inductive hypothesis: 1+2+ext+k=rack(k+1)21 + 2 + ext{…} + k = rac{k(k+1)}{2}. We then add (k+1)(k+1) to both sides of the equation to show that the sum up to k+1k+1 equals rac(k+1)(k+2)2rac{(k+1)(k+2)}{2}. Once a conjecture like this is formed, induction serves to verify its correctness definitively.

A similar process is used for conjecturing and proving the sum of the first nn positive odd integers. By examining initial cases—1=121=1^2, 1+3=221+3=2^2, and 1+3+5=321+3+5=3^2—one can conjecture that 1+3+5+ext+(2n1)=n21 + 3 + 5 + ext{…} + (2n-1) = n^2. To prove this using induction, the Basis Step confirms P(1)P(1) since 1=121 = 1^2. In the Inductive Step, we assume P(k)P(k) holds: 1+3+ext+(2k1)=k21 + 3 + ext{…} + (2k-1) = k^2. Adding the next odd integer, (2k+1)(2k+1), to both sides yields k2+2k+1k^2 + 2k + 1, which factors into (k+1)2(k+1)^2, completing the proof.

Induction is also used for divisibility results. For example, to prove that n3nn^3 - n is divisible by 33 for every positive integer nn, we define P(n)P(n) as the proposition of divisibility. The Basis Step is true because 131=01^3 - 1 = 0, which is divisible by 33. For the Inductive Step, we assume k3kk^3 - k is divisible by 33. We then examine (k+1)3(k+1)(k+1)^3 - (k+1), which expands to k3+3k2+3k+1k1k^3 + 3k^2 + 3k + 1 - k - 1. Reorganizing terms gives (k3k)+3(k2+k)(k^3 - k) + 3(k^2 + k). By the inductive hypothesis, the first part is divisible by 33, and the second part is clearly divisible by 33 as it is a multiple of 33. The sum of two integers divisible by 33 is also divisible by 33, thus proving the claim for all positive integers nn.

Recursively Defined Functions and Sequences

A recursive or inductive definition of a function involves two steps. First, the Basis Step specifies the value of the function at zero or its starting point. Second, the Recursive Step provides a rule for finding the function's value at an integer based on its values at smaller integers. This process is equivalent to defining a sequence a0,a1,a2,exta_0, a_1, a_2, ext{…} using recurrence relations. For example, if a function is defined as f(0)=3f(0) = 3 and f(n+1)=f(n)+2f(n+1) = f(n) + 2, the values can be found sequentially: f(1)=3+2=5f(1) = 3+2=5, f(2)=5+2=7f(2) = 5+2=7, f(3)=7+2=9f(3) = 7+2=9, and so on. Similarly, the factorial function n!n! can be defined recursively with the basis step f(0)=1f(0) = 1 and the recursive step f(n+1)=(n+1)f(n)f(n+1) = (n+1)f(n). Summation of terms aia_i can also be defined recursively where the sum of the first 00 terms is a0a_0 and the sum to n+1n+1 is the sum to nn plus an+1a_{n+1}.

Fibonacci Numbers and Strong Induction

The Fibonacci numbers are a classic example of a recursively defined sequence where the first two terms are fixed and subsequent terms are the sum of the two preceding terms. The definition is given by f0=0f_0 = 0, f1=1f_1 = 1, and fn=fn1+fn2f_n = f_{n-1} + f_{n-2} for nightarrow2n ightarrow 2. This sequence generates values such as f2=1f_2 = 1, f3=2f_3 = 2, f4=3f_4 = 3, f5=5f_5 = 5, and so on. Fibonacci numbers were originally described by Fibonacci himself to model the population growth of rabbits. The study of these numbers often requires strong induction, a variant of induction where the inductive hypothesis assumes the proposition is true for all integers up to and including kk to prove the case for k+1k+1.

An example of a result concerning Fibonacci numbers is the inequality f_n > ext{α}^{n-2} for nightarrow3n ightarrow 3, where extα=rac1+ext52ext{α} = rac{1 + ext{√}5}{2}. To prove this, we use strong induction. The basis step must check two initial cases: P(3)P(3) holds because f3=2f_3 = 2 and 2 > ext{α}^{3-2} ext{≈} 1.618; P(4)P(4) holds because f4=3f_4 = 3 and 3 > ext{α}^{4-2} ext{≈} 2.618. For the inductive step, we assume that the inequality f_j > ext{α}^{j-2} holds for all integers jj such that 3extjextk3 ext{≤} j ext{≤} k. To show it holds for k+1k+1, we use the definition fk+1=fk+fk1f_{k+1} = f_k + f_{k-1}. By the inductive hypothesis, f_{k+1} > ext{α}^{k-2} + ext{α}^{k-3}. Factoring out extαk3ext{α}^{k-3} gives extαk3(extα+1)ext{α}^{k-3}( ext{α} + 1). Since extαext{α} is a solution to the quadratic equation x2x1=0x^2 - x - 1 = 0, we know that extα2=extα+1ext{α}^2 = ext{α} + 1. Substituting this back into the expression, we get extαk3imesextα2=extαk1ext{α}^{k-3} imes ext{α}^2 = ext{α}^{k-1}. Because (k+1)2=k1(k+1)-2 = k-1, it is shown that f_{k+1} > ext{α}^{(k+1)-2}, completing the strong induction proof.