The degrees sum to twice the edge count
Compute the degree sum from an edge count and vice versa. The idea in plain words, a worked example, and a check with the answers shown — part of the free Quantitative Reasoning guides.
Add every vertex's degree together and something fixed happens: the total is exactly twice the number of edges.
The reason is one sentence. Each edge has two ends, so it adds 1 to the degree of each of its two vertices, and therefore contributes exactly 2 to the sum. Count the edges once and you have counted 2 per edge.
That is the handshake lemma, and it is worth knowing in both directions:
- - given the degrees, you can find the edge count — it is half the sum;
- - given the edge count, you know what the degrees must total.
It also immediately gives a third fact. The sum of the degrees is even (twice an integer). A sum is even exactly when it has an even number of odd terms, so:
The number of vertices of odd degree is always even.
That, not the sum itself, is what Euler's test turns on.
Almost every counting question in graph theory is checked by it.
It gives the edge count from a degree list in one addition. It gives the missing degree when all the others are known. It proves that no graph has exactly one vertex of odd degree, which is the reason Euler's test can say "zero odd vertices gives a circuit, exactly two a trail, and four or more neither" — three odd vertices is not a case that can arise.
It also rules sequences out. On vertices, a degree sequence with an odd sum cannot be a graph's, and neither can one containing a degree above. Those two tests settle most impossible sequences without any construction.
What it does NOT do is prove a sequence possible. Passing both tests is necessary, not sufficient; a fuller test is needed to decide existence, which is why this section's questions ask whether a sequence is possible and never claim that passing means yes.
A graph has 9 edges and six vertices, five of whose degrees are 2, 2, 3, 3 and 4. Find the sixth degree. Then find the number of odd-degree vertices.
Step one — the total. Nine edges give a degree sum of.
Step two — the five known degrees..
Step three — the sixth..
Step four — the odd count. The degrees are 2, 2, 3, 3, 4, 4, so two vertices have odd degree. Two is even, as the lemma requires.
Step five — check the other bound. The largest degree is 4 and, so no degree exceeds the maximum possible. The sequence passes both tests, which is as far as these tests go.
- Compute the degree sum from an edge count and vice versa
- Find a missing degree from the identity
- Use the even-sum and n-1 bounds to rule out impossible degree sequences
- 1. A graph has 12 edges. What do its degrees sum to?
- 2. Degrees 1, 2, 3, 4 — is that possible?
- 3. Degrees 3, 3, 3 — is that possible?
Answers
1. 24. 2. Sum 10, even, and the largest degree 4 is at most... on four vertices, so a degree of 4 exceeds it. Impossible. 3. Sum 9, odd — impossible. Half of 9 is not a whole number of edges.