Blumberg theorem

In mathematics, the Blumberg theorem states that for any real function $$f : \Reals \to \Reals$$ there is a dense subset $$D$$ of $$\Reals$$ such that the restriction of $$f$$ to $$D$$ is continuous.

Examples
For instance, the restriction of the Dirichlet function (the indicator function of the rational numbers $$\Q$$) to $$\Q$$ is continuous, although the Dirichlet function is nowhere continuous in $$\Reals.$$

Blumberg spaces
More generally, a Blumberg space is a topological space $$X$$ for which any function $$f : X \to \Reals$$ admits a continuous restriction on a dense subset of $$X.$$ The Blumberg theorem therefore asserts that $$\mathbb{R}$$ (equipped with its usual topology) is a Blumberg space.

If $$X$$ is a metric space then $$X$$ is a Blumberg space if and only if it is a Baire space.

Motivation and discussion
The restriction of any continuous function to any subset of its domain (dense or otherwise) is always continuous, so the conclusion of the Blumberg theorem is only interesting for functions that are not continuous. Given a function that is not continuous, it is typically not surprising to discover that its restriction to some subset is once again not continuous, and so only those restrictions that are continuous are (potentially) interesting. Such restrictions are not all interesting, however. For example, the restriction of any function (even one as interesting as the Dirichlet function) to any subset on which it is constant will be continuous, although this fact is as uninteresting as constant functions. Similarly uninteresting, the restriction of function (continuous or not) to a single point or to any finite subset of $$\Reals$$ (or more generally, to any discrete subspace of $$\Reals,$$ such as the integers $$\Z$$) will be continuous.

One case that is considerably more interesting is that of a non-continuous function $$f$$ whose restriction to some dense subset $$D$$ (of its domain) continuous. An important fact about continuous $$\Reals$$-valued functions defined on dense subsets is that a continuous extension to all of $$\Reals,$$ if one exists, will be unique (there exist continuous functions defined on dense subsets of $$\Reals,$$ such as $$f(x) = 1/x,$$ that cannot be continuously extended to all of $$\Reals$$).

Thomae's function, for example, is not continuous (in fact, it is discontinuous at rational number) although its restriction to the dense subset $$\R\setminus\Q$$ of irrational numbers is continuous. Similarly, every additive function $$\Reals \to \Reals$$ that is not linear (that is, not of the form $$x \mapsto c x$$ for some constant $$c \in \Reals$$) is a nowhere continuous function whose restriction to $$\Q$$ is continuous (such functions are the non-trivial solutions to Cauchy's functional equation). This raises the question: can such a dense subset always be found? The Blumberg theorem answer this question in the affirmative. In other words, every function $$\R \to \R$$ − no matter how poorly behaved it may be − can be restricted to some dense subset on which it is continuous. Said differently, the Blumberg theorem shows that there does not exist a function $$\R \to \R$$ that is so poorly behaved (with respect to continuity) that all of its restrictions to all possible dense subsets are discontinuous.

The theorem's conclusion becomes more interesting as the function becomes more pathological or poorly behaved. Imagine, for instance, defining a function $$f : \Reals \to \Reals$$ by picking each value $$f(x)$$ completely at random (so its graph would be appear as infinitely many points scattered randomly about the plane $$\Reals^2$$); no matter how you ended up imagining it, the Blumberg theorem guarantees that even this function has dense subset on which its restriction is continuous.