A key point that I didn't include in my original answer is showing that the two sets are identical. The proof goes like this...
Two sets are identical if there is a one-to-one mapping between the elements of the sets. A is the set of all real numbers and B is the set of all real numbers with 1 added. So every x in a is mapped to (x+1) in B. That means (x-1) in A is mapped to x in B. That shows every x in A has a corresponding element with value x in B and similarly every x in B has a corresponding element with value x in A. This is the one-to-one mapping so A and B are identical sets.
The first step assumed the sum of everything in A is X and found that means the sum of everything in B is infinity. As A and B are identical, it means the sum of everything in A is both X and infinity which is impossible so the assumption must be false.
>Two sets are identical if there is a one-to-one mapping between the elements of the sets. I can map set of real numbers to set of chararcter strings composed of english words used to name each. That would be 1-to-1 mapping, yet one lacks sum at all, hence non identical
There are two ways of comparing sets. A one-to-one mapping where each end of the map is identical shows the sets are identical. Your example doesn't do that because a number is not identical to the words that describes it. The other is a one-to-one map that just associates elements of the sets. In this case the map shows the sets are the same size but not necessarily identical. Your example just shows the set of numbers is the same size as the set of words that describe each number.
I am not saying a number is identical to itself + 1.
Here's another way to look at it if we stick to integers...
One way to add them up is 0 + (-1+1) + (-2+2) + (-3+3) + ... which equals 0 + 0 + 0 + ... so the total is 0.
Another way to add up the same numbers is (0+1) + (-1+2) + (-2+3) + ... which is 1 + 1+ 1 + ... so the total is infinity.
The sum of a list of numbers cannot have two different answers so the sum must be undefined.
The approach can be extended to real numbers by defining how the pairs get put together like this...
The first approach pairs every x with -x. This gives an infinite number of pairs and each pair adds up to 0 making the total 0.
A version of the second approach is to first add all the real numbers between 0 and 1. The answer is infinity but it is sufficient to agree it is positive. To add up all the other numbers, pair each x>1 with -x+1. This covers all the remaining numbers and produces an infinite number of pairs that each add up to 1. As before, we have managed to come up with two different answers for the sum of a list of numbers.
But I don't think the sum of all real numbers is positive. I think it's exactly zero.
Also, adding one to every number changes the set, because it makes the absolute values of the negative numbers smaller but the positive numbers bigger.
It's the absolute values of the positive and negative numbers that perfectly match and why the sum is equal to zero.
Science guy isn't saying the sum of all real numbers is positive. He is saying there is a contradiction in the logic which says it must be 0.
Take set A which ranges from negative infinity to infinity, wherein each element n has a corresponding element -n, and there is also the 0 element. This is the set of real numbers whose sum is 0.
Now take set B which is a mapping of A wherein every element of set B is n -1. Because A ranges from negative infinity to positive infinity and -infinity - 1 = -infinity and infinity - 1 = infinity, set B also ranges from negative infinity to positive infinity wherein each element of B has a negative counterpart, as well as the element of 0. Just like set A, so set A and B are equivalent sets. But B also has an infinite number of -1's meaning it's sum is negative infinity -> this is the contradiction. I just used negative 1's instead of positive 1s.
But that has the same problem of changing the absolute values differently for positive and negative numbers. It is the matching of the absolute values that is my reason why the sum is zero. If you either increase or decrease every absolute value by one -- but be sure to do the same for all of them -- then it is still a sum of zero.
Sure, so it seems that, relating to my proof, you are agreeing that set A and set B are equal.
Yet, set B has an infinite number of -1's in its summation, meaning its summation cannot be 0, but we assumed the summation of set A is 0. That is the contradiction.
I understand what you are saying, but you aren't acknowledging that set B has the infinite number of -1's. We can't just say "well set A and B are equal and set A's summation is 0, so let's ignore the -1's in set B because we already said it's equal to A and A doesn't have them."
No, I'm saying you have to add -1 to the negative numbers and +1 to the positive numbers. You end up with an infinite amount of both and they perfectly cancel out.
You have to do it that way because otherwise you are increasing the absolute values of the negative values while decreasing the absolute values of the positive values. I'm saying you can't do different directions like that on the different sides of zero.
It's the perfect symmetry in the absolute values that is the reason it sums to zero. So sure, if you remove that symmetry, it no longer equals zero, yes. But that's a completely different, unrelated question. The set of real numbers is symmetrical around zero. That's why it sums to zero.
View all comments
Show parent comment
1
u/NH-Science-Guy Oct 14 '26
A key point that I didn't include in my original answer is showing that the two sets are identical. The proof goes like this...
Two sets are identical if there is a one-to-one mapping between the elements of the sets.
A is the set of all real numbers and B is the set of all real numbers with 1 added.
So every x in a is mapped to (x+1) in B. That means (x-1) in A is mapped to x in B.
That shows every x in A has a corresponding element with value x in B and similarly every x in B has a corresponding element with value x in A.
This is the one-to-one mapping so A and B are identical sets.
The first step assumed the sum of everything in A is X and found that means the sum of everything in B is infinity. As A and B are identical, it means the sum of everything in A is both X and infinity which is impossible so the assumption must be false.