What’s happening here?
Every undirected edge has two endpoints, so it contributes two to the total degree count. This is a counting identity: you can count connections by their edges or by the endpoints incident to vertices. A self-loop, if allowed, contributes two to its vertex’s degree.
In a finite undirected graph, the sum of vertex degrees is twice the number of edges.
A worked example.
- 1
Add the degrees: 3 + 1 + 1 + 1 = 6.
- 2
Each edge contributes to two endpoints.
- 3
The graph has 6/2 = 3 edges.
A common wrong turn.
A degree counts edges incident to one vertex. Adding degrees counts each undirected edge twice.
Why this works.
Count edge endpoints instead of edges. Every undirected edge supplies two endpoints, including a loop’s two incidences at one vertex. The total degree is therefore even, and the number of odd-degree vertices must also be even.
Check it. Apply it. Explain it.
Three questions, with hints and worked feedback. Your score counts your first submitted answer. Practice only · scores stay in this session and do not enter your account history.
Graph degrees
Videos and further reading
Lecture 11: Graphs and coloring
ocw.mit.edu · New tabHandshaking lemma
en.wikipedia.org · New tabThese resources open in a new tab on the publisher’s website.
Finished reading?Stored in this browser; separate from practice grades.