News for hackers. Stuff that matters.
Re:0.999...= 1 by lmkg on Tuesday April 28, 2020 @10:24AM (#23007251)
It's more fundamental: People seem to have the intuition that the decimal representation of a number is a number. I don't know if it's because decimals resemble the ntural numbers or what, but decimals seem to have a primacy for people that fractions do not. The idea that there's a gap between the symbol for a thing and the thing itself is the stumbling block.
Re:0.999...= 1 by mjd on Tuesday April 28, 2020 @12:05PM (#23008363)
I think this is a very insightful remark. People think that numerals _are_ numbers, and it's hard to explain why this is not the case, because we have no way to talk about specific numbers _except_ by using numerals. But many frequently-asked questions are based in a confusion between numbers and numerals. For example, many beginner questions on Math SE about irrational numbers are based in the mistaken belief that an irrational number is one whose decimal representation doesn't repeat. I've met many people who were just boggled by the idea that “10” might mean ●●, or ●●●● ●●●● ●●●● ●●●●, rather than ●●●●● ●●●●●. A particularly interesting example I remember is the guy who asked what were the digits that made up the number ∞. It's a number, so it must have digits, right? (https://math.stackexchange.com/q/709657/25554)

Computer programmers (and historians!) have a similar problem with dates, and in particular with issues like daylight saving time and time zones. I think a lot of the problem is that again there's no way to talk about a particular instant of time without adopting some necessarily arbitrary and relative nomenclature like “January 17, 1706 at 09:37 local time in Boston”. But when was this _really_? Unfortunately there is no “really”. (“Oh, you mean Ramadan 1117 AH, now I understand.”)

Re:0.999...= 1 by schoen on Tuesday April 28, 2020 @03:33PM (#23010871)
Apparently the New Math (https://en.wikipedia.org/wiki/New_Math) tried to address this kind of issue quite explicitly, by drawing a consistent distinction between numbers and numerals (where a numeral is a symbol that names a number). Reportedly most American math students found this kind of distinction extremely hard to grasp when they were presented with this kind of issue in elementary school. Maybe it would have worked better when they were a bit older.

I wonder if there's a way of teaching this kind of distinction and issue well in a way that would make sense for most students.

I think Feynman said somewhere that the New Math explicitly taught base representation and base conversions, probably as a way of trying to underscore the idea that "123" is a representation of a number rather than a number. Feynman found this to be of questionable value and thought that most students didn't manage to get the point.

Edit: there's a similar issue in linguistics because you have words, phonemes, phones, graphemes, and glyphs. You could say that "dog" isn't a word, but is rather the standard way of writing a particular word in the standard writing system for English (which would sometimes be indicated by <dog> in linguistic contexts). This idea lets you refer to <alright> and <all right> as ways of writing the same word, or <color> and <colour>, or in the case of languages with multiple writing systems <हिन्दुस्तानी> and <ہندوستانی>, or <אַ שפּראַך איז אַ דיאַלעקט מיט אַן אַרמיי און פֿלאָט> and <a shprakh iz a dialekt mit an armey un flot>.

Re:0.999...= 1 by blauditore on Tuesday April 28, 2020 @12:33PM (#23008686)
>the mistaken belief that an irrational number is one whose decimal representation doesn't repeat

...which is true for any base-n representation where n is a natural (even rational) number. And that's kind of implied most of the time, so it seems like a useful definition. Where would this lead to problems?

Re:0.999...= 1 by jordigh on Tuesday April 28, 2020 @01:09PM (#23009130)
I think the problem is that the definition, while valid, makes you hyperfocus on irrational numbers this way.

Seldom do we prove that a number is irrational by inspecting its decimal expansion. This would be in most cases a very unnatural proof. Since irrationality is a negative property (meaning, one arising out of a negation: the number is not a ratio), most of the time you prove it by contradiction. But people who just know the "digits don't repeat" definition expect us to somehow be able to list all of the digits of an irrational number and show that this infinite list doesn't repeat, which is, of course, an impossible task.

Re:0.999...= 1 by mjd on Tuesday April 28, 2020 @06:49PM (#23013056)
It's _true_, but it's not good as a definition, because it's hard to reason about. It drags in all sorts of contingent facts about base-10 representations that are not usually of interest.

The equivalent property, that a number is irrational if it's not equal to m÷n for any integers m and n, is much simpler. So we use that as the definition, and from that simple and intrinsic definition, we prove the _theorem_ that the decimal representation of an irrational number never repeats.

Re:0.999...= 1 by tom-thistime on Tuesday April 28, 2020 @12:43PM (#23008797)
Yeah, can we have an example of an irrational number whose decimal representation repeats or terminates?

Or a rational number whose decimal representation doesn't repeat?

Re:0.999...= 1 by mjd on Tuesday April 28, 2020 @06:52PM (#23013090)
My phrasing was bad. I should have said "the mistaken belief that an irrational number is * defined to be * one whose decimal representation doesn't repeat”.

Usually we define it like this: an irrational number is one that isn't a quotient of two integers. Starting from that definition, we then prove the _theorem_ that the decimal representation a number repeats if and only if the number is rational.

It's much easier to start from the intrinsic properties, and use those to prove things about the representation, than the other way around. But if you don't distinguish the representation from the thing itself, you can't tell which way you are going.

Re:0.999...= 1 by btilly on Tuesday April 28, 2020 @08:26PM (#23013836)
I am still not in agreement.

The proof that the usual definition is equivalent to the representation is fairly straightforward and easy, no matter which side you picked as the definition. And once the equivalence is established, all other proofs proceed naturally. It therefore matters a lot that we pick one as a definition and know which one we picked, but not so much which one we picked.

Now in fact the quotient definition is by far more interesting mathematically. There is also a clear foundational reason to prefer it, namely that you can easily construct and prove things about the rational numbers long before you construct the real numbers. However it is unlikely that anyone who is confused about the definition of a rational number has a clear understanding of how the reals are constructed, so that is not a particularly important consideration for them.

Furthermore the fact that foundational considerations argue for one construction over another has little bearing on what is pedagogically preferable. As a famous example, the easiest way to rigorously define logarithms is through the integral of 1/x. However explaining logarithms that way to someone who doesn't know them is a pedagogical disaster.

Re:0.999...= 1 by barrkel on Tuesday April 28, 2020 @12:56PM (#23008943)
I expect mjd is thinking of irrational bases. The number might still be written as 10, in digits that look decimal.
Re:0.999...= 1 by samatman on Tuesday April 28, 2020 @03:47PM (#23011019)
Thank you! This thread is full of people insisting on something wrong because they were taught incorrectly; an irrational number is defined in terms of integer ratios for a reason.

It's not like those people haven't worked with an irrational base before, either! Radians have an irrational base. When we talk about 2π radians, or 1/4π radians, that's exactly what we're doing.

Re:0.999...= 1 by mjd on Tuesday April 28, 2020 @06:50PM (#23013063)
That is not what I meant at all. (My phrasing was unclear. Sorry for the confusion.) Jordi understood what I meant though.
Re:0.999...= 1 by barrkel on Friday May 01, 2020 @08:13PM (#23047809)
It was unclear; I understand rational numbers to be ratios, and irrationals to be inexpressible as fractions, and I see an almost direct connection between that and digital representation in rational bases, so it seemed deeply confusing to see a consequence of the definition of rationals being refuted. The only way out was an irrational base.
Re:0.999...= 1 by throwaway894345 on Tuesday April 28, 2020 @12:42PM (#23008789)
Maybe I'm misunderstanding, but I think the issue with dates is strictly different. Dates are hard not because time is fundamentally hard, but because there is lots of complexity in human representation of time (different places at different times have had similar but different representations of time). But that's not inherent to time. Ignoring relativity, if everyone throughout time used something like seconds since Unix epoch (or some similarly arbitrary point in time), then writing programs about time would be much simpler.

I think the numerals and numbers issue is more complex because numerals are fundamentally hard to reason about. Even the question "what is a number?" is deceivingly deep.

Re:0.999...= 1 by barrkel on Tuesday April 28, 2020 @12:54PM (#23008929)
No, dates are harder than that. Humans use time to coordinate; the representation of time is fundamentally about communication. Only timestamps of events in the physical world are easy (ish). But that's not always, or perhaps mostly, what people are interested in.

When people receive a time, they may (usually) want it in their own time zone, but they might instead want it in the time zone of the entity they're getting the time from, if they're subsequently going to talk to that entity about the time. When they talk about meeting someone else, when they convey the time of the meeting, they usually mean whatever that time means in the place where they meet, which might be different from the current location of either. It might even be different due to political changes around time zones and daylight saving if the meeting is far enough in the future.

Re:0.999...= 1 by throwaway894345 on Tuesday April 28, 2020 @01:21PM (#23009323)
You say "no, dates are harder than that", but it sounds like you agree with me exactly based on the rest of your post. Time is hard because human representations of it are varied, complicated, and often arbitrary--not because there's anything fundamentally hard about the math of time (again, relativity notwithstanding). Contrast that with numbers which are inherently difficult to intuit about apart from issues of representation.
Re:0.999...= 1 by bcrosby95 on Tuesday April 28, 2020 @02:35PM (#23010252)
Yet the way we represent numbers is also a human construct. 1 = .999... is hard for people to understand because we think and write in base 10 rather than base 3. There's nothing that is fundamentally hard to reason about here.
Re:0.999...= 1 by throwaway894345 on Tuesday April 28, 2020 @03:48PM (#23011030)
Oof, I meant to write "numbers are fundamentally hard to reason about", not "numerals". Missed the edit window. The point I was trying to make is that numbers are very often fundamentally counterintuitive irrespective of notation. E.g., is the set of natural numbers larger than the set of decimal numbers? Or the other way around? Or equal? The complexities of time are almost exclusively inferring and converting between (often ambiguous) representations.
Re:0.999...= 1 by schoen on Tuesday April 28, 2020 @03:29PM (#23010817)
Of course in base three, they'll have a hard time with .222...
Re:0.999...= 1 by btilly on Tuesday April 28, 2020 @03:31PM (#23010850)
For example, many beginner questions on Math SE about irrational numbers are based in the mistaken belief that an irrational number is one whose decimal representation doesn't repeat.

How is this a mistaken belief?

Every rational number winds up in a repeating decimal representation and every number with a repeating decimal representation is a rational number. We learn algorithms to go back and forth between the two in elementary school.

Therefore irrational numbers cannot have repeating decimal representations. Conversely numbers with decimal representations that don't wind up repeating cannot be rational and so must be irrational.

Re:0.999...= 1 by mjd on Tuesday April 28, 2020 @06:59PM (#23013151)
Re:0.999...= 1 by austincheney on Tuesday April 28, 2020 @04:01PM (#23011200)
Proof: bring up removing time zones, such that there is only one time zone.

The responses are comical, even here on HN, such as not being able to wake up or not knowing when morning is or when meals are. Let’s not forget that time zones are a human invention less than 200 years old.

Re:0.999...= 1 by bmn__ on Tuesday April 28, 2020 @04:11PM (#23011325)
> Let’s not forget that time zones are a human invention less than 200 years old.

What's the point of that statement? Before the introduction of formal time zones, we had thousands of informal ones, one for each settlement, calibrating noon to the zenith of the sun.

Re:0.999...= 1 by austincheney on Tuesday April 28, 2020 @04:56PM (#23011880)
The point is to indicate that humans knew how to wake up, eat food, communicate, and conduct business (even over long distances) before they had clocks much less the relatively recently invented time zones.
Re:0.999...= 1 by ISO-morphism on Tuesday April 28, 2020 @04:27PM (#23011525)
200 years ago we didn't need timezones because we couldn't communicate or travel fast enough or often enough for them to matter. With railroads and telegraphs the level of granularity required for "some time 300 miles away" went from days to hours and minutes. No one in the U.S. west wanted to be told "The sun is at its zenith around 8 a.m. for you." For most people talking about time in their day to day lives it's far more useful to communicate a relative time of day with people near them than to communicate an absolute moment in time and do the math to figure out how bright it is outside.
Re:0.999...= 1 by austincheney on Tuesday April 28, 2020 @04:53PM (#23011849)
> 200 years ago we didn't need timezones because...

We still do not. China and India are examples of large geographies spanning across a vast amount of longitude and yet each are a single time zone. Time zones are a political entity only, an unnecessary complexity. The absence of time zones will not halt business or communication over long distances.

> For most people talking about time in their day to day lives it's far more useful to communicate a relative time of day

People have done this for thousands of years without modern chronometers. Examples: dusk, dawn, morning, midday, afternoon, evening, twilight.

Re:0.999...= 1 by schoen on Tuesday April 28, 2020 @08:12PM (#23013738)
These two national policies aren't equally difficult: India extends across about 29° of longitude, while China extends across about 61°. The natural size of a time zone is 15° of longitude, so without political considerations India would include about 2-3 time zones, while China would include about 4-5.

I've heard there's some pushback against the Chinese policy in that some people in the west keep an unofficial local time which is widely understood and quoted (though presumably not for things that are sufficiently official or relevant to other regions). Apparently there's currently an ethnic conflict over the time zone status in Xinjiang:

https://en.wikipedia.org/wiki/Xinjiang_Time

Maybe this conflict has now been pushed underground by force?

> In 2018, according to Human Rights Watch, a Uyghur man was arrested and sent to a detention center because he set his watch to Xinjiang Time.

Re:0.999...= 1 by foobuzzHN on Tuesday April 28, 2020 @03:04PM (#23010546)
> A particularly interesting example I remember is the guy who asked what were the digits that made up the number ∞. It's a number, so it must have digits, right?

I don't think there are many areas of math where ∞ is a number. In my experience people have a whole other problem with ∞, thinking that it is some sort of huge concept defined globally in math, where it is just a notation shared by various non-mystical definitions across subjects (e.g. bijection-based definition of infinite set, epsilon-based definition of convergence, etc)

Re:0.999...= 1 by L_226 on Tuesday April 28, 2020 @11:26AM (#23007910)
Reminds me of Terry Pratchett's description of the mathematical reasoning of camels in Pyramids:

Lack of fingers was another big spur to the development of camel intellect. Human mathematical development had always been held back by everyone’s instinctive tendency, when faced with something really complex in the way of triform polynomials or parametric differentials, to count fingers. Camels started from the word go by counting numbers.

Re:0.999...= 1 by tom-thistime on Tuesday April 28, 2020 @10:58AM (#23007613)
Possibly people are looking at two different symbols and asking "can you show me logically why those are equal." If they're given a definition of "equal" and they still object, that's a different problem.

I have this problem every time I play with group theory again. You get the axioms for a group, which say there is some identity but don't explicity require the identity to be unique. You can easily prove that the identity of a group is unique ... so long as you define "unique" to mean "if element e1 and element e2 are equal, then we say they are the same element."

You could count things differently and say the identity is "not unique", it would just lead to a lot of stupid and un-illuminating consequences.

Re:0.999...= 1 by remexre on Tuesday April 28, 2020 @11:53AM (#23008212)
I used to have the same annoyance about group and category theory; learning some about the type-theory-as-foundations work (particularly homotopy type theory and cubical type theory) has helped w/ this; in that setting, you have several distinct but well-developed notions of equality: propositional equality, which group theory and most math cares about, vs judgemental equality, which is the one that's "obviously true" by the rules of the system.

e.g. 5 = 5 is true under judgemental and propositional equality, whereas x + 2 = 2 + x is only true under propositional

Re:0.999...= 1 by tom-thistime on Tuesday April 28, 2020 @12:03PM (#23008350)
Yeah forcing myself to keep making sure I'm defining "equality" seems to be a really useful way of "breaking my brain" until I understand what an algebraic structure "really is."
Re:0.999...= 1 by pasquinelli on Tuesday April 28, 2020 @01:04PM (#23009052)
I think a lot of people don't think of math in terms of definitions and proof. Math was just something they were taught as kids. And even if they've gotten into more advanced math, i think the 1 = .9... question hits their kindergarten brain and they just say "no" to it the same way they'd say "no" to someone singing the alphabet song in the wrong order.
Re:0.999...= 1 by karatestomp on Tuesday April 28, 2020 @06:29PM (#23012914)
I think a lot of people see “find me a number between 0.9999... and 1” as no more or less valid (plus, perhaps, no more or less pedantic and dickish) than “ok smarty pants, why don’t you just keep adding 9s until you reach 1, then we’ll talk.”
Re:0.999...= 1 by tom-thistime on Wednesday April 29, 2020 @11:57AM (#23020714)
I imagine that's true sometimes.

On the other hand, hypothetically, if it were the case that we were missing a key definition that's needed for some proof, and someone didn't believe that proof, then maybe we would't quite know enough yet to decide that the person is in mental kindergarten. A better first step for us might be to supply the missing definition.

Re:0.999...= 1 by obastani on Tuesday April 28, 2020 @01:04PM (#23009066)
This is a good point, but an even more basic issue is that the question "what is a number" is a matter of definition. There isn't a "correct" definition of numbers; only one that we've accepted as standard. The accepted definition of a "real number" is actually quite complicated [1], and it's certainly not easy to convey why this complexity is necessary. Other definitions are also possible [2], but nonstandard.

The simplest definition is: a finite decimal ak ... a1.b1 ... bh is defined to be a fraction and an infinite decimal is defined to be a limit. You'd still have to define what a limit is, but that is somewhat more intuitive.

[1] https://en.wikipedia.org/wiki/Dedekind_cut

[2] https://en.wikipedia.org/wiki/Hyperreal_number

Re:0.999...= 1 by btilly on Tuesday April 28, 2020 @03:53PM (#23011111)
Sorry, no.

There are TWO standard definitions of the real numbers. Namely Dedekind cuts and Cauchy sequences. (They are completely equivalent.) The usual decimal representation of a number turns out to be a Cauchy sequence.

The "simplest definition" that you provide turns out to be rather non-simple in practice. Try proving that multiplication is commutative to see the difficulty.

There are plenty of other number systems out there. Try https://en.wikipedia.org/wiki/Surreal_number or https://en.wikipedia.org/wiki/P-adic_number or the complex numbers.

https://en.wikipedia.org/wiki/Surreal_number

Re:0.999...= 1 by Sharlin on Tuesday April 28, 2020 @10:57AM (#23007602)
Yes, but at the same time it is common for people to insist that 0.999… only "approaches" unity as if it were a series approaching a limit, rather than an unique number. Intuition is a funny thing.
Re:0.999...= 1 by tom-thistime on Tuesday April 28, 2020 @11:02AM (#23007655)
Saying "a number isn't a limit" is true, but it's only really relevant if you're talking to someone who genuinely has no idea what limits are. In actual math the number 0.99... can be defined as the limit of a series.
Re:0.999...= 1 by Sharlin on Tuesday April 28, 2020 @11:12AM (#23007749)
Every number is a limit, yes, but people think of 0.999… as a series. Not rigorously, of course, but that's a common argument even by people (perhaps especially by people) who have a highschool or even math-minor level understanding of series and limits.
Re:0.999...= 1 by theincredulousk on Tuesday April 28, 2020 @12:31PM (#23008660)
great point. My thought on (1/3 = 0.3333...) * 3 = 1 = 0.999... was that it is intuitively obvious that the "problem" is that we use base-10 for decimals. There is nothing magic or unknowable about the quantity 1/3.

I've often wondered if there is some alternate base or mathematical system entirely that would be "better" in these respects. The thought usually comes up thinking about why pi is such an "ugly" number in base-10 decimal.

Re:0.999...= 1 by throwaway894345 on Tuesday April 28, 2020 @12:47PM (#23008852)
I think the problem is that people are often only taught base-10 so they confuse numerals with numbers. If you learn base 2 and then base 16 and then base pi, you start to realize that numbers are something more abstract than whichever numeral system we use to represent them. Rightly or wrongly, the way I imagine integers now is an infinite set of different numerals (base infinity?) such that there is only ever 1 digit (I don't actually have concrete pictorials assigned to those numerals).
Re:0.999...= 1 by bluquark on Tuesday April 28, 2020 @01:14PM (#23009217)
Interesting. I find it funny to imagine what if you did have pictorial representations. They'd have more and more complex strokes and knots, and you would also need an infinitely large paper or infinitely precise pen in order to not end up repeating a number sooner or later as you enumerate them.

Come to think of it, this is one way of thinking about the relationship between symbols and geometry.

Re:0.999...= 1 by throwaway894345 on Tuesday April 28, 2020 @01:30PM (#23009448)
Who says pictorials have to be 2-dimensional? ;)
Re:0.999...= 1 by scrollaway on Tuesday April 28, 2020 @12:49PM (#23008869)
Base 12 is a better base overall. It is divisible by more numbers. That is why it is used in various monetary, time and measurement systems.

It's the one issue I have with the metric system... But that ship has sailed :) look up the dozenal society if you're curious how fervent some supporters might be.

Re:0.999...= 1 by Koshkin on Tuesday April 28, 2020 @02:34PM (#23010249)
The Babylonians though it was 60. (But imagine having to remember additional 50 numeric characters.)
Re:0.999...= 1 by bmn__ on Tuesday April 28, 2020 @04:32PM (#23011600)
> remember additional 50 numeric characters

The numerals are not distinctly varied like our Arabic numerals. Quite the opposite, they are repetitive and completely systematic and require 80% less effort to remember.

https://commons.wikimedia.org/wiki/File:Babylonian_numerals....

Re:0.999...= 1 by jacobparker on Tuesday April 28, 2020 @01:37PM (#23009547)
Any other argument for a different base aside, in base 12 you have the analogous “problem” that 0.BBB... = 1. None of the usual bases, equipped with this “...” power, avoid the “problem” (non-unique representation).
Re:0.999...= 1 by pbhjpbhj on Tuesday April 28, 2020 @12:57PM (#23008960)
I think the confusion comes when mathematicians say "a sheet of paper can be 0.333... (0.3_, ie 0.3 recurring) units long" or something because in experienced reality we can always choose a measure that's rational (in the maths sense). That 1/3 of a meter can be measured in one-third-meter units and be precise and easily written.

Now sure, make a square using those measures and measure the diagonal, like an awkward mathematician - "see, see, we need irrationals!" - but then we can just cut another measure that's exactly that length ... stupid mathematicians!

Yeah representation is not reality.

Now, says the ratio of those two measuring sticks ...

Re:0.999...= 1 by brlewis on Tuesday April 28, 2020 @01:32PM (#23009483)
Whatever base you use, it will only be useful for rationals. You can't use any base to significantly improve the representation of pi. In base 7, 3.1 would be a nice approximation, but you can't go beyond approximations.
Re:0.999...= 1 by hansvm on Tuesday April 28, 2020 @04:29PM (#23011549)
It doesn't have a terrible representation in base pi ;)
Re:0.999...= 1 by brlewis on Tuesday April 28, 2020 @04:50PM (#23011814)
;) As someone fond of integers, I can't advocate base pi.
Re:0.999...= 1 by lmkg on Tuesday April 28, 2020 @01:58PM (#23009836)
You can't fix irrationals by changing base. But, there are other approaches.

Continued fractions give very approachable representations for common irrational numbers like e and sqrt(2). While π doesn't have a good continued fraction, it has some very well-behaved generalized continued fractions.

https://en.wikipedia.org/wiki/Continued_fraction

Re:0.999...= 1 by jordigh on Tuesday April 28, 2020 @01:22PM (#23009336)
Decimals are easier to compare than fractions. I can't easily work out in my head which one is bigger, 457/790 or 580/924, but I can easily see that (approximately) 0.57848 is smaller than (approximately) 0.62771.

Since the fundamental thing most people want to do with numbers is see which one is bigger, they favour decimal expansions. And since decimals worked so well for fractions, why not use them for everything else?

Re:0.999...= 1 by Bodell on Tuesday April 28, 2020 @12:16PM (#23008499)
"Players and painted stage took all my love, And not those things that they were emblems of."

The Circus Animal's Desertion, W. B. Yeats

Re:0.999...= 1 by BurningFrog on Tuesday April 28, 2020 @02:53PM (#23010428)
Similarly, perhaps, many take for granted that the written version of a word, in current standard spelling is the word.