Hi. I am solving a question where I am asked to find a function with left and right limits on [0,1] but with discontinuities on A = {1/n : n in N}
I would be grateful if you can help me. I found the following function but I'm not sure I proved it has the right properties properly.
I got the function:
Unparseable latex formula:f(x) = [br]\begin{cases} 0 & \textrm{for } x \in A \\[br] x & \textrm{for } x \textrm{ not of the form } 1/n.
Then, I prove the right and left limits.
Let
x∈(0,1]. Let
(xm) be a sequence in
[0,1]∖{x} converging to
x. Let
n be a natural number. Then there is a natural number
N such that for all
m>N, we have
∣xm−x∣<1/n.
Thus, for all
m>N,
f(xm)=xm. So
f(xm) converges to
x.
[The idea is that the sequence eventually gets so close to x that there are no points of the form 1/n in its neighbourhood. I'm not sure if I formalised it well.]
For
x=0, let
ϵ>0. Let
(yk) be a sequence in (0,1] converging to 0. Choose a natural number
K such that
yk<ϵ for all
k>K. Then
f(ym)≤ϵ, so
f(ym) converges to zero.
The function has discontinuities at 1/n, because by the above, for any c in (0,1] of the form 1/n,
limx→cf(x)=c=0=f(c)