Read this lesson as text
Relations as Sets
Discrete Math · Axiom Academy
Understanding how relations are formally defined as subsets of Cartesian products, and how the same relation can be represented as ordered pairs, matrices, or directed graphs. The Cartesian product is the set of all possible ordered pairs (a, b) where and . A relation is simply a selection of some (or all, or none) of these pairs. This same relation R can be represented in three equivalent ways: Set notation: The ordered pairs themselves Matrix representation: A grid showing which pairs are included Directed graph: Arrows from elements of A to elements of B Watch how the same relation transforms between different representations. Each shows the identical mathematical relationship in a different visual form. 4. Why Multiple Representations Matter Different representations make different aspects of relations easier to understand and work with: Ordered Pairs: Most explicit definition, easy to verify membership Matrix: Excellent for computing compositions, easy to count relations Graph: Best for visualizing structure, identifying patterns like reflexivity or transitivity
This is the written version of the interactive lesson above. See the full Discrete Math course.