2.2 Cartesian Products of Sets
If either P or Q is the null set, then the cartesian product of P and Q will also be the empty set.
The order in which the elements are paired is crucial. The code DL, zero one, will not be the same as the code zero one, DL.
Ordered pairs can represent the position of points in the plane if A and B are subsets of the set of real numbers. The point a comma b is distinct from the point b comma a, when a and b are different.
Two ordered pairs are equal, if and only if the corresponding first elements are equal and the second elements are also equal.
If there are p elements in A and q elements in B, then there will be p q elements in the cartesian product of A and B. That is, n of A cross B equals p times q.
If A and B are non-empty sets and either A or B is an infinite set, then so is A cross B.
The set of all a comma b comma c, with a, b and c taken from A, is A cross A cross A. Here a comma b comma c is called an ordered triplet.
The cartesian product R cross R represents the coordinates of all the points in two dimensional space. The cartesian product R cross R cross R represents those of all the points in three-dimensional space.
In general, A cross B is not equal to B cross A, the cartesian product in the other order. However, the number of elements in each set will be the same.