Cartesian Product of Sets A and B

Given sets:

A = {1, 2, 3}

B = {4, 5, 6}

The Cartesian Product A × B can be calculated as follows:

A B A × B
14(1, 4)
15(1, 5)
16(1, 6)
24(2, 4)
25(2, 5)
26(2, 6)
34(3, 4)
35(3, 5)
36(3, 6)

Final Set for A × B:

A × B = {(1,4), (1,5), (1,6), (2,4), (2,5), (2,6), (3,4), (3,5), (3,6)}

cartesian product of two sets done step by step