Challenge VIII: Discontinuities of a function solved by Theorem.

Click For Summary

Discussion Overview

The discussion revolves around the characterization of functions based on the properties of Gδ sets in the context of real analysis. Participants explore the construction of a function that is continuous on a Gδ set and discontinuous elsewhere, delving into various approaches and modifications to the function's definition.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant defines a Gδ set and proposes a function that is continuous on such a set and discontinuous elsewhere, referencing the Baire Category theorem.
  • Another participant expresses intent to explore the problem further, indicating a positive reception to the challenge.
  • A participant shares their experience with a similar problem from a measure theory exam, suggesting familiarity with the topic.
  • A detailed construction of the function is presented, involving nested open sets and disjoint collections to define continuity and discontinuity based on the properties of the sets involved.
  • Hints are provided by participants suggesting modifications to the function's construction, such as adjusting the function's values based on rational and irrational numbers within specific subsets.
  • One participant discusses the terminology and structure of open sets, proposing rules for defining the function based on the characteristics of gaps between components of the Gδ set.
  • Another participant outlines the continuity and discontinuity conditions for the function based on the defined rules, emphasizing the behavior at boundary points and gaps.

Areas of Agreement / Disagreement

Participants express various approaches and modifications to the function's definition, indicating that multiple competing views remain. The discussion does not reach a consensus on a single construction of the function.

Contextual Notes

Participants highlight the complexity of defining the function based on the characteristics of Gδ sets, including the need to consider boundary points and the density of rational and irrational numbers. There are unresolved aspects regarding the completeness of the function's definition and the implications of the proposed rules.

micromass
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Messages
22,170
Reaction score
3,333
An open set in ##\mathbb{R}## is any set which can be written as the union of open intervals ##(a,b)## with ##a<b##.

A subset of ##\mathbb{R}## is called a ##G_\delta## set if it is the countable intersection of open sets.

Prove that if a set ##A\subseteq \mathbb{R}## is a ##G_\delta## set then there exists a function ##f:\mathbb{R}\rightarrow \mathbb{R}## such that ##f## is continuous at all points of ##A## and discontinuous at all points of ##\mathbb{R}\setminus A##.

The converse holds as well and has a very easy proof using the Baire Category theorem. This characterizes the continuity set of a function.

This is a classis analysis result, so it can be easily googled if you want to. But I trust you to play it fair :-p
 
Physics news on Phys.org
This looks like a good choice of problem! I'm going to take a look at it in the morning and see what I can up with
 
micromass said:
This is a classis analysis result, so it can be easily googled if you want to.

Heh, had this on my measure theory exam.
 
Let [itex]A\subseteq \mathbb{R}[/itex] be a [itex]G_\delta[/itex] subset. Then there exists
a countable collection of open sets [itex]\{U_i\}[/itex] s.t. [tex]A=\cap_{i\in \mathbb{Z}_+}U_i[/tex]

We can take the [itex]U_i[/itex] to be nested so that
[tex]\mathbb{R}=U_1\supset U_2\supset \cdots \supset U_n\supset \cdots[/tex]

I want to create a disjoint collection of subsets that "separate" the [itex]U_i[/itex] so that we can get a well defined function. The natural thing to do is assign [itex]W_k:=U_k-U_{k+1}[/itex]
Then we have the countable collection of disjoint sets [itex]\{W_i\}[/itex].

EDIT: So now define [itex]V_n=W_n -(int(W_n)\cap \mathbb{Q})[/itex]

We get the well defined function:
[tex]f:\mathbb{R}\rightarrow [0,1],\quad x\mapsto <br /> \begin{cases}<br /> 1/n & \text{ if } x\in V_n\\<br /> 0 & \text{ if } x\notin V_n \text{ for any } n<br /> \end{cases}[/tex]

We want to show that [itex]f[/itex] is only continuous on [itex]A[/itex]. Let [itex]x\in A[/itex]. Then [itex]x\in U_i[/itex] for every i. Note then that every [itex]U_i[/itex] is an open neighborhood of x. x cannot belong to any [itex]W_i[/itex], since that would imply it is not in Some [itex]U_k[/itex], contradiction the definition of [itex]A[/itex]. Thus [itex]f(x)=0[/itex]

Let [itex]\epsilon >0[/itex] be given. We can choose some positive integer [itex]N[/itex] such that [itex]\frac{1}{N}<\epsilon[/itex]. As we noticed earlier, [itex]U_N[/itex] is an open neighborhood of [itex]x[/itex], and for all [itex]x'\in U_N[/itex] we have
[tex]|f(x)-f(x')|=|f(x')|<1/N<\epsilon.[/tex]. Thus [itex]f[/itex] is continuous on [itex]A[/itex].

We still have to show that [itex]f[/itex] is discontinuous on all of [itex]\mathbb{R}-A[/itex]. This
is the part I haven't gotten yet.

Start by noting [itex]\mathbb{R}-A=\cup_{i\in \mathbb{Z}_+} W_i[/itex]. Let [itex]x\in \mathbb{R}-A[/itex]. [itex]x\in W_k[/itex] for exactly one [itex]k[/itex]. There are two cases:

1. [itex]x\in int(W_k)\cap \mathbb{Q}[/itex]: Then [itex]x\notin V_k[/itex] and so [itex]f(x)=0[/itex].Let [itex]U_x[/itex] be any open nbhd of [itex]x[/itex]. By the density of the irrationals in [itex]\mathbb{R}[/itex], there are points in [itex]U_x[/itex] that are in [itex]V_k[/itex], and thus map to [itex]1/k[/itex]. Thus [itex]f[/itex] is not continuous at [itex]x[/itex].

2. [itex]x\in V_k[/itex]. [itex]f(x)=1/k[/itex] If [itex]x\in int(W_K)\cap (\mathbb{R}-\mathbb(Q))[/itex] then we use the same argument as in 1 this time using the density of the rationals in [itex]\mathbb{R}[/itex].
Otherwise [itex]x[/itex] belongs to the boundary of [itex]W_k[/itex] and thus by definition any open nbhd around the x will contain points not in [itex]W_k[/itex] and hence [itex]V_k[/itex]. This will give us discontinuity of [itex]f[/itex] at x.
 
Last edited:
Hint: You have the right idea but you need to modify your construction of f. Consider making it positive on Q∩Wk and negative on (R-Q)∩Wk.
 
jgens said:
Hint: You have the right idea but you need to modify your construction of f. Consider making it positive on Q∩Wk and negative on (R-Q)∩Wk.
Thanks! I am going to look at it in a bit something else I considered is
letting [itex]V_n=W_n-(int (W_n) \cap \mathbb{Q})[/itex] and carrying out the definition of [itex]f[/itex] on [itex]V_n[/itex] instead of [itex]W_n[/itex] (which is basically what you just said). This might work but I won't have time till a bit later.
 
Okay I think I got it using the above. Ill post it in a few minutes once i Tidy it up
EDIT: okay I re-added everything to my original post. I didn't include all the details in the last part but I think the idea should be clear enough.
 
Last edited:
This question is heavy on terminology. But let me see what I can come up with.

The first obvious question to ask is, what does A look like? Given that A is the intersection of a countable family of open sets, we should start with open sets.

Open sets are made up of an arbitrary number of open intervals, possibly including those of the form (a,∞) or (-∞,a). In particular, these intervals may be separated by a single point, for example: (0,1) ##\cup## (1,2) or by infinitely many points: (0,1) ##\cup## (2,3).

Taking intersections, consider these examples:
#1. (0, 2), (1/2, 2), (3/4, 2), (7/8, 2), ...
#2. (0, 2), (0, 3/2), (0, 5/4), (0, 9/8), ...
#3. (0, 2), (1/2, 3/2), (3/4, 5/4), (7/8, 9/8), ...

The intersection of #1 is [1, 2), the intersection of #2 is (0, 1], the intersection of #3 is [1], just the point x = 1. We could also have closed intervals of the form [a, b]. We see that A consists of open intervals, half open intervals and closed intervals. Call these the components of A.

A pertinent question is, how are these components separated from each other? Let's investigate this. In the interval (a,b], call a an open boundary point and b a closed boundary point. Then closed intervals have only closed boundary points, etc. Any closed boundary point must be adjacent, on at least one side, to an open ball disjoint from A, this is evident from the examples above. Any gap between components of A that contains only a single point is surrounded by open boundary points of A. So we can now speak of components and gaps knowing that if a gap is a single point, the boundary points are open.

Call any gap that not just a single point a wide gap. Define the width of a wide gap as the difference between the boundaries of the gap. That is, suppose we have the gap "α)...[β", then the gap width = β-α. Henceforth, let α, β signify the left and right boundaries of a wide gap.

I define here the following rules. M means middle, L means left and R means right:

Rule M(a,b): For a ≤ x ≤ b, let f(x) = 1 if x is rational, and f(x) = 0 if x is irrational.
Rule L(a,b): For a < x < b, let f(x) = x-a if x is rational, and f(x) = 0 if x is irrational.
Rule R(a,b): For a < x < b, let f(x) = b-x if x is rational, and f(x) = 0 if x is irrational.

Define the function f by this schema:

#1. For every x ##\in## A, let f(x) = 0.
#2. For every single-point gap x between components of A, let f(x) = 1.
#3. For each wide gap:
#3.1. If α and β are open, apply M(α, β).
#3.2. If α is closed and β is open, choose an α < α' < β such that α' < α + 1. Apply rules L(α, α') and M(α', β).
#3.3. If α is open and β is closed, choose an α < β' < β such that β' + 1 > β. Apply rules M(α, β') and R(β', β).
#3.4. If α is closed and β is closed, choose α < α' < β' < β such that α' < α + 1 and β' + 1 > β. Apply the rules L(α, α'), M(α', β'), R(β', β).

Notice:

#A: The function f so defined is continuous on all points of A that are not boundary points.
#B: The function f is discontinuous at the points covered by #2.
#C: The function f is discontinuous at all points covered by rule M (by an ε-δ argument). Corollary: This together with #B implies that f is discontinuous at all open boundary points.
#D.1: At points covered by rule L(a, b), f is discontinuous at points a < x ≤ b.
#D.2: At points covered by rule R(a,b), f is discontinuous at points a ≤ x < b. Corollary: #D.1, #D.2 and #C's corollary together imply that f is discontinuous at all points not in A.

Two cases remain, closed boundary points on the left or right of a gap.

#1. When L(α,β) was applied, for any ε let 0 < x-α < min(ε,β), then |f(x) - f(α)| = |f(x)| ≤ x-α ≤ ε. That is, the limit from the right at α = 0 = f(α).
#2. By a similar argument, when R(α, β) was applied, the limit from the left at β = 0 = f(β).
#3. By #1 and #2, any discrete point of A has equal limits from the left and right. Therefore f is continuous at all such points.
#4. If α in #1 is not a discrete point, it is the right boundary of an open (sorry, closed) or half-open interval in A on which f vanishes. Therefore the limit from the left = 0 and f is continuous at α.
#5. Similarly for β in #2, the limit from the right = 0 and f is continuous at β.

All points on the real line have been covered and f so defined satisfies the claim.

PS. I knew from reading Spivak of the existence of a function continuous at a single point. I built this proof using that idea together with a characterization of what A would look like, using terminology I knew like open ball and boundary.
 
Last edited:
That looks good to me verty and haven't found any problems in the proof up to this point. Good work :)
 
  • #10
Theorem. said:
That looks good to me verty and haven't found any problems in the proof up to this point. Good work :)

Thank you. There was a slight error though, I wrote open instead of closed. But conceptually it seems sound.

About your proof, did you take into account that ##U_1## may have gaps? I think these gaps appear in no ##V_n## but are not a part of A.

Hmm, am I allowed to say this? Perhaps not in a challenge thread, I don't know. But we are all friends, I think.
 
  • #11
I am pretty sure it is sound but I will double check the proof when I am not at work, its been a few days so I might have missed something
 
  • #12
I am not sure what you mean by gaps here: [itex]U_1=\mathbb{R}[/itex] by definition (I have used the fact that you can take the collection of open sets to be nested), and if you look at the definition of [itex]W_i[/itex] it isn't too hard to see [itex]\mathbb{R}-A=\cup_{i\in \mathbb{Z}_+}W_i[/itex]. Can you be more specific?
 
  • #13
Theorem. said:
I am not sure what you mean by gaps here: [itex]U_1=\mathbb{R}[/itex] by definition (I have used the fact that you can take the collection of open sets to be nested), and if you look at the definition of [itex]W_i[/itex] it isn't too hard to see [itex]\mathbb{R}-A=\cup_{i\in \mathbb{Z}_+}W_i[/itex]. Can you be more specific?

I didn't realize that U_1 = R, I missed that. There may be an issue with a < that should be ≤.
 
  • #14
Attempting to generalize the raindrop function, I think the following works.

There is some increasing sequence [itex](F_n)_{n=1}^\infty[/itex] of closed sets such that [itex]A = \mathbb R \backslash \bigcup_n F_n[/itex]. Let [itex]F_0:=\emptyset[/itex], and define the map [itex]f:\mathbb R\to [0,2][/itex] via [tex]f|_{F_n\backslash F_{n-1}} = 3^{-n}\left(1 + 1\wedge d(\cdot, \mathbb R \backslash F_n)\chi_{\mathbb Q}\right) \enspace \forall n\in\mathbb N; \enspace f|_A=0.[/tex]

- Continuity at [itex]a\in A[/itex]:
For any [itex]n \in \mathbb N,[/itex] there exists some neighbourhood [itex]U[/itex] of [itex]a[/itex] with [itex]U \subseteq \mathbb R \backslash F_n[/itex], which implies [itex]f(U)\subseteq \left[0,\frac{2}{3^n}\right].[/itex] Continuity then follows from [itex]f(a)=0[/itex].

- Discontinuity at [itex]x \in \text{int}(F_n)[/itex]:
Notice that [itex]\frac2{3^n}\chi_{\mathbb Q}\leq f \leq 2\chi_{\mathbb Q}[/itex] in a neighbourhood of [itex]x[/itex]; discontinuity readily follows. [This is the part that doesn't show up when we study the raindrop function, as [itex]\frac1n\mathbb Z[/itex] has empty interior.]

- Discontinuity at [itex]x \in \partial F_n:[/itex]
Notice that [itex]f_{\mathbb R \backslash F_n} \leq \frac{2}{3^{n+1}} = \frac23 3^{-n}[/itex], but [itex]f(x) \geq 3^{-n} > \frac23 3^{-n}[/itex].
 
  • #15
economicsnerd said:
Attempting to generalize the raindrop function, I think the following works.

There is some increasing sequence [itex](F_n)_{n=1}^\infty[/itex] of closed sets such that [itex]A = \mathbb R \backslash \bigcup_n F_n[/itex]. Let [itex]F_0:=\emptyset[/itex], and define the map [itex]f:\mathbb R\to [0,2][/itex] via [tex]f|_{F_n\backslash F_{n-1}} = 3^{-n}\left(1 + 1\wedge d(\cdot, \mathbb R \backslash F_n)\chi_{\mathbb Q}\right) \enspace \forall n\in\mathbb N; \enspace f|_A=0.[/tex]

- Continuity at [itex]a\in A[/itex]:
For any [itex]n \in \mathbb N,[/itex] there exists some neighbourhood [itex]U[/itex] of [itex]a[/itex] with [itex]U \subseteq \mathbb R \backslash F_n[/itex], which implies [itex]f(U)\subseteq \left[0,\frac{2}{3^n}\right].[/itex] Continuity then follows from [itex]f(a)=0[/itex].

- Discontinuity at [itex]x \in \text{int}(F_n)[/itex]:
Notice that [itex]\frac2{3^n}\chi_{\mathbb Q}\leq f \leq 2\chi_{\mathbb Q}[/itex] in a neighbourhood of [itex]x[/itex]; discontinuity readily follows. [This is the part that doesn't show up when we study the raindrop function, as [itex]\frac1n\mathbb Z[/itex] has empty interior.]

- Discontinuity at [itex]x \in \partial F_n:[/itex]
Notice that [itex]f_{\mathbb R \backslash F_n} \leq \frac{2}{3^{n+1}} = \frac23 3^{-n}[/itex], but [itex]f(x) \geq 3^{-n} > \frac23 3^{-n}[/itex].
This is more or less the same idea as the proof I did. the idea definitely makes sense although there are lots of details I haven't been able to check with your proof
 
  • #16
Theorem. said:
This is more or less the same idea as the proof I did.
It looks similar.

I must confess, I didn't thoroughly read all responses yet, so I wasn't sure if it'd been fully solved on the thread.

Theorem. said:
... there are lots of details I haven't been able to check with your proof

Is there any step that's not clear? It's possible there's a hole...
 
  • #17
It looks good : ) maybe someone else will spot something but there is no obvious flaws I have noted. I'll go through it in detail in a bit
 
  • #18
Congratulations to Theorem. for solving the challenge. And congratulations to verty and economicsnerd as well. Well done!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K