🔰二元關係
兩個集合 A、B (A、B可以是同一個集合) 的元素之間的關係 ,稱為「二元關係」(binary relation),事實上就是一種A到B的「對應關係」,通常以:
的子集 (subset) 來表示。如果我們用 來表示此二元關係,則:
代表 a 對 b 有此關係。
此時我們用 表示。
(⭐ 注意: 不代表有 ❗)
二元關係常用表格來表示 (👉 二元關係屬性)

二元關係
equivalence relations: satisfy reflexivity, symmetry, and transitivity. 💠 example:
partial orders: satisfy reflexivity, antisymmetry, and transitivity. 💠 example: (is a subset of)
全序╱total ordering: satisfy totality, antisymmetry, and transitivity. 💠 example:
functions: satisfy a special property called functional dependence. In a function , each element of is associated with exactly one element of , that is,
.
Last updated
Was this helpful?