1. Home
  2. Explore
  3. Mathematics
  4. Continuous Functions in Metric Spaces

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Continuous Functions in Metric Spaces

Continuous Functions Between Metric Spaces

This set of notes introduces the study of continuous functions from one metric space to another. The key pieces covered include function notation and domain considerations, the definition of a functional limit using ϵ\epsilonϵ and δ\deltaδ, the definition of continuity at a point, an example proof for a vector-valued function on R2\mathbb{R}^2R2, and the topological definition of continuity phrased in terms of open sets.

Notation and Terminology for Functions Between Metric Spaces

A function fff is a map from a domain AAA (a subset of a metric space MMM) to a codomain NNN (another metric space, possibly different). The metric on MMM is denoted by ddd and the metric on NNN by ρ\rhoρ. The notation is written as:

f:A⊆M→Nf: A \subseteq M \to Nf:A⊆M→N

Domain Considerations

  • The domain AAA is the set of points where the function is defined. It can be a proper subset of the larger metric space MMM, and even if the function could be extended to the rest of MMM, the notation only concerns behavior on AAA.

  • The function must exist on all points of the declared domain; for example, writing g(x)=1/xg(x) = 1/xg(x)=1/x with domain [0,1][0,1][0,1] is invalid because 1/x1/x1/x is not defined at 000.

Codomain vs. Image (Range)

  • The codomain is the larger target metric space NNN that the function maps into; the function does not need to land on every point of NNN.

  • The image (or range) is the true set of outputs:  f(A)={f(x):x∈A}⊆N\, f(A) = \{ f(x) : x \in A \} \subseteq Nf(A)={f(x):x∈A}⊆N. The image is usually a proper subset of the codomain.

Preimage

The preimage of a subset SSS of the codomain (denoted f−1(S)f^{-1}(S)f−1(S), though this is not an inverse function) is the set of all points in the domain that map into SSS:

f−1(S)={x∈A:f(x)∈S}f^{-1}(S) = \{ x \in A : f(x) \in S \}f−1(S)={x∈A:f(x)∈S}

The preimage is always a subset of AAA and can be empty. For example, with f(x)=x2f(x)=x^2f(x)=x2 from domain [−10,10][-10,10][−10,10] to R\mathbb{R}R:

  • f−1({4})={−2,2}f^{-1}(\{4\}) = \{-2, 2\}f−1({4})={−2,2}

  • f−1([100,∞))={−10,10}f^{-1}([100, \infty)) = \{-10, 10\}f−1([100,∞))={−10,10}

  • f−1((−5,3))=∅f^{-1}((-5, 3)) = \emptysetf−1((−5,3))=∅ (empty set), because no output from the domain lies in that interval.


Functional Limits

The functional limit describes the behavior of a function as inputs approach a particular point. Let f:A⊆M→Nf: A \subseteq M \to Nf:A⊆M→N, and let CCC be an accumulation point of AAA (i.e., there exist points of AAA arbitrarily close to CCC, but CCC itself need not be in AAA). The notation

lim⁡x→C,  x∈Af(x)=L\lim_{x \to C,\; x \in A} f(x) = Llimx→C,x∈A​f(x)=L

(where L∈NL \in NL∈N) is defined by the ϵ\epsilonϵ–δ\deltaδ condition:

For every ϵ>0\epsilon > 0ϵ>0, there exists δ>0\delta > 0δ>0 such that whenever x∈Ax \in Ax∈A and 0<d(x,C)<δ0 < d(x, C) < \delta0<d(x,C)<δ, it follows that ρ(f(x),L)<ϵ\rho\big(f(x), L\big) < \epsilonρ(f(x),L)<ϵ.

Key Points

  • CCC must be an accumulation point of AAA; if CCC were isolated, there would be no way to "approach" it with other points from the domain.

  • The condition 0<d(x,C)0 < d(x, C)0<d(x,C) explicitly excludes evaluating fff at CCC itself; the limit is about nearby points, not about f(C)f(C)f(C).

  • The δ\deltaδ may depend on ϵ\epsilonϵ and on CCC, but must not depend on xxx.

  • For functions from R\mathbb{R}R to R\mathbb{R}R with the Euclidean metric, this reduces to the standard definition: 0<∣x−C∣<δ  ⟹  ∣f(x)−L∣<ϵ0 < |x - C| < \delta \implies |f(x) - L| < \epsilon0<∣x−C∣<δ⟹∣f(x)−L∣<ϵ.


Continuity at a Point

A function f:A→Nf: A \to Nf:A→N is continuous at a point C∈AC \in AC∈A if one of the following holds:

  1. CCC is an isolated point of AAA — then fff is automatically continuous at CCC, by convention.

  2. CCC is an accumulation point of AAA — then lim⁡x→C,  x∈Af(x)\displaystyle\lim_{x \to C,\; x \in A} f(x)x→C,x∈Alim​f(x) exists and is equal to f(C)f(C)f(C).

Thus, a function is continuous at an interior or endpoint (as long as it is an accumulation point) precisely when the limit equals the function value. At an isolated point, no limit is required.

When we say "fff is continuous" without qualification, we mean it is continuous at every point of its domain — a pointwise property. The definition of continuity on a set (e.g., fff continuous on [a,b][a,b][a,b]) means it satisfies the condition for each point in that set.

Visualizing Continuity and Discontinuity

Consider a function whose domain is {1}∪[2,4)\{1\} \cup [2,4){1}∪[2,4) (with 222 included, 444 not included). In this example:

  • The point x=1x=1x=1 is isolated; the function is continuous there.

  • At a point where the function has a jump — the limit exists but does not equal the function value — the function is not continuous.

  • Points outside the domain (like 444) are irrelevant for continuity; limits can still be discussed, but continuity is defined only on the domain.

  • Endpoints of the domain (like 222) are treated normally; a function can be continuous at an endpoint because the only way to approach it is from within the domain.


Example: Proving Continuity of a Vector-Valued Function

Consider the function f:R2→R2f: \mathbb{R}^2 \to \mathbb{R}^2f:R2→R2 defined by

f(x,y)=(2x,  y+1)f(x, y) = (2x,\; y+1)f(x,y)=(2x,y+1)

This is a vector-valued function of two variables. The goal is to prove that fff is continuous on all of R2\mathbb{R}^2R2.

Scrap Work (Preliminary Calculation)

Fix an arbitrary point (a,b)∈R2(a,b) \in \mathbb{R}^2(a,b)∈R2. Compute the output distance:

∥f(x,y)−f(a,b)∥=(2x−2a)2+((y+1)−(b+1))2=4(x−a)2+(y−b)2\begin{aligned} \| f(x,y) - f(a,b) \| &= \sqrt{(2x - 2a)^2 + \big((y+1) - (b+1)\big)^2} \\ &= \sqrt{4(x-a)^2 + (y-b)^2} \end{aligned}∥f(x,y)−f(a,b)∥​=(2x−2a)2+((y+1)−(b+1))2​=4(x−a)2+(y−b)2​​

Let δ\deltaδ denote the input distance bound: ∥(x,y)−(a,b)∥<δ\| (x,y) - (a,b) \| < \delta∥(x,y)−(a,b)∥<δ. Then

∥f(x,y)−f(a,b)∥=4(x−a)2+(y−b)2≤4(x−a)2+4(y−b)2=2 ∥(x,y)−(a,b)∥<2δ\| f(x,y) - f(a,b) \| = \sqrt{4(x-a)^2 + (y-b)^2} \le \sqrt{4(x-a)^2 + 4(y-b)^2} = 2\, \| (x,y) - (a,b) \| < 2\delta∥f(x,y)−f(a,b)∥=4(x−a)2+(y−b)2​≤4(x−a)2+4(y−b)2​=2∥(x,y)−(a,b)∥<2δ

To guarantee ∥f(x,y)−f(a,b)∥<ϵ\| f(x,y) - f(a,b) \| < \epsilon∥f(x,y)−f(a,b)∥<ϵ, it suffices to have 2δ≤ϵ2\delta \le \epsilon2δ≤ϵ, i.e., δ≤ϵ/2\delta \le \epsilon/2δ≤ϵ/2.

Formal Proof

Proof. Let (a,b)∈R2(a,b) \in \mathbb{R}^2(a,b)∈R2 be arbitrary, and let ϵ>0\epsilon > 0ϵ>0. Choose δ∈(0,  ϵ/2)\delta \in (0,\; \epsilon/2)δ∈(0,ϵ/2). Then for any (x,y)∈R2(x,y) \in \mathbb{R}^2(x,y)∈R2 with ∥(x,y)−(a,b)∥<δ\| (x,y) - (a,b) \| < \delta∥(x,y)−(a,b)∥<δ, we have

∥f(x,y)−f(a,b)∥=4(x−a)2+(y−b)2≤2 ∥(x,y)−(a,b)∥<2δ<ϵ.\| f(x,y) - f(a,b) \| = \sqrt{4(x-a)^2 + (y-b)^2} \le 2\, \| (x,y) - (a,b) \| < 2\delta < \epsilon.∥f(x,y)−f(a,b)∥=4(x−a)2+(y−b)2​≤2∥(x,y)−(a,b)∥<2δ<ϵ.

Therefore fff satisfies the ϵ\epsilonϵ–δ\deltaδ definition at (a,b)(a,b)(a,b). Since (a,b)(a,b)(a,b) was arbitrary, fff is continuous on R2\mathbb{R}^2R2. ∎

Remarks

  • The proof follows a standard pattern: fix (a,b)(a,b)(a,b), let ϵ>0\epsilon>0ϵ>0, choose δ\deltaδ, then show the implication.

  • The δ\deltaδ chosen depends on ϵ\epsilonϵ but not on (x,y)(x,y)(x,y) (and here not even on (a,b)(a,b)(a,b), which shows uniform continuity, though that is not the focus).

  • Because the component functions 2x2x2x and y+1y+1y+1 are polynomials (degree 1), the algebra simplifies nicely. In general, polynomial functions are continuous, but this direct computation verifies the definition.


The Topological Definition of Continuity

In addition to the ϵ\epsilonϵ–δ\deltaδ definition, continuity can be characterized topologically using open sets. This approach is particularly elegant in general metric spaces (and beyond).

Definition

A function f:A⊆M→Nf: A \subseteq M \to Nf:A⊆M→N is continuous on its domain if for every open set U⊆NU \subseteq NU⊆N (i.e., open in the codomain NNN), the preimage f−1(U)f^{-1}(U)f−1(U) is open relative to AAA.

Meaning of "Open Relative to AAA"

There are two equivalent ways to think about this property:

  1. If AAA were the entire metric space — i.e., if we treat AAA as the whole space — then f−1(U)f^{-1}(U)f−1(U) would be an ordinary open subset of that space.

  2. As an intersection — f−1(U)f^{-1}(U)f−1(U) can be written as the intersection of an open set in MMM with the domain AAA: there exists an open set WWW in MMM such that f−1(U)=W∩Af^{-1}(U) = W \cap Af−1(U)=W∩A.

Visual Intuition

Consider a function from a closed bounded interval (e.g., [A,B][A,B][A,B]) to R\mathbb{R}R. If the preimage of an open interval in the codomain is a set like (A,C)(A, C)(A,C) (an interval that includes the endpoint AAA when the domain is just [A,B][A,B][A,B]), that preimage is open relative to [A,B][A,B][A,B] because it can be expressed as (−∞,C)∩[A,B](-\infty, C) \cap [A,B](−∞,C)∩[A,B] — the intersection of an open set in R\mathbb{R}R with the domain. However, if the preimage were [A,C)[A, C)[A,C) (including the left endpoint), it would not be open relative to [A,B][A,B][A,B] (the endpoint AAA would not be an interior point of the preimage when considered as a subset of [A,B][A,B][A,B]).

Thus, the topological condition encodes the same continuity idea: small changes in input do not cause jumps in output. This definition is equivalent to the ϵ\epsilonϵ–δ\deltaδ definition.


Looking Ahead: Four Characterizations of Continuity

So far, two characterizations have appeared:

  1. The ϵ\epsilonϵ–δ\deltaδ definition (metric space version).

  2. The topological definition (preimages of open sets are open relative to the domain).

Two more characterizations (using sequences and using closed sets) will be introduced later. The topological definition is especially important because it generalizes to spaces without a metric.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent