Chapter 1 Exercises
1.1 Euler Circuits
1.2 Finding Euler Circuits
1. Refer to the accompanying graph G (which might represent the two-way streets of a small housing subdivision).
1.
(a) Six vertices
(b) Nine edges
2. Use the diagram for graph G in Exercise 1.
3.
3.
(a)
(b) ADGIJHKLMLKHGHEDEBA (other answers possible)
4.
5.
5.
(a) No
(b) EC, AD, BD, and AC
(c) Five vertices; six edges
6. The graph below shows the stores and roads connecting them in a small shopping mall.
7. In the accompanying graph, the vertices represent houses and two vertices are joined by an edge if it is possible to drive between the two houses in under 10 minutes.
7.
(a) Eight vertices
(b) 13 edges
(c) A: 4; B: 2; C: 3; D: 3; E: 4; F: 4; G: 3; H: 3
(d) A, D, and F
(e) E, G, and H
8.
9. In the graph below, the vertices represent cities and the edges represent roads connecting them. What are the valences of the vertices in this graph? (Keep in mind that E is part of the graph.) What might the valence of city E be showing about the geography?
9.
E: 0; A: 1; H, D, and G: 2; B and F: 3; C: 5. E might be on an island and have no road access to the other cities.
10. In the three graphs below, the vertices represent cities and the edges represent roads connecting them. In which graphs could a person located in city A choose any other city and then find a sequence of roads to get from A to that other city?
11.
11.
(a) 5; 5
(b) 7; 6
(c) 10; 14
12. Jack and Jill are located in Miami and want to fly to Berlin (see Figure 1.2).
13. Refer to the figure in Exercise 6.
13.
(a) CGDBC (Answers can vary.)
(b) (i) BD; BFD
(ii) CBF; CGDF; CGDBF
(iii) GDBCG (Answers can vary.)
14. In the graphs in Figure 1.17, find the smallest possible number of edges you could remove that would disconnect the graph.
15. Draw a graph with eight vertices that is connected where each vertex has
15.
Drawings can vary. Possible renderings for parts (a) through (c) include the following:
(a)
(b)
(c)
(d) Yes
16.
17. In the graph in Figure 1.8a, find the smallest possible number of edges you could remove that would disconnect the graph.
17.
2
18.
19.
19.
(a)
(b) No. To have an Euler circuit a graph cannot have odd-valent vertices.
20.
21. Draw a graph that is not connected with eight vertices, all of whose vertices have valence 2.
21.
Drawings can vary. Possible renderings include the following:
22.
23.
23.
Drawings can vary. Possible renderings include the following:
24. For some urban services provided along streets, it may matter whether the roads are one-way or two-way. Give some examples where the street directions do and do not matter for our graph model analysis.
25. A postal worker is supposed to deliver mail on all streets represented by edges in the accompanying graph by traversing each edge exactly once. The first day, the worker traverses the numbered edges in the order shown in graph (a), but the supervisor is not satisfied—why? The second day the worker follows the path indicated in graph (b), and the worker is unhappy—why? Is the original job description realistic? Why?
25.
With part (a), not all edges are traveled by the worker. With part (b), the end of the route is not the same as the beginning of the route. The description is not realistic because there is no Euler circuit in the graph.
26. For the street network in Exercise 25, draw the graph that would be useful for routing a snowplow. Assume that all streets are two-way, one lane in each direction, and that you need to pass down each lane separately.
27. Find an efficient route for the snowplow to follow in the graph you drew in Exercise 26.
27.
Since this graph is connected and even-valent, it has an Euler circuit. Any Euler circuit will solve the problem efficiently.
28.
29. For the street network shown below, draw the graph that would be useful for finding an efficient route for checking parking meters. (Hint: Notice that not every sidewalk has a meter; see Figure 1.12.)
29.
30.
31.
31.
(a) 3
(b) Answers will vary.
(c) Answers will vary.
32. Examine the paths represented by the numbered sequences of edges in both parts of the figure below. Determine whether each path is a circuit. If it is a circuit, determine whether it is an Euler circuit.
33. The company that distributes natural gas in a small town is located at vertex C in the accompanying graph G, which models the two-way streets for the town.
33.
(a) No
(b) 4
(c) Answers will vary. One solution would involve duplicating edges CD, DE, FG, and AB in the accompanying graph.
34. In Figure 1.8b, suppose we started an Euler circuit using this sequence of edges: 14, 13, 8, 1, 4 (ignore existing arrows on the edges). What does our guideline for finding Euler circuits tell you not to do next?
35. In Figure 1.13c, suppose we started an Euler circuit using this sequence of edges: 6, 7, 8, 9 (ignore existing arrows on the edges). What does our guideline for finding Euler circuits tell you not to do next?
35.
Do not choose edge 2, but edges 1 or 10 could be chosen.
36. Find Euler circuits in the right-hand graphs in Figures 1.17a and 1.17b.
37. Find an Euler circuit on the graph of Figure 1.15c (including the blue edges).
37.
Answers will vary.
38. An Euler circuit visits a four-valent vertex X, such as the one in the accompanying graph, by using the edges AX and XB consecutively, and then using CX and XD consecutively. When this happens, we say that the Euler circuit cuts through at X.
Suppose G is a four-valent graph such as that in the diagram below. Is it possible to find an Euler circuit of this graph that never cuts through any vertex? Explain why it might be desirable to find an Euler circuit of this special kind in an applied situation.
39.
39.
(a) A, C, E, and H are odd-valent.
(b) 2
1.3 Beyond Euler Circuits
1.4 Urban Graph Traversal Problems
40. Squeeze the circuit shown in graph (a) below onto graph (b). Show your answers by writing numbered arrows on the edges and by listing a sequence of vertices (for example, ABEB … A).
Next, squeeze the circuit shown in graph (c) onto graph (d). Show your answers by writing numbered arrows on the edges and by listing a sequence of vertices.
41. Find an Euler circuit on the eulerized graph (b) of the accompanying figure. Use it to find a circuit on the original graph (a) that covers all edges and reuses edges only five times. Can fewer than five reused edges be achieved?
41.
Answers will vary; no.
42. In the accompanying graph, add one or more edges to produce a graph that has an Euler circuit.
43. A college campus has a central square with sides arranged as shown by the edges in the graph below. Show how all these sidewalks can be traversed at least once in a tour that starts and ends at the same vertex.
43.
Answers will vary. Possible answers include AECDABDCBEA.
44. Find a circuit in the accompanying graph that covers every edge and has as few reuses as possible.
45. Eulerize the following rectangular street networks using the same patterns that would be used by the edge walker described on page 18.
45.
Drawings can vary. Possible renderings for parts (a), (b), and (c) include the following:
(d) Yes; no
46. Find good eulerizations for the accompanying graphs, using as few duplicated edges as you can. See “Finding Good Eulerizations” (page 19) for hints.
47.
47.
(a) 2
(b) Yes
(c) 2
(d) No
48. The following figure shows a river, some islands, and bridges connecting the islands and riverbanks. A charity is sponsoring a race in which entrants have to start at A, go over each bridge at least once, and end at A. Draw a graph that would be useful for finding a route that requires the least recrossing of bridges. Show what that route would be. (Historical note: This situation resembles the one that inspired Leonhard Euler’s 1736 “recreational mathematics” problem that resulted in the first work in graph theory.)
49. On Wednesdays during the summer, a small town that has only two-way streets does not allow on-street parking in the mornings. A truck that flushes water onto the streets to clean off “debris” can thus easily perform its work.
49.
(a) ADEADCAFCFBA
(b) 95 minutes
50.
51. Draw a graph with exactly two odd-valent vertices, which requires exactly nine edges to be duplicated in order to find the best eulerization of the graph.
51.
52. In the following graph, the outer blocks are 1000-by-1000 feet, and the middle blocks are 1000-by-4000 feet. Find a circuit of minimum total length that covers all edges.
53. In the graph below, the outer blocks are 1000-by-1000 feet, and the middle blocks are 1000-by-4000 feet. Find a circuit of minimum total length that covers all edges.
53.
There are many circuits that achieve a minimum length of 44,000 feet.
54.
55. Which of the accompanying graphs have Euler circuits? In the ones that do, find the Euler circuits by numbering the edges in the order the Euler circuit uses them. For the ones that don’t, explain why no Euler circuit is possible.
55.
Graphs (a) and (c); additional answers will vary.
56. Eulerize the accompanying graph by using four new edges. Find an Euler circuit in the eulerized graph and use that circuit to find a circuit of the original graph that covers all edges but reuses edges only four times. How many different ways can the four edges be chosen? What is the total number of edges in the Euler circuit in the eulerized graph?
57. A graph G represents a street network to be traveled by a postal worker on foot, who must deliver mail to the houses on both sides of each street. How does one obtain from G a new graph H that represents the sidewalks that must be traversed? Does graph H always have an Euler circuit? Explain your answer.
57.
For each edge e of G, add another edge joining the vertices that are endpoints of e to obtain H. If G is connected, H does have an Euler circuit because whatever the valences of G, graph H has valences that are doubles of these and remains connected. Hence, H is even-valent and connected.
58. In the following graph, find a circuit that covers every edge and has as few reuses as possible.
59.
59.
(a) Drawings can vary. Possible renderings include the following:
(b) The best eulerization for the four-circle, four-ray case adds two edges.
(c) Answers will vary.
60. Suppose that for a certain connected graph, it is possible to disconnect it by removing one edge. Explain why such a graph (before the edge is removed) must have at least one vertex of odd valence. (Hint: Show that it cannot have an Euler circuit.)
61.
61.
(a) Yes
(b) 15
62. Each of the accompanying graphs represent the sidewalks to be cleaned in a fancy garden (one pass over a sidewalk will clean it). Can the cleaning be done using an Euler circuit? If so, show the circuit in each graph by numbering the edges in the order the Euler circuit uses them. If not, explain why no Euler circuit is possible.
63. If an edge is added to an already existing graph, connecting two vertices already in the graph, explain why the number of vertices with odd valence has the same parity before and after. (This means that if it was even before, it is even after, while if it was odd before, it remains odd.)
63.
Answers will vary.
64. Any graph can be built in the following fashion: Put down dots for the vertices and then add edges connecting the dots as needed. When you have put down the dots, and before any edges have been added, is the number of vertices with odd valence an even number or an odd number? What is the number of vertices with odd valence when all the edges have been added (see Exercise 63)?
65. Draw the graph for the parking-control territory shown in the figure below. Label each vertex with its valence and determine whether the graph is connected.
65.
66. If a rectangular street network is r blocks by s blocks, find a formula for the minimum number of edges that must be added to eulerize a graph representing the network in terms of r and s. (Hint: Treat the case r=1 separately. Test your formula with the cases 6 blocks by 5 blocks, 6 blocks by 6 blocks, and 5 blocks by 3 blocks.)
67. The word valence is also used in chemistry. Find out what it means in chemistry, and explain how this usage is similar to its use here.
67.
Answers will vary.
68. For the street network below, draw a graph that represents the sidewalks with meters. Find the minimum-length circuit that covers all sidewalks with meters. If you drew the graph as we recommended, you would find that the shortest circuit has length 18 (it reuses every edge).
But the meter checker comes to you and says, “I don’t know anything about your theories, but I have found a way to cover the sidewalks with meters using a circuit of length 10. My trick is that I don’t rule out walking on sidewalks with no meters.” Explain what he means and discuss whether his strategy can be used in other problems.
69. Each edge of the accompanying graph represents a two-lane highway. A grass-mowing machine is located at A, and its operator has the job of cutting the grass along each of the edges of road shown. Find a tour for the mowing machine that begins and ends at A. Find a tour that begins and ends at A and, as the mowing is done, moves along the edge of the road in the same direction as the traffic.
69.
Answers will vary. A possible answer is ABDEFBEBFEDBACDCBCA.
70. Draw a graph with exactly two vertices of valence 3 and a minimal but positive number of 4-valent vertices, which can be eulerized by adding one edge.
Chapter Review
71. Answer the following questions for graph G below, which was created to represent the roads of a shopping mall.
71.
(a) 10 vertices; 19 edges
(b) A has valence 4; F has valence 4; D has valence 4.
(c) There are Euler circuits. Answers will vary.
72. Answer the following questions for accompanying graph G, which is used to model roads that must be inspected for potholes.