Find the Cartesian product B × A.

A = {3, 5, 9, 7}
B = {0, 1}

Is it {(0, 3), (0, 5), (0, 9), (0, 7), (1, 3), (1, 5), (1, 9), (1, 7)}

Did I solve this correctly?

yes

Yes, the Cartesian product of sets B and A is indeed {(0, 3), (0, 5), (0, 9), (0, 7), (1, 3), (1, 5), (1, 9), (1, 7)}.

To find the Cartesian product of two sets, you take every possible combination of an element from set B and an element from set A. The resulting set will contain all possible ordered pairs of elements, where the first element comes from set B and the second element comes from set A.

In this case, set B contains {0, 1} and set A contains {3, 5, 9, 7}. To find the Cartesian product, you pair each element from B with each element from A:

{(0, 3), (0, 5), (0, 9), (0, 7), (1, 3), (1, 5), (1, 9), (1, 7)}

So, the Cartesian product B × A is {(0, 3), (0, 5), (0, 9), (0, 7), (1, 3), (1, 5), (1, 9), (1, 7)}.