News for hackers. Stuff that matters.
Re:How the Human Brain Contends with the Strangeness of Zero by ofrzeta on Sunday October 27, 2024 @01:23AM (#41960051)
"That’s because to understand zero, our mind must create something out of nothing. It must recognize absence as a mathematical object." - I don't see how that follows from anything. So 0 in counting would account for "no item", while 0 in the decimal system would account for "multiply by 10"? Are there different neurons for that? :)

I've also read the linked article "https://www.quantamagazine.org/why-the-human-brain-perceives... which discusses the discovery of "number neurons" and goes on to discuss that there might be no "number neurons" after all.

Re:How the Human Brain Contends with the Strangeness of Zero by t-3 on Sunday October 27, 2024 @01:43AM (#41960116)
I feel like zero in the context of counting is very simple and intuitive, and in addition, subtraction, and multiplication as well (aren't those just extensions of counting anyway?). In division and exponentiation things can be a bit harder to comprehend - why is dividing by zero impossible? Why is the zeroth power always one? I reckon the barrier to understanding there is that division and exponentiation are not counting operations but meta-operations relating to multiplication.
Re:How the Human Brain Contends with the Strangeness of Zero by jon_richards on Sunday October 27, 2024 @02:00AM (#41960183)
Exponentiation to zero annoyed me as a kid because I had equated "no operations" as zero from the pattern 2x2=2+2, 2x1=2, 2x0=

Declaring 2x2=0+2+2, 2x1=0+2, 2x0=0 while 2xx2=1x2x2, 2xx1=1x2, 2xx0=1 seemed arbitrary.

What helped was learning about negative exponentiation and exponentiation simplification, so 2xx0 = 2xx2 x 2xx(-2) = 2xx2 / 2xx2 = 1.

That said, I clearly still take issue with unintuitive interpretations of "nothing" https://stackoverflow.com/questions/852414/how-to-dynamicall...

Re:How the Human Brain Contends with the Strangeness of Zero by bmacho on Sunday October 27, 2024 @03:59AM (#41960642)
> Exponentiation to zero annoyed me as a kid

Your teacher didn't tell you (or told you, but you didn't recognize it as something valuable and forgot it) that exponentiation to zero is a new definition over exponentiation to positive integers. Exponentiation to positive integers is defined somehow, and that definition says nothing about exponentiation to zero. It is a new definition, not something that you deduce.

Re:How the Human Brain Contends with the Strangeness of Zero by jon_richards on Sunday October 27, 2024 @06:44AM (#41961438)
Declaring it as a new definition was what annoyed me...

Which I found incredibly silly once I leaned about negative exponentiation and could now deduce the pattern.

Similarly, 0/0 became much more tractable to me once I learned L'Hôpital's rule https://en.wikipedia.org/wiki/L'H%C3%B4pital's_rule

Re:How the Human Brain Contends with the Strangeness of Zero by anon291 on Sunday October 27, 2024 @02:22AM (#41960254)
I mean the reality is that in the same way that 2 * 0 is ONE.

Or if I were using latex:

    2 \times 0 = 1_{+}
Because multiplication, being repeated addition and exponentiation repeated multiplication both behave the same way. When asked to repeat the operation zero times, they return the unit or 1 of the underlying group, which is typically denoted as 1_{whatever}

However, the 1 of addition is 0 when using the standard notation for integers

Re:How the Human Brain Contends with the Strangeness of Zero by n_plus_1_acc on Sunday October 27, 2024 @05:04AM (#41960937)
Now, you probably now that this is because 0 and 1 are the identity elements of the additive and multiplicative groups of real numbers, respectively. Probably wouldn't've helped you as kid though
Re:How the Human Brain Contends with the Strangeness of Zero by jon_richards on Sunday October 27, 2024 @06:54AM (#41961498)
I think it's much more productive to teach children

    2x0 = 2x1 + 2x(-1) = 2-2 = 0
and

    2xx0 = 2xx1 x 2xx(-1) = 2/2 = 1
Inverting the concept and having those patterns stem from a fundamental identity can wait until its not seen as the mathematical equivalent of "Because I said so".
Re:How the Human Brain Contends with the Strangeness of Zero by Etherlord87 on Monday October 28, 2024 @05:25PM (#41976493)
"Children" at what age do you want to teach this, and how many children are you in contact with? Because that one kid probably suffers from autism.
Re:How the Human Brain Contends with the Strangeness of Zero by whatshisface on Sunday October 27, 2024 @10:33AM (#41962868)
Another good way of thinking about it is that if 10^a 10^b = 10^(a+b), you can set a=3 and b=0 to get 10^3 10^0 = 10^3. If you divide both sides by 10^3, 10^0 = 1. QED.
Re:How the Human Brain Contends with the Strangeness of Zero by anon291 on Sunday October 27, 2024 @02:26AM (#41960273)
Dividing things by zero is not impossible for some definition of impossible. In the sense that you can always make progress in pulling a group of zero from a group of something and increasing your counter, you can be very productive when dividing by zero.

This has to do with rings and the relationship between the two identities of the two underlying groups. It ultimately stems from the distributive property between multiplication and addition

Re:How the Human Brain Contends with the Strangeness of Zero by Ferret7446 on Sunday October 27, 2024 @02:32AM (#41960306)
Dividing by zero is impossible because it's not defined. Simple as that. Same as undefined behavior in any other language or system. It's like playing chess and saying "but what if I lay my pawn sideways and place it on top of my head? What happens then?". It's not defined in the rules.
Re:How the Human Brain Contends with the Strangeness of Zero by bubblyworld on Sunday October 27, 2024 @03:58AM (#41960632)
I think this point of view is a little bit backwards - it's true that it's not defined (for the reals), but I don't think that's a convincing causal explanation.

I think we invent abstractions because they allow us to reason about patterns in reality in a consistent way. The fact that division by zero is undefined is (to my mind) because it doesn't correspond to any useful pattern in the parts of reality we typically apply arithmetic to (accounting, estimation, etc).

What I like about this point of view is that it encourages thinking about what you are trying to accomplish, rather than fixating on formal rules. In some contexts "division by zero" can correspond to a meaningful pattern - look up the geometry of the projective line, for instance. In such cases you might want to include it in your model, rather than declaring it to be undefined as a convention!

Re:How the Human Brain Contends with the Strangeness of Zero by Ferret7446 on Sunday October 27, 2024 @06:01AM (#41961225)
If you want to go further, it's because division is defined as the inverse of multiplication. It doesn't really have anything to do with:

> it doesn't correspond to any useful pattern in the parts of reality we typically apply arithmetic to (accounting, estimation, etc).

You can of course re-define it, but then we aren't talking about the same thing any more. The operation of inverting multiplication, is not defined for zero.

Re:How the Human Brain Contends with the Strangeness of Zero by bubblyworld on Sunday October 27, 2024 @07:33AM (#41961734)
But this is my point - the definitions are the way they are because it's a good model of counting (and other counting-like things). They weren't invented in a vacuum.

Similarly the fact that multiplication and division are inverses is a property of this model. Conceptually you can imagine splitting and copying groups of objects quite independently of one another (and which one you view as fundamental is really a post-hoc choice).

In general these days we mostly see clean mathematical abstractions because all the scaffolding has already been removed by mathematicians past. And as a result people come to believe that this is how mathematics is done. But always there is an initial period of exploration (which eventually gets forgotten) as people try to work out how to axiomatise the various systems they are interested in.

Re:How the Human Brain Contends with the Strangeness of Zero by ggu7hgfk8j on Sunday October 27, 2024 @09:53AM (#41962632)
At the end of the day it's about practicality.

Contrast 0^0 with 0/0. Both of them are considered undefined, but the former is often defined "locally", e.g in a given textbook or article to have the value 1. That's not true for 0/0 because it's not been found to be useful.

Re:How the Human Brain Contends with the Strangeness of Zero by bubblyworld on Sunday October 27, 2024 @12:22PM (#41963676)
Indeed, 0^0 is often defined to be 1 in combinatorics textbooks, for instance, because in those contexts that's a useful/meaningful choice.

In measure theory it's often useful to augment your reals with positive/negative infinity. In projective geometry it's sometimes meaningful to allow division by zero (to counter one detail of your comment). In nonstandard analysis you would consider infinitesmals to be valid numbers, and in game theory you might consider stuff like the surreals which are yet another to view the familiar numbers, with different laws.

You can say we're talking about many different systems here, and that's true in a formal sense. I'm just pointing out that these formal systems come from somewhere, and mathematics is really about the thought-stuff underlying them. You should be willing to bend a rule here and there if it is truer to the concepts you care about - statements like "division by zero is undefined" should never be taken as absolutes.

(but of course this is just my personal philosophy of mathematics, take it with a pinch of salt)

Re:How the Human Brain Contends with the Strangeness of Zero by fph on Sunday October 27, 2024 @01:29PM (#41964145)
There definitely are contexts in which it makes sense to define 0/0 = 0. Example: given a vector x and an approximation y to it, you wish to compute the "componentwise error" delta, i.e., the minimum positive number delta such that each entry of y is within relative error at most delta from the corresponding entry of x:

(1) abs(y_i - x_i) <= delta * abs(x_i) for each i.

This number can be computed as

(2) delta = max (abs(y_i - x_i) / abs(x_i)) over each i.

If you wish to allow zero entries in your vectors while keeping the equivalence between (1) and (2), you have to define 0 / 0 = 0.

Re:How the Human Brain Contends with the Strangeness of Zero by gls2ro on Sunday October 27, 2024 @11:47AM (#41963426)
Diving by zero is not impossible because it is not defined, but because it grows ad infinitum.

Take out a scientific calculator and start doing division by smaller and smaller units:

1/0.9

1/0.09

1/0.009

...

1/0.000000000000000000009

So we can then ask what happens if we do this more and more with incremental steps? It seems that we go toward infinity.

thus the more you do this the higher the returned number and I think we just discovered (I think I have to refresh my memory and hope not say something very wrong) the concept of calculus. Then we can use a new concept: limits - what happens when that 0.000000000............N is as close to zero as possible.

Re:How the Human Brain Contends with the Strangeness of Zero by dpassens on Sunday October 27, 2024 @01:02PM (#41963958)
Except it doesn't necessarily go towards (positive) infinity. Use a negative dividend, and you approach negative infinity instead. The same is obviously true if you use a negative divisor instead, and you get positive infinity again if both are negative. So division by zero is impossible because you can't meaningfully define it (in the general case).
Re:How the Human Brain Contends with the Strangeness of Zero by imawakegnxoxo on Sunday October 27, 2024 @09:51PM (#41967151)
What if you divide 0.00000000000000000009 by itself

It actually tends towards 1 no matter how small the divisor

It doesn't always go to 0, hence why it is undefined

Re:How the Human Brain Contends with the Strangeness of Zero by anthk on Monday October 28, 2024 @08:33AM (#41970425)
1, as both numbers are the same, and distinct to zero.