this post was submitted on 29 Jul 2023
-1 points (47.8% liked)

Lemmy Shitpost

26910 readers
3694 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS
 

1/3 = .333…

1/3 + 1/3 + 1/3 = 3/3 = 1

.333… + 333… + 333… = .999…

.999… = 1

Discuss

top 14 comments
sorted by: hot top controversial new old
[–] kadu@lemmy.world 7 points 1 year ago

This is an artifact of the notation system being used (base 10).

There's no difference between the object 0.999... and 1. They're two ways of writing the same thing.

[–] DumbleSnore@lemmy.world 7 points 1 year ago
[–] Saik0Shinigami@lemmy.saik0.com 5 points 1 year ago (2 children)

I know the proof... The only thing I've never had anyone clean up appropriately is that limits disprove that this is the case.

https://math15fun.com/2017/02/25/finding-limits-graphically/

If a limit exists... (such as the case in this link), -1 is a hole... but not -0.999999...

It's even more apparent in "weird" functions like the one outlined here... https://math.stackexchange.com/questions/3136135/limits-of-functions-with-holes-variables-vs-constants

for x=1 the output is 2... but for x=0.99999... it's 1.

For what it's worth, this same issue crops up with 1/7 as well.

0.142857...+0.142857...+0.142857...+0.142857...+0.142857...+0.142857...+0.142857... = 0.999999...

It actually happens with all odd numbers that don't happen to divide 10 (which is where the base10 things comes up). But I think that it's a matter of the origin of the 0.9999... I don't think that 3/3 is ever actually 0.9999... but rather is just a "graphical glitch" of base 10 math. It doesn't happen in base12 with 1/3, but 1/7 still does.

I do accept that we can just presume 0.999... can just be assumed 1 due to how common 3*(1/3) is. But I do think it throws a wrench in other parts of math if we assume it's universally true. Just like in programming languages... primarily float math that these types of issues crop up a lot, we don't just assume that the 3.999999... is accurate, but rather that it intended 4 from the get-go, primarily because of the limits of the space we put the number in. I have no reason to believe that this isn't the case for our base10 numbering systems either.

[–] myslsl@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

Limits don't disprove this at all. In order to prove 0.999...=1 you need to first define what 0.999... even means. You typically define this as an infinite geometric series with terms 9/10, 9/100, 9/1000 and so on (so as the infinite sum 9/10+9/100+9/1000+...). By definition this is a limit of a sequence of partial sums, each partial sum is a finite geometric sum which you would typically rewrite in a convenient formula using properties of geometric sums and take the limit (see the link).

The thing is that it follows from our definitions that 0.999... IS 1 (try and take the limit I mentioned), they are the same numbers. Not just really close, they are the same number.

https://math15fun.com/2017/02/25/finding-limits-graphically/ If a limit exists... (such as the case in this link), -1 is a hole... but not -0.999999...

What you're saying here isn't actually true because -0.999... and -1 are the same number. -0.9, -0.99, -0.999 and so on are not holes, but -0.999... is a hole, because it is the number -1.

You see the distinction here? Notations -0.9, -0.99, -0.999 and so on are all defined in terms of finite sums. For example -0.999 is defined in terms of the decimal expansion -(9/10+9/100+9/1000). But -0.999... is defined in terms of an infinite series.

The same sort of reasoning applies to your other decimal examples.

It's even more apparent in "weird" functions like the one outlined here... https://math.stackexchange.com/questions/3136135/limits-of-functions-with-holes-variables-vs-constants for x=1 the output is 2... but for x=0.99999... it's 1.

You take limits of functions. The first limit is the limit of a function f that, according to the diagram of the problem, approaches 1 as x goes to 1. But the second limit is the limit of a constant function that always maps elements of its domain to the value 2 (which is f(1)). You can show using the epsilon delta definition of the limit that such a limit will be equal to 2.

The notation here might be a little misleading, but the intuition for it is not so bad. Imagine the graph of your constant function 2, it's a horizontal line at y=2.

But I think that it's a matter of the origin of the 0.9999...

This is correct. It follows directly from the definition of the notation 0.999... that 0.999...=1.

I don't think that 3/3 is ever actually 0.9999... but rather is just a "graphical glitch" of base 10 math. It doesn't happen in base12 with 1/3, but 1/7 still does.

Then you are wrong. 3/3 is 1, 0.999... is 1, these are all the same numbers. Just because the notation can be confusing doesn't make it untrue. Once you learn the actual definitions for these notations and some basic facts about sums/series and limits you can prove for yourself that what I'm saying is the case.

I do accept that we can just presume 0.999... can just be assumed 1 due to how common 3*(1/3) is.

It's not an assumption or presumption. It is typically proved in calculus or real analysis.

But I do think it throws a wrench in other parts of math if we assume it's universally true. Just like in programming languages... primarily float math that these types of issues crop up a lot, we don't just assume that the 3.999999... is accurate, but rather that it intended 4 from the get-go, primarily because of the limits of the space we put the number in.

It definitely doesn't throw a wrench into things in other parts of math (at least not in the sense of there being weird murky contradictions hiding in math due to something like this). Ieee floats just aren't comparable. With ieee floats you always have some finite collection of bits representing some number. The arrangement is similar to how we do scientific notation, but with a few weird quirks (like offsets in the exponent for example) that make it kinda different. But there's only finitely many different numbers that these kinds of standards can represent due to there only being finitely many bit patterns for your finite number of bits. The base 10 representation of a number does not have the same restriction on the number of digits you can use to represent numbers. When you write 0.999..., there aren't just a lot (but finitely many) 9's after the decimal point, there are infinitely many 9's after the decimal point.

In a programming context, once you start using floating point math you should avoid using direct equality at all and instead work within some particular error bound specified by what kind of accuracy your problem needs. You might be able to get away with equating 4.000001 and 4 in some contexts, but in other contexts the extra accuracy of 0.0000001 might be significant. Ignoring these kinds of distinctioms have historically been the cause of many weird and subtle bugs.

I have no reason to believe that this isn't the case for our base10 numbering systems either.

The issue here is that you don't understand functions, limits, base expansions of numbers or what the definition of notation like 0.999... actually is.

[–] Saik0Shinigami@lemmy.saik0.com 2 points 1 year ago (1 children)

The thing is that it follows from our definitions that 0.999… IS 1 (try and take the limit I mentioned), they are the same numbers. Not just really close, they are the same number.

You cannot use the outcome of a proof you're validating as the evidence of the validating proof. Prove that the limits work without a presumption that 0.999... = 1. Evaluate a limit where there's a hole in the function for 1... then prove that 0.999... also meets that hole without the initial claim that 0.999... = 1 since that's the claim we're testing.

The issue here is that you don’t understand functions, limits, base expansions of numbers or what the definition of notation like 0.999… actually is.

So you you tell me I don't understand things... when you've not provided proof of anything other than just espousing that 0.999... = 1.

And I know how to work with floats in a programming context. It's the programming context that tells me that there could be a case where the BASE10 notation we use simply does "fit" the proper evaluation of what 1/3 is. Since you know... Base12 does. These are things I've actually already discussed... and have covered. But you're cherry picking trying to make me look dumb when instead you've just added nothing to the conversation.

[–] myslsl@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

You cannot use the outcome of a proof you’re validating as the evidence of the validating proof.

You should read what I said more closely. If you read what I actually said (literally the very first paragraph), you'll notice I told you what the proof of 0.999...=1 is.

Let me fill in some of the details I left out for you. By definition, 0.999... IS the sum as n goes from 1 to infinity of 9/10^n. By definition this is the limit as N goes to infinity of the sum from n=1 to N of 9/10^n. The sum from n=1 to N can be evaluated (by the link in my original post) to be (9/10)(1-(1/10)^(N-1))/(1-1/10). So, from calculus we take the limit of this formula as N goes to infinity, it is (9/10)/(1-1/10), arithmetic tells us this value is 1. So, the limit of the sequence of partial sums we mentioned earlier is just 1, by definition this tells us 0.999...=1

What I've just outlined to you is the "infinite series and sequences argument" shown here, it is equivalent to the "rigorous proof" argument they also give.

You cannot use the outcome of a proof you’re validating as the evidence of the validating proof. Prove that the limits work without a presumption that 0.999… = 1. Evaluate a limit where there’s a hole in the function for 1… then prove that 0.999… also meets that hole without the initial claim that 0.999… = 1 since that’s the claim we’re testing.

Your whole statement here is not an issue because:

  1. In my original comment I actually told you how the proof for 0.999...=1 works.
  2. I just outlined the proof for you again.
  3. I also sent you a link just now containing more explanations and proofs of this fact.

So you you tell me I don’t understand things… when you’ve not provided proof of anything other than just espousing that 0.999… = 1.

Again, the issue is you failing to see that I already told you the proof of this fact in my original post (and in the current post).

And I know how to work with floats in a programming context. It’s the programming context that tells me that there could be a case where the BASE10 notation we use simply does “fit” the proper evaluation of what 1/3 is. Since you know… Base12 does. These are things I’ve actually already discussed… and have covered.

I'm not sure if you meant to say the base 10 expansion of 1/3 does or doesn't "fit" the "proper evaluation" of 1/3, but it does. Hint: try to apply my previous proof method to the series 3/10+3/100+3/1000+... to show this series evaluates to 1/3.

The issue that you're getting so mystified by here is really to do with divisibility. Ieee floats are irrelevant and arguably don't even really describe the entire set of real numbers very well to begin with.

It turns out that any rational number (i.e. a ratio of two integers) has a repeating decimal expansion no matter what base you pick (in some cases this expansion is not unique though fwiw). See here for an explanation of this. You might want to also read about Euclid's division lemma as well.

It's just that the way the denominator of your rational number divides the base you choose determines the sort of pattern you see when computing the base expansion (specifically whether or not the denominator divides the base tells you when the base expansion can terminate or not).

For example say we want to know the base 10 expansion of 1/2. To compute the first digit you can notice that since the base 10 expansion of 1/2 is given by 1/2=b_1/10+b_2/100+b_3/1000+... for each b_i being some integer between 0 and 9 (inclusive), that the integer part of 10(1/2), gives our first digit b_1, notice 10(1/2) is 5, so our first digit is 5. To compute our next digit consider 1/2-b_1/10=b_2/100+b_3/1000+..., this tells us the second digit of our base 10 expansion is the integer part of 100(1/2-b_1/10), but this value is just zero. If we keep repeating this process we keep getting zeroes. Notice we have a sequence of statements of the form 10(1/2), 100(1/2-b_1/10), 1000(1/2-b_1/10-b_2/100), ... that we're using to successively calculate out the actual values b_1, b_2, ... and so on. Since 2 divided 10 we got b_1 to be equal to 5, which caused 100(1/2-b_1/10) to be equal to 0, so b_2 was zero, so 1000(1/2-b_1/10-b_2/100) ended up being equal to 1000(1/2-b_1/10), which is zero, so b_3 is zero and so on. The fact that 2 divides 10 causes a cascading sequence of zeroes after b_1=5 when we start actually trying to compute the digits of 1/2 in base 10.

We can try the same trick for 1/2 in base 3 now. We know our base 3 expansion of 1/2 has the form 1/2=a_1/3+a_2/9+a_3/27+... (these denominators are increasing powers of 3) where our a_i's are integers between 0 and 2 (inclusive). So, the integer part of 3(1/2) gives us our first digit a_1, but 2 doesn't divide 3 cleanly, so we have to use Euclid's lemma (i.e. division) to find the integer part of a_1, notice 3=2(1)+1, so 3/2=1+1/3, so our first digit is 1. Cool, so now we need to find our next digit, similar to before we see it is the integer part of 9(1/2-a_1/3)=9(1/2-1/3)=9/6=3/2, but this is just the same problem as before, so a_2=1 as well (which is what we expect). Continuing this process leads us to a sequence of 1's for each digit in the base 3 expansion of 1/2.

The fact that the decimal expansion for 1/2 terminates but the base 3 expansion doesn't is due to 2 cleanly dividing 10 but not 3 in the above process. Notice also, that the general method I've outlined above (though not the most efficient) can be applied to any rational number and with any base that is a positive integer.

But you’re cherry picking trying to make me look dumb when instead you’ve just added nothing to the conversation.

I don't really think I'm "cherry picking" or "adding nothing to the conversation". You're speaking from ignorance and I'm pointing out the points where you're reasoning is going astray and how to resolve those issues. Rather than feeling dumb because you don't know what you're talking about, you should read what I said to try and see why it resolves the issues you're struggling with.

[–] Saik0Shinigami@lemmy.saik0.com 1 points 1 year ago (1 children)

I don’t really think I’m “cherry picking”

You really are.

Virtually my whole last paragraph was ignored in my original comment. But you keep doing you.

[–] myslsl@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

I'm cherry picking, yet you cherry picked the sentence "I don't really think I'm cherry picking" over the entirety of my previous comment to you?

Virtually my whole last paragraph was ignored in my original comment.

Did you not read the entire last paragraph of my first comment where I directly quoted and responded to the last paragraph of your original comment? Here, let me quote it for you. I see reading is not your strong suit.

Quote I took from your last paragraph:

But I do think it throws a wrench in other parts of math if we assume it’s universally true. Just like in programming languages… primarily float math that these types of issues crop up a lot, we don’t just assume that the 3.999999… is accurate, but rather that it intended 4 from the get-go, primarily because of the limits of the space we put the number in.

My response:

It definitely doesn’t throw a wrench into things in other parts of math (at least not in the sense of there being weird murky contradictions hiding in math due to something like this). Ieee floats just aren’t comparable. With ieee floats you always have some finite collection of bits representing some number. The arrangement is similar to how we do scientific notation, but with a few weird quirks (like offsets in the exponent for example) that make it kinda different. But there’s only finitely many different numbers that these kinds of standards can represent due to there only being finitely many bit patterns for your finite number of bits. The base 10 representation of a number does not have the same restriction on the number of digits you can use to represent numbers. When you write 0.999…, there aren’t just a lot (but finitely many) 9’s after the decimal point, there are infinitely many 9’s after the decimal point.

In a programming context, once you start using floating point math you should avoid using direct equality at all and instead work within some particular error bound specified by what kind of accuracy your problem needs. You might be able to get away with equating 4.000001 and 4 in some contexts, but in other contexts the extra accuracy of 0.0000001 might be significant. Ignoring these kinds of distinctioms have historically been the cause of many weird and subtle bugs.

Quote I took from your last paragraph:

I have no reason to believe that this isn’t the case for our base10 numbering systems either.

My response:

The issue here is that you don’t understand functions, limits, base expansions of numbers or what the definition of notation like 0.999… actually is.

But you keep doing you.

Lmao, be sure to work on that reading comprehension problem of yours.

What are you even expecting? How am I supposed to read your mind and respond to all the super important and deep points you think you've made by misunderstanding basic arithmetic and calculus? Maybe the responsibility is on you to raise those points if you want further response from me on them and not on me to somehow just magically know what you want?

[–] goddard_guryon@sopuli.xyz 1 points 1 year ago

Genuinely curious about this one, what function are you assuming when using the limit approach to evaluate? I presume it is f(x) = x, but then it would not have a discontinuity at 1. Or is the point that whether 0.999... = 1 or not depends on the implicit function in the context (in which case, limits wouldn't disprove the argument but rather add nuance to it)?

[–] Shady_Shiroe@lemm.ee 5 points 1 year ago (1 children)

If I have a cake and I divided it to 3 pieces, if 1/3 is .333 and 3 pieces equals .999, where is the .001?

It's on the knife you used to cut with.

[–] TragicNotCute@lemmy.world 1 points 1 year ago

It’s not 0.999, it’s 0.999… repeating.

[–] ATDA@lemmy.world 3 points 1 year ago

For wood working yes.

For a space launch maybe no?

[–] h4mi@lemmy.world 3 points 1 year ago

Infinity numbers are weird. .9999… is 1 as long as there is no end. Same as 0.000… is 0 as long as there is no 1 appearing. 1-0.999… is 0.

[–] lowleveldata@programming.dev 2 points 1 year ago

.999… = 1

?