# Zero divided by zero

**URL:** <https://boards.straightdope.com/t/zero-divided-by-zero/267516>\
**Category:** Factual Questions\
**Created:** [October 4, 2004, 8:02pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516 "2004-10-04T20:02:51Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [October 4, 2004, 9:27pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/21 "2004-10-04T21:27:11Z")

</div>

> [@Complex Conjugate](#):
>
> So it appies to rings in general? I’m guessing that’s because a\*0 = 0 in any ring.

a\*0 = 0 isn’t a problem in the one-element ring because there’s no failure of cancellation, I think.

---

<div class="post-metadata">

**Author:** ![Lobsang](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lobsang/32/4067_2.png) [@Lobsang](https://boards.straightdope.com/u/Lobsang)\
**Post date:** [October 4, 2004, 9:53pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/22 "2004-10-04T21:53:36Z")

</div>

> [@Gary T](#):
>
> Let’s try this again:
> 
> It isn’t anything. As **zev** noted, it is undefined. There is no answer, because no answer exists.
> 
> For more info and explanation, Google on _“division by zero” undefined_ .

Doesn’t that mean 0/0=0 because 0 is nothing. what’s all this ‘undefined’ nonsense?

---

<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:** [October 4, 2004, 9:55pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/23 "2004-10-04T21:55:52Z")

</div>

> [@Lobsang](#):
>
> Doesn’t that mean 0/0=0 because 0 is nothing. what’s all this ‘undefined’ nonsense?

a/b is defined to be c iff a = bc and there’s no other number d such that a = bd. There’s no unique c if a = b = 0, so it’s undefined.

---

<div class="post-metadata">

**Author:** ![Lobsang](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lobsang/32/4067_2.png) [@Lobsang](https://boards.straightdope.com/u/Lobsang)\
**Post date:** [October 4, 2004, 10:06pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/24 "2004-10-04T22:06:29Z")

</div>

I concede. Maths is like Klingon to me. I don’t even know why I posted in this thread (Yes I do. I saw an analogy that I misinterpreted as being able to produce an answer of zero)  
It’s funny that. Maths is alien to me, yet I took to programming like a duck to water.  
You’d think a good coder would be a good mathmatician.

---

<div class="post-metadata">

**Author:** ![Gary\_Robson](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gary_robson/32/3448_2.png) [@Gary\_Robson](https://boards.straightdope.com/u/Gary_Robson)\
**Post date:** [October 4, 2004, 10:30pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/25 "2004-10-04T22:30:51Z")

</div>

> [@Lobsang](#):
>
> Doesn’t that mean 0/0=0 because 0 is nothing. what’s all this ‘undefined’ nonsense?

The reason for calling it “undefined” is that if you define it to be _anything_ (even zero), then you can come up with some absolutely ridiculous mathematical proofs. Here’s a favorite of mine, which “proves” that 1=2:

1: Let a=b  
2: Then a[sup]2[/sup] = ab  
3: a[sup]2[/sup] + a[sup]2[/sup] = a[sup]2[/sup] + ab  
4: 2a[sup]2[/sup] = a[sup]2[/sup] + ab  
5: 2a[sup]2[/sup] - 2ab = a[sup]2[/sup] + ab - 2ab  
6: 2a[sup]2[/sup] - 2ab = a[sup]2[/sup] - ab  
7: 2(a[sup]2[/sup] - a b) = 1(a[sup]2[/sup] - a b)  
8: cancel the (a[sup]2[/sup] - ab) from both sides to show 1=2

There are much simpler “proofs” like this, but the more complex versions tend to be more fun, because it takes a bit longer to find the problem.

---

<div class="post-metadata">

**Author:** ![BobLibDem](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/boblibdem/32/3149_2.png) [@BobLibDem](https://boards.straightdope.com/u/BobLibDem)\
**Post date:** [October 4, 2004, 11:13pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/26 "2004-10-04T23:13:55Z")

</div>

The answer depends on what zero is. If it is a function of x then you may use l’Hopital’s rule to find the answer. The limit as g(x) goes to zero of f(x)/g(x) =f’(x)/g’(x). For example, limit as x goes to zero of sin (x) / x = limit as x goes to zero cos (x) / 1 = 1.

---

<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:** [October 4, 2004, 11:59pm UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/27 "2004-10-04T23:59:54Z")

</div>

> [@BobLibDem](#):
>
> The answer depends on what zero is. If it is a function of x then you may use l’Hopital’s rule to find the answer. The limit as g(x) goes to zero of f(x)/g(x) =f’(x)/g’(x). For example, limit as x goes to zero of sin (x) / x = limit as x goes to zero cos (x) / 1 = 1.

See posts #5 and #7.

---

<div class="post-metadata">

**Author:** ![BobLibDem](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/boblibdem/32/3149_2.png) [@BobLibDem](https://boards.straightdope.com/u/BobLibDem)\
**Post date:** [October 5, 2004, 12:01am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/28 "2004-10-05T00:01:36Z")

</div>

Huh? Who else mentioned l’Hopital’s rule or derivatives?

---

<div class="post-metadata">

**Author:** ![brad\_d](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@brad\_d](https://boards.straightdope.com/u/brad_d)\
**Post date:** [October 5, 2004, 12:01am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/29 "2004-10-05T00:01:49Z")

</div>

Imagine if 0/0 were defined as 1, as has been proposed. Then we could do the following:

0 = 0  
_Anything times zero is still zero, so we can do this:_  
2_0 = 1_0  
_This is still 0=0, so we’re fine. Now let’s divide both sides by zero:_  
2\*(0/0) = 1\*(0/0)  
_And, since 0/0=1, it follows that:_  
2 = 1

This is the sort of nonsense we can “prove” if we allow division by zero to be defined.

This is probably one of the simpler proofs **InvisibleWombat** refers to. I like it because the use of actual numbers rather than variables sometimes makes the point more clear to the uninitiated.

---

<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:** [October 5, 2004, 12:26am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/30 "2004-10-05T00:26:28Z")

</div>

> [@BobLibDem](#):
>
> Huh? Who else mentioned l’Hopital’s rule or derivatives?

They mentioned limits. L’Hopital’s rule is but one way of evaluating a limit–there are others.

---

<div class="post-metadata">

**Author:** ![spingears](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@spingears](https://boards.straightdope.com/u/spingears)\
**Post date:** [October 5, 2004, 1:48am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/31 "2004-10-05T01:48:49Z")

</div>

> [@bot0004](#):
>
> What is zero divided by zero anyways? I tried researching it and got a slew of answers, I hope someone can solve this for me.

It is _indeterminate_ mathematically speaking.  
It is a **DEAD HORSE!**  
**Stop beating it to death!**

---

<div class="post-metadata">

**Author:** ![Cardboard\_BOX](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@Cardboard\_BOX](https://boards.straightdope.com/u/Cardboard_BOX)\
**Post date:** [October 5, 2004, 3:45am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/32 "2004-10-05T03:45:40Z")

</div>

It’s A Black Hole!!! I Swear It!

---

<div class="post-metadata">

**Author:** ![ccwaterback](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@ccwaterback](https://boards.straightdope.com/u/ccwaterback)\
**Post date:** [October 5, 2004, 4:34am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/33 "2004-10-05T04:34:30Z")

</div>

But 0! (zero factorial) is defined as 1. :eek:

---

<div class="post-metadata">

**Author:** ![bot0004](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@bot0004](https://boards.straightdope.com/u/bot0004)\
**Post date:** [October 5, 2004, 4:56am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/34 "2004-10-05T04:56:34Z")

</div>

> [@ccwaterback](#):
>
> But 0! (zero factorial) is defined as 1. :eek:

This is getting really odd, if 0! is equal to 1…found this great website:

If n! is defined as the product of all positive integers from 1 to n, then:  
1! = 1_1 = 1  
2! = 1_2 = 2  
3! = 1_2_3 = 6  
4! = 1_2_3_4 = 24  
…  
n! = 1_2_3_…_(n-2)_(n-1)_n  
and so on.  
Logically, n! can also be expressed n_(n-1)! .

Therefore, at n=1, using n! = n\*(n-1)!  
1! = 1\*0!  
which simplifies to 1 = 0!

n: Number of Permutations (n!): Visual example:  
1 1 {1}  
2 2 {1,2}, {2,1}  
3 6 {1,2,3}, {1,3,2}, {2,1,3}, {2,3,1}, {3,1,2}, {3,2,1}  
10 3,628,800 ummm, you get the idea…

Therefore,

0 1 { }  
It can be said that an empty set can only be ordered one way, so 0! = 1

obviously if 0 can be arranged in the permutation of the empyt set, then why can’t one permutation over another be equal to 1?

---

<div class="post-metadata">

**Author:** ![bitwise](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bitwise](https://boards.straightdope.com/u/bitwise)\
**Post date:** [October 5, 2004, 5:17am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/35 "2004-10-05T05:17:40Z")

</div>

> [@bot0004](#):
>
> obviously if 0 can be arranged in the permutation of the empyt set,

Huh? This does not parse.

> [@bot0004](#):
>
> then why can’t one permutation over another be equal to 1?

Because a permutation is not a real number. How can you divide a permutation by another? You have define what you mean by division over permutations.

I think you are a bit confused. n! is the number of permutations of a set with n members. For instance, it is what you get when you try to count the number of ways to arrange n different balls from left to right so that each ball appears exactly once. The fact that 0! = 1 reflects that the number that there is one way to arrange 0 different balls from left to right so that each balls appears exactly once.

Saying you want to divide permutations is like saying you want to divide the things you are trying to count. If you are counting pencils, do you think you can divide a pencil by another pencil?

---

<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:** [October 5, 2004, 7:05am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/36 "2004-10-05T07:05:10Z")

</div>

> [@bitwise](#):
>
> Saying you want to divide permutations is like saying you want to divide the things you are trying to count.

Be careful. When rigorously working out the model of number theory afforded by set theory, certain numbers are defined as sets of functions. In particular, given a set A in the equivalence class of sets labelled “n”, n! is represented by the set of set automorphisms (permutations) on A. When you want to calculate something like factorials of transfinite numbers this is pretty much necessary.

Admittedly, your point that within the context of this discussion such a concept as dividing sets hasn’t been well-defined still holds.

---

<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:** [October 5, 2004, 7:13am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/37 "2004-10-05T07:13:15Z")

</div>

> [@Complex Conjugate](#):
>
> So it appies to rings in general? I’m guessing that’s because a\*0 = 0 in any ring.

Well, to even talk about invertibility we have to assume we’re talking about rings with unit. In this case a_0 = a_(1-1) = a-a = 0.

Now, assume there exists an element i (left-)inverse to zero. We have 1 = i\*0 = 0, which implies the additive and multiplicative identities are, well, identical.

Now, given any a, a = a_1 = a_0 = 0, so the ring has only one element. In this case, the ring is actually a (rather degenerate) field, and 0/0 = 0.

---

<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:** [October 5, 2004, 7:22am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/38 "2004-10-05T07:22:00Z")

</div>

> [@spingears](#):
>
> It is _indeterminate_ mathematically speaking.  
> It is a **DEAD HORSE!**  
> **Stop beating it to death!**

It’s not indeterminate, it’s undefined. The whole statement that “0/0 is indeterminate” is waving the question away. It stems from the question:

If lim\_{x-\>x\_0} f(x) = 0 and lim\_{x-\>x\_0} g(x) = 0, then what is lim\_{x-\>x\_0} f(x)/g(x)?

_This question_ is indeterminate, since to answer it you need to know more information – the particular forms of f and g. Once you have those forms the answer is very well determined.

However, the question purely in terms of 0/0 (as in the OP) cannot even reasonably be interpreted in this way. It mentions nothing but 0 and division, which are both algebraic concepts. There is no assumption that this is the zero of **R** (as opposed to zero in **Q** or zero in **Z** ). To even set this up as a question about limits inherently assumes a rich topological structure to the concept under study which simply _is not afforded_ in the OP as it stands. The only tenable position is that it is inherently a ring-theoretic question, where the answer is that division by zero is _undefined_ except in the degenerate case of a ring with a single element.

---

<div class="post-metadata">

**Author:** ![InvidiousCourgette](https://avatars.discourse-cdn.com/v4/letter/i/e47c2d/32.png) [@InvidiousCourgette](https://boards.straightdope.com/u/InvidiousCourgette)\
**Post date:** [October 5, 2004, 9:46am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/39 "2004-10-05T09:46:41Z")

</div>

I suppose somebody has got to ask. What is this “ring” business?

---

<div class="post-metadata">

**Author:** ![Complex\_Conjugate](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@Complex\_Conjugate](https://boards.straightdope.com/u/Complex_Conjugate)\
**Post date:** [October 5, 2004, 9:57am UTC](https://boards.straightdope.com/t/zero-divided-by-zero/267516/40 "2004-10-05T09:57:35Z")

</div>

A ring is a set of numbers which is closed under two binary opertaions (+, \*) and satisfies the following conditions:

Additive identity: there is an element (0) such that a + 0 = a for all a.

Additve inverse: For all a there is an elemnt -a such that a + (-a) = 0

Associtvity: for all a, b and c (a + b) + c = a + (b + c) and (a_b)c = a(b_c)

Additve commutativity: for all a and b a + b = b + a

Distributivity: For all a, b and c a\*(b + c) = (a_b) + (a_c) and (a + b)_c = (a_c) + (b\*c)

[Previous page](https://boards.straightdope.com/t/zero-divided-by-zero/267516.md?page=1)

[Next page](https://boards.straightdope.com/t/zero-divided-by-zero/267516.md?page=3)
