Steply

Cartesian product A × B

Foundations · 20 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Make the table
  2. List the pairs
  3. Check

The steps for A = {1, 2}, B = {3, 4, 5}, find A × B. Every solution names its steps, so you always know what comes next.

Worked examples

A = {1, 2}, B = {3, 4, 5}, find A × B Easy

The question

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

A = {1, 2}, B = {3, 4, 5}

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 3 is (1, 3).

2 List the pairs

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

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

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 (3, 1) in A × B ✗

3 Check

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

No pair twice.

So it is right!

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

Let's look back.

First: make the table.

Then: list the pairs.

Last: check.

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

▶ Watch it solved

A = {1, 2, 3}, B = {4, 5}, find A × B Medium

The question

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

A = {1, 2, 3}, B = {4, 5}

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 4 is (1, 4).

2 List the pairs

We write the pairs row by row, inside curly brackets: (1, 4), (1, 5) and so on.

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

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 (4, 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 (4, 1) in A × B ✗

▶ Watch it solved

A = {1, 2, 3}, B = {4, 5, 6}, find A × B Harder

The question

Question: find A × B, when A is {1, 2, 3} and B is {4, 5, 6}.

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

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 4 is (1, 4).

2 List the pairs

We write the pairs row by row, inside curly brackets: (1, 4), (1, 5) and so on.

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

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 (4, 1) in A × B ✗

3 Check

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

No pair twice.

So it is right!

9 pairs = n(A) × n(B) = 3 × 3

Let's look back.

First: make the table.

Then: list the pairs.

Last: check.

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

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. A = {1, 2}, B = {3, 4, 5}, find A × B
    Answer
    Careful: not (3, 1) in A × B ✗
  2. A = {2, 3}, B = {4, 5}, find A × B
    Answer
    Careful: not (4, 2) in A × B ✗
  3. A = {1, 5}, B = {2, 3}, find B × A
    Answer
    Careful: not (1, 2) in B × A ✗
  4. A = {0, 1}, B = {7, 8, 9}, find A × B
    Answer
    Careful: not (7, 0) in A × B ✗
  5. A = {3, 4}, B = {1, 2}, find n(A × B)
    Answer
    Careful: not (1, 3) in A × B ✗
  6. A = {1, 2, 3}, B = {6}, find A × B
    Answer
    Careful: not (6, 1) in A × B ✗
  7. A = {2, 4}, B = {1, 3}, find A × A
    Answer
    A × A = {(2, 2), (2, 4), (4, 2), (4, 4)}

Medium

  1. A = {1, 2, 3}, B = {4, 5}, find A × B
    Answer
    Careful: not (4, 1) in A × B ✗
  2. A = {1, 2, 3}, B = {4, 5}, find B × A
    Answer
    Careful: not (1, 4) in B × A ✗
  3. A = {2, 3, 5}, B = {1, 4}, find n(A × B)
    Answer
    Careful: not (1, 2) in A × B ✗
  4. A = {1, 2, 3}, B = {7, 8}, find A × A
    Answer
    A × A = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}
  5. A = {-1, 0, 1}, B = {2, 3}, find A × B
    Answer
    Careful: not (2, -1) in A × B ✗
  6. A = {5, 6}, B = {1, 2, 3, 4}, find n(B × A)
    Answer
    Careful: not (5, 1) in B × A ✗
  7. A = {a, b}, B = {1, 2, 3}, find A × B
    Answer
    Careful: not (1, a) in A × B ✗

Harder

  1. A = {1, 2, 3}, B = {4, 5, 6}, find A × B
    Answer
    Careful: not (4, 1) in A × B ✗
  2. A = {1, 2, 3, 4}, B = {5, 6, 7}, find n(A × B)
    Answer
    Careful: not (5, 1) in A × B ✗
  3. A = {p, q}, B = {1, 2}, find B × A
    Answer
    Careful: not (p, 1) in B × A ✗
  4. A = {1, 3, 5}, B = {2, 4}, find B × B
    Answer
    B × B = {(2, 2), (2, 4), (4, 2), (4, 4)}
  5. A = {2, 4, 6, 8}, B = {1, 3}, find n(A × A)
    Answer
    n(A × A) = n(A) × n(A) = 4 × 4 = 16
  6. A = {0, 2}, B = {1, 2, 3}, find B × A
    Answer
    Careful: not (0, 1) in B × A ✗