Tutorials › Topology (Undergraduate) › A Metric for the Hilbert Cube Product Topology

Tychonoff's Theorem and Products · Tutorial 533 of 799

A Metric for the Hilbert Cube Product Topology

Learn how a weighted coordinate-distance sum metrizes the Hilbert cube’s product topology, and how to compare its balls with finite-coordinate neighborhoods.

Advanced 10 min read

What You'll Learn

  • Define the Hilbert cube and its product topology using finite-coordinate neighborhoods.
  • Verify that the weighted coordinate-distance sum is a metric.
  • Prove that metric balls contain suitable product neighborhoods.
  • Prove that every finite-coordinate neighborhood contains a suitable metric ball.
  • Use geometric tail bounds to control coordinates that are not restricted.
  • Recognize why unweighted coordinate sums and fixed-coordinate intuitions can fail.

A Metric Built from Coordinate Distances

The Hilbert cube has infinitely many coordinates, so a neighborhood in its product topology restricts only finitely many coordinates at a time. A useful metric must reflect that feature: differences in early coordinates should matter more, while changes far out in the coordinate list should have progressively smaller influence. We will define such a metric and prove that its open balls generate exactly the product topology.

Write \(I=[0,1]\) with its usual subspace topology from \(\mathbb{R}\), and let \(Q=I^{\mathbb{N}}\) with the product topology. Thus a point \(x\in Q\) is a sequence \(x=(x_1,x_2,\ldots)\) with \(x_n\in I\). A basic product neighborhood of \(x\) restricts coordinates in some finite set \(F\subseteq\mathbb{N}\): for each \(n\in F\), it requires \(y_n\) to lie in a relatively open subset of \(I\) containing \(x_n\), and it places no restriction on the other coordinates.

Definition: For \(x,y\in Q\), define $$ d(x,y)=\sum_{n=1}^{\infty}2^{-n}|x_n-y_n|. $$ The factor \(2^{-n}\) is the weight assigned to coordinate \(n\). Since \(0\leq |x_n-y_n|\leq 1\) and \(\sum_{n=1}^{\infty}2^{-n}=1\), the series converges and \(0\leq d(x,y)\leq 1\).

The key feature is that coordinates far along the sequence have a small total possible contribution. For every \(N\in\mathbb{N}\), the geometric-series formula gives $$ \sum_{n=N+1}^{\infty}2^{-n}=2^{-N}. $$ Even if two points differ by the maximum amount, \(1\), in every coordinate after \(N\), their total distance contribution from those coordinates is at most \(2^{-N}\).

Why the Formula Is a Metric

Theorem: The function \(d\) is a metric on \(Q\).

Proof. We check the metric axioms. Each summand \(2^{-n}|x_n-y_n|\) is nonnegative, so \(d(x,y)\geq 0\). Symmetry follows from \(|x_n-y_n|=|y_n-x_n|\), giving \(d(x,y)=d(y,x)\). If \(x=y\), every summand is zero and \(d(x,y)=0\). Conversely, if \(d(x,y)=0\), then each nonnegative summand is at most the sum and hence is zero. Thus \(|x_n-y_n|=0\), so \(x_n=y_n\), for every \(n\); consequently \(x=y\).

For the triangle inequality, let \(x,y,z\in Q\). For every \(n\), the triangle inequality on \(\mathbb{R}\) gives \(|x_n-z_n|\leq |x_n-y_n|+|y_n-z_n|\). Multiplying by \(2^{-n}\) and summing the nonnegative terms yields $$ d(x,z)\leq d(x,y)+d(y,z). $$ All three series converge because each is bounded above by \(\sum_{n=1}^{\infty}2^{-n}=1\). Therefore the inequality is valid for these sums, and all metric axioms hold. \(\square\)

Worked Example: Computing a Distance

Let \(x=(0,0,0,\ldots)\), and let \(y\) have \(y_1=1\), \(y_2=1\), and \(y_n=0\) for \(n\geq 3\). Compute \(d(x,y)\).

Only the first two coordinate differences are nonzero. The first contributes \(2^{-1}|0-1|=1/2\), and the second contributes \(2^{-2}|0-1|=1/4\). Every term for \(n\geq3\) is \(2^{-n}|0-0|=0\). Hence $$ d(x,y)=\frac12+\frac14+0=\frac34. $$ Check: substituting the coordinates into the defining series gives exactly \(2^{-1}+2^{-2}=3/4\), as calculated. In particular, the distance is nonnegative and no greater than \(1\).

Comparing the Two Kinds of Neighborhood

For \(x\in Q\) and \(r>0\), write \(B_d(x,r)=\{y\in Q:d(x,y)<r\}\) for the open metric ball. We now prove both containments needed to identify the metric topology with the product topology. One direction controls the finitely many coordinates constrained by a product neighborhood. The other makes the total contribution from the unrestricted tail small.

Theorem: The metric \(d\) induces the product topology on \(Q\). Equivalently, the open sets for \(d\) are exactly the open sets in the product topology.

Proof. First let \(x\in Q\), and let \(U\) be a basic product neighborhood of \(x\). It restricts a finite set \(F\) of coordinates, with the requirement \(y_n\in V_n\) for each \(n\in F\), where \(V_n\) is relatively open in \(I\) and contains \(x_n\). For each \(n\in F\), relative openness gives a number \(\delta_n>0\) such that $$ \{t\in I:|t-x_n|<\delta_n\}\subseteq V_n. $$ If \(F\) is empty, then \(U=Q\), which contains every ball about \(x\). Otherwise, since \(F\) is finite and nonempty, the number \(r=\min_{n\in F}(2^{-n}\delta_n)\) is positive. If \(d(x,y)<r\), then for each \(n\in F\), $$ 2^{-n}|x_n-y_n|\leq d(x,y)<r\leq 2^{-n}\delta_n. $$ Dividing by \(2^{-n}>0\) gives \(|x_n-y_n|<\delta_n\), so \(y_n\in V_n\). Thus \(B_d(x,r)\subseteq U\).

Conversely, let \(\varepsilon>0\). Choose \(N\in\mathbb{N}\) so that \(2^{-N}<\varepsilon/2\), and put \(\delta=\varepsilon/2\). Consider the basic product neighborhood $$ V=\{y\in Q: |y_n-x_n|<\delta\text{ for }1\leq n\leq N\}. $$ For \(y\in V\), the contribution from the first \(N\) coordinates satisfies $$ \sum_{n=1}^{N}2^{-n}|x_n-y_n| < \delta\sum_{n=1}^{N}2^{-n} < \delta. $$ The remaining contribution is bounded by the full tail: $$ \sum_{n=N+1}^{\infty}2^{-n}|x_n-y_n| \leq\sum_{n=N+1}^{\infty}2^{-n}=2^{-N}<\frac{\varepsilon}{2}. $$ Adding the two estimates gives \(d(x,y)<\delta+\varepsilon/2=\varepsilon\). Therefore \(V\subseteq B_d(x,\varepsilon)\).

We have shown that every basic product neighborhood of \(x\) contains a metric ball about \(x\), and every metric ball about \(x\) contains a basic product neighborhood of \(x\). Since open sets in either topology are unions of neighborhoods of their points, the two topologies agree. \(\square\)

Worked Example: A Metric Ball Inside a Product Neighborhood

Let \(x=(1/2,1/2,\ldots)\), and define $$ U=\{y\in Q:|y_1-1/2|<1/5,\ |y_3-1/2|<1/4\}. $$ Find a metric ball about \(x\) contained in \(U\).

The first coordinate restriction is guaranteed if \(d(x,y)<2^{-1}(1/5)=1/10\), because \(2^{-1}|x_1-y_1|\leq d(x,y)\). The third coordinate restriction is guaranteed if \(d(x,y)<2^{-3}(1/4)=1/32\). The smaller of these two radii is \(1/32\). Thus \(B_d(x,1/32)\subseteq U\): if \(d(x,y)<1/32\), then $$ |x_1-y_1|<\frac{1/32}{1/2}=\frac{1}{16}<\frac15, \qquad |x_3-y_3|<\frac{1/32}{1/8}=\frac14. $$ The inequalities are strict because the ball condition is strict.

Check: the coordinate bounds used are precisely the weights \(2^{-1}=1/2\) and \(2^{-3}=1/8\); the corresponding radii are \(1/10\) and \(1/32\). The chosen radius satisfies both restrictions.

Worked Example: A Product Neighborhood Inside a Metric Ball

For any \(x\in Q\), find a basic product neighborhood contained in \(B_d(x,1/3)\).

Take \(N=3\), since the tail after coordinate \(3\) is $$ \sum_{n=4}^{\infty}2^{-n}=2^{-3}=\frac18<\frac16. $$ Restrict the first three coordinates by less than \(\delta=1/6\), and leave all later coordinates unrestricted: $$ V=\{y\in Q:|y_n-x_n|<1/6\text{ for }n=1,2,3\}. $$ For \(y\in V\), the first three terms total less than $$ \frac16\left(\frac12+\frac14+\frac18\right) =\frac16\cdot\frac78=\frac7{48}. $$ For the remaining terms, \(|x_n-y_n|\leq1\), so their sum is at most \(1/8=6/48\). It follows that $$ d(x,y)<\frac7{48}+\frac6{48}=\frac{13}{48}<\frac{16}{48}=\frac13. $$ Therefore \(V\subseteq B_d(x,1/3)\).

Check: the bound \(13/48\) is strictly smaller than \(1/3\), and the strictness comes from the first three coordinate restrictions; the tail bound itself is non-strict. Hence every point of \(V\), including points with unrestricted tail coordinates at their maximal differences, is in the open ball.

Why the Weights Matter

The metric makes the infinite product manageable without ignoring any coordinate. Every coordinate has a positive weight, so a difference in even a very late coordinate contributes to the distance. But its contribution can be small, which matches the product topology’s practice of controlling only finitely many coordinates in a basic neighborhood.

Worked Example: A Large Coordinate Difference with Small Distance

Let \(x=(0,0,\ldots)\), and let \(y_n=0\) for \(1\leq n\leq4\), while \(y_n=1\) for every \(n\geq5\). Then the first four terms in \(d(x,y)\) vanish. The remaining terms give $$ d(x,y)=\sum_{n=5}^{\infty}2^{-n}=\frac1{16}. $$ Nevertheless, the fifth coordinate differs by \(|x_5-y_5|=1\). Thus a small total distance does not require every coordinate difference to be small by the same fixed amount.

Check: the tail formula gives \(2^{-4}=1/16\), and the fifth coordinate’s individual contribution is \(2^{-5}|0-1|=1/32\), which is one part of that total. The full tail, not just its first term, is the stated distance.

Common pitfall. Replacing the weights by \(1\) and writing \(\sum_{n=1}^{\infty}|x_n-y_n|\) does not define a finite-valued metric on all of \(Q\). For \(x=(0,0,\ldots)\) and \(y=(1,1,\ldots)\), its partial sum through coordinate \(N\) is \(\sum_{n=1}^{N}1=N\), which grows without bound as \(N\) increases. The weighted formula instead gives \(d(x,y)=\sum_{n=1}^{\infty}2^{-n}=1\).

Another tempting but incorrect inference is that \(d(x,y)<\varepsilon\) forces \(|x_n-y_n|<\varepsilon\) for every \(n\). The correct consequence from the \(n\)-th term is \(|x_n-y_n|<2^n\varepsilon\), which becomes less restrictive as \(n\) increases. For example, if \(y\) differs from the zero sequence only at coordinate \(10\), where \(y_{10}=1\), then \(d(x,y)=2^{-10}=1/1024\) even though \(|x_{10}-y_{10}|=1\). The metric’s small weights are exactly why it can represent the product topology rather than a topology that uniformly controls all coordinates.

This metric is useful because it lets us use metric language and techniques on the Hilbert cube while preserving its product topology. The proof depends on two complementary facts: finitely many coordinate restrictions can be enforced by a sufficiently small ball, and the total effect of all coordinates beyond a sufficiently large index can be made arbitrarily small.

Check Your Understanding

Use the weighted formula and the two neighborhood containments to answer the following.

  1. Compute the distance between the zero sequence and the point whose first three coordinates are \(1\) and whose later coordinates are \(0\).
  2. For a basic product neighborhood restricting a finite nonempty set \(F\), explain why the minimum of the corresponding positive radii \(2^{-n}\delta_n\) is positive.
  3. Find a product neighborhood contained in a ball of radius \(1/4\), using a finite-coordinate restriction and a tail estimate.
  4. Why does the positivity of every weight matter when proving that \(d(x,y)=0\) implies \(x=y\)?
  5. Give two points of \(Q\) whose unweighted sum of coordinate differences diverges, and verify the divergence from its partial sums.