Exercise 4.3.14

(a)
Let F be a closed set. Construct a function f : R R such that the set of points where f fails to be continuous is precisely F . (The concept of the interior of a set, discussed in Exercise 3.2.14, may be useful.)
(b)
Now consider an open set O . Construct a function g : R R whose set of discontinuous points is precisely O . (For this problem, the function in Exercise 4.3.12 may be useful.)

Answers

(a)
Using the notation from Exercise 3.2.14, note that F o , F c , and F c ¯ F c are disjoint but their union is R ; moreover F o F c ¯ F c = F . Let d ( x ) denote Dirichlet’s function (1 on rationals, 0 on irrationals), and consider
f ( x ) = { d ( x ) x F o 2 x F c ¯ F c 3 x F c

If x F o (which is open) then we can find V 𝜖 ( x ) F o where there will be both irrational and rational numbers, indicating that f is discontinuous over F o .

If x F c ¯ F c , x must be a limit point of F c , and therefore all V 𝜖 ( x ) will intersect F c at some point, and thus f ( y ) = 3 for some y V 𝜖 ( x ) , preventing f from being continuous in F c ¯ F c .

If x F c (which is open) then we can find V 𝜖 ( x ) F c which is a constant 3, and therefore f is continuous over F c . Thus, f is discontinous only over F .

(b)
Define
f ( x ) = d ( x ) ( inf { | x a | : a F c } )

f ( x ) = 0 for x F c and by choosing δ = 𝜖 > 0 we will have inf { | y a | : a F c } < 𝜖 for y V δ ( x ) (simply consider a = x ) implying f is continuous over F c .

Since F is open, for any given x F we can find α > 0 so that inf { | y a | : a F c } > γ > 0 for all y V α ( x ) . (One way to do this is by choosing β so that V β ( x ) F , taking α = β 2 , noting that { a : y V α ( x )  such that  | y a | < α } = V β ( x ) , and concluding that a F c a V β ( x ) y V α ( x ) , | y a | α .) Then since for any V δ ( x ) , there must be points y 1 , y 2 where d ( y 1 ) = 1 , d ( y 2 ) = 0 , it must be impossible to satisfy the definition of continuity for 𝜖 < γ (since in the δ -neighbourhood of x , f ( x ) will jump by at least that amount between rational and irrational numbers), and therefore f is discontinuous for any x F .

User profile picture
2022-01-27 00:00
Comments