The term ‘product‘ mathematically signifies the result obtained when two or more values are multiplied together. For example, 45 is the product of 9 and 5. One must be familiar with the basic operations on sets like Union and Intersection, which are performed on 2 or more sets. Cartesian Product is also one such operation that is performed on two sets, which returns a set of ordered pairs.
What is an Ordered Pair?
An ordered pair is a pair of objects where one element is assigned first, and the other element is assigned second, denoted by (a,b). Here ‘a’ is called the first component, and ‘b’ is called the second component of the ordered set.
Example: (5, 7) is an ordered pair of integers.Â
Note: (5, 7) â (7, 5), an ordered pair (a, b) is equal to (x, y) only if a = x and b = y.
Cartesian Product of Sets
A cartesian product of two non-empty sets A and B is the set of all possible ordered pairs where the first component of the pair is from A, and the second component of the pair is from B. The set of ordered pairs thus obtained is denoted by AÃB.
A Ã B = {(a, b) : a â A and b â B}
Example:Â
Let A = {1, 2} and B = {4, 5, 6}
A Ã B = {(1, 4), (1, 5), (1, 6), (2, 4), (2, 5), (2, 6)}
Â
Here the first component of every ordered pair is from set A the second component is from set B.
The Cartesian Product of two sets can be easily represented in the form of a matrix where both sets are on either axis, as shown in the image below. Cartesian Product of  A = {1,  2} and B = {x, y, z}

Properties of Cartesian Product
1. The Cartesian Product is non-commutative: A Ã B â B Ã A
Example:Â
A = {1, 2} , B = {a, b}
A Ã B = {(1, a), (1, b), (2, a), (2, b)}
B Ã A = {(a, 1), (b, 1), (b, 1), (b, 2)}
Therefore as A â B we have A Ã B â B Ã A
2. A Ã B = B Ã A, only if A = B
Proof:
Let A Ã B = B Ã A then we have Â
A â Â B Â and B â Â A, it follows that A = B
3. The cardinality of the Cartesian Product is defined as the number of elements in A Ã B and is equal to the product of cardinality of both sets: |A Ã B| = |A| Ã |B|
Proof:
Let a â A then the number of ordered pair (a, b) such that b â B is |B|.Â
Therefore we have |B| choices for b for each a where a â A therefore the number of element in A Ã B is |A| Ã |B|.
4. A Ã B = â
, if either A = â
or B = â
Proof:Â
If either A or B is empty, then there are no elements in one of the sets. Let’s consider the cases:
If A is empty, then there are no elements in A. So, for any element b in B, there won’t be any ordered pair (a, b) because there are no elements a in A. Therefore, A Ã B will be empty.
Similarly, if B is empty, then there are no elements in B. So, for any element a in A, there won’t be any ordered pair (a, b) because there are no elements b in B. Therefore, A Ã B will be empty.
Read More,
Sample Problems on Cartesian Product of Sets
Problem 1: Find the value of x and y given (2x – y, Â 25) = (15, Â 2x + y)?
Solution: Â
As we know from the property of ordered pairs, 2x – y = 15 and 25 = 2x + y.
Solving the linear equations we have x = 10 and y = 5.
Problem 2. Given A = {2, 3, 4 , 5} and B = {4 , 16 , 23}, a â A, b â B, find the set of ordered pairs such that a2 < b?
Solution:
As 22 < 16 and 23, 32 < 16 and 23, 42 < 23 Â
We have the set of ordered pairs such that a2 < b is {(2, 16), (2, 23), (3, 16), (2, 23), (4, 23)}
Problem 3. If A = {9, 10} and B = {3, 4, 6}, find A Ã B and |A Ã B|?Â
Solution:
A Ã B = {(9, 3), (9, 4), (9, 6), (10, 3), (10, 4), (10, 6)}
|A Ã B| = |A| * |B| = 2 * 3 = 6
Problem 4. If A Ã B = {(a, x), (a, y ), (b, x ), (b, y)}, find A and B?
Solution:
We know A is the set of all first components in ordered pairs of A Ã B andÂ
B is the set of the second component in the ordered pair of A Ã B.
Therefore A = {a, b} and B = {x, y}
Problem 5. Given A Ã B has 15 ordered pairs and A has 5 elements, find the number of elements in B?
Solution:
We know |A Ã B| = |A| * |B|, 15 = 5 * |B|
Therefore B has 15 / 5 = 3 elements.
Practice Problems on Cartesian Product of Sets
Problem 1: Let A = {a, b, c} and B = {1, 2}. Find A Ã B.
Problem 2: Let A = {} and B = {x, y}. Find A Ã B.
Problem 3: Let A = {apple, banana} and B = {red, yellow}. Find A Ã B.
Problem 4: Let A = {1, 2, 3} and B = {3, 4, 5}. Find A Ã B.
Problem 5: Let A = {cat} and B = {dog}. Find A Ã B.
FAQs on Cartesian Product of Sets
What is the cartesian product of two sets i.e., AÃB?
The Cartesian product of sets A and B, denoted AÃB, is the set of all possible ordered pairs where the first element is from A and the second from B.
Define ordered pair.
An ordered pair is a pair of elements (a, b) in which the order of the elements is significant. This means (a, b) is distinct from (b, a) if a is not equal to b.
What is the cartesian product of 3 sets?
The Cartesian product of three sets A, B, and C is the set of all possible ordered triples where the first element is from A, the second from B, and the third from C.
Write formula for cartesian product of sets.
The Cartesian product of two sets A and B is defined as:
A Ã B = {(a, b) | a â A and b â B}
For three sets A, B, and C:
A Ã B Ã C = {(a, b, c) | a â A, b â B, and c â C}
What is the cartesian product of a set and a null set?
The Cartesian product of a set A and a null set (â
) is always an empty set (â
), as there are no elements in the null set to form pairs with elements from set A.
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...