Let L={xn | n=1,2,3…} be a countable subset of R.
My aim is to construct a real valued function f on R such that f is discontinuous at every point from L and continuous at all the other points.
I don't know how to proceed. Hints will be appreciated.
Thanks in advance...
Answer
As @Josh Keneda points out, a characteristic function won't work in general if L is infinite.
But we can use the following slight modification:
f(x):=∞∑n=11n⋅χxn(x).
It is clear that f is discontinuous at every xn, because the set where f(x)=0 is dense.
Below is a proof that f does what you want (first try it yourself).
To see that f is continuous at every x∉{xn∣n}, let ε>0 be arbitrary. Choose δ>0 such that xn∈(x−δ,x+δ) only holds for n≥1ε. Hence, |f(y)|<ε for all y∈(x−δ,x+δ).
EDIT: If L is finite, it is clear (as above) that f=χL is discontinuous at every x=xn, because the set where f=0 is dense in R (it has countable/finite complement).
Conversely, f=χL is continuous at every x∈R∖L, because we can take δ>0 with (x−δ,x+δ)∩L=∅ (take δ=min{|x−y|∣y∈L}/2), so that |f(y)−f(x)|=0<ε holds for all y∈(x−δ,x+δ).
No comments:
Post a Comment