# Product topology

In topology and related areas of mathematics, a product space is the Cartesian product of a family of topological spaces equipped with a natural topology called the product topology. This topology differs from another, perhaps more natural-seeming, topology called the box topology, which can also be given to a product space and which agrees with the product topology when the product is over only finitely many spaces. However, the product topology is "correct" in that it makes the product space a categorical product of its factors, whereas the box topology is too fine; in that sense the product topology is the natural topology on the Cartesian product.

## Definition

Throughout, $I$ will be some non-empty index set and for every index $i\in I,$ let $X_{i}$ be a topological space. Denote the Cartesian product of the sets $X_{i}$ by
$X:=\prod X_{\bullet }:=\prod _{i\in I}X_{i}$
and for every index $i\in I,$ denote the $i$-th canonical projection by
${\begin{aligned}p_{i}:\ \prod _{j\in I}X_{j}&\to X_{i},\\[3mu](x_{j})_{j\in I}&\mapsto x_{i}.\\\end{aligned}}$
The product topology, sometimes called the Tychonoff topology, on ∏$_{i∈I}$X$_i${\textstyle \prod _{i\in I}X_{i}} is defined to be the coarsest topology (that is, the topology with the fewest open sets) for which all the projections p$_i$:∏X$_∙$→X$_i${\textstyle p_{i}:\prod X_{\bullet }\to X_{i}} are continuous. It is the initial topology on ∏$_{i∈I}$X$_i${\textstyle \prod _{i\in I}X_{i}} with respect to the family of projections $\left\{p_{i}\mathbin {\big \vert } i\in I\right\}$. The Cartesian product X:=∏$_{i∈I}$X$_i${\textstyle X:=\prod _{i\in I}X_{i}} endowed with the product topology is called the product space. The open sets in the product topology are arbitrary unions (finite or infinite) of sets of the form ∏$_{i∈I}$U$_i$, {\textstyle \prod _{i\in I}U_{i}, } where each $U_{i}$ is open in $X_{i}$ and $U_{i}\neq X_{i}$ for only finitely many $i.$ In particular, for a finite product (in particular, for the product of two topological spaces), the set of all Cartesian products between one basis element from each $X_{i}$ gives a basis for the product topology of ∏$_{i∈I}$X$_i$.{\textstyle \prod _{i\in I}X_{i}.} That is, for a finite product, the set of all ∏$_{i∈I}$U$_i$, {\textstyle \prod _{i\in I}U_{i}, } where $U_{i}$ is an element of the (chosen) basis of $X_{i},$ is a basis for the product topology of ∏$_{i∈I}$X$_i$.{\textstyle \prod _{i\in I}X_{i}.}
The product topology on ∏$_{i∈I}$X$_i${\textstyle \prod _{i\in I}X_{i}} is the topology generated by sets of the form $p_{i}^{-1}\left(U_{i}\right),$ where $i\in I$ and $U_{i}$ is an open subset of $X_{i}.$ In other words, the sets
$\left\{p_{i}^{-1}\left(U_{i}\right)\mathbin {\big \vert } i\in I{\text{ and }}U_{i}\subseteq X_{i}{\text{ is open in }}X_{i}\right\}$
form a subbase for the topology on $X.$ A subset of $X$ is open if and only if it is a (possibly infinite) union of intersections of finitely many sets of the form $p_{i}^{-1}\left(U_{i}\right).$ The $p_{i}^{-1}\left(U_{i}\right)$ are sometimes called open cylinders, and their intersections are cylinder sets.
The product topology is also called the topology of pointwise convergence because a sequence (or more generally, a net) in ∏$_{i∈I}$X$_i${\textstyle \prod _{i\in I}X_{i}} converges if and only if all its projections to the spaces $X_{i}$ converge. Explicitly, a sequence s$_∙$=(s$_n$)$_{n=1}$$^∞${\textstyle s_{\bullet }=\left(s_{n}\right)_{n=1}^{\infty }} (respectively, a net s$_∙$=(s$_a$)$_{a∈A}${\textstyle s_{\bullet }=\left(s_{a}\right)_{a\in A}}) converges to a given point x∈∏$_{i∈I}$X$_i${\textstyle x\in \prod _{i\in I}X_{i}} if and only if $p_{i}\left(s_{\bullet }\right)\to p_{i}(x)$ in $X_{i}$ for every index $i\in I,$ where $p_{i}\left(s_{\bullet }\right):=p_{i}\circ s_{\bullet }$ denotes $\left(p_{i}\left(s_{n}\right)\right)_{n=1}^{\infty }$ (respectively, denotes $\left(p_{i}\left(s_{a}\right)\right)_{a\in A}$). In particular, if $X_{i}=\mathbb {R}$ is used for all $i$ then the Cartesian product is the space ∏$_{i∈I}$R=R$^I${\textstyle \prod _{i\in I}\mathbb {R} =\mathbb {R} ^{I}} of all real-valued functions on $I,$ and convergence in the product topology is the same as pointwise convergence of functions.

## Examples

If the real line $\mathbb {R}$ is endowed with its standard topology then the product topology on the product of $n$ copies of $\mathbb {R}$ is equal to the ordinary Euclidean topology on $\mathbb {R} ^{n}.$ (Because $n$ is finite, this is also equivalent to the box topology on $\mathbb {R} ^{n}.$)
The Cantor set is homeomorphic to the product of countably many copies of the discrete space $\{0,1\}$ and the space of irrational numbers is homeomorphic to the product of countably many copies of the natural numbers, where again each copy carries the discrete topology.
Several additional examples are given in the article on the initial topology.

## Properties

The set of Cartesian products between the open sets of the topologies of each $X_{i}$ forms a basis for what is called the box topology on $X.$ In general, the box topology is finer than the product topology, but for finite products they coincide.
The product space $X,$ together with the canonical projections, can be characterized by the following universal property: if $Y$ is a topological space, and for every $i\in I,$ $f_{i}:Y\to X_{i}$ is a continuous map, then there exists precisely one continuous map $f:Y\to X$ such that for each $i\in I$ the following diagram commutes:
This shows that the product space is a product in the category of topological spaces. It follows from the above universal property that a map $f:Y\to X$ is continuous if and only if $f_{i}=p_{i}\circ f$ is continuous for all $i\in I.$ In many cases it is easier to check that the component functions $f_{i}$ are continuous. Checking whether a map $X\to Y$ is continuous is usually more difficult; one tries to use the fact that the $p_{i}$ are continuous in some way.
In addition to being continuous, the canonical projections $p_{i}:X\to X_{i}$ are open maps. This means that any open subset of the product space remains open when projected down to the $X_{i}.$ The converse is not true: if $W$ is a subspace of the product space whose projections down to all the $X_{i}$ are open, then $W$ need not be open in $X$ (consider for instance W=R$^2$∖(0, 1)$^2$.{\textstyle W=\mathbb {R} ^{2}\setminus (0, 1)^{2}.}) The canonical projections are not generally closed maps (consider for example the closed set {(x, y)∈R$^2$:xy=1}, {\textstyle \left\{(x, y)\in \mathbb {R} ^{2}:xy=1\right\}, } whose projections onto both axes are $\mathbb {R} \setminus \{0\}$).
Suppose ∏$_{i∈I}$S$_i${\textstyle \prod _{i\in I}S_{i}} is a product of arbitrary subsets, where $S_{i}\subseteq X_{i}$ for every $i\in I.$ If all $S_{i}$ are non-empty then ∏$_{i∈I}$S$_i${\textstyle \prod _{i\in I}S_{i}} is a closed subset of the product space $X$ if and only if every $S_{i}$ is a closed subset of $X_{i}.$ More generally, the closure of the product ∏$_{i∈I}$S$_i${\textstyle \prod _{i\in I}S_{i}} of arbitrary subsets in the product space $X$ is equal to the product of the closures:
${\operatorname {Cl} _{X}}{\Bigl\prod _{i\in I}S_{i}{\Bigr )}=\prod _{i\in I}{\bigl{\operatorname {Cl} _{X_{i}}}S_{i}{\bigr )}.$
Any product of Hausdorff spaces is again a Hausdorff space.
Tychonoff's theorem, which is equivalent to the axiom of choice, states that any product of compact spaces is a compact space. A specialization of Tychonoff's theorem that requires only the ultrafilter lemma (and not the full strength of the axiom of choice) states that any product of compact Hausdorff spaces is a compact space.
If z=(z$_i$)$_{i∈I}$∈X{\textstyle z=\left(z_{i}\right)_{i\in I}\in X} is fixed then the set
$\left\{x=\left(x_{i}\right)_{i\in I}\in X\mathbin {\big \vert } x_{i}=z_{i}{\text{ for all but finitely many }}i\right\}$
is a dense subset of the product space $X$.

## Relation to other topological notions

Separation
* Every product of T$_0$ spaces is T$_0$.
* Every product of T$_1$ spaces is T$_1$.
* Every product of Hausdorff spaces is Hausdorff.
* Every product of regular spaces is regular.
* Every product of Tychonoff spaces is Tychonoff.
* A product of normal spaces need not be normal.
Compactness
* Every product of compact spaces is compact (Tychonoff's theorem).
* A product of locally compact spaces need not be locally compact. However, an arbitrary product of locally compact spaces where all but finitely many are compact is locally compact (This condition is sufficient and necessary).
Connectedness
* Every product of connected (resp. path-connected) spaces is connected (resp. path-connected).
* Every product of hereditarily disconnected spaces is hereditarily disconnected.
Metric spaces
* Countable products of metric spaces are metrizable spaces.

## Axiom of choice

One of many ways to express the axiom of choice is to say that it is equivalent to the statement that the Cartesian product of a collection of non-empty sets is non-empty. The proof that this is equivalent to the statement of the axiom in terms of choice functions is immediate: one needs only to pick an element from each set to find a representative in the product. Conversely, a representative of the product is a set which contains exactly one element from each component.
The axiom of choice occurs again in the study of (topological) product spaces; for example, Tychonoff's theorem on compact sets is a more complex and subtle example of a statement that requires the axiom of choice and is equivalent to it in its most general formulation, and shows why the product topology may be considered the more useful topology to put on a Cartesian product.