# Zero is a natural number

**URL:** <https://boards.straightdope.com/t/zero-is-a-natural-number/229762>\
**Category:** Cecil's Columns/Staff Reports\
**Created:** [February 18, 2004, 7:27am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762 "2004-02-18T07:27:01Z")\
**Posts on this page:** 17\
**Page:** 3

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 3, 2004, 8:17pm UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/41 "2004-04-03T20:17:49Z")

</div>

Almost forgot: welcome! (though I’m sure Dex or someone will be around shortly to say that)

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [April 3, 2004, 10:48pm UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/42 "2004-04-03T22:48:52Z")

</div>

Just for the record, if we do not define 0[sup]0[/sup] = 1, you can’t use the binomial theorem to expand (a + 0)[sup]1[/sup].

---

<div class="post-metadata">

**Author:** ![John\_W.Kennedy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/john_w.kennedy/32/1031_2.png) [@John\_W.Kennedy](https://boards.straightdope.com/u/John_W.Kennedy)\
**Post date:** [April 4, 2004, 1:13am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/43 "2004-04-04T01:13:16Z")

</div>

> [@ultrafilter](#):
>
> Just for the record, if we do not define 0[sup]0[/sup] = 1, you can’t use the binomial theorem to expand (a + 0)[sup]1[/sup].

There are plenty of cases where the general rule x[sup]0[/sup]=1 works for x=0, just as there are plenty of cases where the general rule that x/x=1 does. But, in general, if you allow x[sup]0[/sup] into your work, you can prove that 1=2.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [April 4, 2004, 7:43am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/44 "2004-04-04T07:43:31Z")

</div>

> [@John W. Kennedy](#):
>
> But, in general, if you allow x[sup]0[/sup] into your work, you can prove that 1=2.

Can you please give an example of such a proof?

---

<div class="post-metadata">

**Author:** ![Shade](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Shade](https://boards.straightdope.com/u/Shade)\
**Post date:** [April 4, 2004, 10:09am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/45 "2004-04-04T10:09:23Z")

</div>

> [@Tyrrell McAllister](#):
>
> Can you please give an example of such a proof?

Well, it depends what rules of arithmetic you’re willing to give up. A good example is “I want to make x[sup]a[/sup]x[sup]b[/sup]=x[sup]a+b[/sup] for all x, a ,b.”

If so, then 0=0.0=0[sup]1[/sup].0[sup]-1[/sup]=0[sup]0[/sup]=1. So 0=1, add 1 and get 1=2.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 4, 2004, 10:35am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/46 "2004-04-04T10:35:49Z")

</div>

> [@ultrafilter](#):
>
> Just for the record, if we do not define 0[sup]0[/sup] = 1, you can’t use the binomial theorem to expand (a + 0)[sup]1[/sup].

I prefer to say

0[sup]0[/sup] =  
exp(0 ln(0)) =  
exp(-0\*\inf) =  
exp(- 0/0)

And thus it’s undefined.

Alternately, look to see what happens to x[sup]y[/sup] as (x,y)-\>(0,0).

---

<div class="post-metadata">

**Author:** ![RM\_Mentock](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@RM\_Mentock](https://boards.straightdope.com/u/RM_Mentock)\
**Post date:** [April 4, 2004, 6:49pm UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/47 "2004-04-04T18:49:30Z")

</div>

> [@Shade](#):
>
> Well, it depends what rules of arithmetic you’re willing to give up. A good example is “I want to make x[sup]a[/sup]x[sup]b[/sup]=x[sup]a+b[/sup] for all x, a ,b.”

Wait, that’s not even a rule.

> [@](#):
>
> If so, then 0=0.0=0[sup]1[/sup].0[sup]-1[/sup]=0[sup]0[/sup]=1. So 0=1, add 1 and get 1=2.

Your second step points that out. 0 is not 0[sup]-1[/sup].

Besides, I’m pretty sure that John meant allowing 0[sup]0[/sup], not x[sup]0[/sup], since x[sup]0[/sup] is defined for all x except x=0.

---

<div class="post-metadata">

**Author:** ![John\_W.Kennedy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/john_w.kennedy/32/1031_2.png) [@John\_W.Kennedy](https://boards.straightdope.com/u/John_W.Kennedy)\
**Post date:** [April 4, 2004, 10:34pm UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/48 "2004-04-04T22:34:42Z")

</div>

> [@RM Mentock](#):
>
> Wait, that’s not even a rule.
> 
> Your second step points that out. 0 is not 0[sup]-1[/sup].
> 
> Besides, I’m pretty sure that John meant allowing 0[sup]0[/sup], not x[sup]0[/sup], since x[sup]0[/sup] is defined for all x except x=0.

Actually it is a rule, but his application, involving rasing to zero to a negative power, involves yet another forbidden operation. Zero to a negative power is equivalent to dividing one by zero. Zero to the zero is equivalent to dividing zero by zero, and any textbook example of the paradoxes that arrive with you divide zero by zero will apply equally well.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [April 5, 2004, 1:33am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/49 "2004-04-05T01:33:18Z")

</div>

> [@](#):
>
> Alternately, look to see what happens to x[sup]y[/sup] as (x,y)-\>(0,0).

That’s an interesting one, because if you approach the origin along any straight line (other than the line x=0), you’ll find a limit of 1. In fact, I’m pretty sure that if you follow any polynomial path to the origin, you still get one. Nonetheless, there still exist paths to the origin which will give you any limit you like, between 0 and 1.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 5, 2004, 1:49am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/50 "2004-04-05T01:49:33Z")

</div>

> [@Chronos](#):
>
> That’s an interesting one, because if you approach the origin along any straight line (other than the line x=0), you’ll find a limit of 1. In fact, I’m pretty sure that if you follow any polynomial path to the origin, you still get one. Nonetheless, there still exist paths to the origin which will give you any limit you like, between 0 and 1.

This shows the reason why epssilon-delta proofs are essential to a “real” understanding of limits in multiple variables. Unfortunately, many (if not most) schools end up taking a shortcut.

Basically, the standard is to be able to prove a limit exists with a certain value by building it up from constant, sum, product, and quotient limit rules; or to prove it doesn’t by finding two (usually polynomial) paths with different limits. We do teach examples where all straight lines agree, but a parabolic path doesn’t, for instance. This is a good example of how _horribly_ wrong things can (and in fact “almost always” do) go.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [April 5, 2004, 3:41am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/51 "2004-04-05T03:41:30Z")

</div>

> [@Mathochist](#):
>
> Alternately, look to see what happens to x[sup]y[/sup] as (x,y)-\>(0,0).

Look at what happens to it in the left half-plane. Why worry about a discontinuity at the origin?

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [April 5, 2004, 3:58am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/52 "2004-04-05T03:58:57Z")

</div>

> [@Shade](#):
>
> Well, it depends what rules of arithmetic you’re willing to give up. A good example is “I want to make x[sup]a[/sup]x[sup]b[/sup]=x[sup]a+b[/sup] for all x, a ,b.”
> 
> If so, then 0=0.0=0[sup]1[/sup].0[sup]-1[/sup]=0[sup]0[/sup]=1. So 0=1, add 1 and get 1=2.

> [@Mathochist](#):
>
> I prefer to say
> 
> 0[sup]0[/sup] =  
> exp(0 ln(0)) =  
> exp(-0\*\inf) =  
> exp(- 0/0)
> 
> And thus it’s undefined.
> 
> Alternately, look to see what happens to x[sup]y[/sup] as (x,y)-\>(0,0).

I don’t think any of these present reasons for believing that 0[sup]0[/sup] is undefined. First, we only ask that x[sup]a[/sup]x[sup]b[/sup]=x[sup]a+b[/sup] for all x, a, b _such that both sides of the equation are defined_. This prevents the step of **Shade** ’s “proof” where we pass from 0[sup]1[/sup].0[sup]-1[/sup] to 0[sup]0[/sup] (not to mention the step that **RM Mentock** pointed out where we passed from 0 to 0[sup]-1[/sup]).

The same problem applies to **Mathochist** ’s “proof”. We can only use the identity “_x_[sup]_y_[/sup] = exp(_y_ ln(_x_)) for all _x_, _y_” when both sides of the equation are defined. Since ln(_x_) isn’t defined when _x_=0, this equation can’t be used to argue against (or for) the definedness of 0[sup]0[/sup].

Finally, the observation about limits just means that we give up hope that _f_(_x_,_y_) = _x_[sup]_y_[/sup] is continuous at the origin. That doesn’t mean that it has to be undefined at the origin.

See the [sci.math FAQ entry](http://db.uwaterloo.ca/~alopez-o/math-faq/node40.html#SECTION00530000000000000000) on 0[sup]0[/sup] for more discussion.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 5, 2004, 4:01am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/53 "2004-04-05T04:01:31Z")

</div>

> [@ultrafilter](#):
>
> Look at what happens to it in the left half-plane. Why worry about a discontinuity at the origin?

Well, I think the germ of x[sup]y[/sup] at the origin is an interesting pathology, more so than that along the branch-cut.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 5, 2004, 4:21am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/54 "2004-04-05T04:21:25Z")

</div>

> [@Tyrrell McAllister](#):
>
> Finally, the observation about limits just means that we give up hope that _f_(_x_,_y_) = _x_[sup]_y_[/sup] is continuous at the origin. That doesn’t mean that it has to be undefined at the origin.

The first “proof” was more an idea for why something must go wrong, and that it’s intimately tied to 0/0.

The second _does_ prove that it must be undefined, or rather that no definition suffices, because for any number in **C** there is a path in **C** [sup]2[/sup] such that x(t)[sup]y(t)[/sup] converges to that number as (x,y)-\>(0,0) along it.

For my next trick:  
[ul]  
[li]Rotando and Korn’s rationale is unconvincing to be because outside of complex analysis, almost all interesting structures are less than analytic. C[sup]infinity[/sup] manifolds are nice; analytic ones are boring. The fact that only one side of the limit is being taken shows that the composed function f(x)[sup]g(x)[/sup] is far from analytic itself.[/li][li]Graham, Knuth, and Patashnik are arguing from the perspective of combinatorialists and computer scientists. Yes, in combinatorics 0[sup]0[/sup]=1 makes most formulae work out more elegantly. This doesn’t mean that it should be defined as such without specific commentary.[/li][li]Kahan just rehashes R&K.[/li][li]The next “rationale” is an argument by authority. “Consensus has been built around 0[sup]0[/sup]=1. Take our word for it.”[/li][li]Libri recounts both arguments again.[/li][/ul]  
So, your link basically only advances two arguments, neither of which are very convincing outside their specific fields. The upshot is that 0[sup]0[/sup] may well be taken to have the value 1, but only with specific mention of the fact and the reason why this is being done.

Also, none of this really responds to what touched off this branch: my refutation that “differential calculus was developed … just to deal with forms like 0/0”. I think if anything it shows that forms like 0/0 _haven’t_ been “dealt with”. In certain situations there’s an obvious value to use to ignore them, but in general it gets hairy.

---

<div class="post-metadata">

**Author:** ![Tyrrell\_McAllister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tyrrell_mcallister/32/16772_2.png) [@Tyrrell\_McAllister](https://boards.straightdope.com/u/Tyrrell_McAllister)\
**Post date:** [April 5, 2004, 6:35am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/55 "2004-04-05T06:35:48Z")

</div>

> [@Mathochist](#):
>
> The first “proof” was more an idea for why something must go wrong, and that it’s intimately tied to 0/0.
> 
> The second _does_ prove that it must be undefined, or rather that no definition suffices, because for any number in **C** there is a path in **C** [sup]2[/sup] such that x(t)[sup]y(t)[/sup] converges to that number as (x,y)-\>(0,0) along it.

What do you mean by “no definition suffices”? True, no definition suffices to make _x_[sup]_y_[/sup] continuous, but why throw the baby out with the bath water? Just because we can’t assign a value which makes the function continuous doesn’t mean we can’t assign any value at all. It certainly doesn’t mean that any contradictions result from assigning the value 0[sup]0[/sup] = 1 (as evidently claimed by you and **Shade**.)

Functions are defined by convenience. Having a function be continuous is a great convenience, but once there is no hope of that, we can turn to other considerations when deciding how to define the function. In some cases, assigning any value at a particular point leads to contradiction (as with 0/0), but no one has shown that that is the case with 0[sup]0[/sup]. You have already conceded that 0[sup]0[/sup] = 1 is convenient in some fields. Unless you know of some other assignment that confers some convenience in another field, why do you resist that definition?

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 5, 2004, 7:08am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/56 "2004-04-05T07:08:46Z")

</div>

> [@Tyrrell McAllister](#):
>
> What do you mean by “no definition suffices”? True, no definition suffices to make _x_[sup]_y_[/sup] continuous, but why throw the baby out with the bath water? Just because we can’t assign a value which makes the function continuous doesn’t mean we can’t assign any value at all. It certainly doesn’t mean that any contradictions result from assigning the value 0[sup]0[/sup] = 1 (as evidently claimed by you and **Shade**.)

I never claimed that any contradiction would arise, but you must concede that no contradiction will arise by choosing any other value. Mind you, the function is not merely discontinuous at zero. The germ of x[sup]y[/sup] at the origin is _extremely_ pathological.

> [@](#):
>
> Functions are defined by convenience. Having a function be continuous is a great convenience, but once there is no hope of that, we can turn to other considerations when deciding how to define the function. In some cases, assigning any value at a particular point leads to contradiction (as with 0/0), but no one has shown that that is the case with 0[sup]0[/sup]. You have already conceded that 0[sup]0[/sup] = 1 is convenient in some fields. Unless you know of some other assignment that confers some convenience in another field, why do you resist that definition?

Because it’s highly non-canonical. If you want to use it as a rule, you _must_ state it and explain why you’re using it in this situation. This is the way mathematics works: I don’t have to show another area where a different definition would be more elegant (though I’m sure that I could construct a pathological example); I just have to show that an alternate definition would not lead to contradiction. If it’s not naturally universal, don’t say it’s a universal feature.

Actually, what I most advocate is leaving it specifically undefined. That is: something which seems to evaluate to 0[sup]0[/sup] must be considered carefully to see what its “real” value is. Not everything in the form 0[sup]0[/sup] is equal to 1, as your earlier link clearly admits (C[sup]infinity[/sup] is not a good enough hypothesis for the analytic argument).

Just in case, I’ll reiterate again that I’m not saying _not_ to use 0[sup]0[/sup]=1, but that when you use it you should make specific note of the fact and explain why it’s justified.

---

<div class="post-metadata">

**Author:** ![Mathochist](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Mathochist](https://boards.straightdope.com/u/Mathochist)\
**Post date:** [April 5, 2004, 7:19am UTC](https://boards.straightdope.com/t/zero-is-a-natural-number/229762/57 "2004-04-05T07:19:25Z")

</div>

Almost forgot: x[sup]y[/sup] is not defined “by convenience”. It is defined as

x[sup]y[/sup] = exp(y log(x))

where exp and log are defined as the algebraic exponential for the field **C** and its inverse on a suitable Riemann surface, respectively. This definition is the closest to an analytic function extending the definition by iterated multiplications on ( **Z** [sup]+[/sup])[sup]2[/sup]. That function has no continuation to the origin. This is similar to the case of the extension of the factorial function on **N** to **C** , and its behavior at the negative integers. The character of the germ is far worse, of course.

[Previous page](https://boards.straightdope.com/t/zero-is-a-natural-number/229762.md?page=2)
