Problem 8
Question
For each of the following distance matrices of graphs, identify the diameter, radius and center. Assume the graphs vertices are the numbers 1 through \(n\) for an \(n \times n\) matrix. (a) \(\left(\begin{array}{llllllllll}0 & 2 & 1 & 2 & 2 & 3 & 3 & 2 & 1 & 1 \\\ 2 & 0 & 1 & 2 & 3 & 3 & 3 & 2 & 3 & 2 \\ 1 & 1 & 0 & 1 & 2 & 2 & 2 & 1 & 2 & 1 \\ 2 & 2 & 1 & 0 & 3 & 3 & 3 & 2 & 3 & 2 \\ 2 & 3 & 2 & 3 & 0 & 2 & 1 & 1 & 2 & 1 \\ 3 & 3 & 2 & 3 & 2 & 0 & 1 & 1 & 3 & 2 \\ 3 & 3 & 2 & 3 & 1 & 1 & 0 & 1 & 3 & 2 \\ 2 & 2 & 1 & 2 & 1 & 1 & 1 & 0 & 2 & 1 \\ 1 & 3 & 2 & 3 & 2 & 3 & 3 & 2 & 0 & 1 \\ 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 0\end{array}\right)\) (b) \(\left(\begin{array}{llllllllllll}0 & 2 & 2 & 2 & 3 & 3 & 3 & 1 & 2 & 3 & 1 & 1 \\ 2 & 0 & 2 & 2 & 1 & 1 & 1 & 3 & 2 & 1 & 1 & 3 \\ 2 & 2 & 0 & 1 & 3 & 2 & 1 & 2 & 2 & 3 & 1 & 1 \\ 2 & 2 & 1 & 0 & 3 & 1 & 2 & 1 & 2 & 3 & 2 & 1 \\\ 3 & 1 & 3 & 3 & 0 & 2 & 2 & 4 & 3 & 2 & 2 & 4 \\ 3 & 1 & 2 & 1 & 2 & 0 & 2 & 2 & 3 & 2 & 2 & 2 \\ 3 & 1 & 1 & 2 & 2 & 2 & 0 & 3 & 3 & 2 & 2 & 2 \\ 1 & 3 & 2 & 1 & 4 & 2 & 3 & 0 & 3 & 4 & 2 & 2 \\ 2 & 2 & 2 & 2 & 3 & 3 & 3 & 3 & 0 & 1 & 3 & 1 \\ 3 & 1 & 3 & 3 & 2 & 2 & 2 & 4 & 1 & 0 & 2 & 2 \\ 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 3 & 2 & 0 & 2 \\ 1 & 3 & 1 & 1 & 4 & 2 & 2 & 2 & 1 & 2 & 2 & 0\end{array}\right)\)
Step-by-Step Solution
VerifiedKey Concepts
Diameter of a Graph
A distance matrix helps in determining this measure, where each entry \(i, j\) represents the shortest possible path between node \(i\) and node \(j\). You can identify the diameter by scanning through all these entries in your distance matrix and finding the largest one.
- Step through each row, noting the farthest distance you encounter.
- Check across all rows, and choose the highest distance noted.
- The result is the graph's diameter.
Radius of a Graph
To calculate the radius, you must first find the eccentricity of each vertex—this is the greatest distance from that vertex to any other vertex. Once you have these eccentricities sorted out:
- Scan the maximum distances for each row in your distance matrix.
- Note the smallest number among these maximums.
- This number is the radius of the graph.
Center of a Graph
Finding the center starts after calculating the radius:
- Lining up all eccentricities that match the graph's radius.
- Vertices corresponding to these eccentricities form the center.
- The center does not need to be a single point but can be multiple vertices with the same efficient connectivity.