News for hackers. Stuff that matters.
Re:Anna Karenina Principle by j1vms on Friday August 30, 2019 @10:02PM (#20844196)
> zero has many properties that other numbers do not

In particular, zero is the additive identity [0] in almost all the "usual" number systems in which it appears. That is roughly speaking, it is the only A such that X + A = X, for all X, where X and A are elements of the number system (e.g. field of real/complex numbers).

[0] https://en.wikipedia.org/wiki/Additive_identity

Re:Anna Karenina Principle by jakobegger on Saturday August 31, 2019 @12:48AM (#20844661)
It's also the only real number that does not have an inverse element for multiplication (there is no number b such that (a * 0) * b = a)
Re:Anna Karenina Principle by james_s_tayler on Saturday August 31, 2019 @01:08AM (#20844700)
The integers form a group under multiplication though and a key property of a group is that every element has an inverse. So how does the definition hold if there is nothing that could be considered an inverse for the number 0? Curious about this... I never thought about it before.
Re:Anna Karenina Principle by jacobolus on Saturday August 31, 2019 @02:04AM (#20844843)
The integers do not form a group under multiplication. As you noticed, the multiplicative inverse of any integer other than 1 or –1 is not an integer.

You might be thinking of the rational numbers (excluding zero).

Re:Anna Karenina Principle by james_s_tayler on Sunday September 01, 2019 @07:43AM (#20851753)
Woops. You're right.

Looks like I need to play Group or Not Group.

https://youtu.be/qvx9TnK85bw

But then even for addition what's the inverse of 0? -0?

Re:Anna Karenina Principle by ulrikrasmussen on Saturday August 31, 2019 @01:22AM (#20844741)
You are thinking of the multiplicative group of integers coprime to some integer n. That set by definition never includes 0.
Re:Anna Karenina Principle by MrQuincle on Saturday August 31, 2019 @07:42AM (#20845748)
Integers form a monoid under multiplication.

PS: A monoid in which each element has an inverse is a group.

Re:Anna Karenina Principle by ZeikJT on Saturday August 31, 2019 @08:20PM (#20849688)
1 is the only A such that X + A = X + 1 :D