be a metric space and f :
→ ℝ a continuous function. Denote by Z(f) the zero set of f.
These are the points p ∈
where f is zero, f(p) = 0.
, the distance of a point p to E is defined by

Show that h is a uniformly continuous function.
, there is a continuous function that is zero
on E and positive elsewhere.
, f, and Z(f) be as in the statement of the problem.
(-∞,0) ∪ (0,∞)
c and both
(-∞,0) and (0,∞) are open subsets of ℝ, then {0} is closed as it is the complement of the union of two
open sets. Because f is continuous, this implies that f-1({0}) = Z(f) is also closed.
and z ∈ E we have

by the definition of h and the triangle inequality. However, we can take the inf of the right-hand side of
the inequality to obtain h(p) ≤ d(p,q) + h(q), which implies h(p) - h(q) ≤ d(p,q). Thus for any ε > 0 if we
define δ > 0 so that δ = ε, then d(p,q) < δ for any p,q ∈
implies

as needed for the uniform continuity of h.
. Furthermore, because
d(z,z) = 0 for any point of
, then h(z) = 0 for any point of E. We are left only to prove that h is positive
on points outside of E.
Since E was assumed closed, then it’s complement is open. Thus for any point p in its complement, we can find an open ball of radius r > 0 around p that’s disjoint from E. However, this implies that r ≤ d(p,z) for all z ∈ E, in other words r ≤ h(p) so that h(p) is positive as desired.
centered at p. Furthermore let Un(p) = f(V n(p)) be the
closure of f’s image of V n(p) in ℝ, and define Up to be the set ∩n=1∞Un(p). With these definitions, we obtain the
following lemmas.
Proof. Since E is dense in X, then each V n(p) has elements of E, i.e. each Un(p) is nonempty. Furthermore, we have
V n+1(p) ⊂ V n(p) which in turn means f
⊂ f
and therefore f
⊂f
so that
finally,
![]() | (1) |
Therefore, since each Un(p) is nonempty, any finite intersection of {Un(p)} is nonempty __
Proof. Equation 1 implies one of two things:
If the former is true, equation 1 implies Up is nonempty. If the latter is true, then for some integer N each Un(p) for n ≥ N is closed (being the closure of a set) and bounded, i.e. each Un(p) for n ≥ N is compact as they are subsets of ℝ. This fact and Lemma 1 tell us, via Rudin’s Theorem 2.36, that ∩n≥NUn(p) is nonempty. However, due to equation 1, Up = ∩n≥NUn(p), and so Up must be nonempty in this case as well. __
Proof. For later contradiction, assume that there are distinct points x,y ∈ Up. Set ε =
|y - x| so that, in
particular, the closure of the open ball of radius 2ε does not contain y. Since f is uniformly continuous, there
exists a δ > 0 such that any two points in E within a distance of δ of each other have that their images under f
are within a distance of ε of each other. Therefore, for integer m with
<
, any two points q,q′∈ V m(p)∩E
have that f(q)-f(q′) < ε. This implies, since x ∈ Up, that Um(p) ⊂B2ε(x). However, in light of our definition
of ε, this implies y ⁄∈ Um(p), which contradicts the assumption that y ∈ Up. Hence Up contains no such distinct
points x and y. Given that Lemma 2, this then implies Up must contain a single point. __
Now in light of Lemma 3, we may define a function g : X → ℝ by

From here, I would prove continuity and uniqueness of g, but was unable to do so.