The Degree of A Vertex
The Degree of A Vertex
1 0 3 2
There’s a lot of associated terminology. A vertex with degree 0 is called an isolated vertex, and a
vertex with degree 1 is sometimes called a leaf. A graph G has a maximum degree (the largest
degree of any vertex) and a minimum degree (the smallest degree of any vertex).
We write ∆(G) for the maximum degree and δ(G) for the minimum degree. Graph theory uses a
lot of Greek letters for properties of graphs; this is only the beginning.
The first tool we’ll need to make use of degrees is the Handshake Lemma (also known as the degree
sum formula).
Lemma 1.1. In any graph G, the vertex degrees add up to twice the number of edges:
X
degG (v) = 2|E(G)|.
v∈V (G)
Proof. Many proofs exist; for the sake of practice, let’s do a proof by induction. We will prove that
for any graph with m edges, the sum of degrees is 2m, by induction on m.
The base case is m = 0. Here, we have a graph with no edges. No matter how many vertices we
have, their degrees are all 0, the sum of the degrees is 0, and 2m is also 0.
Assume that the degree sum formula holds for all (m − 1)-edge graphs. Let G be a graph with
m ≥ 1 edges, and let xy be any edge of G. We can apply the inductive hypothesis to G − xy (the
graph we get by deleting edge xy from G), a graph with m − 1 edges.
1
This document comes from the Math 3322 course webpage: http://facultyweb.kennesaw.edu/mlavrov/
courses/3322-fall-2024.php
1
What is the relationship between the degrees of G and the degrees of G − xy? Both x and y have
one extra incident edge in G they don’t have in G − xy: edge xy itself. So
degG (x) = 1 + degG−xy (x) and degG (y) = 1 + degG−xy (y).
For any other vertex v, G − xy and G have the same number of edges, so we have
degG (v) = degG−xy (v).
Also, G − xy and G have the same set of vertices. So if we add up the vertex degrees in G − xy
and G, the result is that
X X
degG (v) = 2 + degG−xy (v).
v∈V (G) v∈V (G−xy)
Applying the inductive hypothesis, we get that the degree sum in G − xy is 2(m − 1), so the degree
sum in G is 2(m − 1) + 2 = 2m.
By induction, the degree sum formula holds for all graphs.
2
Corollary 1.2. Every graph G must have an even number of odd vertices (possibly 0).
Proof. By the handshake lemma, the sum of degrees is always an even number (twice the number
of edges.) If you subtract of all the even degrees, you still have an even number. So the sum of all
odd degrees is even.
The sum of an odd number of odd values is odd. The sum of an even number of odd values is even.
So there must be an even number of odd degrees to sum, if we want an even total.
Proof. Let (v1 , v2 , . . . , vk ) be a longest path in G. (We know a longest path exists because there’s
an upper limit to the length of a path: the number of vertices in G.)
We know δ(G) ≥ 2 and therefore in particular deg(v1 ) ≥ 2. Is it possible that v1 has a neighbor w
which is not one of v2 , . . . , vk ? It’s not! In that case, (w, v1 , v2 , . . . , vk ) would be a longer path.
So v1 has at least two neighbors, which are all in the set {v2 , v3 , . . . , vk }. One of v1 ’s neighbors is
v2 : the next vertex on the path. This doesn’t help us. But there must be another vertex vi with
i > 2 which is adjacent to v1 .
Then (v1 , v2 , . . . , vi , v1 ) is the cycle we wanted.
3
Theorem 3.1. Let G be a graph with average degree at least d. Then G contains a subgraph H
with δ(H) > d2 .
This could be done using another application of the extremal principle: if you pick a subgraph
H with the highest average degree, then it turns out to work. Rather than do this, we will use
induction, so that we get to practice induction. (Take note of how we structure this proof to avoid
the “induction trap”!)
We’re assuming G has at least 21 nd edges. Also, if δ(G) > d2 , then we are already done: we were
looking for a subgraph with this minimum degree, and G itself can be that subgraph! So assume
that G has a vertex v with deg(v) ≤ d2 .
In that case, let G′ = G − v: the graph obtained from G by deleting v. We know that G′ has n − 1
vertices and at least 12 nd − d2 edges: we started with at least 12 nd edges, and we lost at most d2 of
them from deleting v. This simplifies to 12 (n − 1)d, so G′ has at least 12 (n − 1)d edges, which means
G′ has average degree at least d, too!
By applying the inductive hypothesis to G′ , we learn that G′ has a subgraph H with δ(H) > d2 .
Since H is a subgraph of G′ , and G′ is a subgraph of G, we have found the subgraph of G we
wanted.
By induction, the theorem holds for graphs with any number of vertices.
Corollary 3.2. If G has n vertices and at least n edges, then G contains a cycle.
Proof. If G has n vertices and at least n edges, it has average degree at least d = 2. By Theorem 3.1,
G has a subgraph H with δ(H) > d2 = 1. If δ(H) > 1, then δ(H) ≥ 2, so by Theorem 2.1, H
contains a cycle. This is also a cycle in G.
4
4 Practice problems
1. In an earlier lecture, we gave an abstract definition of the Petersen graph: the vertices
correspond to two-element subsets of {1, 2, 3, 4, 5}, and two vertices are adjacent if the subsets
are disjoint.
(a) Without going back to looking at a drawing of the Petersen graph, compute the number
of edges it has directly from the definition.
(b) Suppose that we generalize the graph: the vertices correspond to two-element subsets of
{1, 2, . . . , n}, and two vertices are adjacent if the two subsets are disjoint.
What is the degree of a vertex in this graph? How many edges does the graph have?
2. Suppose that G is a graph with 5 vertices and 7 edges. For which pairs (a, b) is it possible
that δ(G) = a and ∆(G) = b?
For the cases where it is possible, give an example. For the cases where it is not possible,
explain why not.
3. The five Platonic solids are:
• The tetrahedron, which has 4 vertices and 4 triangular faces, with 3 faces meeting at
every corner.
• The cube (or hexahedron), which has 8 vertices and 6 square faces, with 3 faces meeting
at every corner.
• The octahedron, which has 6 vertices and 8 triangular faces, with 4 faces meeting at
every corner.
• The dodecahedron, which has 20 vertices and 12 pentagonal faces, with 3 faces meeting
at every corner.
• The icosahedron, which has 12 vertices and 20 triangular faces, with 5 faces meeting at
every corner.
In each case, find the number of edges where two faces meet. (Later in the semester, we will
explore further constraints on the Platonic solids.)
4. Suppose G is a graph whose minimum degree δ(G) is at least 10. Then we can improve on
the conclusion of Theorem 2.1: not only does G contain a cycle, but G contains a cycle of
length at least 11.
Prove this! The structure of the proof is very similar, except that instead of saying “So v1
has at least two neighbors, . . . ” we can say “So v1 has at least 10 neighbors, . . . ” and go from
there. How can we use those neighbors to get a long cycle?
5. (a) Adapt the proof idea of Lemma 1.1 to prove the following result: if G is a bipartite
graph with bipartition (A, B), then
X X
deg(v) = deg(v).
v∈A v∈B
5
(b) Consider the soccer ball we used as an example earlier in the lecture notes.
Define a bipartite graph whose vertices are the pentagons and hexagons on the soccer
ball, and use part (a) of this question to count the hexagons. (You’ll need to know that
each hexagon borders three pentagons.)
6. (a) Suppose that G is a 10-vertex graph with δ(G) = 5. Is it possible that G is not connected?
If so, give an example. If not, explain why not.
(b) Suppose that G is an 11-vertex graph with δ(G) = 6. Is it possible that G is not
connected?
If so, give an example. If not, explain why not.
(c) Generalize this argument: if G is an n-vertex graph, for what value of δ(G) can we be
certain that G is connected? Prove your answer.
7. An open problem called Conway’s 99-graph problem is to determine whether there is a 99-
vertex graph with the following properties:
• Every two adjacent vertices have exactly one common neighbor;
• Every two non-adjacent vertices have exactly two common neighbors.
If such a graph exists, then every vertex in it must have the same degree, d. What is d?