# 完全图

完全图是任意一对不同顶点之间都由一条边相连的简单图。含 \( n \) 个顶点的完全图记作 \( K_n \)，具有 \( \binom{n}{2} = n(n-1)/2 \) 条无向边，且是度为 \( n-1 \) 的正则图。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup><sup> • </sup><sup>[2](https://edshare.gcu.ac.uk/4717/2/index.html)</sup> 在较早的文献中，完全图有时被称为泛图。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 每一对不同的顶点之间恰由一条边相连；含 \( n \) 个顶点的图写作 \( K_n \)<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> |
| 边数 | \( \binom{n}{2} = n(n-1)/2 \) 条边，即三角形数<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> |
| 度 | \( K_n \) 是正则图；\( n \) 个顶点每个的度均为 \( n-1 \)<sup>[2](https://edshare.gcu.ac.uk/4717/2/index.html)</sup> |
| 着色 | \( K_n \) 的色数与团数均为 \( n \)；其自同构群是对称群 \( S_n \)<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> |
| 平面性 | \( K_n \) 在 \( n = 1, 2, 3, 4 \) 时是平面图；\( K_5 \) 是非平面图，且是两个库拉托夫斯基图之一<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> |
| 亏格 | 对 \( n \ge 3 \)，为 \( \lceil (n-3)(n-4)/12 \rceil \)（Ringel 与 Youngs，1968）<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> |
| 生成树 | 由凯莱公式（1889）给出为 \( n^{n-2} \)<sup>[3](https://arxiv.org/abs/1208.4125)</sup> |

## 定义与基本计数

完全图是每一对图顶点之间都由一条边相连的图；等价地说，每个顶点都与其他所有顶点相邻，因此任意两个顶点之间都由长度为 1 的路径相连。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup><sup> • </sup><sup>[4](https://www.csd.uwo.ca/~abrandt5/teaching/DiscreteStructures/Chapter7/graphs.html)</sup> 对每个 \( n \ge 0 \)，存在唯一的含 \( n \) 个顶点的完全图 \( K_n \)，且给定阶数的所有完全图都同构，因此可以直接谈论该阶数的完全图。<sup>[5](https://sites.ualberta.ca/~jsylvest/books/EF/section-graphs-properties.html)</sup><sup> • </sup><sup>[6](https://www.teach.cs.toronto.edu/~ajr/270/eve/notes/graph.html)</sup> 平凡情形各有名称：含 0 个结点的完全图是空图，含 1 个结点的完全图是单点图。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup>

**边的计数。** 由于每一对顶点之间都必须有一条边相连，边数就是从 \( n \) 个顶点中选取 2 个顶点的方法数，即 \( \binom{n}{2} = \frac{n!}{(n-2)!\,2!} = \frac{n(n-1)}{2} \)。<sup>[4](https://www.csd.uwo.ca/~abrandt5/teaching/DiscreteStructures/Chapter7/graphs.html)</sup> 这些数正是三角形数。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> 同样的计数也可由度推出：\( n \) 个顶点每个的度均为 \( n-1 \)，度之和为 \( n(n-1) \)，而握手引理 \( \sum_{v \in V} d(v) = 2|E| \) 将其除以 2。<sup>[2](https://edshare.gcu.ac.uk/4717/2/index.html)</sup><sup> • </sup><sup>[7](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/03%3A_Graph_Theory/11%3A_Basics_of_Graph_Theory/11.03%3A_Deletion_Complete_Graphs_and_the_Handshaking_Lemma)</sup> 正是这种二次增长限制了实际应用：一个含 \( n \) 个结点的全连接网络需要 \( n(n-1)/2 \) 条链路，每个结点需要 \( n-1 \) 个端口，这在所有拓扑中具有最低的时延、直径和平均路径长度，但成本和功耗要求极高，因此一般只在结点数较少时使用。<sup>[8](https://jastoolbox.sandia.gov/topic/joint-architecture-standard-overview/network-topologies/fully-connected/)</sup>

## 代数与结构性质

\( K_n \) 的邻接矩阵形式格外简单：对角线为 0，其余全为 1。<sup>[9](https://archive.lib.msu.edu/crcmath/math/math/c/c477.htm)</sup> \( K_n \) 的色数与团数均为 \( n \)，因为所有顶点两两相邻；其自同构群 \( \mathrm{Aut}(K_n) \) 是对称群 \( S_n \)：顶点的任意置换都保持边集不变。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup>

**与其他图的关系。** \( K_n \) 的图补是含 \( n \) 个顶点的空图，而 \( K_n \) 的单纯形图是超立方体图 \( Q_n \)（Alikhani 与 Ghanbari，2024）。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> \( K_n \) 是星图 \( S_{n+1} \) 的线图，其二部双覆盖图是冠图 \( K_{n,n} - M \)。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> 完全图是测地图，即每一对顶点之间都存在最短路径。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup>

**作为基准的角色。** 含 \( n \) 个顶点的任意简单图都是 \( K_n \) 的子图，这使完全图成为图论中天然的极值参照。<sup>[10](https://www.mathwords.com/c/complete_graph.htm)</sup> 任意图 \( G \) 的团是其完全诱导子图，因此团衡量一个图含有多少完全图结构；在网络模型中，团内的每台计算机都与其他所有计算机直接相连。<sup>[4](https://www.csd.uwo.ca/~abrandt5/teaching/DiscreteStructures/Chapter7/graphs.html)</sup>

## 平面性与嵌入

完全图 \( K_n \) 在 \( n = 1 \)、2、3、4 时是平面图；\( K_4 \) 是四面体图。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup><sup> • </sup><sup>[9](https://archive.lib.msu.edu/crcmath/math/math/c/c477.htm)</sup> 对 \( n = 5 \)、6、7，它是非平面图，其图交叉数等于直线交叉数；盖伊猜想给出了 \( K_n \) 交叉数的一个封闭形式，该式在 \( K_8 \) 处首次与直线交叉数不同：\( \mathrm{rcr}(K_8) = 19 \)，而 \( \mathrm{cr}(K_8) = 18 \)。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup>

\( K_5 \) 有时被称为五胞图或库拉托夫斯基图。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> 库拉托夫斯基定理由库拉托夫斯基（Kazimierz Kuratowski，1896–1980）于 1930 年发表，该定理指出：一个图是平面图，当且仅当它不包含 \( K_5 \) 或完全二部图 \( K_{3,3} \) 的细分；\( K_5 \) 与 \( K_{3,3} \) 被称为库拉托夫斯基图或禁图。<sup>[11](https://faculty.etsu.edu/gardnerr/5340/notes-Bondy-Murty-GT/Bondy-Murty-GT-10-5.pdf)</sup><sup> • </sup><sup>[12](https://pagesperso.g-scop.grenoble-inp.fr/~lazarusf/Enseignement/compuTopo2.pdf)</sup> 在更高亏格的曲面上，这种障碍会减弱：\( K_n \) 的亏格，即无交叉地嵌入它所需的最少环柄数，对 \( n \ge 3 \) 为 \( \lceil (n-3)(n-4)/12 \rceil \)（Ringel 与 Youngs，1968）。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> 在三维空间中，障碍则有所不同：Conway 与 Gordon（1983）证明，\( K_6 \) 的每一种嵌入都是本质链环的，至少含有一对相扣的三角形；而 \( K_7 \) 的任意嵌入都含有一个打结的哈密顿圈。<sup>[9](https://archive.lib.msu.edu/crcmath/math/math/c/c477.htm)</sup>

## 分解与生成树

**哈密顿分解。** 19 世纪 90 年代，Walecki 证明了完全图 \( K_n \) 在 \( n \) 为奇数时容许哈密顿分解，即把边集划分为互不相交的哈密顿圈；在 \( n \) 为偶数时可分解为哈密顿圈外加一个完美匹配（Lucas 1892，Bryant 2007，Alspach 2008）。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup><sup> • </sup><sup>[13](https://www.math.mun.ca/rbailey00/papers/hamhyp.pdf)</sup> Alspach 等人（1990）给出了所有 \( K_n \) 的哈密顿分解的构造。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> 计数版本随之而来：\( K_n \) 的哈密顿分解数为 \( n^{(1+o(1))n^2/2} \)（Glebov、Luria 与 Sudakov）。<sup>[14](https://arxiv.org/abs/1512.07655)</sup>

**生成树。** 凯莱公式发现于 1889 年，给出含 \( n \) 个顶点的完全图的生成树数目为 \( n^{n-2} \)；该公式已通过十余种不同的证明得到确立。<sup>[3](https://arxiv.org/abs/1208.4125)</sup>

**圈与打包。** \( K_n \) 中图圈的数目在 \( n = 3 \)、4、…… 时依次为 1、7、37、197、1172、8018、……（OEIS A002807），其解析表达式为 \( C_n = \sum_{k=3}^{n} \frac{1}{2} \binom{n}{k} (k-1)! \)。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup> 一般而言，尚不清楚一组分别含 1、2、……、\( n-1 \) 条边的树是否总能打包进 \( K_n \)；若将每个族中的选择限制为路径或星图，则总能完成打包（Zaks 与 Liu 1977，Honsberger 1985）。<sup>[1](https://mathworld.wolfram.com/CompleteGraph.html)</sup><sup> • </sup><sup>[9](https://archive.lib.msu.edu/crcmath/math/math/c/c477.htm)</sup>

## 记号

\( K_n \) 中的字母 \( K \) 有各种解释。一本教科书称，该记号来自库拉托夫斯基（Kazimierz Kuratowski）的名字，他的主要研究领域是逻辑学，但他证明了一个涉及完全图的重要定理。<sup>[7](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/03%3A_Graph_Theory/11%3A_Basics_of_Graph_Theory/11.03%3A_Deletion_Complete_Graphs_and_the_Handshaking_Lemma)</sup> 一个 Mathematics Stack Exchange 的讨论提到一种理解：Frank Harary 为纪念库拉托夫斯基，引入了库拉托夫斯基定理中图 \( K_5 \) 与 \( K_{3,3} \) 的记号；而其他来源则声称 \( K \) 代表德语词 komplett；不过完全图的德语名称 vollständiger Graph 并不含字母 K。<sup>[15](https://math.stackexchange.com/questions/400203/why-do-people-use-k-to-represent-a-complete-graph/400215)</sup>

## References

1. [Weisstein, Eric W. "Complete Graph." MathWorld–A Wolfram Resource](https://mathworld.wolfram.com/CompleteGraph.html)
2. [Complete Graphs, Introduction to Graph Theory Pt 1, Glasgow Caledonian University](https://edshare.gcu.ac.uk/4717/2/index.html)
3. [Counting Spanning Trees of Threshold Graphs, arXiv:1208.4125](https://arxiv.org/abs/1208.4125)
4. [7.1. Graphs, Discrete Structures for Computing, Western University](https://www.csd.uwo.ca/~abrandt5/teaching/DiscreteStructures/Chapter7/graphs.html)
5. [Properties of graphs, EF, University of Alberta](https://sites.ualberta.ca/~jsylvest/books/EF/section-graphs-properties.html)
6. [CSC 270: Graph Theory, University of Toronto](https://www.teach.cs.toronto.edu/~ajr/270/eve/notes/graph.html)
7. [11.3: Deletion, Complete Graphs, and the Handshaking Lemma, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Combinatorics_%28Morris%29/03%3A_Graph_Theory/11%3A_Basics_of_Graph_Theory/11.03%3A_Deletion_Complete_Graphs_and_the_Handshaking_Lemma)
8. [Fully Connected, Joint Architecture Standard (JAS) Toolbox, Sandia National Laboratories](https://jastoolbox.sandia.gov/topic/joint-architecture-standard-overview/network-topologies/fully-connected/)
9. [Complete Graph, CRC Concise Encyclopedia archive, Michigan State University](https://archive.lib.msu.edu/crcmath/math/math/c/c477.htm)
10. [Complete Graph — Definition, Formula & Examples, Mathwords](https://www.mathwords.com/c/complete_graph.htm)
11. [10.5. Kuratowski's Theorem, Bondy–Murty notes, East Tennessee State University](https://faculty.etsu.edu/gardnerr/5340/notes-Bondy-Murty-GT/Bondy-Murty-GT-10-5.pdf)
12. [2. Kuratowski's Theorem, lecture notes, G-SCOP, Grenoble](https://pagesperso.g-scop.grenoble-inp.fr/~lazarusf/Enseignement/compuTopo2.pdf)
13. [Hamiltonian decompositions and the Walecki construction, Bailey, Memorial University](https://www.math.mun.ca/rbailey00/papers/hamhyp.pdf)
14. [Glebov, Luria, Sudakov. The number of Hamiltonian decompositions of regular graphs, arXiv:1512.07655](https://arxiv.org/abs/1512.07655)
15. [Why do people use "K" to represent a complete graph?, Mathematics Stack Exchange](https://math.stackexchange.com/questions/400203/why-do-people-use-k-to-represent-a-complete-graph/400215)

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

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Graph theory › Graph theory overview and basic objects

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/complete-graph

English original: https://www.edgepedia.org/complete-graph
