###### 2.2.1 Cartesian Products

An **ordered pair** is a set containing two elements with an ordering that identifies one element as being “first” and the other element as being “second.” The set {*yellow*, *red*} equals the set {*red*, *yellow*}, but the ordered pair (*yellow*, *red*) does not equal the ordered pair (*red*, *yellow*). Similarly, an *n*-tuple is an ordered set containing *n* elements. As in our example, we indicate ordered pairs and ordered *n*-tuples with parentheses ( ) to distinguish them from sets, which we indicate with brackets { }.1

Let *A* and *B* be sets. The **Cartesian product** *A* × *B* is the set of ordered pairs (*a*, *b*) where *a* *A* and *b* *B*. More generally, let *A*_{1}, *A*_{2}, … , *A _{n}* be

*n*sets. The Cartesian product

*A*

_{1}×

*A*

_{2}× … ×

*A*is the set of

_{n}*n*-tuples (

*a*

_{1},

*a*

_{2}, … ,

*a*

_{n}} where

*a*. Shorthand notation for the Cartesian product of a set with itself is

_{i}A_{i}*A*

^{2}=

*A*×

*A*, or more generally,

*A*=

^{n}*A*×

*A*× … ×

*A*. In this manner,

^{2}represents 2-dimensional space and

*represents*

^{n}*n*-dimensional space.

###### 2.2.2 Vectors

We assume familiarity with **vectors**, which are elements of—*n*-tuples or “points” in—* ^{n}*. We distinguish between

**column vectors**and

**row vectors**. Unless stated otherwise, all vectors are assumed to be column vectors. There are two different notations used for vectors. One is

**matrix notation**, which indicates column vectors

*and row vectors*

**x***as*

**y**[2.1]

More compact is ** n-tuple notation**, which we have already introduced. This indicates the same column and row vectors as

[2.2]

A distinguishing characteristic is that *n*-tuple notation employs commas whereas matrix notation does not. With either notation, we may use a prime ′ to indicate transposition. We denote a zero vector (0, 0, … , 0) as **0**.

The **norm** or **length** of a vector * x* is defined as

[2.3]

In one dimension, length reduces to absolute value, which we denote |**x***|.*

###### 2.2.3 Matrices

We assume familiarity with matrices. We indicate a zero matrix as **0** and an identity matrix as * I*. As with vectors, we indicate matrix transposition with a prime ′, so

*′ is the transpose of*

**h***. We denote a matrix inverse as*

**h**

**h**^{–1}and a determinant as |

*|. Components of matrices are assumed to be real numbers unless stated otherwise. Matrix addition and matrix multiplication require that matrices have compatible dimensions. Such compatibility is assumed whenever we apply these operations.*

**h**