UPI Study › Courses › Discrete Mathematics › Free lessons › Lesson 4.1 Free with a free account
Principles of Mathematical Induction
Discrete Mathematics · Chapter 4: Mathematical InductionSection 4.1 · lesson 25 of 879 min · free with a free account
Free preview
Create a free account to keep watching
It takes a minute and costs nothing. Your free account unlocks all of Chapter 1 and 3 more lessons of Discrete Mathematics.
Lesson complete
Earn the 4 college credits for Discrete Mathematics
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Constructing Proofs by Induction →← Practice: Arithmetic and Geometric SeriesNext lesson: Constructing Proofs by Induction →
In this lesson
Proving a statement for every positive integer - with a finite amount of work.
- State the base case and inductive step
- Explain why induction is valid, using well-ordering
- Describe what makes induction "weak"
- Write a complete induction proof
Transcript
Everything said in the video, section by section (1,412 words). Read along, or search it.
Mathematical Induction
Principles of Mathematical Induction
Chapter four is about mathematical induction, a technique for proving a statement about every positive integer, using only a finite amount of work. This section lays out its two-part structure, and explains why that structure is logically valid, rather than merely convenient. Then it works through one complete proof. Section four point two takes on harder examples, and a stronger version of the technique.
The Opening Problem
A Pattern in a Nested Loop
A developer profiling a sorting routine notices a pattern in a nested loop. On its first pass, the inner loop runs once. On the second, twice. On the third, three times, and so on, through n passes. Counting the total by hand is easy for small cases. One, then one plus two is three, then six, then ten. Each matches the formula n times n plus one, over two. So it's tempting to conclude the formula is simply correct. But the routine might process an input of size ten thousand, or ten million, and nobody has checked those by hand. Matching a formula against a handful of small examples, though, isn't the same as knowing it holds for every positive integer. And a claim that fails even once, for some large untested n, is false as a general statement, however many small cases it passed.
Definition
The Principle of Mathematical Induction
Let P of n stand for a statement whose truth depends on a positive integer n. For instance, one plus two, up to n, equals n times n plus one over two. Induction proves P of n for every integer n from some starting value n zero onward, by establishing exactly two things. First, the base case. Show directly that P of n zero is true. Second, the inductive step. For an arbitrary k, at least n zero, show that if P of k is true, then P of k plus one is also true. The assumption that P of k is true is called the inductive hypothesis. Neither piece is optional, and neither is enough alone. The base case by itself is a true statement about one number. It says nothing about the next. And the inductive step by itself is a conditional. It never asserts that any particular case actually holds, so it has nothing to attach to. Only once the base case supplies one confirmed instance does the chain of implications have somewhere to start.
The Chain
One Anchor, Endless Links
Picture it as a chain. The base case anchors the chain at P of one. Each arrow is one application of the inductive step. P of one gives P of two, which gives P of three, and so on. But any picture only ever shows finitely many links. So what actually justifies concluding that P holds for every positive integer? That rests on a basic property of the positive integers.
Why Induction Works
The Well-Ordering Principle
The well-ordering principle says every nonempty set of positive integers has a least element. It's taken as a foundational property. Here's why the base case and inductive step guarantee P for every n. Suppose both are established, but suppose P is nonetheless false for some integer. Let C be the set of all integers, at least n zero, where P fails. By supposition, C isn't empty. So by well-ordering, it has a least element. Call it m. The base case says P of n zero is true, so m isn't n zero. That means m minus one is at least n zero. And since m is the least element of C, m minus one isn't in C. So P of m minus one is true. Now the inductive step, applied at m minus one, says P of m is true. That contradicts m being in C, where P is false. So C must be empty, and P holds for every n. That's why induction is a legitimate proof technique, not a convenient shortcut.
Weak Induction
Each Step Leans on One Predecessor
The version of induction just defined is called weak induction. The name refers to what the inductive step may assume. In proving P of k plus one, weak induction uses only the single previous statement, P of k. Not all the earlier cases, even though they've all been established. A physical image helps. Picture a row of dominoes, each tall enough to knock over only the domino directly in front of it. Knocking over the first domino is the base case. Each domino knocking over the next is the inductive step. And a domino's fall depends only on the one directly behind it, not the whole history of dominoes that already fell. Each step leans on exactly one predecessor. Some statements genuinely need several earlier cases at once. Section four point two introduces strong induction for those.
A Fully Worked Proof
The Sum of the First n Integers
Now a complete proof, of the claim from the opening. For every positive integer n, one plus two, up to n, equals n times n plus one, over two. Let P of n be that statement. The base case is n equal to one. The left side is one. The right side is one times two, over two, which is also one. They're equal, so P of one is true. For the inductive step, let k be an arbitrary positive integer, and assume P of k. One plus two, up to k, equals k times k plus one, over two. We must show P of k plus one. One plus two, up to k plus one, equals k plus one times k plus two, over two.
The Inductive Step
Use the Hypothesis, Then Factor
Start from the left side of P of k plus one, and group the first k terms. That's the sum up to k, plus k plus one. The inductive hypothesis replaces the bracketed sum with k times k plus one, over two. Now factor k plus one out of both terms. That leaves k plus one, times k over two plus one, which is k plus one times k plus two, over two. That's exactly the right side of P of k plus one. So the inductive step is established, for an arbitrary k. Both the base case and the inductive step hold. So by the principle of mathematical induction, the formula is true for every positive integer n.
Figure 2
A Picture for n = 5
Here's a complementary way to see the same formula, for n equal to five. A staircase of one, two, three, four, and five unit squares, in green, combined with an upside-down copy of itself, in gold, exactly fills a five-by-six rectangle. So twice the sum from one to five equals five times six, matching the formula. But that's a one-picture argument for n equal to five specifically. It isn't a proof for every n. Only the induction argument does that.
Finitely Many Checks vs a Proof
A Different Kind of Argument
Return to the opening with this proof in hand. Running the loop, and printing the total for n from one to a thousand, would confirm the formula in every one of those thousand cases. But that check, however extensive, is still a check of finitely many cases. The induction proof is a fundamentally different kind of argument. One base case and one inductive step, a single finite piece of reasoning that covers every positive integer. That includes every n a running program will ever actually encounter.
Anatomy of an Induction Proof
What Breaks if a Piece Is Missing
This table isolates what each piece of an induction proof is responsible for, and what breaks without it. Without the base case, the inductive step becomes a chain of implications with nothing true to start from. P of k implies P of k plus one may be perfectly valid, and still never fire. Without the inductive step, only P of n zero is known. Nothing connects it to any larger n. And without the well-ordering principle, there's no guarantee that a set of counterexamples would have a smallest member. The contradiction argument would have no logical footing.
Takeaways
A Finite Argument About Infinitely Many Cases
To summarize. Mathematical induction proves P of n for every integer from n zero on, using a base case, and an inductive step for an arbitrary k. Both are necessary, and only together are they sufficient. Induction is valid because of well-ordering. A least counterexample would contradict them both. Weak induction's inductive step uses only the single previous case. And checking many specific values, however many, is never a proof for all n. Here's something to think about. A student objects that assuming P of k, to prove P of k plus one, assumes the very thing we set out to prove. Isn't that circular? Explain precisely why not. Does the inductive step claim that P of k is true, or something else about the relationship between the two? And what role does the base case play?
About Discrete Mathematics at UPI Study
Discrete Mathematics (Math 230) is a self-paced online course of 87 video lessons in 13 chapters, from logic and proof to counting, probability, graph theory and trees. It carries a NCCRS credit recommendation for 4 semester credits.
Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Enroll now → Course details Download the syllabus Every course with PRO →
Why take it here
Why students take Discrete Mathematics with UPI Study
Where the credit goes
Universities that work with NCCRS
Discrete Mathematics carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.
FAQ
Questions students ask us
About Principles of Mathematical Induction
What are the base case and inductive step in mathematical induction?
Why is mathematical induction a valid proof technique?
What makes induction "weak" induction?
How do I write a complete induction proof that 1+2+\cdots+n = \frac{n(n+1)}{2}?
About the Discrete Mathematics course
How many college credits is Discrete Mathematics?
How much does Discrete Mathematics cost and what is included?
Which universities accept UPI Study credits?
How long does Discrete Mathematics take?
How are the exams done?
How do my credits reach my college?
Ready for the full course? Earn 4 credits in Discrete Mathematics.
87 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.
4 credits · NCCRSEnroll →