149

I accept that two numbers can have the same supremum depending on how you generate a decimal representation. So $2.4999\ldots = 2.5$ etc.

Can anyone point me to resources that would explain what the below argument that shows $999\ldots = -1$ is about?

Here is the most usual proof I see that $0.999\ldots = 1$:

$x=0.999\ldots$

$10x=9.999\ldots$

$10x - x = 9$

$x=1$

Using this same argument template I can show $999\ldots=-1$:

$x= \ldots9999.0 $

$0.1x= \ldots9999.9$

$0.1x - x = 0.9$

$x=-1$

What might this mean?

Edit from one of the comments:

$$\sum_{k=0}^{\infty}{9 \cdot 10^k}=-1$$

CommonToad
  • 1,545
  • 2
  • 9
  • 7
  • 80
    $999\dots$ is not a real number. And as soon as there is a rightmost $9$, it is a finite, positive real number. – Wojowu Jan 23 '16 at 19:28
  • Your questions 'What mathematics is this touching on?' and 'what the below argument ... is about?' are unclear. Could you please edit your post and specify *exactly* what you would like us to do? – Pierpaolo Vivo Jan 23 '16 at 19:31
  • It seems you are defining $$\sum_{n=0}^{+\infty}9 \cdot 10^n = -1.$$ It remembers me that $$\zeta(-1) = \sum_{n=1}^{+\infty}n = -\frac{1}{12}$$. [See this][1] to understand what is wrong with your reasoning. [1]: https://en.wikipedia.org/wiki/1_%2B_2_%2B_3_%2B_4_%2B_%E2%8B%AF – the_candyman Jan 23 '16 at 19:36
  • 93
    I see you have a Stack Overflow account. Then you may be somewhat familiar with two's complement representation. If you can imagine a two's complement representation with infinitely many bits, you won't be surprised that in that representation the number with all bits $1$ represents $-1$. Analogously, in an infinite ten's complement representation, the number with all digits $9$ represents $-1$. It's not the usual representation of numbers (where an infinite string of nines before the decimal yields an invalid representation), but it makes sense. It's the $10$-adic numbers, as quid mentions. – Daniel Fischer Jan 23 '16 at 20:01
  • 7
    Closely related: [Divergent series and $p$-adics](http://math.stackexchange.com/questions/141971/divergent-series-and-p-adics) – MJD Jan 23 '16 at 20:28
  • 6
    To those (like me) who read the OP's proof of 0.999... = 1 and thought "Well that's not very convincing..." just realize some steps were elided ([full digit manipulation proof can be found on Wikipedia](https://en.wikipedia.org/wiki/0.999...#Digit_manipulation)). – Cornstalks Jan 23 '16 at 23:48
  • 2
    Isn't 999...9.0 = ∞? – Masked Man Jan 24 '16 at 12:32
  • 7
    You start with $999\ldots$, but seem to continue with $999\ldots9$? I suppose you rather mean $\ldots999$ – Hagen von Eitzen Jan 24 '16 at 12:41
  • 1
    Of course, if $....999$ is $-1$ and $0.999\dots=1$ then $\dots999.999\dots=0$. :) That's not true in any ring. There are some (topological) rings where $\dots 999=-1$ and some where $0.999\dots=1$ but no ring where both make sense. – Thomas Andrews Jan 24 '16 at 20:47
  • @thomas Andrews : analytic continuation of Laurent series don't form a ring ? – reuns Jan 24 '16 at 21:03
  • Show me how $\sum_{k=-\infty}^{\infty} 9\cdot 10^k$ is defined in that ring. You are talking about an evaluation function from that ring to $x=10$, but in that ring itself, there is no topological definition of convergence that gives you such a result, no. @user1952009 – Thomas Andrews Jan 24 '16 at 21:33
  • I was speaking of $\sum_{k=0}^\infty 9 z^k = \frac{9}{1-z}$ and $\sum_{k=-1}^{-\infty} 9 z^k = -\frac{9}{1-z}$ in their domain of convergence, I don't see the problem to think to formal Laurent series as a ring where $\sum_{k=-\infty}^\infty z^k = 0$, I personnally often use the fact that $\int_0^\infty x^s dx = 0$ in the ring of Mellin transform/Dirichlet series, which is nearly exactly the same (and yes it means something and it is very useful) – reuns Jan 24 '16 at 21:36
  • @user1952009 So you have a (partial) function from the ring of formal Laurent series to the complex number, $e_{10}:R\to\mathbb C$, which evaluates the analytic continuation of a series at $10$, if it is defined there. But a homomorphism like this is not the same thing as saying in the ring that $\sum 9\cdot 10^k=0$. – Thomas Andrews Jan 24 '16 at 21:39
  • But in that ring, $0.999\dots$ and $\dots999$ are not $0$, and nobody represents formal powers series $\dots999.999\dots$, so I don't see what your point is, other than, "If I misinterpret your comment, I can come up with a counter-example." @user1952009 – Thomas Andrews Jan 24 '16 at 21:41
  • don't be upset, and note my answer in the bottom which is highly related to your comment :) I don't really care of weird number fields/rings, I'm only trying to understand, as everyone does on that forum – reuns Jan 24 '16 at 21:44
  • 1
    Re: "two numbers can have the same supremum depending on how you generate a decimal representation": It would be more correct to say "some real numbers have two decimal representations". – ruakh Jan 25 '16 at 00:47
  • @Cornstalks The way CommonToad did the calculations, only one step was missing: $9x = 9$.  It took me a second also, but I've never considered myself great at math (only good enough for programming). – Slipp D. Thompson Jan 25 '16 at 03:02
  • 2
    @SlippD.Thompson: [Not on the original post](http://math.stackexchange.com/revisions/1623917/1). On the original post it went straight from `10x = 9.999...` to `x = 1`. – Cornstalks Jan 25 '16 at 03:47
  • @Cornstalks Aha.  Okay, your comment makes more sense now. – Slipp D. Thompson Jan 25 '16 at 03:49
  • Related: http://math.stackexchange.com/questions/1567307/representing-negative-numbers-with-an-infinite-number – drewdles Jan 25 '16 at 17:09
  • related videos: https://www.youtube.com/watch?v=PS5p9caXS4U https://www.youtube.com/watch?v=XFDM1ip5HdU – Gus Jan 25 '16 at 17:19
  • 3
    This logic is as flawed as saying 0.1 ∞ - ∞ = 0.9. The result of the subtraction is indeterminant, not finite. – Patrick Roberts Jan 25 '16 at 20:07
  • You can't say $x = \dots999$ because the left side is a variable that represents a real number while the right side is not a real number. Hence you can't assign a value of true or false to any conclusions based on that statement. – Steven Alexis Gregory Jan 25 '16 at 22:34
  • Note that if you use the summation notation to define $x$ as in your edit and then perform the subtraction $0.1x - x$ term-wise, you end up with $\sum^{\infty}_{k=0}{8.1 \cdot 10^k}$, which no longer appears to converge to $0.9$. – Kyle Strand Jan 26 '16 at 19:05
  • Thanks for sharing this, it provides an excellent illustration of the importance of understanding these repeated decimals in terms of limits. – Eric Wilson Jan 28 '16 at 14:45
  • Related: https://matheducators.stackexchange.com/questions/4351/unique-candidate-that-fails – Tavian Barnes Jan 30 '16 at 23:45
  • @CommonToad Just to make a quick remark on your comment "--- I accept that two numbers can have the same supremum ---" Numbers are fixed, it makes no sense to talk about the supremum of a number. The supremum is a concept defined only for sets of numbers :) – Aerinmund Fagelson Feb 14 '16 at 12:53
  • http://math.stackexchange.com/questions/1231061/is-0-9999-equal-to-1 – Soham Apr 03 '16 at 12:17

14 Answers14

216

If you want to understand the mathematics behind these things, it is all based upon the notions of 'convergence' and of 'limits'. If you read any first course in analysis textbook you will find the concept rigorously treated there.

Basically this is the point: Whenever you write 0.999... you are writing down a numeral that represents the 'limit' obtained when an infinite summation $\frac{9}{10}+\frac{9}{100}+\frac{9}{1000}+...$ is performed. Since we can prove that this sum 'converges' to some real number (namely 1), we are justified in treating the numeral 0.999... as representing some real number.

However, whenever you write down 999... I presume you are writing a numeral to represent the limit obtained when an infinite summation $9+90+900+...$ is performed. Since this limit does not converge to any real number, (it 'diverges'), we are not justified in treating the numeral 999... as any real number. So it does not make sense to divide it by ten, or take it away from itself.

We usually denote such divergent limits by the numeral $\infty$, but this does not denote a real number, and there is no consistent way to define operations such as $\infty - \frac{1}{10}\infty$.

I hope this helps and I hope you are motivated to think more about these things :)

Aerinmund Fagelson
  • 2,444
  • 1
  • 12
  • 20
  • 3
    Thank you what a great answer – CommonToad Jan 24 '16 at 10:52
  • 45
    1 + 2 + 3 + 4 + ... = -1/12 – Geinmachi Jan 24 '16 at 15:25
  • 4
    There are ways to manipulte divergent series and assign meaningfull numbers which in the special case of convergent series just give the limit. Those manipulations make total sense in the right context. However, I agree that this context is not the usual topic of finite limits. – image357 Jan 24 '16 at 23:49
  • 32
    @Geinmachi: That is no more true than $0=1$. – Asaf Karagila Jan 25 '16 at 01:01
  • 7
    @AsafKaragila: Tell that to [Ramanujan.](https://en.wikipedia.org/wiki/Ramanujan_summation) – Michael Seifert Jan 25 '16 at 14:51
  • 31
    @Michael: I can't, he's dead. And just because he said something that is formally incorrect and can be formalized through some particular and nontrivial methods, doesn't mean that everything he says is true. That's a common fallacy known as appeal to authority. – Asaf Karagila Jan 25 '16 at 14:53
  • 10
    @AsafKaragila: I'll concede that I did appeal to authority there in order to make a pithy joke; mea culpa. That said, mathematics makes progress by finding useful methods by taking things that are "formally incorrect" and formalizing them "through particular and non-trivial methods." If all you know about is the rational numbers, it's formally incorrect to say that there's a number for which $x^2 = 2$, but it's still a useful notion that (once formalized) allows for a lot more interesting math to be discovered. Should we dismiss the existence of $\sqrt{2}$ as being "formally incorrect"? – Michael Seifert Jan 25 '16 at 15:54
  • 19
    @Michael: Only that a "number" is not a well-defined mathematical notion. It is incorrect to say there is a rational number $x$ such that $x^2=2$. On the other hand, the convergence of a series is a well-defined mathematical notion, and while there are other notions of convergence, there is exactly one notion of convergence where one can omit the type of the convergence. And let me tell you, it ain't Cesaro, Ramanujan or otherwise. And $1+2+3+\ldots$ does *not* converge in that type of convergence. You want to argue that it does in some *other* type? Sure. But you need to be explicit. – Asaf Karagila Jan 25 '16 at 17:21
  • 5
    @Asaf I don't see anyone arguing that the series does not diverge - just that there's one way to assign a value to a divergent series which happens to have "practical" applications in at least theoretical physics. – Voo Jan 25 '16 at 18:59
  • 14
    @Voo: Just like you can't write something like $\pi=\frac{22}7$, because *it's blatantly false*, you can't write $1+2+3+\ldots=-\frac1{12}$. Because the equality there has a very specific, very technical meaning, and it fails here. The fact that physicists do something is ever more the reason *not* to do it "just because". Just like every time you say "Quantum mechanics teaches us that everything can happen at any given moment!" is blatantly false (even if formally you can interpret it that way). There is a technical meaning behind statements in mathematics (and physics) that you can't ignore. – Asaf Karagila Jan 25 '16 at 19:04
  • 5
    @Asaf So are you saying that the concept of Ramanujan summation is "blatantly false" or just the particular notation? Because if it's the former, that's a rather dim view of mathematics. Formalizing new concepts to analyse something is at the core of math. If on the other hand it's just about the tongue in cheek joke, well de gustibus non est disputandum - I found it entertaining. – Voo Jan 25 '16 at 19:12
  • 18
    @Voo: No. I'm saying that $1+2+3+\ldots=-\frac1{12}$ is blatantly false. The statement "The series $1+2+3+\ldots$ converges *in the sense of Ramanujan* to $-\frac1{12}$" might as well be true. – Asaf Karagila Jan 25 '16 at 19:18
  • ∞−∞/10 = 9∞/10 if both sources of ∞ were the same source; but this fact is not useful in most cases. – Joshua Jan 25 '16 at 19:54
  • @Joshua But then you would have it all equal down to $\infty$ in the end, which contradicts with the straight down decimal subtraction method. :D – Simply Beautiful Art Jan 25 '16 at 23:37
  • 3
    @Asaf "$=$" doesn't have the same meaning in every context, though. You're right that Geinmachi didn't specify the context for the comment, but there's exactly one context where the statement makes sense, and it's familiar enough (espcially given MichaelSeifert's link for those who aren't familiar with that form of summation) that it's obvious what Geinmachi meant. Arguing otherwise seems to be assuming bad faith. – Kyle Strand Jan 26 '16 at 18:27
  • 9
    @Kyle: And there is just one context in which $1+1=0$ makes sense. I dare you to tell that to your students next time you teach analysis. See if it makes sense to any of them right off the bat. Not to mention those atrocious Numberphile videos that originally made this into a global phenomenon didn't even set the context. They just showed unjustified trickery. So I honestly doubt if most people who give this equality are even aware to its different context. – Asaf Karagila Jan 26 '16 at 18:29
  • 6
    @Kyle: And it's also blatantly false that = has different meanings *in mathematics*. It has exactly one meaning. Two terms are equal if they are the same object. The context in which we interpret the terms changes, but the meaning of = remains the same. – Asaf Karagila Jan 26 '16 at 18:35
  • 4
    @Kyle: And a word on "bad faith", I think it's not bad faith to assume that someone whose only activity on this site is that comment has no idea about the fact the context in which this equality is interpreted is not the standard context. Not to mention, that if I decide tomorrow that "Hasudorff space" means that every open cover has a finite subcover, and a "compact space" is a space where every two points are separated by disjoint open sets, I can still do mathematics just like everyone else, but saying something like "$(0,1)$ is compact but not Hausdorff" will make no sense to the rest. – Asaf Karagila Jan 26 '16 at 18:40
  • 3
    @AsafKaragila What...? I don't expect the set of statements acceptable as comments here on Math.SE to be exactly identical to the set of statements acceptable as "things I expect first-year analysis students to expect right off the bat," and I don't see how that's relevant. And it's simply not true that "$=$" only ever has one meaning, especially if you look at old math writing (e.g. Euler's work on convergent series). – Kyle Strand Jan 26 '16 at 18:59
  • 1
    @Asaf Even restricting the view to math using modern notation, different formal theories can use "$=$" (e.g. see formal theories for lambda-calculus or combinators, which us "$=$" to mean "$=_{\beta}$" or "$=_{w}$", respectively). As for "bad faith," yes, it's certainly bad faith to "assume that someone...has no idea bout" what they're talking about unless you have evidence that this is the case (not posting anything on Math.SE isn't "evidence", it's a lack thereof). – Kyle Strand Jan 26 '16 at 19:01
  • 5
    @Kyle: I'm terribly sorry. But there's really no point bringing in Euler into the mix. "Meaning of symbols" has completely changed over the past 150-200 years. Let's bring the ancient Pythagoreans and just argue that the term "number" is senseless, since everything is just length of a multiplicity of a unit line. Sure. And if you want to believe I'm acting in bad faith, go ahead. But I think this discussion has ran its course. – Asaf Karagila Jan 26 '16 at 19:21
  • 6
    I think this conversation had gone too far. Yes, there is a context where Geinmachi formula is correct, so we can't say that what he said "is false", per se. On the other hand, given the question, its tags, and the context, I doubt bringing up Ramanujan results can help the user who asked the question. To be more clear, a link right next to the formula would have explained the context. Or at least, I would have put a winky face, to give more of a "joke" connotation to the comment, which, as it was, I reckon could have been confusing for the person who asked the question. – bartgol Jan 26 '16 at 22:45
  • 7
    @bartgol: If someone walked to you, up from the street, and said that 1+1=3, you would tell him that this is blatantly false. No? If someone would have written that 0=1, that would be blatantly false. No? But wait, those are just symbols in a formal language and we are free to interpret them *however we like*, no? So there is a context in which 0=1 or 1+1=3, or both. But for some reason you don't stop to think about those. Why? Because some symbols and contexts have been standardized to be treated as particular cases *unless explicitly stated otherwise*. Convergence of a series is one of them. – Asaf Karagila Jan 29 '16 at 00:24
  • 6
    I liked the overall discussion about writing stuff which is "blatantly false" but can be interpreted as true in some very specialized context. I have to agree here with @AsafKaragila If the context of a statement is not immediately obvious then it is necessary to mention explicitly. Standard contexts which are obvious to a large population of users may be left out as they can be inferred without any mention. – Paramanand Singh May 13 '16 at 08:08
  • I agreed 100% with your answer(+1)... Then checked this video (https://youtu.be/0Oazb7IWzbA?t=6m38s) It seems there are mathematics where the sum might be -1, but not -1 as we know it, and not with the mathematics I know and understand... The argument is similar to " what is the root of -1"... If asked long time ago, one would explain it does not exist... at least for real numbers... – ntg May 14 '18 at 14:02
114

In the $10$-adic numbers it is true that $\dots 9999 = -1$.

More precisely, the series $\sum_{n=0}^{\infty} 9 \cdot 10^n$ converges in $\mathbb{Q}_{10}$ and its limit there is $-1$.

quid
  • 40,844
  • 9
  • 59
  • 101
  • 3
    What do you mean by $\mathbb{Q}_{10}$? I would think it wouldn't be defined because $\mathbb{Z}_{10}$ has zero divisors. – Mark S. Jan 23 '16 at 19:54
  • 6
    Just as an FYI to the OP: Fernando Gouvêa plays with similar seemingly divergent sums in the introduction of his book, [p-adic Numbers](http://www.amazon.com/p-adic-Numbers-An-Introduction-Universitext/dp/3540629114). I think you would enjoy reading it. – Viktor Vaughn Jan 23 '16 at 19:59
  • 11
    if $k$ is not prime, $\mathbb{Q}_k$ is a commutative ring instead of a commutative field – reuns Jan 23 '16 at 20:00
  • 11
    @MarkS. The completion of the rational numbers with respect to the $10$-adic distance. It is true it is not a field but I do not see why this would be a problem in this context. – quid Jan 23 '16 at 20:03
  • Ramanujan famously got a college rejection letter from Prof. M.J.M. Hill due to his proof that $1+2+3+...=-1/12$ which used similar reasoning to OP's proof. Euler also tinkered with proofs like this, and argued they should be considered valid. See the article on [Divergent sums](https://en.wikipedia.org/wiki/Divergent_series) for more information. – BlueRaja - Danny Pflughoeft Jan 23 '16 at 20:14
  • 1
    this is a nice answer but honestly, it does not address the OP problem. First one should explain why what the OP is doing "naively" does not work, and why p-adic numbers seems to work instead – Ant Jan 23 '16 at 20:42
  • 3
    @Ant this is true in a way, but this answer does not live in a vacuum. When I gave it there already was an answer, now deleted, and comments that explained the problem with the original calculation. Thus I did not reiterate it. Moreover it also used to ask "What mathematics is this touching on?" – quid Jan 23 '16 at 20:55
  • @Ant Yeah, it isn't necesarrily a full answer, but a good one. The OP wasn't necessarily fimilar with real numbers. – PyRulez Jan 24 '16 at 02:29
  • 4
    Thanks for this gives me a nice thing to look up. @SpamIAm - nice book - bought :) – CommonToad Jan 24 '16 at 10:54
  • @CommonToad One cool thing is, I'm pretty sure you proof *is valid* in p-adic numbers. Like, you can use your proof or something like it to proof this identity. – PyRulez Jan 24 '16 at 16:02
  • @PyRulez yes the proof is valid. One can also add $1$ to the series and note that one gets $0$. – quid Jan 24 '16 at 16:04
  • 1
    @quid (I suppose that works with $.999 \dots$ as well. (You gettings $0$ if you subtract $1$.)) – PyRulez Jan 24 '16 at 16:05
  • 1
    Or even in the $2$-adic or $5$-adic numbers... – Thomas Andrews Jan 24 '16 at 20:37
  • @PyRulez No, the series doesn't converge in the $p$-adic numbers, except when $p=2,5$. And $0.99999\dots$ doesn't converge in $10$-adic numbers or any $p$-adic numbers. – Thomas Andrews Jan 24 '16 at 20:41
46

As other users have noted, it doesn't make sense to have infinitely many nines to the left of the decimal point. This is because the sequence $9, 99, 999, \ldots$ doesn't converge to anything, unlike the sequence $0.9, 0.99, 0.999, \ldots$, which converges to $1$.

However, you have touched on something interesting. Are there number systems where this does converge? And if so, does it converge to $-1$? The answer to both is yes.

For an integer $k$, there's a ring called the $k$-adic numbers*. Let's use $k = 10$. It's similar to the regular real numbers in base $k$, but a few things are backwards.

$$ \small{\begin{array}{c|c|c} & \textrm{Reals (base }k\textrm{)} & k\textrm{-adic numbers} \\ \hline \textrm{number of digits left of the point} & \textrm{finitely many} & \textrm{infinitely many} \\ \textrm{number of digits right of the point} & \textrm{infinitely many} & \textrm{finitely many} \\ \textrm{two numbers are close if} & \textrm{they match in the leftmost digits} & \textrm{they match in the rightmost digits} \end{array}} $$

That's not really the way that people like to construct the $k$-adics, but it's easier than all that "completion wrt a metric" or "inverse limit" stuff.

Anyways, in this system, $9, 99, 99, \ldots$ does have a limit, and it's $\ldots 999.0$. And if you add $1$ to that, you have the sequence $10, 100, 1000, \ldots$, which converges to $0$. So in that system, $\ldots 999 = -1$.


*Usually people like $k$ to be prime, so they call it $p$. So if you wanna find out more, look up "$p$-adic numbers", not "$k$-adic numbers".

Charles Staats
  • 1,636
  • 12
  • 25
Henry Swanson
  • 12,324
  • 4
  • 31
  • 60
  • Thank you. The p-adics sound very interesting – CommonToad Jan 24 '16 at 10:54
  • Are you really sure that you don't have everything screwed up in your table? In particular, I have seen reals with infinitely many digits after the point, like pi, but a real number can't have infinitely many digits before the point. (I know nothing about p-adic numbers, so I won't edit) – wythagoras Jan 24 '16 at 12:55
  • 1
    @wythagoras Yea, he just used before to mean: to the right of, and after to mean: to the left of. – Kitegi Jan 24 '16 at 14:05
  • 1
    One thing to note: they are called the "$k$-adics" for a reason - unless $k_1$ is a power of $k_2$ or vice versa, the $k_1$-adics and the $k_2$-adics are different rings. So the 10-adics are not the same as the 2-adics. For example, the 10-adics has 0-divisors, while the 2-adics form a field. – Paul Sinclair Jan 26 '16 at 15:47
  • 1
    Often, when the radix is not (a power of) a prime, they’re called “$g$-adic numbers”, and OP may have success in searching for that term. Additionally, I might point out that $\sum_0^\infty 9\cdot10^n$ is convergent to $-1$ not only $10$-adically, but also $2$-adically and $5$-adically. – Lubin Jan 26 '16 at 23:13
23

One thing to think about is how this plays with modular arithmetic, if you're familiar. Basically, arithmetic mod $10^n$ is arithmetic where we only care about the last $n$ digits of a number and is defined by writing $a\equiv b\pmod{c}$ if and only if $a-b$ is a multiple of $c$. So, if $c=10^n$, this is the same as saying the last $n$ digits of $a$ and $b$ coincide. We have a series of equalities expressed as follows: $$9\equiv -1\pmod{10}$$ $$99\equiv -1\pmod{100}$$ $$999\equiv -1\pmod{1000}$$ $$9999\equiv -1\pmod{1000}$$ $$99999\equiv -1\pmod{10000}$$ $$\underbrace{99\ldots 99}_{n\text{ times}}\equiv -1\pmod{10^n}$$ These are all quite easy to prove: clearly, if you add $1$ to $\underbrace{99\ldots 99}_{n\text{ times}}$, you get $1\underbrace{00\ldots 00}_{n\text{ times}}=10^n$, where the last $n$ digits are $0$ meaning, mod $10^n$, this sum is $0$. Since $-1$ is more or less defined as the number whose sum with $1$ is $0$, the equality is proven.

The identity you have is, more or less, what happens when we take all the above identities and send $n$ to infinity. One precise way to do this is to say that two numbers $a$ and $b$ are close to each other whenever $a\equiv b\pmod{10^n}$ for large $n$. This takes us into the $10$-adic numbers, as others have suggested.

Another precise way not involving analysis would be to consider that we can consider a "number" $x$ to be something where we can always ask for the value of $x\pmod {10^n}$ in a consistent way - basically, it is just a string of digits. Then, we can define addition and multiplication of "numbers" in a way consistent with their truncations mod $10^n$. This again gives us that the infinite string of $9$'s equals $-1$, but this time in an algebraic way. (This give us the $10$-adic integers, which is a subset of the $10$-adic numbers. To be precise, the construction one can use for this is called an inverse limit, which is a scary sounding name for a scary looking definition)

It's worth noting that your proof, though not a proof that $\ldots 999$ is a sensible thing to think about, is a proof that if it is defined in any reasonable way (i.e. multiplying by $10$ shifts the digits and subtraction works digitwise when no carrying is at play), it equals $-1$. So, this is going to hold of any "reasonable" notion of summation, as well as in any "reasonable" extension of our algebraic system. For instance, one other answer used a method where we take the sum as a power series $$9x+90x^2+900x^3+9000x^4+\ldots$$ and equated this with $\frac{9}{1-10x}$ near $x=0$, which is a rational function. Without even checking, your proof tells us that this function had better equal $-1$ at $x=1$, since summing by this method allows you to do all the manipulations that you used.

Milo Brandt
  • 58,703
  • 5
  • 98
  • 184
  • 2
    I like this. It seems similar to @DanielFischer reference to two's complement. – CommonToad Jan 24 '16 at 11:02
  • 1
    @CommonToad yeah, because two's complement is really just about identifying 2^n with zero, and 2^n - 1 with -1, etc. for some convenient n. The bit about inverting all the bits and adding one to negate is just a convenient bit of sleight-of-hand. The modulus interpretation is the same thing as what's being extended here :) – hobbs Jan 24 '16 at 20:22
  • Actually, this error happens in calculator by this mechanism. – Takahiro Waki Feb 05 '17 at 10:17
10

This argument is similar to the one $$ \sum_{n=1}^\infty n = -1/12 $$ which went viral a few years ago. You are actually using methods which were originally designed for manipulating absolutly convergent series on series which are not convergent at all. There has much talk been done and I think our friends of numberphile can explain it the best:

image357
  • 659
  • 7
  • 14
  • 4
    "our friends of numberphile can explain it the best" Sorry but **is this a joke?** The N video became famous for the mediocrity of its content. The subsequent piece by the same team (probably the one you call "Clarification") is a dubious self-serving complacent damage control operation made necessary by the justified evisceration of the first piece that happened then. Other videos are doing a much better job hence sending people to this one is a cruel practical joke. – Did Oct 20 '17 at 06:38
6

you can assign a value to $\sum_{k=0}^\infty a_k 10^k$ where each $a_k \in \{0\ldots 9\}$ by saying it is a representation for $\lim_{x \to 1^-} f(x)$ where $f(x) = \sum_{k=0}^\infty a_k 10^k x^k$ for $|x| < 1/10$.

here $a_k = 9$ so $f(x) = 9 \sum_{k=0}^\infty 10^k x^k = \frac{9}{1-10 x}$ hence

$$\ldots999999 = \lim_{x \to 1^-} f(x) = \frac{9}{1-10} = -1$$

reuns
  • 68,106
  • 2
  • 34
  • 121
  • 1
    what I'd like to know now is if that way to extend the integers in base $10$ with the Abel summation is related to the $10$-adic numbers – reuns Jan 23 '16 at 20:51
  • 1
    It's worth noting that this is basically achieving the sum by analytic continuation. – Milo Brandt Jan 24 '16 at 00:15
6

Sure, $999\dots=1$. It also equals $\pi$, and $\frac00$. At least it would, if it existed (it would be true vacuously).

But decimal notation is defined such that you can only have a finite number of digits to the left of the decimal place (whereas you can have infinite decimals to the right). Therefore, you have a bad assumption: that $999\dots$ existed. See this other answer for a different decimal notation where you can have infinite digits to the left of the decimal point.

PyRulez
  • 9,530
  • 3
  • 34
  • 98
6

The sum of an exponential is well known:

$$\sum_{k=0}^{\infty}{9 \cdot 10^k}=9\sum_{k=0}^{\infty}{10^k}=9\left(\frac{1}{1-10}\right)=-1$$

This is basically, where we have logical problems, since it doesn't appear that the following doesn't make sense for $|a|\ge1$:

$$\sum_{k=0}^{\infty}a^k=\frac{1}{1-a}$$

But it does work for $|a|<1$ and it appears to be continuous, that is we can take a limit to get $|a|=1$, and, if it were continuous, we see that the solution happens to appear as that rational function $\frac1{1-a}$.

And the odd thing is, mathematically, this is nearly sound. Logically, it pretty much isn't.

The problem with such a solution lies in the realization that we are dealing with infinity, and while proving that the sum and rational function are equal, assuming we went with permutation, we found ourselves using the following definition:

$$\infty=\infty+1$$

This means that we face problems when we look at the solution through partial values, ie we try to evaluate the following:

$$\sum_{k=0}^na^k$$

But once we have $n=\infty$, its a whole new ballgame with different rules. You have to understand that simply because our logic says one way and the math says another doesn't mean either is right. Instead, think of $\infty$ as a sensible solution that has application and $-1$ as the other solution obtained mathematically that doesn't appear to mean anything to you or anyone else and probably doesn't have any applications. And, as I think of when I think of String Theory, if it doesn't have any actual effect on the world, it doesn't exist. (quantum foam)

Simply Beautiful Art
  • 71,916
  • 11
  • 112
  • 250
6

$...999$ is, I assume, an infinite string of $9$s, thus is it infinity. $0.1 \cdot \infty$ is still $\infty$. On line 3, you then say $0.1x - x$, but since both terms are infinity, what you are really saying is $\infty- \infty$, which is an undefined operation, so the rest doesn't hold. If you abuse infinity like it's a number (it's not) you can get all sorts of contradictory results. For example:

$1 + \infty= \infty$

$1 = \infty- \infty= 0$

Thus, $1 = 0$

Which is obviously wrong.

zz20s
  • 6,362
  • 7
  • 23
  • 40
zrice03
  • 61
  • 1
  • Compare your comment about $\infty$ with the following. If you abuse zero like it's a number (t's not), you can get all sorts of contradictory results, for example $0 = 0 \cdot (0/0) = (0 \cdot 0)/0 = 0/0 = 1$. –  May 13 '16 at 06:31
4

With $x = 0.9999...$, you have an infinite number of 9s following the decimal point; multiplying both sides by 10 you still have an infinite number of 9s following the decimal point, so you can validly subtract one equation from the other to get $9x = 9$.

With $x = 999...9.0$, you have a finite, but arbitrary, number of 9s to the right of the decimal point. (As Henry Swanson points out, $999...9$ does not converge to a value like $0.999...$ does.) Let's try $x = 99999$:

\begin{array}{rcr} x & = & 99999.0 \\ 0.1x & = & 9999.9 \\ \hline 0.9x & = & 89999.1\\ x & = & 99999.0 \end{array}

chepner
  • 417
  • 3
  • 8
  • 1
    I think the OP's intention was to have infinitely many 9's before the decimal point. – Milo Brandt Jan 24 '16 at 00:16
  • 1
    So do I, but that's not allowed. With an infinite number of digits on the left, it doesn't matter what those digits; the value goes to infinity – chepner Jan 24 '16 at 00:19
  • @chepner What's the difference between the fact that the value "goes" to infinity and the fact that it can be mathematically shown to equal $-1$? Think about it, it can depend on the context. – Simply Beautiful Art Jan 25 '16 at 23:40
4

It is certainly possible to construct a 'number system' in which $\dots999 = -1$ is true...

Define $\mathbf H = \{n:\mathbb W \to \mathbb Z\}$ to be the set of all infinite sequences of integers and represent the the sequence $n_0, n_1, n_2, \dots$ as $(\dots, n_2, n_1, n_0)$. these sequences will, formally, correspond to the sequences $n_0 + 10n_1 + 100n_2 + \dots$.

Define addition by $(m+n)_i = m_i + n_i$ and multiplication by $(m n)_i = \sum_{k=0}^i m_k n_{i-k}$. Other operation could be define similarly.

Say that $n \in \mathbf H$ is in canonical form if, for every $i \in \mathbb W$, $0 \le n_i \le 9$ or for every $i \in \mathbb W$, $-9 \le n_i \le 0$.

You need to define which sequences are null sequences, that is, sequences that correspond to the integer $0$. For example $(\dots, 0, -1, 10)$ is a null sequence. Say, $n \in \mathbf H$ is a null sequence if, for every $\alpha \in \mathbb W$, there exists a $\beta \in \mathbb W$ such that $\beta > \alpha$ and $\sum_{i=0}^\beta 10^in_i = 0.$ Define two sequences to be congruent if their difference is a null sequence. Prove that congruence is an equivalence relation.

Finally, define $\mathbf H_{10}$ to be the corresponding set of equivalence classes. The set of all sequences in canonical form is a transversal of $\mathbf H_{10}$.

In $\mathbf H_{10}$, it is true that $(\cdots,9,9,9) = (\cdots,0,0,-1).$

The problem is that $\mathbb Z$ is a proper subset of $\mathbf H_{10}$, that is, $\mathbf H_{10}$ is bigger than $\mathbb Z$ and $\dots999$ is in $\mathbf H_{10}$ but it is not in $\mathbb Z$.

Steven Alexis Gregory
  • 25,643
  • 4
  • 42
  • 84
3

$0.99999....$ is a convergence to $1.0$

$...999.9$ using the same template is a "convergence to infinity": contradiction in terms

This line can't be done if you define $x$ as $\infty $

$0.1x − x = 0.9$

since you cannot multiply or subtract infinity as if it were a real number

Assuming "$999...999.0$" could be defined as a real number: $\infty \sum k=0 9⋅10k$ with some integer $k$, using the same invented ellipsis terminology $0.1x - x = -8.999...999.1$

Ramiro
  • 14,920
  • 4
  • 26
  • 51
Ben
  • 31
  • 1
1

It means that addition is not associative for terms of divergent series. (See conditionally convergent series, https://en.wikipedia.org/wiki/Riemann_series_theorem#Changing_the_sum).

This result is of itself mathematically interesting, but demonstrating it in this absurd way is more likely to yield a "huh" or "rubbish" than an interesting response.

Attempting to "fix" this counter-intuitive mathematical result appears possible, but with unknown repercussions.

Joshua
  • 326
  • 3
  • 11
  • 3
    The proof is entirely valid in the 10-adic numbers, which form a quite interesting ring. Addition and multiplication in the 10-adics are associative and commutive. $0$ and $1$ are still identities, and additive inverses still exist. Multiplicative inverses exist if the number is not a 0-divisor, but there are some 0-divisors. This only becomes absurd if someone demands that these be considered *real* numbers. – Paul Sinclair Jan 26 '16 at 16:33
1

Folks have put forth the $p$-adic interpretation, but another way of understanding this is to consider it in the context of divergent series. One of the ideas behind the study of divergent series is to view $\sum$ as a linear functional from a particular domain $C(\mathbb{R})$ to $R$, where $C(\mathbb{R})$ is the vector space consisting of all real sequences with convergent series. This operator has many useful properties in and of itself, evidenced by how much we care about series in general.

However, we may also pose the question, Can we extend $\sum$ to an operator, call it $S$, on a vector space $V \subseteq \mathbb{R}^{\mathbb{N}}$ containing $C(\mathbb{R})$? In a very trivial way, the answer is yes, we can. To see this, recall that the axiom of choice implies that every vector space has a basis, so let $\{ e_{i} \in C(\mathbb{R}) : i \in I \} \subseteq \{ e_{j} \in V : j \in J \}$ be bases for $C(\mathbb{R}), V$ respectively. Then we can set $$ S (e_{j}) = \begin{cases} \sum (e_{j}) & e_{j} \in C(\mathbb{R}) , \\ 0 & e_{j} \in V \setminus C(\mathbb{R}) . \end{cases} $$ However, this is not very satisfying. Linearity is not the only thing we like about summation. For example, consider the shift operator $\sigma : (a_{k})_{k \in \mathbb{N}} \mapsto (a_{k + 1})_{k \in \mathbb{N}}$. A property of $\sum$ is that $\sum ((a_{k})_{k \in \mathbb{N}}) = a_{1} + \sum(\sigma((a_{k})_{k \in \mathbb{N}}))$. We like this, for example, because it means that when doing convergence tests we know that no matter how $(a_{k})_{k \in \mathbb{N}}$ "starts", if it eventually "looks like" a sequence whose sum converges, then we still have convergence; that is, changing any finite number of terms in a sequence won't change whether or not its series converges. I will call this the Front-End Property (FEP).

It is important to note that the proof you listed in the OP that $0. \overline{9} = 1$, though very common, is as written incomplete. In particular, it assumes (rightfully, of course) that $0. \overline{9}$ is defined. You can show this, for instance, by appealing to the fact the sequence $(0.9, 0.99, 0.999, \ldots )$ is monotonic and bounded by $1$, and thus convergent. From this, we consider that $0. \overline{9} \equiv \sum (9 \cdot 10^{-k})_{k \in \mathbb{N}}$, i.e. $0. \overline{9}$ is defined as the summation of the sequence $(0.9, 0.09, 0.009, 0.0009, \ldots)$. We then use the front-end property. Let $x = \sum (9 \cdot 10^{-k})_{k \in \mathbb{N}}$. Then \begin{align*} 10 x & = \sum(10 \cdot (0.9 \cdot 10^{-k}))_{k \in \mathbb{N}} \\ & = (10 * 0.9) + \sum(10 \cdot (0.9 \cdot 10^{-(k + 1)}))_{k \in \mathbb{N}} \\ & = 9 + \sum(0.9 \cdot 10^{-k})_{k \in \mathbb{N}} \\ & = 9 + x \\ \Rightarrow 9x & = 9 \\ \Rightarrow x = 1 . \end{align*} But line one to line two was just the FEP! What you actually proved in the OP is that $S(10 \cdot (0.9 \cdot 10^{-k}))_{k \in \mathbb{N}} = 1$ for any operator $S$ with the FEP. You're mimicking the same argument to show that $\overline{9} = -1$, i.e. you're showing that IF $S$ has the FEP, THEN $S(9, 90, 900, 9000, \ldots) = - 1$ for a linear map $S : \mathbb{R}^{\mathbb{N}} \to \mathbb{R}$. It just happens that $\sum$ is not defined at $(9 \cdots 10^{k})_{k \in \mathbb{N}}$.

So in essence we're saying, "So we know we have this thing called summation that we can do to sequences that does neat stuff, and its defined in terms of these other sequences of partial sums converging. But we can also talk about this summation as a linear transformation, which is just the same as saying I can multiply by a scalar or add the sequences and get what I expect. But summation has other properties as an operator than linearity. We mentioned the FEP, but it's also what we may call positive, i.e. if $a_{k} \geq 0$ for all $k$, then $\sum (a_{k})_{k \in \mathbb{N}} \geq 0$. So we may ask, Can we extend this to all of $\mathbb{R}^{\mathbb{N}}$ and keep FEP and positivity? As you've shown, no.

Note also that if you apply your standard geometric series formula for when the ratio is $10$, you'll get $\overline{9} = - 1$.

AJY
  • 7,909
  • 2
  • 15
  • 39