Difference between revisions of "Proofs:Induction"
Line 41: | Line 41: | ||
So the inductive case holds. Now by induction we see that the theorem is true. | So the inductive case holds. Now by induction we see that the theorem is true. | ||
− | ==Example 2== | + | ===Example 2=== |
Proposition: <math>\text{Prove that }4~|~f(n)=5^n+8n+3,\text{ for }n\in\N^+</math> | Proposition: <math>\text{Prove that }4~|~f(n)=5^n+8n+3,\text{ for }n\in\N^+</math> | ||
Revision as of 11:36, 1 October 2021
The beauty of induction is that it allows a theorem to be proven true where an infinite number of cases exist without exploring each case individually. Induction is analogous to an infinite row of dominoes with each domino standing on its end. If you want to make all the dominoes fall, you can either:
- push on the first one, wait to see what happens, and then check each domino afterwards (which may take a long time if there's an infinite number of dominoes!)
- or you can prove that if any domino falls, then it will cause the domino after it to fall. (i.e. if the first one falls then the second one will fall, and if the second one falls then the third one will fall, etc.)
Induction, essentially, is the methodology outlined in point 2.
Parts of Induction
Induction is composed of three parts:
- The Base Case (in the domino analogy, this shows the first domino will fall)
- The Induction Hypothesis (in the domino analogy, we assume that a particular domino will fall)
- The Inductive Step (in the domino analogy, we prove that the domino we assume will fall will cause the next domino to fall)
Weak Induction
Weak induction is used to show that a given property holds for all members of a countable inductive set, this usually is used for the set of natural numbers.
Weak induction for proving a statement (that depends on ) relies on two steps:
- is true for a certain base step. Usually the base case is or
- . That is, if is true, then is true.
If these two properties hold, one may induce that the property holds for all elements in the set in question. Returning to the example, if you are sure that you called your neighbor, and you knew that everyone who was called in turn called his/her neighbor, then you would be guaranteed that everyone on the block had been called (assuming you had a linear block, or that it curved around nicely).
Example 1
The first example of a proof by induction is always 'the sum of the first n terms:'
- Theorem 2.4.1. For any fixed
- Proof
- Base step: , therefore the base case holds.
- Inductive step: Assume that . Consider .
So the inductive case holds. Now by induction we see that the theorem is true.
Example 2
Proposition:
Note our parameter, This means it wants us to prove that it's true for all values of which belong to the set () of positive integers ()
Basis case:
Assumption: Now we let where is a general positive integer and we assume that
Remember
Induction: Now we want to prove that the term is also divisible by 4
Hence
This is where our assumption comes in, if then 4 must also divide
So:
Now we've shown and thus it implies because you have successfully shown that 4 divides , where is a general, positive integer () and also the consecutive term after the general term ()
Conclusion: