A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Cartesian Product and Ordered Pairs

College Depth 59 in the knowledge graph I know this Set as goal
1,862topics build on this
281prerequisites beneath it
See this on the map →
Set Membership and NotationRelations as Subsets of Cartesian Products
cartesian-product ordered-pairs relations

Core Idea

The Cartesian product A × B is the set of all ordered pairs (a,b) where a ∈ A and b ∈ B. Two ordered pairs are equal iff (a,b) = (c,d) means a = c and b = d. This construction provides the formal foundation for relations, functions, and multi-dimensional structures in set theory.

Explainer

Start from something you already know: a set is an unordered collection of distinct elements. The set {1, 2} is exactly the same as {2, 1}. But many mathematical objects are inherently ordered — the point (3, 5) in a coordinate plane is not the same as the point (5, 3). To talk about ordered structure within set theory, we need a new construction, and that is what the ordered pair provides.

The formal definition of an ordered pair is (a, b) = {{a}, {a, b}}. This encoding (due to Kuratowski) looks strange at first, but it achieves precisely one thing: it forces the two components to be distinguishable. You can verify that (a, b) = (c, d) if and only if a = c and b = d, while unordered sets {a, b} = {c, d} whenever the elements match in any order. The set-theoretic encoding is mostly scaffolding — what matters is the equality rule. Once you have ordered pairs, everything else follows from your prerequisite concept of set membership: you already know how to test whether something belongs to a set, and that is all you need to build the Cartesian product.

The Cartesian product A × B is defined as the set of all ordered pairs (a, b) where a ∈ A and b ∈ B. If A = {1, 2} and B = {x, y}, then A × B = {(1,x), (1,y), (2,x), (2,y)} — every element of A paired with every element of B, in that order. The name honors René Descartes, whose coordinate geometry pairs real numbers exactly this way: ℝ × ℝ is the Cartesian plane, where every point is an ordered pair of real numbers. The size of A × B is |A| · |B|, since each of |A| choices from A independently combines with each of |B| choices from B.

The payoff of this construction is that it makes relations and functions set-theoretic objects. A binary relation between A and B is simply a subset of A × B — a collection of ordered pairs. The relation "less than" on ℕ is the set {(0,1), (0,2), (1,2), (0,3), ...}. A function f: A → B is a special kind of relation — a subset of A × B where every element of A appears as a first component exactly once. This means everything you want to say about functions and relations can be reduced to membership questions about sets of ordered pairs, giving set theory its remarkable expressive power.

The construction extends naturally: the n-fold Cartesian product A₁ × A₂ × ... × Aₙ is the set of ordered n-tuples, and A × A × A can be written A³. Sequences, vectors, databases rows — all of these are instances of Cartesian products. Once you understand that ordered pairs are just a device for encoding position into a set, the entire tower of relational mathematics becomes accessible: relations build on ordered pairs, functions build on relations, and virtually every mathematical structure you will study is, at bottom, a set with some distinguished relations and functions on it.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Making 10 as an Addition StrategyAddition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts Through 10Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsVariables in LogicSet Notation BasicsSet Membership and NotationCartesian Product and Ordered Pairs

Longest path: 60 steps · 281 total prerequisite topics

Prerequisites (1)

Leads To (1)