Is f(x) as the 100th Decimal Place Digit a Function?

  • Thread starter Thread starter (_8^(1)
  • Start date Start date
AI Thread Summary
The discussion centers on whether the function f(x), defined as the nth decimal place digit of a real number x, qualifies as a function. It is noted that f is not continuous over all real numbers due to the ambiguity in decimal representations, such as 0.999... equating to 1.000.... The range of f is limited to integers from 0 to 9, suggesting it behaves like a step function, which can be continuous over certain intervals but not universally. The participants agree that for f to be well-defined, it must consistently handle cases of ambiguity. Overall, the conversation highlights the complexities of defining f(x) in a mathematically rigorous way.
(_8^(1)
Messages
2
Reaction score
0
I came across this in a book I am reading.

Let f(x) be equal to the nth decimal place digit of x (for our consideration let's say the 100th).

Is this a function? Is there any special name for it, or is it famous?

Is it continuous? Is it differentiable?
 
Mathematics news on Phys.org
f is a function on R if f(x) is defined for all real x. For numbers with two decimal representations, such as 0.999... = 1.000..., you'll have to pick one representation. So f(1) = 0 or f(1) = 9 as it can't be both.

I don't know about the function's name/fame.

The range is {0, 1, ..., 9}. Can f be continuous with this range?
 
Can you clarify that? Do you mean something along the lines of:

f(x) = 4th decimal place;

f(5,000) = 5 ; f(6,000) = 6 ; f(17,243) = 7 ?
 
Last edited:
No I think he meant e.g. f(123.45678) = 7.
 
I suppose this is just a step function, continuous on some open interval. If we took the first digit, it would be the usual step function, but if we take the second digit, we are reducing the continuous length by a factor of 10--and so forth. But it is still continuous over some interval, and there it would be differential with value 0.
 
Last edited:
I see now that it is not continuous, -- over all of R, -- but yes over some open intervals..

"f is a function on R if f(x) is defined for all real x. For numbers with two decimal representations, such as 0.999... = 1.000..., you'll have to pick one representation. So f(1) = 0 or f(1) = 9 as it can't be both."

Sure pick the min possible.

"No I think he meant e.g. f(123.45678) = 7."

Yes that's right sorry for the ambiguity.

"suppose this is just a step function, continuous on some open interval. If we took the first digit, it would be the usual step function, but if we take the second digit, we are reducing the continuous length by a factor of 10--and so forth. But it is still continuous over some interval, and there it would be differential with value 0."

Yes I see that now, cool, thanks!
 
Any continuous function that takes integer values is constant on each connected component of its domain.
 
I don't think such a function can be well-defined. For example it is well known that 1.0000000... = 0.9999999... Here f(x) gives different values for the same x.

Edit: Sorry I see this was already discussed above.
 
nicksauce said:
I don't think such a function can be well-defined. For example it is well known that 1.0000000... = 0.9999999... Here f(x) gives different values for the same x.

Edit: Sorry I see this was already discussed above.
It can be well-defined, provided that you define it consistently in cases of ambiguity. The indicator function of the Cantor set is similar.
 
Back
Top