数学史

欧拉示性数 V − E + F

对凸多面体,顶点数减棱数加面数总是等于 2。在四面体、立方体、八面体、环面和双环面之间切换,看到公式给出 2、0 和 −2,并理解亏格如何决定结果。

6 分钟难度 2/3交互演示区域不展示广告。
Vertices V8Edges E12Faces F6V − E + F2Genus g0
convex polyhedron wireframe

V − E + F = 8 − 12 + 6 = 2 · genus g = 0 · expected 2 − 2g = 2 ✓

Convex polyhedron: χ = 2Six square faces. Euler checked his formula against many such solids.
Euler, 1750Leonhard Euler noticed that for convex polyhedra the counts of vertices, edges, and faces always satisfy V − E + F = 2. The formula became a founding result of topology: the quantity V − E + F is now called the Euler characteristic, and it stays the same when a shape is bent or stretched, as long as it is not torn. A sphere gives 2; each hole, called a handle or genus, subtracts 2.
Counting is the pointThe torus and double-torus counts here come from a small grid model of the surface, so the exact numbers are illustrative. What matters is the invariant: χ = 2 − 2g. Face counts depend on how finely you subdivide a surface, but V − E + F does not, for a fixed shape.

Switch between solids and watch V − E + F. For a tetrahedron, cube, and octahedron it is always 2, even though their individual counts differ. Drill a hole and the number drops to 0; add a second hole and it drops to −2. The pattern is V − E + F = 2 − 2g, where g is the genus, the number of handles.

你看到的是什么

1

统计多面体的顶点数 V、棱数 E 和面数 F。对每个凸多面体,V − E + F 都等于 2。

2

在曲面上打一个洞,它成为环面,此时 V − E + F 等于 0。再加一个洞,结果变成 −2。

3

一般地,V − E + F = 2 − 2g,其中 g 是亏格,即把手或洞的数量。拉伸或弯曲形状不会改变这个量。

为什么重要

欧拉多面体公式是拓扑学的奠基性结果。它开启了对连续变形下不变性质的研究,并通向曲面、不变量以及几何与数据分析中广泛使用的欧拉示性数。

复杂度与细节

已知各项计数时为 O(1)。若在含 V 个顶点的网格上核验公式,代价为 O(V + E + F)。

常见问题

为什么一个洞会让结果改变 2?+

增加一个把手会改变拓扑。通式为 V − E + F = 2 − 2g,因此亏格每增加 1,数值就减少 2。球面亏格为 0,环面为 1,双环面为 2。

面数会随网格绘制方式改变吗?+

会。细分一个面会增加棱和顶点,因此各项计数会变化。但只要曲面本身不变,V − E + F 就保持不变,这正是它被称为不变量的原因。