Definition

Let be nonempty sets

Then the Cartesian product of and is the set of all ordered pairs with and . That is,