3

I was looking at how to do mathematical induction. One source said to use $n = 1$ for the basis step. But I have seen other sources choose the value $n = 0$.

So the question is as follows:

Question: How do I know when it is right to use $n = 0$ versus $n = 1$? I don't see a pattern. Is there a general rule about how to pick the value?

This source uses $n = 1$: http://www.mathsisfun.com/algebra/mathematical-induction.html

This source uses $n = 1$: http://cims.nyu.edu/~kiryl/teaching/aa/review1.pdf

But this source uses $n = 0$: http://www.cs.odu.edu/~toida/nerzic/level-a/induction/example1/example1.html

But how can't $n = 1$ be used for the problem in the last source? I'm confused.

Nicholas
  • 567
  • 3
    There is a discrepancy whether $\mathbb{N}={0,1,2,\dots}$ or if $\mathbb{N}={1,2,3,\dots}$. Both conventions are used. In most cases, it is unimportant which is being used, but if it matters it should be mentioned. In either case, you start with $n=$ the lowest number you wish to consider. Sometimes it makes no sense to talk about the case when $n=0$ (such as in graph theory, the graph with zero vertices). – JMoravitz Jul 14 '15 at 18:35
  • 3
    You use whatever the smallest case that works is. – Race Bannon Jul 14 '15 at 18:36
  • So I could have n = 1 for the problem from the third link? – Nicholas Jul 14 '15 at 18:38
  • 1
    To expand on Race Bannon's answer: you use whatever case is germane (and works!) and that need not necessarily be $0$ or $1$. I recently had a proof where I started with $2$ and went up; and another where I started with $-1$ and went down. – Simon S Jul 14 '15 at 18:41
  • 1
    yes that's fine, and I actually would have started at n=1, as I define natural numbers to be non-negative integers. --- but note that if you select your base case as n=k (k>1), and the statement holds for all natural numbers, you would also have to go back and prove your statement for numbers 1,...,k – pMarkov Jul 14 '15 at 18:42
  • 1
    There may be several "stray" values that do not fit the inductive step from $n \to n+1$, e.g. proving $2^n \ge n^2 - 1\text{ for }n\ge0,n\in\mathbb{Z}$, where you might take the basis step as $n=3$ [as $2 > (\frac{4}{3})^2$] and prove it and the special cases - $n\in{0,1,2,3}$ - as one-offs. – Marconius Jul 14 '15 at 22:41
  • If you use $n=1$ as your base case, then you have not proven anything for $n=0$, so if the question was to prove that a property holds for all $n \ge 0$, you have not fully answered the question. If, on the other hand, the question is to prove that a property holds for all $n \ge 1$, then it is not necessary to use $n=0$ as your base case, and it may not even be possible because the property may be false for $n=0$. – fkraiem Jul 15 '15 at 14:22
  • The third link in the question says "for all natural numbers", which by itself is ambiguous (you would need to find how this particular author defines "natural numbers"). If you use $n = 0$ as your base case, you prove that it holds for all $n \ge 0$. If you use $n=1$, you prove it for all $n \ge 1$. – fkraiem Jul 15 '15 at 14:27

1 Answers1

6

Is there a general rule about how to pick the value?

This answer largely address that question.


Comment: First a note about the links you provided: the second link actually has an example (Example 4) that starts with $n=0$ as a base case (not every example has $n=1$ as a base case), and the last link involves what JMoravitz addressed in a comment, namely the difference in how some people consider $\mathbb{N}$ (that is, whether or not $\mathbb{N}$ includes $0$).


That being said, there are a few things worth addressing to answer your question in a general sense:

  1. The base case for a proof that uses mathematical induction may start at any integer whatever.
  2. Sometimes you need more than one base case to get a proof started effectively.
  3. Occasionally the choice for the appropriate base case is more of an "art" than anything else.
  4. There are instances where you have to "discover" what value you should use for a base case.

I'll address each of these points separately.


(1): Most often (and no doubt the motivation for your question) you will come across problems that require you to start at $n=0$ or $n=1$ for your induction proof. Regardless, context is what always matters most in induction proofs, for your base case may start at any integer, as pointed out by David Gunderson in his book Handbook of Mathematical Induction:

The base case for mathematical induction need not be $1$ (or $0$); in fact, one may start at any integer. (p. 36)

Weirdly enough, if you need to, you can also construct an induction argument that uses a negative integer as a base case. To see more about this, I'd encourage you to read my answer here that goes into more detail about starting with a negative integer as a base case.

As mentioned, context is really the important thing when constructing proofs by induction. Many claims are not for $n=0$ or $n=1$ but something else entirely. For example:

  • For $n\geq 3$, we have $(n!)^2>n^n$.
  • For $n\geq 4$, we have $2^n<n!$.
  • For $n\geq 5$, we have $(2n)!<(n!)^24^{n-1}$.
  • For $n\geq 6$, we have $6n+6<2^n$.
  • For $n\geq 10$, we have $3n^2+3n+1<2^n$.
  • And so on ad infinitum.

(2): When proving results involving Fibonacci numbers, a form of strong induction is occasionally useful. In particular, the inductive step in many proofs is of the form $[P(k-1)\land S(k)]\to S(k+1)]$. In such instance two base cases are often required. For example:

If $n>5$, then $F_n>\left(\frac{3}{2}\right)^{n-1}$.

To prove the above result, you would first want to verify it for $n=6$ and $n=7$. (You would then make reference to these bases cases in your proof.)

(3): Suppose you encounter the following problem:

For $n\geq 1$, show that $15\mid\bigl(4(47)^{4n}+3(17)^{4n}-7\bigr)$.

Your first inclination would probably be simply to plug in $n=1$, but this results in having to check that $19769280$ is divisible by $15$, and it is ($19769280=15\cdot 1317952$), but that is rather annoying to verify. It would be much easier to check that $0$ is divisible by $15$, something that requires no effort at all to verify. The point is that you could have noticed that the claim is also true for $n=0$ with the base case being easier to verify. Hence, proving the statement for all $n\geq 0$ is actually easier.

(4): In some instances (admittedly not often), you actually have to discover or figure out the value of $c$ for which your statement is true for all $n\geq c$. For example, suppose you encounter the following problem (Exercise 176 from David Gunderson's book):

Prove by induction that for $n$ sufficiently large, $n!>4^n$.

After testing out a sample of $n$-values, it appears that the statement is true for all $n\geq 9$. Of course, you have to construct a proof by induction now with what you feel like is an appropriate base case (i.e., $n=9$). This actually checks out, and it is rather easy to verify. If the statement were not true until some $n$-value later on down the line, then you would not be able to construct a valid induction proof. Hence, sometimes you actually have to tinker around a bit to see what the "best" base case to start with is.


There are probably more points to mention about base cases, but those are the more salient ones as I see it.

  • Probably worth mentioning that you can always transform something like $\forall n \geq a ;P(n)$ into $\forall n \geq 0 ;P(a + n)$, thus, formally, the base case is purely a matter of choice regardless of the statement to be proved. – lisyarus Jul 15 '15 at 14:32
  • @lisyarus Right--I believe the link I provided (here) that addressed that was simply buried in an unfortunately long answer. Perhaps I could have made it more visible, but I believe it address what you are talking about, yes? – Daniel W. Farlow Jul 15 '15 at 14:38
  • 1
    Yes, the link explains exactly what I'm talking about. – lisyarus Jul 15 '15 at 14:44