Steply

A = {-1, 0, 1}, B = {2, 3}, find A × B

Step by step, with the reason for every step · Cartesian product A × B · Foundations

Step by step

The question

Question: find A × B, when A is {-1, 0, 1} and B is {2, 3}.

A = {-1, 0, 1}, B = {2, 3}

A × B means: every pair with the first number from A and the second from B.

A pair is written in round brackets.

A × B = every pair (first from A, second from B)

1 Make the table

Across the top: the elements of B.

Down the side: the elements of A.

Each cell is a pair: its row first, its column second.

-1 with 2 is (-1, 2).

2 List the pairs

We write the pairs row by row, inside curly brackets: (-1, 2), (-1, 3) and so on.

A × B = {(-1, 2), (-1, 3), (0, 2), (0, 3), (1, 2), (1, 3)}

Careful!

The order matters.

In A × B the first number always comes from A.

So A × B is not the same as B × A.

Careful: not (2, -1) in A × B ✗

3 Check

Let's check the count: 6 pairs, and 3 times 2 is 6.

No pair twice.

So it is right!

6 pairs = n(A) × n(B) = 3 × 2

Let's look back.

First: make the table.

Then: list the pairs.

Last: check.

Answer
Careful: not (2, -1) in A × B ✗

Your turn

Try this one yourself, then check:

Find A = {1, 2, 7}, B = {3, 6}
Show the answer
A × B = {(1, 3), (1, 6), (2, 3), (2, 6), (7, 3), (7, 6)}

More from Cartesian product A × B

The whole lesson: Cartesian product A × B →