$30
Graph Theory
Assignment 4
1. Let πΊ be a graph without loops.
We discussed the incidence matrix π that has π rows (a row for each vertex) and π columns (a
column for each edge).
Recall that the entry πππ has the formula
πππ = {
1 if vertex π is an endpoint of edge π
0 otherwise
Now consider the matrix πππ
. The results of parts A and B below let us write πππ = π· + π΄
where π· is the diagonal matrix containing the degrees of the vertices and π΄ is the adjacency matrix
that encodes the numbers of edges joining pairs of vertices.
A. Explain why (πππ
)ππ, the diagonal entry in position π, is the degree of vertex π.
B. Explain why for π ≠ π, the entry (πππ
)ππ is the number of edges joining vertex π to vertex π.
C. Determine the matrices π, πππ
,π· and π΄ for the graph drawn below (the vertices are labeled
1,2,3,4,5 and the edges are labeled 14,15,24,25,34,35 denoting the corresponding endpoints).
1 2
3
4 5
14
15
24 34
25 35
2. We let πΊ = (π, πΈ) be a connected graph. For any vertex π£ ∈ π, define its eccentricity by the
formula
ecc(π£) = max{π(π’, π£): π’ ∈ π}
where π(π’, π£) is the distance between π’ and π£.
A. Let πΊ be the graph drawn below. Label each vertex with its eccentricity. This has already been
done for π£10; here, π(π£5, π£10) = π(π£6, π£10) = π(π£13, π£10) = 3 and no vertex is further from
π£10.
B. The diameter of a graph is the maximum among the eccentricities of its vertices and the radius
of a graph is the minimum among the eccentricities of its vertices. What is the diameter and
radius of the graph in part A?
A central vertex is a vertex π£ such that ecc(π£) = radius(πΊ). Which of the vertices in the graph
in part A are central vertices?
C. A peripheral vertex is a vertex π£ such that ecc(π£) = diameter(πΊ). Which of the vertices in the
graph in part π΄ are peripheral vertices?
Let π’ and π£ be vertices such that π(π’, π£) = diameter(πΊ). Explain why π’ and π£ must be
peripheral vertices.
D. Suppose π£π and π£π are adjacent vertices. Explain why ecc(π£π
) and ecc(π£π) differ by at most 1.
E. Explain why for any connected graph π», radius(π») ≤ diameter(π»).
F. Let π€ be a central vertex for the graph π» in part G. Use the fact that π(π’, π£) ≤ π(π’, π€) +
π(π€, π£) for any vertices π’ and π£ to explain why diameter(π») ≤ 2 radius(π»).
3
3. Let πΊ be a graph without loops and π be a vertex of πΊ; we will call π the “root” vertex. We will say
that π’ ≈ π€ if π(π, π’) = π(π, π€). This means π’ and π€ are the same distance from π.
A. Show that the relation ≈ is reflexive.
B. Show that the relation ≈ is symmetric.
C. Show that the relation ≈ is transitive.
D. Describe [π], the equivalence class of π under ≈.
E. If ππ’ is an edge, briefly describe [π’], the equivalence class of π’ under ≈.