Explainer

Analysis Foundations: Metric Spaces, Order, and Limits

A grouped reference to algebraic, metric, order, completeness, and limit concepts used across introductory analysis.

On this page

Interactive

The shape of an open ball depends on the metric

Open ball Bᵣ(p) in ℝ²

Bᵣ(p) = { x ∈ X : d(x, p) < r }

The underlying set of points is the same, but the ball changes shape: a diamond for the taxicab metric, a circle for the Euclidean metric, and a square for the maximum metric. Openness and convergence are defined relative to this shape.

How to use this reference

This is a compact glossary across several parts of introductory analysis, not a chapter limited to metric spaces. It moves from algebraic language to distance and topology, then to order, completeness, and limits. The examples in R\mathbb R provide a common setting; later results use these ideas in different combinations.

Definitions

Algebraic language

1. Rings, fields, and distributive laws

A ring is a set RR equipped with two binary operations, addition ++ and multiplication ⋅\cdot, such that:

  1. (R,+)(R,+) is an abelian group.
  2. Multiplication is associative: (xy)z=x(yz)(xy)z=x(yz) for all x,y,z∈Rx,y,z\in R.
  3. Multiplication distributes over addition on both sides: x(y+z)=xy+xzx(y+z)=xy+xz and (x+y)z=xz+yz(x+y)z=xz+yz for all x,y,z∈Rx,y,z\in R.

A ring is commutative if xy=yxxy=yx for all x,y∈Rx,y\in R. Conventions differ on whether a ring is required to have a multiplicative identity; here that requirement is stated explicitly when needed. A field is a commutative ring with an identity 1≠01\ne 0 in which every nonzero element has a multiplicative inverse. Thus, for each x≠0x\ne0, there is yy such that xy=yx=1xy=yx=1.

Distance and topology

2. Metric

Let XX be a nonempty set. A metric on XX is a function d:X×X→Rd:X\times X\to\mathbb R satisfying, for all x,y,z∈Xx,y,z\in X:

  1. Nonnegativity: d(x,y)≥0d(x,y)\ge0.
  2. Identity of indiscernibles: d(x,y)=0d(x,y)=0 if and only if x=yx=y.
  3. Symmetry: d(x,y)=d(y,x)d(x,y)=d(y,x).
  4. Triangle inequality: d(x,z)≤d(x,y)+d(y,z)d(x,z)\le d(x,y)+d(y,z).

A pseudometric satisfies the same conditions except that identity of indiscernibles is weakened to d(x,y)=0d(x,y)=0 being possible for distinct points. (Some texts use semimetric for related but differing notions, so the term is not used here.)

3. Metric space

A metric space is a pair (X,d)(X,d) consisting of a set XX and a metric dd on it.

4. Euclidean distance

For a positive integer nn, the Euclidean space Rn\mathbb R^n consists of vectors x=(x1,…,xn)x=(x_1,\ldots,x_n) with real coordinates. Its standard metric is

d(x,y)=(∑i=1n∣xi−yi∣2)1/2.d(x,y)=\left(\sum_{i=1}^n |x_i-y_i|^2\right)^{1/2}.

5. Open ball

Given a metric space (X,d)(X,d), a center x0∈Xx_0\in X, and a radius r>0r>0, the open ball of radius rr centered at x0x_0 is

Br(x0)={x∈X:d(x0,x)<r}.B_r(x_0)=\{x\in X:d(x_0,x)<r\}.

It does not include points at distance exactly rr from its center.

For example, with the usual distance on R\mathbb R, the open ball B1(2)B_1(2) is the interval (1,3)(1,3); the endpoints are excluded because their distance from 22 is exactly 11.

6. Neighborhood

For p∈Xp\in X and r>0r>0, the open ball Br(p)B_r(p) is a neighborhood of pp. Its punctured neighborhood is

Br′(p)=Br(p)∖{p}.B_r'(p)=B_r(p)\setminus\{p\}.

7. Limit (accumulation) point

Let E⊆XE\subseteq X. A point p∈Xp\in X is a limit point (or accumulation point) of EE if every punctured neighborhood of pp meets EE; that is,

∀r>0,Br′(p)∩E≠∅.\forall r>0,\quad B_r'(p)\cap E\ne\varnothing.

The point pp need not itself belong to EE.

8. Interior and exterior points

A point p∈Xp\in X is an interior point of E⊆XE\subseteq X if some open ball centered at pp lies entirely in EE:

∃r>0 such that Br(p)⊆E.\exists r>0\text{ such that }B_r(p)\subseteq E.

A point is an exterior point of EE if it is an interior point of the complement Ec=X∖EE^c=X\setminus E. The interior of EE, denoted int⁡(E)\operatorname{int}(E), is the set of its interior points. No point can be both interior to EE and interior to EcE^c.

9. Open and closed sets

A subset EE of a metric space XX is open if every point of EE is an interior point; equivalently,

∀x∈E, ∃r>0 such that Br(x)⊆E.\forall x\in E,\ \exists r>0\text{ such that }B_r(x)\subseteq E.

A set is closed if its complement in XX is open. Equivalently, EE is closed if it contains every limit point of EE.

10. Covers

Let E⊆XE\subseteq X, and let U={Uα}α∈I\mathcal U=\{U_\alpha\}_{\alpha\in I} be a family of subsets of XX.

  1. U\mathcal U is a cover of EE if E⊆⋃α∈IUαE\subseteq\bigcup_{\alpha\in I}U_\alpha.
  2. It is an open cover if every UαU_\alpha is open in XX.
  3. A subcover is a subfamily {Uα}α∈J\{U_\alpha\}_{\alpha\in J}, where J⊆IJ\subseteq I, that still covers EE.
  4. It is a finite subcover if the index set JJ is finite.

11. Compact sets

A subset EE of a metric space is compact if every open cover of EE has a finite subcover. In symbols, for every family U\mathcal U of open subsets of XX with E⊆⋃U∈UUE\subseteq\bigcup_{U\in\mathcal U}U, there is a finite subfamily V⊆U\mathcal V\subseteq\mathcal U such that

E⊆⋃V∈VV.E\subseteq\bigcup_{V\in\mathcal V}V.

Order and completeness

12. Ordered sets

A (partially) ordered set is a set AA with a relation ≤\le that is reflexive, antisymmetric, and transitive:

  1. Reflexivity: a≤aa\le a for every a∈Aa\in A.
  2. Antisymmetry: if a≤ba\le b and b≤ab\le a, then a=ba=b.
  3. Transitivity: if a≤ba\le b and b≤cb\le c, then a≤ca\le c.

If any two elements are comparable, the order is a total order.

13. Bounds, supremum, and infimum

Let (X,≤)(X,\le) be an ordered set and A⊆XA\subseteq X. An element u∈Xu\in X is an upper bound of AA if x≤ux\le u for every x∈Ax\in A. The set AA is bounded above if it has an upper bound. A supremum (least upper bound) of AA is an upper bound ss such that s≤us\le u for every upper bound uu of AA; it is denoted sup⁡A\sup A when it exists.

A lower bound is defined by reversing the inequalities. A set with a lower bound is bounded below, and its infimum (greatest lower bound), denoted inf⁡A\inf A, is a lower bound that is greater than or equal to every lower bound of AA, when it exists. A supremum or infimum need not belong to AA.

14. Density of the rationals and irrationals

The real numbers are dense in themselves: between any two distinct real numbers there is another real number. More precisely, if p,q∈Rp,q\in\mathbb R and p<qp<q, there is r∈Rr\in\mathbb R such that p<r<qp<r<q.

Both the rational numbers Q\mathbb Q and the irrational numbers R∖Q\mathbb R\setminus\mathbb Q are dense in R\mathbb R: between any two distinct real numbers there is a rational number and also an irrational number.

15. Completeness of the real numbers

A sequence (an)(a_n) in a metric space (X,d)(X,d) is a Cauchy sequence if

∀ε>0, ∃N∈N such that m,n≥N  ⟹  d(am,an)<ε.\forall\varepsilon>0,\ \exists N\in\mathbb N\text{ such that }m,n\ge N\implies d(a_m,a_n)<\varepsilon.

A metric space is complete if every Cauchy sequence in it converges to a point of that space. The real numbers with their usual metric are complete; this is the completeness of R\mathbb R.

Limits

16. Limit superior and limit inferior

For a sequence of sets (An)(A_n), its set-theoretic limit superior and limit inferior are

lim sup⁡n→∞An=⋂n=1∞⋃k=n∞Ak,lim inf⁡n→∞An=⋃n=1∞⋂k=n∞Ak.\begin{aligned} \limsup_{n\to\infty} A_n &= \bigcap_{n=1}^{\infty}\bigcup_{k=n}^{\infty} A_k, \\ \liminf_{n\to\infty} A_n &= \bigcup_{n=1}^{\infty}\bigcap_{k=n}^{\infty} A_k. \end{aligned}

Thus, x∈lim sup⁡Anx\in\limsup A_n exactly when xx belongs to infinitely many of the sets AnA_n, while x∈lim inf⁡Anx\in\liminf A_n exactly when xx belongs to all sufficiently late sets.

For a real sequence (an)(a_n), the corresponding numerical definitions (with suprema and infima taken in the extended real numbers) are

lim sup⁡n→∞an=inf⁡n≥1sup⁡k≥nak,lim inf⁡n→∞an=sup⁡n≥1inf⁡k≥nak.\begin{aligned} \limsup_{n\to\infty} a_n &= \inf_{n\ge1}\sup_{k\ge n}a_k, \\ \liminf_{n\to\infty} a_n &= \sup_{n\ge1}\inf_{k\ge n}a_k. \end{aligned}

In brief

Algebraic operations, distance, order, and completeness are distinct pieces of language that work together in analysis; limsup and liminf summarize the long-term behavior of sequences.