Section 5.2 Basic Definitions
Objectives
- Define basic graph theoretic concepts such as vertex, edge, path, trail, degree and so on.
- Prove simple properties about graphs by applying these definitions appropriately.
- Determine whether or not a given degree sequence can be realized as a graph.
Definition 5.2.1. Graph.
A graph
If
Definition 5.2.2. Simple Graphs and Multigraphs.
A graph
Example 5.2.3. First Graph.
Define the graph \(G\) to have vertices
and edges
We can represent this graph by labeling five nodes, and drawing each edge.
Checkpoint 5.2.4. Draw These Graphs.
Draw each of the following graphs:
- \(G_1 = (V_1, E_1)\) where \(V_1 = \{p, q, r, s, t, u\}\) and \(E_1 = \{(p,q),(q,r),(q,s),(q,t),(q,u),(r,s),(r,t),(r,u),(s,u)\}\text{.}\)
- \(G_2 = (V_2, E_2)\) where \(V_2 = \{1,2,3,4\}\) and \(E_2\) contains all pairs of elements from \(V_2\text{.}\)
Checkpoint 5.2.5. List Vertices and Edges.
List all elements in the vertex and edge sets of each graph below.
Definition 5.2.6. Degree of a vertex.
The degree
The degree sequence of a graph is the nonincreasing sequence of numbers formed by the degrees of its vertices.
Example 5.2.7. Degree sequence.
In the graph of Example 5.2.3, the degrees of each vertex are:
Vertex | \(v_1\) | \(v_2\) | \(v_3\) | \(v_4\) | \(v_5\) |
Degree | 3 | 2 | 1 | 2 | 2 |
We write this as \(d(v_1) = 3\text{,}\) \(d(v_2) = 2\text{,}\) and so on. Hence the degree sequence of the graph is 3, 2, 2, 2, 1 (just rearrange the numbers in nonincreasing order).
Checkpoint 5.2.8. Write the Degree Sequence.
Determine the degrees of each vertex of the graphs \(G_1\text{,}\) \(G_2\text{,}\) \(G_3\text{,}\) and \(G_4\) from Checkpoint 5.2.4 and Checkpoint 5.2.5, then write the degree sequence of each graph.
Checkpoint 5.2.9. Zero Degrees.
In a graph, what does it mean for a vertex \(v\)to have degree \(d(v) = 0\text{?}\) Can you draw a graph with degree sequence 0, 0, 0, 0, 0?
Theorem 5.2.10. Degree-Sum Formula.
Let
Proof.
If \((u,v)\) is an edge of \(G\text{,}\) then it contributes 2 to the sum of all vertex degrees (one to the degrees of each of its endpoints: \(d(u)\) and \(d(v)\)). This is true for all edges of \(G\text{,}\) so twice the number of edges must be exactly the sum of all degrees.
Remark 5.2.11.
In the above statement we used the notation
Checkpoint 5.2.12. Verify Theorem 5.2.10.
Verify Theorem 5.2.10 on the graphs you've seen so far in this section.
Checkpoint 5.2.13. Even Number of Odd Degree Vertices.
Use Theorem 5.2.10 to prove that any graph must have an even number of vertices with odd degree.
Checkpoint 5.2.14. Handshakes at a [Pre-pandemic] Party.
Explain how Checkpoint 5.2.13 implies that in a party, the number of people who shook hands with an odd number of other people's hands must be even.
Lemma 5.2.15. Handshake Lemma.
Any graph (simple or otherwise) must have an even number of vertices of odd degree.
Example 5.2.16. Counting Collaborators.
Checkpoint 5.1.5 can be resolved by arguing that the coauthorship relations among the six mathematicians can be represented using a graph: by taking the six mathematicians as vertices and placing an edge between two mathematicians if they have coauthored a paper together.
The sequence 3, 2, 2, 2, 1, 1 cannot be the degree sequence of this graph, since there is an odd number of vertices of odd degree. (There are three: 3, 1, 1.) Therefore someone must have made a mistake counting.
Checkpoint 5.2.17. Degree Sequence 3, 2, 1, 0.
Can a graph on 4 vertices have degree sequence 3, 2, 1, 0?
Checkpoint 5.2.18. Degree Sequence with 0 and .
Is it possible for the numbers \(0\) and \(n-1\) to both occur in the degree sequence of a graph with \(n\) vertices? Prove your answer.
Checkpoint 5.2.19. Maximum Degree Sum.
Show that the sum of the degrees of a simple graph cannot add up to more than \(n(n-1)\text{.}\)