# 自反关系

自反关系是集合 A 上的二元关系 R，其中每个元素都与自身相关：对每个 a ∈ A 都有 (a, a) ∈ R，记作 a R a。<sup>[1](https://mathworld.wolfram.com/Reflexive.html)</sup><sup> • </sup><sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup> A 上的二元关系是 A 的元素的有序对之集合，即 A × A 的子集，因此自反性要求该关系包含笛卡尔积的整条对角线。<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup>

| 关键事实 | 说明 |
|---|---|
| 定义 | 若对每个 a ∈ A 都有 (a, a) ∈ R，则 A 上的 R 是自反的<sup>[1](https://mathworld.wolfram.com/Reflexive.html)</sup> |
| 伴随性质 | 对称：只要 (a, b) ∈ R 就有 (b, a) ∈ R；传递：只要 (a, b) ∈ R 且 (b, c) ∈ R 就有 (a, c) ∈ R<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup> |
| 等价关系 | 自反、对称且传递；任何集合上的恒等关系是典范例子<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup> |
| 偏序 | 自反、反对称且传递；任何集合族上的 ⊆ 是一例<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup> |
| 自反闭包 | R ∪ {(a, a) : a ∈ A}，即包含 R 的最小自反关系<sup>[3](https://cse.sc.edu/~pfu/document/teaching/cs2112/lecture-note.pdf)</sup> |
| 矩阵检验 | 自反关系的邻接矩阵每个对角线元素都等于 1；非自反关系的对角线元素全为 0<sup>[4](https://www.cse.psu.edu/~gik2/teach/Discrete_Math-4.pdf)</sup> |
| 空集 | 空集上的每个关系都平凡地自反、对称且传递<sup>[5](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/An_Introduction_to_Proof_via_Inquiry-Based_Learning_%28Ernst%29/07%3A_New_Page/7.01%3A_New_Page)</sup> |

## 定义与例子

要证明有限集上的关系是自反的，需逐一检查 A 的每个元素 a，确认 (a, a) ∈ R；要推翻它，只缺一个对角线上的对就足够了。<sup>[6](https://louis.pressbooks.pub/discretemathematics/chapter/properties-of-relations/)</sup> 在 A = {1, 2, 3} 上，关系 R = {(1, 1), (2, 2), (3, 3)} 是自反的，同时也是对称且传递的。<sup>[7](https://runestone.academy/ns/books/published/DiscreteMathText/rstrelations8-2.html)</sup> 任何集合上的恒等关系是自反关系的典范例子，另一个例子是所有自然数的有限集合构成的集合上的关系，由满足 a 与 b 元素个数相同的对 (a, b) 组成。<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup>

**量词的范围很要紧。** 定义对 A 的所有元素作全称量化，因此非空集上的空关系不是自反的，因为缺少对角线上的对；然而在空集本身上，每个关系都平凡地自反、对称且传递，因为不存在元素 a 能使 (a, a) 不在 R 中。<sup>[5](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/An_Introduction_to_Proof_via_Inquiry-Based_Learning_%28Ernst%29/07%3A_New_Page/7.01%3A_New_Page)</sup>

## 在关系性质中的地位

自反性是分类关系时最常用的三条性质之一，另外两条是对称性和传递性。<sup>[7](https://runestone.academy/ns/books/published/DiscreteMathText/rstrelations8-2.html)</sup> 自反、对称且传递的关系是等价关系；若 R 是这样的关系且 (a, b) ∈ R，则称 a 与 b 是 R-等价的，而 a 的等价类记作 [a]_R，是 A 中所有与 a 为 R-等价的元素构成的集合。<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup> 自反、反对称且传递的关系称为（自反）偏序；从偏序中去掉所有 (a, a) 对便得到严格偏序，而任何集合族上的子集关系 ⊆ 是偏序的一例。<sup>[2](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)</sup> 自反且传递但不一定反对称的关系称为拟序或预序。<sup>[8](https://www.cs.yale.edu/homes/aspnes/pinewiki/Relations.html)</sup>

## 表示与检验

自反性有直观的图形形式和矩阵形式。在关系的有向图中，自反性意味着每个顶点都有一条回到自身的环，而有向图是识别自反、对称和传递性质的标准工具。<sup>[7](https://runestone.academy/ns/books/published/DiscreteMathText/rstrelations8-2.html)</sup> 在自反关系的邻接矩阵中，从左上到右下的对角线上每个格子都取值为真，等价地说对角线元素全为 1，而非自反关系的对角线全为 0。<sup>[4](https://www.cse.psu.edu/~gik2/teach/Discrete_Math-4.pdf)</sup>

## 自反闭包

关系未必是自反的，闭包运算可以修补这一点。R 的自反闭包定义为 {(a, a) | a ∈ A} ∪ R，即 A 上包含 R 的最小自反关系。<sup>[3](https://cse.sc.edu/~pfu/document/teaching/cs2112/lecture-note.pdf)</sup> 对角线关系 Δ = {(a, a) : a ∈ A} 本身就是集合上最小的自反关系，因此闭包只是补上缺失的自配对。<sup>[9](https://ww2.coastal.edu/dweathers/edm/basic-closures.html)</sup> 用矩阵的话说，计算自反闭包就是把每个对角线元素置为 1。<sup>[3](https://cse.sc.edu/~pfu/document/teaching/cs2112/lecture-note.pdf)</sup>

闭包可以组合起来，从任意关系构造出结构良好的关系。对任意关系 R 取自反、对称、传递闭包，便得到包含 R 的等价关系，有时称为等价闭包。<sup>[8](https://www.cs.yale.edu/homes/aspnes/pinewiki/Relations.html)</sup><sup> • </sup><sup>[10](https://datafield.dev/discrete-mathematics/part-02/chapter-12/)</sup> 相比之下，反对称性不是闭包性质：向非反对称的关系中添加对，无法使它变成反对称的，这正是把任意关系变成偏序比变成等价关系更棘手的原因。<sup>[8](https://www.cs.yale.edu/homes/aspnes/pinewiki/Relations.html)</sup>

## References

1. [Reflexive, Wolfram MathWorld](https://mathworld.wolfram.com/Reflexive.html)
2. [Set Theory > Basic Set Theory, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/set-theory/basic-set-theory.html)
3. [Discrete Mathematics lecture notes, CS 2112, University of South Carolina](https://cse.sc.edu/~pfu/document/teaching/cs2112/lecture-note.pdf)
4. [Discrete Math slides, Penn State CSE](https://www.cse.psu.edu/~gik2/teach/Discrete_Math-4.pdf)
5. [7.1: Relations, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/An_Introduction_to_Proof_via_Inquiry-Based_Learning_%28Ernst%29/07%3A_New_Page/7.01%3A_New_Page)
6. [4.2 Properties of Relations, Logical Thinking through Discrete Mathematics](https://louis.pressbooks.pub/discretemathematics/chapter/properties-of-relations/)
7. [Section 8.2 Reflexive, Symmetric, Transitive Properties, Runestone Discrete Mathematics](https://runestone.academy/ns/books/published/DiscreteMathText/rstrelations8-2.html)
8. [Relations, Yale CS notes (James Aspnes)](https://www.cs.yale.edu/homes/aspnes/pinewiki/Relations.html)
9. [Basic closures, Coastal Carolina University](https://ww2.coastal.edu/dweathers/edm/basic-closures.html)
10. [Chapter 12: Relations, Discrete Mathematics, DataField.Dev](https://datafield.dev/discrete-mathematics/part-02/chapter-12/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › Formal logic and foundations › Set theory › Elementary set theory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/reflexive-relation

English original: https://www.edgepedia.org/reflexive-relation
