Write down the vertex set and the edge set
V={A,B,C,D,E,F,G},E={AB,AC,AD,BC,BE,CF,DE,DF,EF,FG} The graph is completely described by these two lists.
Count the vertices and the edges
∣V∣=7,∣E∣=10 The graph has 7 vertices and 10 edges.
Work out the degree of every vertex
deg(A)=3,deg(B)=3,deg(C)=3,deg(D)=3,deg(E)=3,deg(F)=4,deg(G)=1 For each vertex, count how many edges have that vertex as an endpoint.
Find the degree of vertex A
A: AB,AC,AD ⇒ deg(A)=3 A is joined to B, C, D. The degree (valency) of a vertex is the number of edges at it.
Find the degree of vertex B
B: BA,BC,BE ⇒ deg(B)=3 B is joined to A, C, E. The degree (valency) of a vertex is the number of edges at it.
Find the degree of vertex C
C: CA,CB,CF ⇒ deg(C)=3 C is joined to A, B, F. The degree (valency) of a vertex is the number of edges at it.
Find the degree of vertex D
D: DA,DE,DF ⇒ deg(D)=3 D is joined to A, E, F. The degree (valency) of a vertex is the number of edges at it.
Find the degree of vertex E
E: EB,ED,EF ⇒ deg(E)=3 E is joined to B, D, F. The degree (valency) of a vertex is the number of edges at it.
Find the degree of vertex F
F: FC,FD,FE,FG ⇒ deg(F)=4 F is joined to C, D, E, G. The degree (valency) of a vertex is the number of edges at it.
Find the degree of vertex G
G: GF ⇒ deg(G)=1 G is joined to F. The degree (valency) of a vertex is the number of edges at it.
Add the degrees of all the vertices
v∈V∑deg(v)=3+3+3+3+3+4+1=20 The degree sum counts each edge twice, once at each end.
Apply the handshaking lemma
v∈V∑deg(v)=2∣E∣=2×10=20 Every edge contributes 1 to the degree of each of its two endpoints.
List the vertices of odd degree
odd: {A,B,C,D,E,G}(6 of them) The number of odd vertices is always even, by the handshaking lemma.
Recall the handshaking lemma
v∈V∑deg(v)=2∣E∣ The degrees of all the vertices add up to twice the number of edges.
Recall that the number of odd vertices is even
#{v:deg(v) odd}≡0(mod2) This follows at once from the handshaking lemma.
Write the degrees in descending order
(4,3,3,3,3,3,1) This list of degrees is the degree sequence of G.