Cartesian Product
10 min. | Beginner | (Hammack 2013)
Ordered Pair
An ordered pair is a list (x,y) of two elements x and y, enclosed in parentheses and separated by a comma.
Cartesian Product
Suppose \mathcal{A} and \mathcal{B} are sets.
A cartesian product is simply the multiplication of sets denoted as \mathcal{A} \times \mathcal{B} and defined as
\mathcal{A} \times \mathcal{B} = \{(a,b): a \in \mathcal{A}, \ b \in \mathcal{B} \}
Cartesian Power
A cartesian power is also possible for any integer n as
\begin{align*} \mathcal{A}^n &= \mathcal{A} \times \mathcal{A} \times \ldots \times \mathcal{A} \\ &= \{ (x_1, x_2, \ldots, x_n):x_1,x_2,\ldots,x_n \in \mathcal{A}\} \end{align*}
In the field of Data Science, both at GW and beyond, we frequently operate in high-dimensional spaces, sometimes encompassing thousands or even millions of dimensions:
\mathbb{R}^{1{,}000} \quad \text{or} \quad \mathbb{R}^{1{,}000{,}000}
Modern machine learning models can reach even greater scales. For instance, GPT-4 is rumored to involve computations in spaces with trillions of parameters:
\mathbb{R}^{1{,}000{,}000{,}000{,}000{,}000}
How can we reason about learning and structure in such vast spaces? The answer lies in the powerful mathematical foundations of Linear Algebra, Calculus, and Optimization, the core tools explored throughout this website.