3 ms·
Well... I don't understand the mindset of "of course it's false!" The first question that comes to my mind is "can I use normal-seeming algebra to make 1 + 2 +
by thaumasiotes 13y ago
Well... I don't understand the mindset of "of course it's false!" The first question that comes to my mind is "can I use normal-seeming algebra to make 1 + 2 + 3 + ... sum to a number other than -1/12"? If it's trivial to make it come out to anything at all, we can chalk it up to apparently reasonable things going wrong; if it seems to be mysteriously easier to add it all up to -1/12, it's worth investigating why that might be.
I mean, we can apply the good old formula for the geometric series,
1 + x + x^2 + x^3 + ... = 1/(1-x)
to x=2, and we learn that
1 + 2 + 4 + 8 + 16 + ... = -1
And before rejecting that as obviously absurd, maybe we should take a minute to reflect on how the computers we're using right now represent the quantity -1?
- jonsen 13y agoHa, what a coincidence. It won't work for decimal 10s complement numbers: For x=10 we get 1 + 10 + 100 + 1000 + 10000 + ... = -1/9 And -1 in a decimal computer is 9 + 90 + 900 + 9000 + 90000 + … so … OMG! 9*(1 + 10 + 100 + 1000 + 10000 + ...) = 9*(-1/9) = -1
- thaumasiotes 13y ago> Ha, what a coincidence. > It won't work for decimal 10s complement numbers: I don't get why you say this -- you go on to demonstrate the opposite? This is just the other-side-of-the-decimal-point inverse of the well known 0.9999999... = 1 equality. One of my favorite proofs for 0.9999... being equal to 1 goes like so: imagine subtracting it from 1. You'll get a number which has a 0 at every decimal place: 0.0000000.... Obviously, the number with a 0 in every decimal place is 0 itself. Similarly, if you have your integer represented decimally as a bunch of coefficients (0 <= c < 10) of powers of 10, and all of the coefficients are 9, it's fairly straightforward to see that adding 1 will get you a new number for which all of the coefficients are 0. Since adding 1 to the original number gave us 0, we can treat the original number as -1.
- jonsen 13y agoI don't get why you say this Just a narrative of my own experience thinking this through :-) I thought "OMG" would tell you that, sorry.