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

  • Thread starter (_8^(1)
  • Start date
In summary, the conversation discussed a function f(x) that takes the nth decimal place digit of x, with a focus on the 100th decimal place. It was debated whether this function is continuous, differentiable, or well-defined, with examples and counterexamples given. It was also mentioned that this function could be considered a step function over some open interval, and that any continuous function that takes integer values is constant on each connected component of its domain.
  • #1
(_8^(1)
2
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
  • #2
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?
 
  • #3
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:
  • #4
No I think he meant e.g. f(123.45678) = 7.
 
  • #5
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:
  • #6
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!
 
  • #7
Any continuous function that takes integer values is constant on each connected component of its domain.
 
  • #8
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.
 
  • #9
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.
 

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

What is a function?

A function is a mathematical rule or relationship between two quantities, where one quantity (the output) depends on the other (the input). In other words, for every input, there is only one output.

How do you know if f(x) is a function?

To determine if f(x) is a function, you can use the vertical line test. If a vertical line can be drawn through the graph of f(x) and only intersects the graph at one point, then f(x) is a function. In other words, for every x-value, there is only one y-value.

What is the domain and range of a function?

The domain of a function is the set of all possible input values (x-values), while the range is the set of all possible output values (y-values). In other words, the domain is the set of all values that can be plugged into the function, and the range is the set of all values that the function can produce.

Can a function have more than one output for a given input?

No, a function can only have one output for a given input. This is known as the one-to-one correspondence property of functions.

What is the difference between a function and an equation?

A function is a mathematical rule or relationship, while an equation is a statement that shows the equality of two expressions. In other words, a function describes a relationship between two quantities, while an equation shows that two expressions are equal.

Back
Top