In mathematics, sets can be used to make new sets. Given two sets "A" and "B", the Cartesian product of "A" with "B" is written as "A × B", and is the set of all ordered pairs whose first element is a member of "A", and whose second element is a member of "B".