- Thread starter Phatfoo
- Start date

- Joined
- Jan 27, 2012

- Messages
- 4,803

- Joined
- Apr 12, 2005

- Messages
- 9,791

There are programming languages that make various assumptions. Some tell you that 0/0 = 1 if it encountered in a program sequence. This is just an assumption of the code. It's not gospel. I think most of the time, if a program encounters 0/0, you will get either "NAN" (not a number) or a division error or something else catastrophic.Zero is not a negative integer, so is it positive?

View attachment 9533

And could it be an even prime number? Zero divided by itself is zero, but zero divided by one is zero. So this confuses me.

Consider red, blue, and yellow. Do you argue that a red ball is yellow because that ball is not blue? Consider the boundary line between Canada and the US: is it in Canada or the US or both?Zero is not a negative integer, so is it positive?

View attachment 9533

And could it be an even prime number? Zero divided by itself is zero, but zero divided by one is zero. So this confuses me.

Tell me what your definition of "positive" is, and I'll tell you whether or not zero is positive

If we do want to divide numbers into two classes, one way to do it is to define positive and non-positive numbers, in which case zero is non-positive. Or we can divide numbers into two classes as negative and non-negative, in which case zero is non-negative.

Pay attention to definitions.

Last edited:

- Joined
- Dec 30, 2014

- Messages
- 3,050

Zero is said to be a neutral number, neither positive nor negative. A positive integer n is said to be prime if the only positive integers that go evenly into it are 1 and the number n itself. Well 1, 2, 3, 4, 5, 6, ... all go evenly into zero so zero is the absolute worst candidate for being prime. 0/0 is not zero. 0/0 is indetermined. You really need to learn your definitions. Math is like a game where you can't play the game very well if you do not know the rules (definitions).Zero is not a negative integer, so is it positive?

View attachment 9533

And could it be an even prime number? Zero divided by itself is zero, but zero divided by one is zero. So this confuses me.

- Joined
- Oct 6, 2005

- Messages
- 10,251

I would say that most math courses treat zero as neither positive nor negative.

But, there are exceptions.

One example: electrical engineers sometimes treat zero as a negative number because it makes their life easier.