Skip to content
Exercise 2.1 · Q3

Q.If G={7,8}G = \{7, 8\} and H={5,4,2}H = \{5, 4, 2\}, find G×HG \times H and H×GH \times G.

Punjab PsebTextbookSubjective· 2mImportance★★★★★est
3% · 3/100 Questions
✓ Free question

The Cartesian product A×BA \times B is the set of all ordered pairs (a,b)(a, b) where a∈Aa \in A and b∈Bb \in B. Here G×HG \times H has 6 pairs with elements from GG first, while H×GH \times G reverses the order.

Understanding the Cartesian Product

The Cartesian product of two sets creates a new set of ordered pairs. Think of it as systematically pairing every element from the first set with every element from the second set. The order matters: (7,5)(7, 5) is different from (5,7)(5, 7).

Why does this matter? The Cartesian product appears everywhere in mathematics—coordinate geometry (the xyxy-plane is R×R\mathbb{R} \times \mathbb{R}), relations, functions, and probability. Understanding how to construct it is foundational.

The key insight: if set AA has mm elements and set BB has nn elements, then A×BA \times B will have exactly m×nm \times n ordered pairs.

Finding G×HG \times H

  1. Identify the structure: We need all ordered pairs (g,h)(g, h) where g∈Gg \in G and h∈Hh \in H. The first coordinate comes from GG, the second from HH.

  2. Pair the first element of GG with all elements of HH:

    • (7,5)(7, 5)
    • (7,4)(7, 4)
    • (7,2)(7, 2)
  3. Pair the second element of GG with all elements of HH:

    • (8,5)(8, 5)
    • (8,4)(8, 4)
    • (8,2)(8, 2)
  4. Combine all pairs:

G×H={(7,5),(7,4),(7,2),(8,5),(8,4),(8,2)}G \times H = \{(7, 5), (7, 4), (7, 2), (8, 5), (8, 4), (8, 2)\}

Notice we have 2×3=62 \times 3 = 6 ordered pairs, as expected.

Finding H×GH \times G

  1. Reverse the role: Now we need all ordered pairs (h,g)(h, g) where h∈Hh \in H and g∈Gg \in G. The first coordinate comes from HH, the second from GG.

  2. Pair the first element of HH with all elements of GG:

    • (5,7)(5, 7)
    • (5,8)(5, 8)
  3. Pair the second element of HH with all elements of GG:

    • (4,7)(4, 7)
    • (4,8)(4, 8)
  4. Pair the third element of HH with all elements of GG:

    • (2,7)(2, 7)
    • (2,8)(2, 8)
  5. Combine all pairs:

H×G={(5,7),(5,8),(4,7),(4,8),(2,7),(2,8)}H \times G = \{(5, 7), (5, 8), (4, 7), (4, 8), (2, 7), (2, 8)\}

Again, we have 3×2=63 \times 2 = 6 ordered pairs.

Watch out

A common mistake is thinking G×H=H×GG \times H = H \times G. They are not equal! The Cartesian product is not commutative. Compare (7,5)∈G×H(7, 5) \in G \times H with (5,7)∈H×G(5, 7) \in H \times G—these are different ordered pairs.

Tip

To organize your work, think of the Cartesian product as a table where rows represent elements from the first set and columns represent elements from the second set. Each cell gives you one ordered pair.

G×HG \times H542
7(7, 5)(7, 4)(7, 2)
8(8, 5)(8, 4)(8, 2)
✓Final answer

We have G×H={(7,5),(7,4),(7,2),(8,5),(8,4),(8,2)}G \times H = \{(7, 5), (7, 4), (7, 2), (8, 5), (8, 4), (8, 2)\} and H×G={(5,7),(5,8),(4,7),(4,8),(2,7),(2,8)}H \times G = \{(5, 7), (5, 8), (4, 7), (4, 8), (2, 7), (2, 8)\}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.