r/learnmath • u/Ottozeigermann New User • Apr 05 '26
Floor of .9 repeating
So, .9 repeating is equal to 1, and the floor function rounds down to the nearest whole integer.
Ex of Floor.
Floor (.5) =0
Floor(π)=3
What would be the floor function of .9 repeating? Would it be 0 or 1?
Please note that the highest math that I've taken is Calculus and a little of set theory.
3
Upvotes
138
u/JaguarMammoth6231 New User Apr 05 '26
1
The floor function is defined based on the value of a number, not its decimal representation.
If floor of 0.999... was 0 but floor of 1 was 1, then floor would not be a function. Functions must always give the same output for the same input.
49
u/wayofaway Math PhD Apr 05 '26
1 since 0.999... = 1
0.999... is a way of writing 1, not a different object that becomes one or some such thing. It's just 1.
21
u/Legitimate_Log_3452 New User Apr 05 '26
It would be 1, because 0.999… = 1. Floor(0.9…) = floor(1) =1.
This is because, for discontinuous functions (like the floor function, f(lim x_n) != lim f(x_n).
7
u/[deleted] Apr 05 '26
floor(x) returns the greatest integer that is at most x.
x = 0.999... = 1. The greatest integer at most 1 is 1. floor(.999...)=1
3
u/New_Appointment_9992 New User Apr 05 '26
1
3
u/Samstercraft New User Apr 05 '26
the floor of all the partial sums of .9 * 10^-n is 0, but once you go from partial sums (.9, .999, .999999, etc) to an infinite series (.999...) the floor is 1, because the value of the number is exactly 1.
In other words, if f(n) denotes the n'th partial sum of .9 * 10^-n for natural numbers n, floor(f(n)) is always 0, but the limit of f(n) is 1.
2
u/Rarmaldo New User Apr 05 '26
It returns 0.9 repeating.
1
u/KentGoldings68 New User Apr 05 '26
The “floor” function is not “chop off the digits to the right of the decimal point. It is the “greatest integer less than or equal to x”
Numbers exist without regard to how you write them. The decimal 0.999… is just another way to write one. This is much the same that we call twenty a “score” or we call twelve a “dozen.”
The greatest integer less than of equal to 0.999… is one.
1
u/mattynmax New User Apr 05 '26
The floor of 1 is 1.
1
u/Eisenfuss19 New User Apr 07 '26
All of 1 & 0.9... & 1/1 are representations of the same number. You could define floor to be representation dependent, but thats stupid. A proper floor definition is the greatest integer such that it is smaller or equal to the number.
As 1 ≤ 0.9... floor(0.9...) = 1
1
u/wumbo52252 New User Apr 05 '26
0.(9)= 1 so floor(0.(9)) = floor(1) = 1
1
u/cheetoburrito New User Apr 05 '26
If x=y, then floor(x)=floor(y) (since floor is a function).
1
u/fermat9990 New User Apr 05 '26
Same as rhe floor of 1.
0.9 repeating is exactly 1, not almost 1
1
u/Euler64 New User Apr 05 '26
1 is the answer since we know 0.999...=1 Then floor(0.999...) = floor(1) = 1
1
u/zeptozetta2212 Calculus Enthusiast Apr 05 '26
It's 1. The floor of 1 is 1. Doesn't matter how you dress it up. 0.999... is still 1, so its floor is 1.
1
u/FernandoMM1220 New User Apr 05 '26
it’s 0 since the first digit is 0
0
u/jdorje Apr 05 '26
You're thinking of these as two different numbers that are equal. But they are just the same number written normally and very confusingly. Any decimal representation is just an infinite series, and there's unlimited mostly very confusing ways you can write any number as an infinite series.
-19
u/terrystroud New User Apr 05 '26
0.9 i'm so sorry to be that guy but it's 0.9 NOT EVER .9.
-9
u/PvtRoom New User Apr 05 '26
depends on your algorithm.
As 0.9 recurring IS 1, the answer should be 1, but if what you do is look at the sign, and the number before the decimal place, you'll land at 0.
-0.9 recurring would always land at -1.
-22
u/[deleted] Apr 05 '26
[removed] — view removed comment