Skip to main content

Section 3.4 Subgraphs and Isomorphic Graphs

There are many different ways to draw a graph. Suppose that you and I each draw a graph and our graph drawings look different. How do we know if our graphs are actually the same graph (isomorphic)? For example, are any of the graphs \(G_1\text{,}\) \(G_2\text{,}\) and \(G_3\) drawn in FigureΒ 3.4.1 the same (isomorphic)?
Figure 3.4.1. Are any of the graphs \(G_1\text{,}\) \(G_2\text{,}\) \(G_3\) isomorphic?
Recognizing when two apparently different objects are, for all mathematical purposes, the same or different is a powerful skill. For example, suppose that we are modeling a problem and encounter a new graph \(G\text{,}\) a graph that we know nothing about. But then we realize that \(G\) is isomorphic to a graph \(H\) that we know well. Then everything that is true about the known graph \(H\) is automatically true for the new graph \(G\) as well. The concept of isomorphic occurs throughout mathematics.
There is no known efficient algorithm for determining if two graphs are isomorphic. We begin this section with a visualization tool that can help and close this section by introducing vocabulary about graphs that live within other graphs (subgraphs), which can also offer clues about whether two graphs are isomorphic.

Subsection 3.4.A Planarity

When we draw a graph, it is acceptable to have edges that cross each other. Any point of intersection of those edges in the drawing is not a vertex. For example, the complete graph \(K_5\) is typically drawn with many edges crossing, as in FigureΒ 3.4.2.
Figure 3.4.2. The standard drawing of the complete graph \(K_5\) with many edges crossing.
In some situations, we might prefer to draw a graph without edges crossing. For example, if the graph were modeling a physical system, such as train tracks or electrical wires, we might want to avoid edge crossings, or at least find a drawing with as few edge crossings as possible. It is reasonable to ask whether a graph can be drawn without crossings. For example, can you find a way to draw \(K_5\) without any edge crossings?
We formalize this idea with a definition.

Definition 3.4.3 Planar graph.

Β 
  1. An edge crossing in the drawing of a graph is a point of intersection of two edges other than at a vertex.
  2. A graph is planar if it can be drawn in the plane without any edge crossings. For example, consider the graph \(G\) drawn in FigureΒ 3.1.4. In the fourth drawing of \(G\text{,}\) the edges \(\{3,4\}\) and \(\{1,2\}\) cross, but no edges cross in the first three drawings of \(G\text{.}\) Thus, \(G\) is planar.
  3. A graph is nonplanar if it cannot be drawn in the plane without any edge crossings. For example, it turns out that the complete graph \(K_5\) is nonplanar.
Let’s look at an activity redrawing planar graphs without edge crossings.

Activity 3.4.A Planarity puzzle.

Β 
  1. Planarity game by Jason Davies lets you try your hand at moving planar graphs around until they appear without edge crossings. Play the game at level five and then at level eight.
  2. Redraw the complete graph \(K_4\) without edge crossings, using the vertex labels from FigureΒ 3.4.5.
    Figure 3.4.5. The complete graph \(K_4\) drawn with an edge crossing.
  3. Redraw the complete bipartite graph \(K_{2,5}\) without edge crossing, using the vertex labels from FigureΒ 3.4.6.
    Figure 3.4.6. The complete graph \(K_{2,5}\) drawn with multiple edge crossings.
  4. Redraw the Harary graph \(H_{4,6}\) without edge crossings, using the vertex labels from FigureΒ 3.4.7. Note: It is possible to draw \(H_{4,6}\) without edge crossings using only straight lines for edges, but you are welcome to use curves to represent edges instead.
    Figure 3.4.7. The Harary graph \(H_{4,6}\) drawn with multiple edge crossings.

Subsection 3.4.B Isomorphic Graphs

The three graphs in FigureΒ 3.4.1 have many common properties. For example, each graph has six vertices, five edges, and degree sequence 3, 2, 2, 1, 1, 1. They also all have chromatic number two. But they are not all isomorphic.
Here is the formal definition.

Definition 3.4.8 Isomorphic Graphs.

Β 
  1. Two graphs \(G\) and \(H\) are isomorphic, denoted \(G \cong H\text{,}\) if it is possible to label the vertices of \(G\) and the vertices of \(H\) in such a way that \(G\) and \(H\) have the same set of vertices and the same set of edges. For example, the graphs \(G_1\) and \(G_2\) in FigureΒ 3.4.1 are isomorphic. We show a common vertex labeling in FigureΒ 3.4.9. You can check that each graph has the vertex set
    \begin{equation*} \{a, b, c, d, e, x\} \end{equation*}
    and the edge set
    \begin{equation*} \{\{a,b\}, \{b,c\}, \{c,d\}, \{d,e\}, \{c,x\}\}\text{.} \end{equation*}
    (By the way, it is acceptable to abbreviate edges using strings. For example \(\{a,b\}\) may be abbreviated \(ab\) when clear from context.)
    Figure 3.4.9. Isomorphic graphs
  2. A planarity-style move on a graph drawing consists of moving one vertex \(v\) to a different location and redrawing the edges from \(v\) in its new location to each of \(v\)’s neighbors.
     1 
    These moves are named for the game β€œPlanarity” from ActivityΒ 3.4.A.
These moves give us another way to work with graph isomorphism.

Remark 3.4.10 Planarity-style moves.

Graphs \(G\) and \(H\) are isomorphic exactly when we can transform a graph drawing of \(G\) into a graph drawing of \(H\) using a sequence of planarity-style moves. While visualizing such a transformation is a useful way to decide if two graphs are isomorphic, to prove that two graphs are isomorphic, you need to label the vertices according to the definition. If you can see the transformation, just follow the vertices to see what the labels should be. For example, we can think of transforming the graph \(G_1\) into the graph \(G_2\) from DefinitionΒ 3.4.8 by shifting the vertex \(x\) up and to the right and the vertices \(d\) and \(e\) down and to the left.
When two graphs are complicated, it can be useful to compare their complements instead. Note that if \(G\) and \(H\) are isomorphic and labeled with the same vertices and edges, then that labeling shows that \(\overline{G}\) and \(\overline{H}\) have the same vertices and edges and so \(\overline{G}\) and \(\overline{G}\) are also isomorphic. We have the following result.
Here is an example of using the complement to prove that two graphs are isomorphic.

Example 3.4.12 Using complements to prove isomorphic graphs.

Consider the graphs \(G\) and \(H\) drawn in FigureΒ 3.4.13.
Figure 3.4.13. Are the graphs \(G\) and \(H\) isomorphic?
  1. Draw their complements.
    Solution.
    The complements \(\overline{G}\) and \(\overline{H}\) are drawn in FigureΒ 3.4.14.
    Figure 3.4.14. Complements of graphs from FigureΒ 3.4.13.
  2. Label the vertices of the complements to show \(\overline{G} \cong \overline{H}\text{.}\)
    Solution.
    We label the isolated vertex \(z\text{,}\) the degree 3 vertex \(a\text{,}\) and the degree 2 vertex \(b\text{.}\) There is one leaf adjacent to \(b\) which we label \(c\text{.}\) Last, we label the other two leaves \(u\) and \(v\) (in either order). FigureΒ 3.4.15 shows these complements labeled as well as a simplified graph drawing of the complement.
    Figure 3.4.15. Labeling the complements from FigureΒ 3.4.14.
  3. Is \(G \cong H\text{?}\) Explain.
    Solution.
    Yes, by TheoremΒ 3.4.11 since \(\overline{G} \cong \overline{H}\text{,}\) it follows that \(G \cong H\text{.}\)
Practice showing graphs are isomorphic.

Activity 3.4.B Show two graphs are isomorphic.

Β 
  1. Show the trees drawn in FigureΒ 3.4.17 are isomorphic by labeling the vertices of each and listing the edges. Choose your labeling carefully.
    Figure 3.4.17. Isomorphic trees for ActivityΒ 3.4.B (a).
  2. Show the two graphs drawn in FigureΒ 3.4.18 are isomorphic by labeling the vertices of each and listing the edges. Choose your labeling carefully.
    Figure 3.4.18. Isomorphic graphs for ActivityΒ 3.4.B (b).
  3. Show that the graphs drawn in FigureΒ 3.4.19 are isomorphic by showing their complements are isomorphic. Label the complements and list the edges.
    Figure 3.4.19. Isomorphic graphs for ActivityΒ 3.4.B (c).
  4. Show that the graphs drawn in FigureΒ 3.4.20 are isomorphic by labeling the vertices so they have the same edges. Hint: start with a 6-cycle in the graph on the left.
    Figure 3.4.20. Two drawings of the Petersen graph for ActivityΒ 3.4.B (d) and Exercise 8.

Subsection 3.4.C Subgraphs and Trees

A common type of graph used to store information in a computer is a tree. We saw examples of possibility trees in SectionΒ 2.1. Trees are defined using the concepts of subgraph and connectivity, so we start there.

Definition 3.4.21 Subgraph.

The graph \(H\) is a subgraph of the graph \(G\) if each vertex of \(H\) is a vertex of \(G\) and each edge of \(H\) is an edge of \(G\text{.}\) Note that since \(H\) is a graph, each edge of \(H\) necessarily contains two vertices of \(H\text{.}\) For example, in FigureΒ 3.4.22, the graph on the left is a subgraph of the graph on the right.
Figure 3.4.22. The graph \(H\) is a subgraph of the graph \(G\text{.}\)
In FigureΒ 3.4.22, we draw the vertices of the subgraph \(H\) in the same position as they appeared in \(G\text{,}\) but that is not required.

Example 3.4.23 Less obvious subgraphs.

Consider the graph \(G\) from FigureΒ 3.4.22. Which of the following graphs are subgraphs of \(G\text{?}\)
  1. The cycle \(C\) drawn in FigureΒ 3.4.24.
    Figure 3.4.24. The graph \(C\) from ExampleΒ 3.4.23.
    Solution.
    The cycle \(C\) is a subgraph of \(G\) because each of \(C\)’s vertices (\(b\text{,}\) \(c\text{,}\) \(d\text{,}\) and \(e\)) and each of \(C\)’s edges (\(\{b,c\}\text{,}\) \(\{c,d\}\text{,}\) \(\{d,e\}\text{,}\) and \(\{e,b\}\)) are in \(G\text{.}\) Note that \(C\) is the cycle \(C_4\text{,}\) so we say \(C_4\) is a subgraph of \(G\text{.}\)
  2. The path \(P\) drawn in FigureΒ 3.4.25.
    Figure 3.4.25. The graph \(P\) from ExampleΒ 3.4.23.
    Solution.
    The path \(P\) is a subgraph of \(F\) because each of \(P\)’s vertices (\(a\text{,}\) \(c\text{,}\) \(d\text{,}\) \(e\text{,}\) and \(f\)) and each of \(P\)’s edges (\{f,c\}, \{c,b\}, \{b,e\}, and \{e,a\}) are in \(F\text{.}\) Note that \(P\) is the path \(P_5\text{,}\) so we say \(P_5\) is a subgraph of \(G\text{.}\)
  3. The graph \(J\) drawn in FigureΒ 3.4.26.
    Figure 3.4.26. The graph \(J\) from ExampleΒ 3.4.23.
    Solution.
    The graph \(J\) is not a subgraph of \(G\) because \(\{a,d\}\) is an edge in \(J\) but not in \(G\text{.}\)
  4. The graph \(D\) drawn in FigureΒ 3.4.27.
    Figure 3.4.27. The graph \(D\) from ExampleΒ 3.4.23.
    Solution.
    The graph \(D\) is a subgraph of \(F\) since each vertex and edge in \(D\) is in \(G\text{,}\) even though \(D\) has two separate pieces.
We introduce a bit more vocabulary about subgraphs.

Definition 3.4.28 Cyclic subgraphs.

Β 
  1. A cyclic subgraph of a graph is a subgraph that is a copy of \(C_s\) for some integer \(s \ge 3\text{.}\) For example, the graph \(C\) from ExampleΒ 3.4.23 was a cyclic subgraph of the graph \(G\text{.}\)
  2. A graph \(G\) contains an \(s\) cycle if \(C_s\) is a subgraph for some \(s \ge 3\text{.}\) For example, the graph \(G\) in FigureΒ 3.4.22 contains several 3-cycles, a couple of 4-cycles, and 5-cycle.
  3. A graph is acyclic if it does not contain any cyclic subgraphs. For example, the path graphs \(P_s\) are acyclic.
Let’s count all the cycles in a graph.

Example 3.4.29 Counting cycles.

Count all the cycles in the graph \(G\) in FigureΒ 3.4.22.
Solution.
First, there are three 3-cycles: one with vertices \(a\text{,}\) \(b\text{,}\) and \(e\text{;}\) a second with vertices \(b\text{,}\) \(d\text{,}\) and \(e\text{;}\) and a third with vertices \(b\text{,}\) \(c\text{,}\) and \(d\text{.}\)
Next, there are two 4-cycles: one with vertices \(a\text{,}\) \(b\text{,}\) \(d\text{,}\) and \(e\) and the other with vertices \(b\text{,}\) \(c\text{,}\) \(d\text{,}\) and \(e\text{.}\)
Lastly, there is one 5-cycle with vertices \(a\text{,}\) \(b\text{,}\) \(c\text{,}\) \(d\text{,}\) and \(e\text{.}\)
In most networks, we want to maintain connectivity. Casually speaking, a graph is connected if there are no separate pieces, which is difficult to define directly. We give a formal definition of connected here.

Definition 3.4.30 Paths and connectivity.

Β 
  1. A path in a graph is a subgraph that is a copy of \(P_s\) for some integer \(s \ge 1\text{.}\) For example, the graph \(P\) from ExampleΒ 3.4.23 was a path in the graph \(G\text{.}\)
  2. A \(uv\)-path is a path with endpoints \(u\) and \(v\text{.}\) For example, the graph \(P\) from ExampleΒ 3.4.23 is a \(fa\)-path (or an \(af\)-path) in the graph \(G\text{.}\) A single vertex \(u\) is considered a \(uu\)-path.
  3. A graph \(G\) is connected if for all vertices \(u\text{,}\) \(v\) there exists a \(uv\)-path in \(G\text{.}\) For example, the graph \(G\) in FigureΒ 3.4.22 is connected, as are its subgraphs \(C\) and \(P\) from ExampleΒ 3.4.23.
  4. A graph \(G\) that is not connected is disconnected. For example, the subgraph \(D\) in ExampleΒ 3.4.23 was disconnected because, for example, there does not exist a \(cd\)-path in \(D\text{.}\)
Let’s look at an example.

Example 3.4.31 Finding paths.

We can now define a tree. Many applications of graph theory in computer science use trees.

Definition 3.4.33 Tree.

A tree is an connected acyclic graph. For example, the path graphs \(P_s\) are trees for \(s \ge 1\text{.}\) The graph \(T\) drawn in FigureΒ 3.4.34 is also a tree.
Figure 3.4.34. An example of a tree \(T\text{.}\)
A tree needs to be connected and acyclic. If either condition fails in a graph, then that graph is not a tree.

Example 3.4.35 Not a tree.

Explain why each graph is not a tree.
  1. The graph \(G\) drawn in FigureΒ 3.4.32.
    Solution.
    The graph \(G\) is connected, but it is not a tree because it is not acyclic. For example, \(G\) contains a 3-cycle with vertices \(i\text{,}\) \(j\text{,}\) and \(h\text{.}\) By the way, \(G\) also contains a 4-cycle with vertices \(b\text{,}\) \(c\text{,}\) \(h\text{,}\) and \(i\) and a 5-cycle with vertices \(b\text{,}\) \(c\text{,}\) \(h\text{,}\) \(i\text{,}\) and \(j\text{.}\)
  2. The graph \(D\) drawn in FigureΒ 3.4.27.
    Solution.
    The graph \(D\) is acyclic, but it is not a tree because it is disconnected.
Try working with subgraphs and trees.

Activity 3.4.C Subgraphs and trees.

Consider the graphs \(G\text{,}\) \(H\text{,}\) and \(K\) drawn in FigureΒ 3.4.37.
Figure 3.4.37. The graphs \(G\text{,}\) \(H\text{,}\) and \(K\) from ActivityΒ 3.4.C
  1. Confirm that \(H\) is a subgraph of \(G\text{.}\)
  2. Explain why \(K\) is not a subgraph of \(G\text{.}\)
  3. Find an \(az\)-path in \(G\text{.}\) Is it unique? Explain.
  4. List the 3-cycles in \(G\) by listing the three vertices in each 3-cycle. Hint: There are four of them.
  5. List four 4-cycles in \(G\) by listing the four vertices in each cycle in the order you would go around the cycle. Hint: One looks like an X.
  6. How many 5-cycles does \(G\) have?
  7. Check that \(K\) is a tree.
  8. How are the number of vertices of \(K\) and the number of edges of \(K\) related?

Subsection 3.4.D Exercises

Subsubsection Exercises for 3.4.A Planarity

1. Practice.

Explain how to draw the complete bipartite graph \(K_{2,t}\) in the plane without edge crossings.

2. Understand.

Play Planarity. Submit a screenshot of your solution to level eight of the puzzle in under two minutes.

Subsubsection Exercises for 3.4.B Isomorphic Graphs

5. Practice.

Prove the trees drawn in FigureΒ 3.4.43 are isomorphic by labeling the vertices of each tree so that they have the same set of vertices and edges.
Figure 3.4.43. Isomorphic trees for Exercise 5.
Check.
One solution is shown FigureΒ 3.4.44. (The only other solution switches \(y\) and \(z\text{.}\))
Figure 3.4.44. Showing two trees are isomorphic.

6. Practice.

Prove the graphs drawn in FigureΒ 3.4.46 are isomorphic by labeling the vertices of each graph so that they have the same set of vertices and edges.
Figure 3.4.46. Isomorphic graphs for Exercise 6.
Check.
Hint: There is one vertex of degree four, so label that vertices \(x\) in each graph. The other four vertices \(a\text{,}\) \(b\text{,}\) \(c\text{,}\) and \(d\) form a 4-cycle in each graph.

8. Understand.

Show that the graphs drawn in FigureΒ 3.4.20 are isomorphic by labeling the vertices so that they have the same edges. Hint: Start with a 6-cycle in the graph on the left. Yes, this exercise repeats ActivityΒ 3.4.B (d).
Check.
Hint: Once you have labeled the vertices, make a list of the edges in each graph to check that your labeling produces the same graph.

10. Explore.

A graph \(G\) is self-complementary if it isomorphic to its complement. That is, if \(G \cong \overline{G}\text{.}\)
  1. Show that the path \(P_4\) is self-complementary.
  2. Show that the cycle \(C_5\) is self-complementary.
Check.
  1. Hint: The path \(P_4\) is the graph \(G\) shown in FigureΒ 3.1.31. Its complement is shown in FigureΒ 3.1.32, but you will need to re-label it to match \(P_4\text{.}\)
  2. Hint: The cycle \(C_5\) is the graph \(H\) shown in FigureΒ 3.1.31. Its complement is shown in FigureΒ 3.1.32, but you will need to re-label it to match \(C_5\text{.}\)

11. Explore.

We defined self-complementary in Exercise 10.
  1. If \(G\) is a self-complementary graph with four vertices, how many edges must it have? Explain. Hint: How many edges does the complete graph \(K_4\) have?
  2. If \(G\) is a self-complementary graph with five vertices, how many edges must it have? Explain. Hint: How many edges does the complete graph \(K_5\) have?
Check.
  1. Three
  2. Hint: Use that the complement and the graph would have to have the same number of edges.

Subsubsection Exercises for 3.4.C Subgraphs and Trees

12. Practice.

Consider the graphs \(A\text{,}\) \(B\text{,}\) and \(C\) drawn in FigureΒ 3.4.55.
Figure 3.4.55. From left-to-right, the graphs \(A\text{,}\) \(B\text{,}\) and \(C\text{.}\)
  1. Show how to check that \(B\) is a subgraph of \(A\text{.}\)
  2. Explain why \(C\) is not a subgraph of \(A\text{.}\)
Check.
  1. Hint: List the edges of \(B\) and verify that they are the edges of \(A\text{.}\)
  2. Hint: The graph \(C\) contains the edge \(\{a,g\}\text{.}\)

13. Practice.

Again, consider the graphs \(A\text{,}\) \(B\text{,}\) and \(C\) drawn in FigureΒ 3.4.55.
  1. Draw a 4-cycle that is a subgraph of \(A\text{.}\) Include the vertex labels.
  2. Draw a 5-cycle (other than \(B\)) that is a subgraph of \(A\text{.}\) Include the vertex labels.
  3. Draw a 6-cycle that is a subgraph of \(A\text{.}\) Include the vertex labels.
  4. Draw an 8-cycle that is a subgraph of \(A\text{.}\)
Check.
  1. Hint: One such 4-cycle has vertices \(a\text{,}\) \(d\text{,}\) \(e\text{,}\) and \(f\text{.}\)
  2. Hint: One such 5-cycle has vertices \(a\text{,}\) \(b\text{,}\) \(c\text{,}\) \(g\text{,}\) and \(h\text{.}\)
  3. Hint: You need six out of the eight vertices.
  4. Hint: It includes all of the eight vertices.

14. Practice.

Β 
  1. Consider the graph in FigureΒ 3.4.58. Find a \(cu\)-path. Is it unique?
    Figure 3.4.58. A graph that’s not connected.
  2. Show that the graph in FigureΒ 3.4.58 is not connected by listing the vertices that are not connected by a path to the vertex \(c\text{.}\)
  3. Show that the graph in FigureΒ 3.4.59 is not acyclic by finding a cyclic subgraph.
    Figure 3.4.59. A graph that’s not acyclic.
Check.
  1. \(ctywu\) and it is unique.
  2. Hint: \(d\text{,}\) \(z\text{,}\) …
  3. Hint: \(uwy\ldots u\)

15. Understand.

Β 
  1. How many vertices and how many edges does the tree \(T\) in FigureΒ 3.4.34 have?
  2. The paths \(P_s\) are trees for \(s \ge 1\text{.}\) How many vertices and how many edges does the path \(P_{100}\) have?
  3. The stars \(K_{1,t}\) are trees for \(t \ge 1\text{.}\) How many vertices and how many edges does the star \(K_{1,100}\) have?
  4. Conjecture how the number of edges in a tree is related to the number of vertices.
Check.
  1. 12 vertices, 11 edges
  2. Hint: 99 edges
  3. Hint: There is an edge from the hub vertex to each of the other 100 vertices.
  4. Hint: Your conjecture should say β€œA tree with \(s\) vertices has Β Β Β  edges.”

16. Understand.

Again, consider the graphs \(A\text{,}\) \(B\text{,}\) and \(C\) drawn in FigureΒ 3.4.55. List seven different \(bh\)-paths in \(A\text{.}\) Hint: Some begin \(ba\ldots\) and some begin \(bc\ldots\text{.}\) Note: There are more than seven β€” can you find them all?

17. Understand.

Which size cycles does the Harary graph \(H_{4,6}\) shown in FigureΒ 3.4.7 contain? Copy the graph and highlight one cycle of each possible size.
Check.
Hint: There are 3-cycles, 4-cycles, 5-cycles, and a 6-cycle. Highlight one of each.

18. Understand.

Β 
  1. Give an example of a graph having six vertices and seven edges that contains a 6-cycle but does not contain a 5-cycle.
  2. Give an example of a tree with degree sequence \(4,4,2,1,1,1,1,1,1\text{.}\)
  3. Give an example of a planar graph that has a vertex of degree ten.
Check.
  1. Hint: You can draw a 6-cycle with a chord (edge going across), but make sure that it does not form a 5-cycle.
  2. Hint: One possibility is that the degree two vertex has two degree four neighbors. Fill in the degree one vertices.
  3. Hint: Start with a vertex of degree ten and add vertices making sure no edges cross.

20. Explore.

A caterpillar is a tree such that if we remove each leaf and its corresponding edge, then we get a path. For example, the graph drawn on the far right in FigureΒ 3.4.37 is a caterpillar because when we remove the leaves (\(z\text{,}\) \(a\text{,}\) and \(c\)) and their corresponding edges, we get the path \(by\text{.}\)
  1. Is the graph \(T\) drawn in FigureΒ 3.4.34 a caterpillar? Justify your answer.
  2. What is the smallest possible tree that is not a caterpillar?
Check.
  1. Hint: The leaves are \(n\text{,}\) \(p\text{,}\) \(q\text{,}\) \(r\text{,}\) \(t\text{,}\) \(v\text{,}\) and \(z\text{.}\) Decide if what remains when they are removed is a path. If so, then the tree is a caterpillar.
  2. Hint: It has seven vertices.

21. Explore.

In a connected graph \(G\text{,}\) the distance between vertices \(v\) and \(w\), denoted \(\fn{d}(v,w)\text{,}\) is the number of edges of the shortest \(vw\)-path in \(G\text{.}\)
  1. Find each distance in the graph \(G\) drawn in FigureΒ 3.3.36 (in Exercise 13 of SectionΒ 3.2): \(\fn{d}(v_1,v_8)\text{,}\) \(\fn{d}(v_1,v_5)\text{,}\) \(\fn{d}(v_4,v_6)\text{,}\) \(\fn{d}(v_3,v_3)\text{.}\)
  2. Find the distance between any pair of white vertices in the complete bipartite \(K_{2,5}\) drawn in FigureΒ 3.4.6.
  3. What can you say about a connected graph with \(s\) vertices if every pair of vertices has distance one?
  4. Give an example of a graph where the maximum distance between two vertices is three.