Cartesian product

From TCS Wiki
Revision as of 22:03, 12 March 2013 by imported>Addbot (Bot: 47 interwiki links moved, now provided by Wikidata on d:q173740)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In mathematics, sets can be used to make new sets. Suppose we have two sets A and B. Then 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.

For example, let A = {1, 2, 3} and B = {a, b}. Then:


[math]\displaystyle{ A \times B = \{(1, a), (1, b), (2, a), (2, b), (3, a), (3, b)\} }[/math]

Template:Math-stub