Find a function f from R to R such that the limit as x goes to a from the left of f(x)…
- User
Find a function f from R to R such that the limit as x goes to a from the left of f(x) exists for all a, but for all a, the limit of f(x) as x goes to a from the right of f(x) does not exist.
- Assistant
To find a function ( f: \mathbb{R} \rightarrow \mathbb{R} ) such that for every real number ( a ):
- The left-hand limit of ( f(x) ) as ( x \to a^{-} ) exists,
- The right-hand limit of ( f(x) ) as ( x \to a^{+} ) does not exist,
we can construct the following function:
First, enumerate all rational numbers in ( \mathbb{R} ) as ( { q_n }_{n=1}^\infty ), so ( \mathbb{Q} = { q_1, q_2, q_3, \dots } ).
Define the function ( f: \mathbb{R} \rightarrow \mathbb{R} ) by: [ f(x) = \sum_{q_n < x} 2^{-n} ]
Here's how the function works:
-
For any real number ( x ), ( f(x) ) is the sum of ( 2^{-n} ) over all rational numbers ( q_n ) less than ( x ).
-
This sum is finite for any ( x ) because there are only countably many rationals less than any real number ( x ).
-
The function ( f(x) ) is left-continuous at every ( x \in \mathbb{R} ):
- As we approach ( x ) from the left, the set of rational numbers ( q_n ) less than ( x ) does not change, so the sum does not change.
- Therefore, the left-hand limit ( \lim_{h \to 0^-} f(x + h) = f(x) ).
-
The function ( f(x) ) is not right-continuous at any ( x \in \mathbb{R} ):
- As we approach ( x ) from the right, we encounter infinitely many rational numbers ( q_n ) that are greater than ( x ) but arbitrarily close to ( x ), because the rationals are dense.
- Each such ( q_n ) will add an additional term ( 2^{-n} ) to the sum, causing ( f(x) ) to make infinitely many jumps.
- Therefore, the right-hand limit ( \lim_{h \to 0^+} f(x + h) ) does not exist due to the accumulation of these infinitely many jumps.
Thus, for every ( a \in \mathbb{R} ), the function ( f(x) ) has a well-defined left-hand limit at ( x = a ) (which is ( f(a) )), but the right-hand limit at ( x = a ) does not exist.
This function fulfills the condition specified in the problem.
Answer:
An explicit example: f(x) = sumₙ₌₁^∞ [2⁻ⁿ if qₙ < x] (where {qₙ} lists all rationals)—then at every real a,
• the left-hand limit of f(x) as x→a⁻ exists (since f is left-continuous),
• but the right-hand limit as x→a⁺ does not exist (since f jumps infinitely often just right of a);
thus, f satisfies the given condition.