continuous almost everywhere versus equal to a continuous function almost everywhere


The concept of almost everywhere can be somewhat tricky to people who are not familiar with it. Let m denote Lebesgue measureMathworldPlanetmath. Consider the following two statements about a function f:ℝ→ℝ:

  • •

    f is continuousMathworldPlanetmathPlanetmath (http://planetmath.org/Continuous) almost everywhere with respect to m

  • •

    f is equal to a continuous function almost everywhere with respect to m

Although these two statements seem alike, they have quite different meanings. In fact, neither one of these statements implies the other.

Consider the function χ[0,∞)⁢(x)={1if ⁢x≥00if ⁢x<0.

This function is not continuous at 0, but it is continuous at all other x∈ℝ. Note that m⁢({0})=0. Thus, χ[0,∞) is continuous almost everywhere.

Suppose χ[0,∞) is equal to a continuous function almost everywhere. Let A⊂ℝ be Lebesgue measurable (http://planetmath.org/LebesgueMeasure) with m⁢(A)=0 and g:ℝ→ℝ such that χ[0,∞)⁢(x)=g⁢(x) for all x∈ℝ∖A. Since χ[0,∞)⁢(x)=0 for all x<0 and m⁢(A∩(-∞,0))=0, there exists a<0 such that g⁢(a)=0. Similarly, there exists b≥0 such that g⁢(b)=1. Since g is continuous, by the intermediate value theorem, there exists c∈(a,b) with g⁢(c)=12. Let U=(0,1). Since g is continuous, g-1⁢(U) is open. Recall that c∈g-1⁢(U). Thus, g-1⁢(U)≠∅. Since g-1⁢(U) is a nonempty open set, m⁢(g-1⁢(U))>0. On the other hand, g-1⁢(U)⊆A, yielding that 0<m⁢(g-1⁢(U))≤m⁢(A)=0, a contradictionMathworldPlanetmathPlanetmath.

Now consider the function χℚ⁢(x)={1if ⁢x∈ℚ0if ⁢x∉ℚ.

Note that m⁢(ℚ)=0. Thus, χℚ=0 almost everywhere. Since 0 is continuous, χℚ is equal to a continuous function almost everywhere. On the other hand, χℚ is not continuous almost everywhere. Actually, χℚ is not continuous at any x∈ℝ. Recall that ℚ and ℝ∖ℚ are both dense in (http://planetmath.org/Dense) ℝ. Therefore, for every x∈ℝ and for every δ>0, there exist x1∈(x-δ,x+δ)∩ℚ and x2∈(x-δ,x+δ)∩(ℝ∖ℚ). Since χℚ⁢(x1)=1 and χℚ⁢(x2)=0, it follows that χℚ is not continuous at x. (Choose any ε∈(0,1).)

Title continuous almost everywhere versus equal to a continuous function almost everywhere
Canonical name ContinuousAlmostEverywhereVersusEqualToAContinuousFunctionAlmostEverywhere
Date of creation 2013-03-22 15:58:47
Last modified on 2013-03-22 15:58:47
Owner Wkbj79 (1863)
Last modified by Wkbj79 (1863)
Numerical id 10
Author Wkbj79 (1863)
Entry type Example
Classification msc 28A12
Classification msc 60A10