Mathematical-Reasoning Β· Unit 18 Β· Video 2 Β· Interactive Practice

The Cartesian Product A Γ— B: Listing Pairs, Testing Laws

IKey Formulas

StatementName
(x1,y1)=(x2,y2)β€…β€ŠβŸΊβ€…β€Šx1=x2Β andΒ y1=y2(x_1, y_1) = (x_2, y_2) \iff x_1 = x_2 \text{ and } y_1 = y_2Equality of ordered pairs
AΓ—B={(x,y)∣x∈AΒ andΒ y∈B}A \times B = \{(x, y) \mid x \in A \text{ and } y \in B\},   A2=AΓ—AA^2 = A \times ACartesian product
(x,y)βˆ‰CΓ—Dβ€…β€ŠβŸΊβ€…β€Šxβˆ‰CΒ orΒ yβˆ‰D(x, y) \notin C \times D \iff x \notin C \text{ or } y \notin DNegated membership (De Morgan)
AΓ—(B∩C)=(AΓ—B)∩(AΓ—C)A \times (B \cap C) = (A \times B) \cap (A \times C), and likewise with βˆͺ\cup and βˆ’-Observed for A={1,2,3}A = \{1, 2, 3\}, B={a,b}B = \{a, b\}, C={a,c}C = \{a, c\}

Key Insight: Order matters: (1,2)≠(2,1)(1, 2) \neq (2, 1), and B×A≠A×BB \times A \neq A \times B for A={1,2,3}A = \{1, 2, 3\}, B={a,b}B = \{a, b\}, even though both products have 3⋅2=63 \cdot 2 = 6 elements.

IIMembership, One Coordinate at a Time

A pair lies in a product exactly when each coordinate belongs to its own factor.

IIIProducts with ∩\cap, βˆͺ\cup and βˆ’-

Does AΓ—(B∩C)A \times (B \cap C), AΓ—(BβˆͺC)A \times (B \cup C) or AΓ—(Bβˆ’C)A \times (B - C) match the same operation on AΓ—BA \times B and AΓ—CA \times C?

A
B
C

πŸ’‘ Agreement for every choice of AA, BB and CC tried here is evidence; that each law holds for all sets is a claim that needs a proof.

IVQuiz Questions

Problem 1 Β· Build a Product

Given: P={0,1}P = \{0, 1\} and Q={x,y,z}Q = \{x, y, z\} β€” find an element of QΓ—PQ \times P and the number of elements of QΓ—PQ \times P.

Which pair is an element of QΓ—PQ \times P?

How many elements does QΓ—PQ \times P have?

βœ… Correct! In QΓ—PQ \times P the first coordinate comes from QQ and the second from PP; there are 3β‹…2=63 \cdot 2 = 6 such pairs.
❌ Order matters. (0,x)(0, x) has first coordinate 0βˆ‰Q0 \notin Q, so it lies in PΓ—QP \times Q, not QΓ—PQ \times P.
❌ Not quite. The second coordinate yy must be in P={0,1}P = \{0, 1\}, and yβˆ‰Py \notin P; (x,y)(x, y) belongs to QΓ—QQ \times Q.
❌ Not quite. The first coordinate 11 must be in Q={x,y,z}Q = \{x, y, z\}, and 1βˆ‰Q1 \notin Q; (1,1)(1, 1) belongs to PΓ—PP \times P.
❌ That adds the sizes. 3+2=53 + 2 = 5 counts elements of QQ and PP together; each of the 33 first coordinates pairs with each of the 22 second coordinates, so multiply.
❌ That is ∣QΓ—Q∣|Q \times Q|. The second coordinate has only 22 choices, from PP, not 33.
❌ That is 232^3. A product's size is ∣Qβˆ£β‹…βˆ£P∣=3β‹…2|Q| \cdot |P| = 3 \cdot 2, not a power.
Show solution

By definition QΓ—P={(u,v)∣u∈QΒ andΒ v∈P}Q \times P = \{(u, v) \mid u \in Q \text{ and } v \in P\}. Pair each element of QQ with each element of PP:

QΓ—P={(x,0),(x,1),(y,0),(y,1),(z,0),(z,1)}Q \times P = \{(x, 0), (x, 1), (y, 0), (y, 1), (z, 0), (z, 1)\}

So (x,1)∈QΓ—P(x, 1) \in Q \times P, since x∈Qx \in Q and 1∈P1 \in P. The roster has 3β‹…2=63 \cdot 2 = 6 pairs. The pair (0,x)(0, x) is its reversal and lies in PΓ—QP \times Q instead.

Problem 2 Β· Negating Membership

Given: C={1,2,3}C = \{1, 2, 3\} and D={2,4}D = \{2, 4\} β€” find the meaning of (x,y)βˆ‰CΓ—D(x, y) \notin C \times D and a pair outside CΓ—DC \times D.

(x,y)βˆ‰CΓ—D(x, y) \notin C \times D means

Which pair is not in CΓ—DC \times D?

βœ… Correct! Membership is a conjunction, so its negation is a disjunction: one failing coordinate is enough, and in (2,3)(2, 3) only the second coordinate fails.
❌ Too strong. By De Morgan, Β¬(P∧Q)≑¬P∨¬Q\neg(P \wedge Q) \equiv \neg P \vee \neg Q, not Β¬P∧¬Q\neg P \wedge \neg Q. The pair (5,2)(5, 2) is not in CΓ—DC \times D even though 2∈D2 \in D.
❌ Not quite. This keeps x∈Cx \in C un-negated. With x∈Cx \in C and y∈Dy \in D it is true, yet then (x,y)∈CΓ—D(x, y) \in C \times D.
❌ Only one case. This describes pairs whose second coordinate alone fails; it misses pairs such as (5,2)(5, 2), whose first coordinate fails.
❌ It is in. 1∈C1 \in C and 2∈D2 \in D, so (1,2)∈CΓ—D(1, 2) \in C \times D.
❌ It is in. 3∈C3 \in C and 4∈D4 \in D, so (3,4)∈CΓ—D(3, 4) \in C \times D.
❌ It is in. Both coordinates may be the same number: 2∈C2 \in C and 2∈D2 \in D, so (2,2)∈CΓ—D(2, 2) \in C \times D.
Show solution

(x,y)∈CΓ—Dβ€…β€ŠβŸΊβ€…β€Šx∈CΒ andΒ y∈D(x, y) \in C \times D \iff x \in C \text{ and } y \in D. Negating both sides and applying De Morgan's law Β¬(P∧Q)≑¬P∨¬Q\neg(P \wedge Q) \equiv \neg P \vee \neg Q:

(x,y)βˆ‰CΓ—Dβ€…β€ŠβŸΊβ€…β€Šxβˆ‰CΒ orΒ yβˆ‰D(x, y) \notin C \times D \iff x \notin C \text{ or } y \notin D

Now test the pairs against C={1,2,3}C = \{1, 2, 3\} and D={2,4}D = \{2, 4\}:

  • (1,2)(1, 2): 1∈C1 \in C, 2∈D2 \in D, so it is in CΓ—DC \times D.
  • (3,4)(3, 4): 3∈C3 \in C, 4∈D4 \in D, so it is in CΓ—DC \times D.
  • (2,3)(2, 3): 2∈C2 \in C but 3βˆ‰D3 \notin D, so it is not in CΓ—DC \times D.
  • (2,2)(2, 2): 2∈C2 \in C, 2∈D2 \in D, so it is in CΓ—DC \times D.

Problem 3 Β· Difference and Union of Products

Given: A={1,2}A = \{1, 2\}, B={a,b,c}B = \{a, b, c\}, C={b,c,d}C = \{b, c, d\} β€” find (AΓ—B)βˆ’(AΓ—C)(A \times B) - (A \times C) and the number of elements of (AΓ—B)βˆͺ(AΓ—C)(A \times B) \cup (A \times C).

(AΓ—B)βˆ’(AΓ—C)=(A \times B) - (A \times C) =

How many elements does (AΓ—B)βˆͺ(AΓ—C)(A \times B) \cup (A \times C) have?

βœ… Correct! The difference is AΓ—(Bβˆ’C)=AΓ—{a}A \times (B - C) = A \times \{a\}, and the union is AΓ—(BβˆͺC)=AΓ—{a,b,c,d}A \times (B \cup C) = A \times \{a, b, c, d\} with 2β‹…4=82 \cdot 4 = 8 pairs.
❌ Coordinates reversed. Every pair of AΓ—BA \times B has its number first, so (a,1)(a, 1) cannot be in the difference.
❌ Not quite. The common factor AA is not subtracted from itself; only pairs of AΓ—BA \times B that also lie in AΓ—CA \times C are removed, and (1,a)(1, a) is not in AΓ—CA \times C.
❌ Too many pairs. (1,d)(1, d) and (2,d)(2, d) are not in AΓ—BA \times B at all, since dβˆ‰Bd \notin B; a difference keeps only pairs from the first set.
❌ Overlap counted twice. 6+6=126 + 6 = 12 counts the 44 pairs with second coordinate bb or cc twice; subtract them once.
❌ That is the intersection. (AΓ—B)∩(AΓ—C)(A \times B) \cap (A \times C) has 44 pairs; the union also contains the pairs ending in aa or dd.
❌ Wrong overlap. 6+6βˆ’26 + 6 - 2 subtracts ∣B∩C∣=2|B \cap C| = 2, but the shared pairs number ∣Aβˆ£β‹…βˆ£B∩C∣=2β‹…2=4|A| \cdot |B \cap C| = 2 \cdot 2 = 4.
Show solution
AΓ—B={(1,a),(1,b),(1,c),(2,a),(2,b),(2,c)}A \times B = \{(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)\} AΓ—C={(1,b),(1,c),(1,d),(2,b),(2,c),(2,d)}A \times C = \{(1, b), (1, c), (1, d), (2, b), (2, c), (2, d)\}

The shared pairs are the 44 with second coordinate bb or cc. Removing them from AΓ—BA \times B leaves

(AΓ—B)βˆ’(AΓ—C)={(1,a),(2,a)}=AΓ—{a}=AΓ—(Bβˆ’C).(A \times B) - (A \times C) = \{(1, a), (2, a)\} = A \times \{a\} = A \times (B - C).

For the union, count the shared pairs once:

∣(AΓ—B)βˆͺ(AΓ—C)∣=6+6βˆ’4=8,|(A \times B) \cup (A \times C)| = 6 + 6 - 4 = 8,

which matches AΓ—(BβˆͺC)=AΓ—{a,b,c,d}A \times (B \cup C) = A \times \{a, b, c, d\}, with 2β‹…4=82 \cdot 4 = 8 pairs.

Problem 4 Β· Overlapping Factors in Both Orders

Given: A={1,2}A = \{1, 2\} and B={1,2,3}B = \{1, 2, 3\} β€” find the number of elements of (AΓ—B)∩(BΓ—A)(A \times B) \cap (B \times A).

βœ… Correct! A pair in both products has each coordinate in both AA and BB, so the intersection is {1,2}Γ—{1,2}\{1, 2\} \times \{1, 2\}, with 44 pairs.
❌ Same size is not same set. Both products have 66 elements, but (1,3)∈AΓ—B(1, 3) \in A \times B while (1,3)βˆ‰BΓ—A(1, 3) \notin B \times A, since 3βˆ‰A3 \notin A; they are not equal.
❌ Not disjoint here. For factors {1,2,3}\{1, 2, 3\} and {a,b}\{a, b\} the two orders share no pair, but here the factors overlap: (1,2)(1, 2) lies in both products.
❌ That is ∣BΓ—B∣|B \times B|. Both coordinates must lie in AA as well as in BB, which rules out every pair containing 33.
Show solution

(x,y)∈AΓ—B(x, y) \in A \times B means x∈Ax \in A and y∈By \in B; (x,y)∈BΓ—A(x, y) \in B \times A means x∈Bx \in B and y∈Ay \in A. Both together say x∈A∩Bx \in A \cap B and y∈A∩By \in A \cap B, so

(AΓ—B)∩(BΓ—A)=(A∩B)Γ—(A∩B)={1,2}Γ—{1,2}.(A \times B) \cap (B \times A) = (A \cap B) \times (A \cap B) = \{1, 2\} \times \{1, 2\}.

That is {(1,1),(1,2),(2,1),(2,2)}\{(1, 1), (1, 2), (2, 1), (2, 2)\}, with 2β‹…2=42 \cdot 2 = 4 elements. The pairs (1,3)(1, 3) and (2,3)(2, 3) of AΓ—BA \times B, and (3,1)(3, 1) and (3,2)(3, 2) of BΓ—AB \times A, are each in only one product.

Solved: 0 / 4