Cartesian Product Calculator

Calculate the Cartesian product A x B of sets to get all ordered pairs.

Define Sets

|A| = 3

|B| = 2

Cardinality

|A Γ— B| = |A| Γ— |B| = 3 Γ— 2 = 6

A Γ— B = B Γ— A?NO

Cartesian product is generally NOT commutative

A Γ— B

6 ordered pairs

(1, a)(1, b)(2, a)(2, b)(3, a)(3, b)

B Γ— A

6 ordered pairs

(a, 1)(a, 2)(a, 3)(b, 1)(b, 2)(b, 3)

A Γ— A

9 ordered pairs

(1, 1)(1, 2)(1, 3)(2, 1)(2, 2)(2, 3)(3, 1)(3, 2)(3, 3)

About Cartesian Product

Definition

A Γ— B = {(a, b) | a ∈ A and b ∈ B} - the set of all ordered pairs where the first element comes from A and second from B.

Properties

  • Not commutative: A Γ— B β‰  B Γ— A (usually)
  • |A Γ— B| = |A| Γ— |B|
  • A Γ— βˆ… = βˆ… Γ— A = βˆ