Let be the predicate which claims that , and define the set , by showing that this set is empty, then it holds true for all .
Therefore by contradiction assume that the set is not empty, thus by the well ordering principle it has a smallest element , note that because holds therefore which means that which implies that then by simply adding to both sides we get that so thefore holds, which is a contradiction so therefore as needed.
- For any
Let if the principle of induction holds true, then this set must be empty, assume for the sake of contradiction that it is non-empty.
If this set is not empty then we have some such that holds true, therefore by the well ordering principle we know that has a minimal element, which we will denote by and note that because holds true , so that so that and it is minimal so that so by definition of it means that holds true, but then by the second property of induction we obtain that holds true, so therefore which is a contradiction.
Therefore since by assuming that is non-empty we get a contradiction, it must mean that is empty, which means that for every we have that holds true, as needed.
Let be the predicate that the statement holds true on a graph with vertices. We will show this is true via induction over .
For the base case, we have two vertices , if there are no edges between them it holds vacuously, note that the only other case is that there is one edge, because if there were two then they could only be formed of the edges which would contradict that there is no way to return back to a city you were previously at. Therefore without loss of generality assume that the only edge is , in that case the statement holds true because is the city into which all roads enter and is the city from which all roads exit.
For the induction step assume the prediate holds true for and we'll prove that it holds true on , so supposing we have a graph with nodes, let's obtain the graph by removing one vertex and all edges it's involved in, by induction this subgraph has an such that all roads enter and all roads exit , specifically note that this implies that the edge and exist in the original graph that contained .
Note that by re-adding in the property would be maintained unless had an edge , but this would be impossible because the graph has the property that when you leave a city you cannot return to it again, but if we have the path contradicts this fact, similarly if an edge existed we also get this contradiction, therefore such edges must not exist which shows that the predicate holds true on the graph containing by using as the sink and as the source.
They are called triangular numbers because by stacking dots of consecutive integers it forms a triangle.
By definition we know that , by the equation we get , therefore the base case holds true.
Let and assume that , let's show that .
We show this true by induction over so for the base case note that as needed.
Now suppose that it holds true for and now let's prove that but observe that
By do it by induction, for the base case we need to verify that which is true because the right hand side simplifies to .
Now suppose the formula holds true for and we'll show it holds true for .
For a moment let's focus on the numerator, we want to show that the numerator is equal to , towards this goal notice that and so the numerator is correct and the entire formula holds true.
With then we get the sequence (the triangular numbers) which recovers the formula for the triangular numbers that was discovered earlier.
Let , then we have that and so the inequality holds true.
Suppose the inequality holds true for , we'd like to show it holds true for which is to say that , on the other hand see that: To get the third line we used the induction hypothesis along with this fact because we know that since , to get to the last line we used this fact
Let be the predicate that holds true for . We want to prove that holds true, which is equivalent to being true. Observe that for the assumption of strong induction states that but we know that holds true, therefore holds.
Let and assume that holds true, therefore holds true for since satisfies the property stated in the statement we are trying to prove, we get that holds, which shows that is true.
Therefore by the principle of induction we see that holds true for every , this implies that holds true for every as well, therefore the statement of strong induction is proven.
Assume the strong induction holds, we want to prove that given any non-empty set then it has a minimum element, we will show this is true by the contrapositive, so assume that has no min element and we'll show that is empty.
Let be the predicate which claims that . Since is bounded below by then if then it would be the least element, so , which shows that holds.
Let and that hold true, note that this means that , we'll show that is true. For contradiction suppose that it does not, which means that , but since nothing before it is in the set, then that would make it the minimum element, but has no minimum element, given this contradiction we know that and therefore is true, thus by strong induction, we know that holds true for all and therefore since no element is in is it empty, as needed.
- For any
- is true for infinitely many ; and
- For every the implication is true
Note that if holds true for then we would be able to conclude that for all , let's prove that this statement is true.
Let since holds true for infinitely many values then there exists some such that such that . Now consider the new predicate defined by , note that if holds true for values then holds true on the values which is what we're trying to prove.
Therefore we'll prove that holds on via finite induction. Note that holds true as it is , let and assume holds true, which is to say that is true, let's prove that holds true, which is to say that we must prove that holds true.
Since then by the second property of since we know that holds true, then we know that holds true, so that holds true, therefore by finite induction, see that holds on the set and therefore holds on the set as well, which is what we were trying to show, and thus holds true for all .