Every edge has two ends
So counting (vertex, incident edge) pairs by vertex gives the degree sum, and by edge gives 2|E|. That is the whole proof.
Each edge contributes 2 to the total degree, so Σ deg(v) = 2|E|. The immediate corollary — the number of odd-degree vertices is even — is used throughout the course.
Core ideas
The theorem is a double count and its corollary rules out whole families of graphs at a glance.
So counting (vertex, incident edge) pairs by vertex gives the degree sum, and by edge gives 2|E|. That is the whole proof.
The total is even, so an odd number of odd degrees is impossible. This one line settles many existence questions.
Isomorphic graphs have the same sorted degrees, so different sequences prove non-isomorphism. Equal sequences prove nothing.
The material
The definition, the theorem, and what it rules out.
The degree deg(v) of a vertex is the number of edges incident to it. A vertex of degree 0 is isolated; one of degree 1 is a leaf or pendant vertex.
For any graph, Σ_{v ∈ V} deg(v) = 2|E|.
Count the incidences — pairs consisting of a vertex and an edge meeting it — in two ways.
By vertex: each v contributes deg(v) incidences, giving Σ deg(v).
By edge: each edge has exactly two ends, giving 2|E|.
One set counted twice, so the two expressions are equal.
□
This is a combinatorial proof in the sense of “Combinatorial Proof” in Combinatorics and Counting, and it is the cleanest example on the path: name the objects, count them two ways, conclude.
In any graph, the number of vertices of odd degree is even.
Split the degree sum into even-degree and odd-degree vertices. The total is 2|E|, which is even, and the even-degree part is even, so the odd-degree part is even too.
A sum of odd numbers is even exactly when there are an even number of them.
□
There is no graph on 5 vertices in which every vertex has degree 3: that would be five odd degrees, an odd count. There is no party of 5 people where everyone shakes exactly 3 hands. The argument is one line and does not depend on the structure at all.
The degree sequence is the list of degrees, usually sorted descending. A graph is k-regular if every vertex has degree k.
A k-regular graph on n vertices has nk/2 edges. It exists only if nk is even — so k-regular graphs on an odd number of vertices require k even.
Not every list of numbers is a degree sequence. (4, 3, 3, 2, 2) sums to 14, so |E| = 7, and it turns out to be realisable. (4, 4, 4, 4, 4) sums to 20 but requires each of five vertices to be adjacent to four others — that is K₅, which is fine. (5, 3, 3, 2, 1) is impossible in a simple graph on five vertices: a vertex cannot have degree 5 when only 4 others exist.
The Erdős–Gallai theorem gives a complete criterion, and the Havel–Hakimi algorithm constructs a graph when one exists. Both are beyond this course; the two necessary conditions above — even sum, and no degree exceeding n − 1 — catch most cases.
Interactive
Your graph, the course's algorithms
Method
Sum first; it is often the whole argument.
It must be even, and it equals 2|E|. That is one edge count for free.
If the count is odd, no such graph exists. This settles many existence questions before anything is drawn.
A vertex in a simple graph on n vertices has at most n − 1 neighbours.
Different sorted sequences prove two graphs non-isomorphic. Equal sequences prove nothing, as “Subgraphs and Graph Isomorphism” shows.
All three are settled by counting degrees.
Case 4 shows the parity test alone is not sufficient. Two necessary conditions — even sum and no degree above n − 1 — catch most impossible sequences, and the full criterion is the Erdős–Gallai theorem.
Decide whether a graph exists with degree sequence (4,4,3,3,2,2), and say which test settles it. The sum is 18, so |E| = 9, and no degree exceeds 5 — so try to build one.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.