Let A = {u,v,w} and let B = {7,8}. Does A x B = B x A?

Check the final answer first, then review the worked steps.

Answer

No

Reasoning

A \times B = \{(u,7), (u,8), (v,7), (v,8), (w,7), (w,8)\}
B \times A = \{(7,u), (7,v), (7,w), (8,u), (8,v), (8,w)\}
A \times B \neq B \times A

Step-by-step solution

The Cartesian product is not commutative; $A \times B$ consists of ordered pairs $(a, b)$ where $a \in A$ and $b \in B$, while $B \times A$ consists of pairs $(b, a)$ where $b \in B$ and $a \in A$. Since $(u, 7) \in A \times B$ but $(u, 7) \notin B \times A$, the sets are not equal.