Q. 2 ) . Let A = {1, 2, 3} and B{ x | x is a prime number less than 10}. Find A X B and B X A
Given the sets A={1,2,3} and B={x∣x is a prime number less than 10}, we first need to determine the elements of set B.
The prime numbers less than 10 are: 2, 3, 5, and 7. Therefore, B={2,3,5,7}.
Next, we will find the Cartesian products A×B and B×A.
Cartesian Product A×B
The Cartesian product A×B is the set of all ordered pairs (a,b) where a∈A and b∈B.
So, we list all possible pairs:
A×B={(1,2),(1,3),(1,5),(1,7),(2,2),(2,3),(2,5),(2,7),(3,2),(3,3),(3,5),(3,7)}
Cartesian Product B×A
Similarly, the Cartesian product B×A is the set of all ordered pairs (b,a) where b∈B and a∈A.
So, we list all possible pairs:
B×A={(2,1),(2,2),(2,3),(3,1),(3,2),(3,3),(5,1),(5,2),(5,3),(7,1),(7,2),(7,3)}
Summary
A×B={(1,2),(1,3),(1,5),(1,7),(2,2),(2,3),(2,5),(2,7),(3,2),(3,3),(3,5),(3,7)}
B×A={(2,1),(2,2),(2,3),(3,1),(3,2),(3,3),(5,1),(5,2),(5,3),(7,1),(7,2),(7,3)}