1. Degrees, edges and special graphs
A simple graph has no loops and no multiple edges. The degree is the number of edges at ; and are the minimum and maximum degrees.
Handshaking lemma: . So the number of odd-degree vertices is always even.
| Graph | Vertices | Edges | Note |
|---|---|---|---|
| Complete | -regular | ||
| Complete bipartite | |||
| Cycle | 2-regular | ||
| Tree | connected, no cycle | ||
| Forest with trees | |||
| -regular graph | needs even |
There are labelled simple graphs on vertices. The complement has the same vertices and exactly the edges missing from , so .
Is a degree sequence graphical? (Havel-Hakimi) Sort in non-increasing order, remove the first value , subtract 1 from the next values, re-sort and repeat. The sequence is graphical if you reach all zeros, and not graphical if a negative appears or exceeds the number of remaining entries. An odd degree sum fails at once.