The Dirichlet function is defined by f(x)={1 if x∈Q0 if x∉Q. Let g(x)={0 if x∈Q1 if x∉Q be its evil twin.
(1) Prove that f is discontinuous at every x∈R.
(2) Prove that g is continuous at exactly one point x1∈R.
(3) Prove that f+g is continuous at every x∈R.
Definition (Continuous at a point): A function f:D⟶R is continuous at X0∈D if for every ϵ>0 there exists some δ>0 such that |f(x)−f(x0)|<ϵ whenever |x−x0|<δ.
Response: I don't have any work yet, hints and answers would be extremely helpful.
Answer
f+g is a constant function, so (3) is easy. (2) is false, so don't waste your time trying to prove it. For (1), set ϵ=1, take any x0∈R and any δ>0, and use the fact that both Q and R∖Q are dense in R to show that there is some x∈R such that |x−x0|<δ and |f(x)−f(x0)|=ϵ.
As a side note, if we'd defined g(x):=xf(x), then g would be continuous at exactly one point--namely 0.
No comments:
Post a Comment