1.8. General Cartesian Product#

In this section, we extend the definition of Cartesian product to an arbitrary number of sets.

Definition 1.96 (Cartesian product)

Let {Ai}iI be a family of sets. Then the Cartesian product iIAi or Ai is defined to be the set consisting of all functions f:IiIAi such that xi=f(i)Ai for each iI.

In other words, the function f chooses an element xi from the set Ai for each index iI.

The general definition of the Cartesian product allows the index set to be finite, countably infinite as well as uncountably infinite.

Note that we didn’t require Ai to be non-empty. This is discussed below.

Definition 1.97 (Choice function)

A member function f of the Cartesian product Ai is called a choice function and often denoted by (xi)iI or simply by (xi).

Remark 1.20

For a family {Ai}iI, if any of the Ai is empty, then the Cartesian product Ai is empty.

This follows from the definition of the Cartesian product as a choice function f must choose an element from each Ai. If an Ai is empty, a choice function cannot choose any element from it, hence the choice function cannot exist.

Remark 1.21

If the family of sets {Ai}iI satisfies Ai=AiI, then iIAi is written as AI.

AI={f|f:IA}.

i.e. AI is the set of all functions from I to A.

1.8.1. Examples#

Example 1.19 (Binary functions on the real line)

Let A={0,1}. AR is a set of all functions on R which can take only one of the two values 0 or 1.

Example 1.20 (Binary sequences)

Let A={0,1}. AN is a set of all sequences of 0s and 1s.

Example 1.21 (Real sequences)

RN is a set of all real sequences. It is also denoted as R.

Example 1.22 (Real valued functions on the real line )

RR is a set of all functions from R to R.

1.8.2. Axiom of choice#

If a Cartesian product is non-empty, then each Ai must be non-empty. We can therefore ask: If each Ai is non-empty, is then the Cartesian product Ai nonempty? An affirmative answer cannot be proven within the usual axioms of set theory. This requires us to introduce the axiom of choice.

Axiom 1.11 (Axiom of choice)

If {Ai}iI is a nonempty family of sets such that Ai is nonempty for each iI, then the Cartesian product Ai is nonempty.

This means that if every member of a family of sets is non empty, then it is possible to pick one element from each of the members.

Another way to state the axiom of choice is:

Axiom 1.12 (Axiom of choice (disjoint sets formulation))

If {Ai}iI is a nonempty family of pairwise disjoint sets such that Ai for each iI, then there exists a set EiIAi such that EAi consists of precisely one element for each iI.