Basics of the Cartesian product
1Introduction
The first thing to understand about the
The order is important. In general, and are different objects. Therefore the Cartesian product is a common foundation for
Thus and are generally different: the roles of the first and second components must be distinguished.
2Terms and definitions
For sets and , the
Here is an
More generally, for and sets ,
This is the set of
3Strategy
When working with a
This strategy is used directly when studying
4Intuitive explanation: tables and counting
It is often useful to view as the operation of forming rows and columns of a table. Use the elements of as row labels and the elements of as column labels. Each cell corresponds to one ordered pair .
For example, if and , then
In this example, and , so . For finite sets, in general,
There are two stages of choice: choices for the first component and choices for the second component.
5Precise explanation
The essential equality rule for
This property lets us compare the first and second components separately. When proving equality or inclusion involving Cartesian products, decompose elements as ordered pairs.
The boundary case involving the empty set is also important. If or , then
To make an ordered pair , both and are required. If one side has no elements, no ordered pair can be made.
6Worked example: Cartesian products and order
6.1Problem
Let and . List and , and confirm that they are not generally equal.
6.2Explanation
By definition,
On the other hand,
For example, , but . Therefore .
This confirms that the
7What changes and what is preserved
| Operation | What changes | What is preserved |
|---|---|---|
| switching from to | positions of the components | the sets used as materials for selection |
| taking a subset of | which | each component still comes from and |
| extending to | the number of components | each component comes from its specified set |
8Recognition criteria
- Use a
Cartesian product when several choices are recorded simultaneously.直積集合 ちょくせきしゅうごう - If order matters, treat the result as an
ordered pair .順序対 じゅんじょつい - To define a
relation , first identify the ambient set .関係 かんけい - To define a
map , consider a subset of in which, for each , there exists exactly one second component.写像 しゃぞう
9Proof supplement: when products preserve inclusion
The
Proof. Take . This means and . Since and , we have and . Therefore .
The converse direction needs a nonempty-set condition. If and both and are nonempty, then and . For example, take . Since is nonempty, choose . Then , so . The same argument shows .
If the nonempty assumption is omitted, this conclusion can fail. Since , the left-hand side may contain no information about .