Theory Graph
Theory Graph
LEARNING OBJECTIVES:
1. To understand and relate the problem about the Bridges of Konigsberg to Networking.
2. To Define and construct different types of graphs.
3. To Differentiate between paths and circuits, Euler and Hamilton Theorems.
4. To apply theorems and algorithms in the solution of problems.
5. To Solve problems about map and graph coloring.
7.1 THE BRIDGES OF KONIGSBERG
Figure 7.0
https://ph.images.search.yahoo.com/search/images;_ylt=AwrPh9e7qhtg8HkAkQezRwx.;_ylu=Y29sbwNzZzMEcG9zAzEEdnRpZAN
CODgwMV8xBHNlYwNwaXZz?p=the+bridges+of+konigsberg&fr2=piv-web&fr=yfp
t#id=7&iurl=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Feuropebetweeneastandwest.files.wordpress.com%2F2017%2F11%2Fthe-seven-bridges-of-
konigsberg.jpg&action=click
The story of graph theory starts in Konigsberg, a city on the Baltic coast (during 1700s,
located in modern-day Russia and now called Kaliningrad)). This city was built around two islands
in the Pregel River, all connected by seven bridges. They build the bridges so they could easily
move around the city. Since people walked through there daily, they started to wonder if they can
walk around the whole town, cross all the bridges only once and still walk over every bridge.
The citizens of Prusian city had an open challenge: Find a way to walk through the city in
such a way as to cross every bridge exactly once. Many had a pleasant walk while attempting to
solve this puzzle, but no one found a way to do it.
Shown in figure 7.1 is the figure of Konigsberg where all features are eliminated except
the land masses and the seven bridges connecting them.
Figure 7.1
So, the problem was to devise a walk through the city that would cross each of those
bridges once and only once. For example, see figure 7.2, a person who started at the north shore
and walked over bridge 1, then 3, then 4, then 2, then 6 and then 7 would have missed bridge 5
and have no way to get there without crossing over 3, 4 or 7 a second time. Later, a great Swiss
mathematician, Leonard Euler proved that no such walk was possible.
116
117
Figure 7.2
➢ He approached this problem by imagining areas of land separated by the river into points
connected with bridges or curved lines.
➢ His first step was to simplify the map of Konigsberg by reducing the four parts of the city
to points, connected by lines representing the seven bridges, (figure a).
➢ He let the land area be represented as points (sometimes called vertices), and let the
bridges be represented by arcs or line segments (sometimes called edges) connecting the
given points.
Any journey over the bridges of the city could be drawn into graphs and described entirely
as a path from point to point over the lines of this figure (a). This figure was reduced to figure in
(b), where the distances between the bridges and the sizes of the islands were irrelevant.
In this chapter, you will learn how to analyze and solve a variety of problems, such as how
to find the least expensive route of travel on a vacation, how to determine the most efficient
order in which to run errands, and how to schedule meetings at a conference so that no
one has two required meetings at the same time.
GRAPH is a set of all points called vertices and line segments or curves called edges that
connect vertices.
➢ It can be used to represent many different scenarios, as shown in the figure
below are the same graph used in different contexts.
117
118
Figure 7.2 a: Each vertex represents a baseball team, an edge connecting vertices may mean
two teams competing against each other.
Figure 7.2 b: Shows computer network of a small business, where each vertex represents a
computer and edges are machines directly connected to each other.
Figure 7.2 c: It can be used to represent the flights available on a particular airline between a
selection of cities; each vertex represents a city, and an edge connecting two cities means that
there is a direct flight between the two cities.
Note: The placement of vertices has nothing to do with geographical location, the vertices
can be shown in any arrangement we chose. The important information is which vertices
are connected by edges.
7.2 CONSTRUCTING A GRAPH
Example 7.1: Table 7.1 lists five students at a college. An “ X” indicates that the two students
participate in the same study group this semester;
Table 7.1
a. Draw a graph that represents this information where each vertex represents a student,
and an edge connects two vertices if the corresponding student study together.
b. Use your graph to answer the following questions: Which student is involved in the most
study groups with the others? Which student has only one study group in common with
the others? How many study groups does Laura have in common with the others?
SOLUTION:
a. We draw five vertices (in any configuration we wish) to represent the five students and
connect vertices with edges according to the table.
b. The vertex corresponding to Amber is connected to more edges than the others, so she
is involved with more study groups (three) than the others. Kayla is the only student with
one study group in common, as her vertex is the only one connected to just one edge.
Laura’s vertex is connected to two edges, so she shares two study groups with the others.
118
119
BRIEF SEATWORK
Using table 7.2, list five mobile phone companies and indicates whether they have
agreements to roam onto each other’s networks. Draw a graph that represent this information,
where each vertex represents a phone company, and an edge connects two vertices if the
corresponding companies have a roaming agreement. Which phone company has roaming
agreements with the most carriers? Which company can roam with only one other network?
Table 7.2
Mobile
Plus TalkMore SuperCell Airwave Lightning
Mobile
Plus No yes No Yes
TalkMore No yes No No
Supercell Yes yes Yes No
Airwave No No yes Yes
Lightning Yes No No Yes
Figure 7.3
Note:
➢ That it does not matter whether the edges are drawn straight or curved, and
their lengths and positions are not important. Nor is the exact placement of
the vertices important.
➢ In general, graphs can contain vertices that are not connected to any edges,
two or more edges that connect the same vertices (called multiple edges), or
edges that loop back to the same vertex.
Equivalent graphs
Graphs in which edges form the same connections of vertices in each graph of Figure
7.4.
119
120
Note: In each case, vertex B has an edge connecting it to each of the other four vertices, (AB,
BC, BD, and BE) and no other edges exist.
Example 7.3: Determine whether the two graphs in Figure 7.5 are equivalent.
Figure 7.5
Solution:
Even though the graphs above have different arrangements of vertices, they are
equivalent.
Both graphs have the same edges AC, AE, BD, BE, CE and DE, they represent the same
connections and therefore they are equivalent.
BRIEF SEATWORK:
Determine whether the following graphs, Figure 7.6 are equivalent.
Figure 7.6
Figure 7.7
EULER PATH is a path that uses every edge but does not use any edge more than once.
EULER PATH THEOREM: A connected graph contains an Euler path if and only if the graph
has two vertices of odd degree with all other vertices of even degree. Furthermore, every
Euler path must start at one of the vertices of add degree and end at the other.
120
121
EULER CIRCUIT
A circuit that uses every edge, but never uses the same edge twice, (the path may cross
though vertices more than once), and the path begins and ends at the same vertex.
The path B–D–F–G–H– E–C–B–A–D–G–E–B in the above figure is an Euler circuit. It
begins and ends at the same vertex and uses each edge exactly once.
The path A–B–C–E–H–G–E–B–D–A is not an Euler circuit. The path begins and ends at
the same vertex but it does not use edges DF, DG, or FG.
The path A–B–C–E–H–G–F–D– A–B–E–G–D–A begins and ends at A but uses edges
AB and AD twice so it is not an Euler circuit.
Example 7.4: Which is an Euler circuit?
Figure 7.8
Solution:
Fig.(a) It is a path because each edge begins where the last one ended. This is Euler
because the path goes over every edge exactly once. This is not a circuit because the path begins
at the lower-left vertex and ends at the lower-right vertex
Fig. (b) It is a diagram illustrating an Euler circuit for the graph, every edge is used exactly
once and the path begins and ends at the same vertex.
Fig. (c) It illustrates a path that begins at the left vertex and ends at the right vertex. This
is not a circuit. This is also not Euler because the vertical edge in the middle is not used.
Note: An Euler path differs from an Euler circuit in their start and end vertices.
BRIEF SEATWORK:
Does the graph shown below have an Euler circuit?
EULER’S CIRCUIT THEOREM: Every vertex on a graph with an Euler circuit has an even
degree, and, conversely, if in a connected graph every vertex has an even degree, then the graph
has an Euler circuit.
EULERIAN GRAPH THEOREM: A connected graph is Eulerian if and only if every vertex of the
graph is of even degree.
121
122
Figure 7.9
Solution: The table 7.2 shows the no. of edges, vertices and regions of the given networks.
Table 7.2
Regions
Graph Edges (E) Vertices (V) (R)
a 3 3 2
b 4 3 3
c 5 3 4
d 4 4 2
e 5 4 3
f 6 4 4
Note:
➢ A network is said to be traversable if it can be traced in one sweep without lifting the
pencil from the paper and without tracing the same edge more than once.
➢ Vertices may be passed through more than once.
➢ The degree of a vertex is the number of edges that meet at a vertex.
Count the number of odd vertices:
➢ If there are no odd vertices, the network is traversable, and any point may be a starting
point. The point selected will also be the ending point.
➢ If there is one odd vertex, the network is not traversable. A network cannot have only one
starting or ending point without the other.
➢ If there are two odd vertices, the network is traversable; one odd vertex must be a
starting point and the other odd vertex must be the ending point.
➢ If there are more than two odd vertices, the network is not traversable. A network cannot
have more than one starting point and one ending point.
Example 7.6: List the number of edges and the degree of each vertex, in the previous example.
Find the sum of the degrees of each vertex and tell whether each network is traversable.
Table 7.3
NOTE: The sum of the degrees of the vertices in example 7.5 equals twice the number of edges.
Each edge must be connected at both ends, so the sum of all those ends must be twice the
number of vertices.
122
123
Solution:
Looking at the map of roads as a graph, we see that a route that includes all of the
roads but does not cover any road twice corresponds to an Euler path of the graph. Notice
that only two vertices are of odd degree, the cities Alameda and Dover. Thus, we know that an
Euler path exists, and so it is possible for the photographer to plan a route that travels each
road once. Because (abbreviating the cities) A and D are vertices of odd degree, the
photographer must start at one of these cities. With a little experimentation, we find that one Euler
path is A–B–C–D–B–F–A–G–F–E–D.
Example 7.8: The floor plan of an art gallery is pictured below. Draw a graph that represents the
floor plan, where vertices correspond to rooms and edges correspond to doorways. Is it possible
to take a stroll that passes through every doorway without going through the same doorway twice?
If so, does it matter whether we return to the starting point?
Figure 7.11
Solution: We can represent the floor plan by a graph if we let a vertex represent each room.
Draw an edge between two vertices if there is a doorway between the two rooms, as shown in
the figure 7.12.
Figure 7.12
The graph above is equivalent to our floor plan. To tour the gallery and pass through every
doorway once, we must find a path in our graph that uses every edge once (and no more). Thus,
we are looking for an Euler path. In the graph, two vertices are of odd degree and the others are
123
124
of even degree. So we know that an Euler path exists, but not an Euler circuit. Therefore, we
cannot pass through each doorway once and only once if we want to return to the starting point,
but we can do it if we end up somewhere else. Furthermore, we know we must start at a vertex
of odd degree either room C or room D. By trial and error, one such path is C–B–F–B–A–F–E–
D–C–F–D.
BRIEF SEATWORK:
A bicyclist wants to mountain through all the trails of a national park. A map of the park is
shown below. Because the bicyclist will be dropped off in the morning by friends and picked up in
the evening, she does not have a preference for where she begins and ends her ride. It is possible
for the cyclist to traverse all the trails without repeating any portions of her trip.
Figure 7.13
Solution:
Consider the campground map as a graph. A route through all the trails that does not
repeat any trails corresponds to an Euler path. Because only two vertices (A and F) are of odd
degree, we know that an Euler path exists. Furthermore, the path must begin at A and end at F
or begin at F and end at A. By trial and error, one Euler path is A–B–C–D–E–B–G–F–E–C–A–F.
2. Police patrol problem: Suppose a police car needs to patrol a gated subdivision and would
like to enter the gate, cruise all streets exactly once and leave by the same gate.
3. Floor plan problem: Suppose you have a floor plan of a building with security guards who
needs to go through the building and lock each door at the end of the day.
4. Water pipe problem: Suppose you have a network of water pipes, and you wish to inspect the
pipeline. Can you pass your hand over each pipe exactly once without lifting your hand from a
pipe and without going over some pipe a second time?
The floor-plan problem is related to the Konigsberg bridge problem. The floor-plan problem
involves taking a trip through all the rooms and passing through each door only once. However,
there is one important difference between them. The Konigsberg problem requires an Euler
circuit, but the floor plan does not. The problem with bridges must end up where the trip started
while in the floor-plan problems seek only traversability.
124
125
Label the rooms as A, B, C, D, E and F. Take note that in figure a rooms A, C, E and F
have two doors and rooms B and D have three doors while in figure b, there are only 5 rooms,
but there’s a door leading outside so it must be counted as one room too, so therefore figure b
has six rooms labelled A, B, C, D, E and F. Rooms A, B and C each have 5 doors, rooms D and
E have 4 doors and room F has 9 doors.
Solution: Classifying each room as even or odd according to the number of doors in the room. A
solution is possible if there are no rooms with odd number of doors, or if there are exactly two
rooms with an odd number of doors.
a.) There are six rooms, and rooms B and D are odd, so this floor plan can be traversed.
The solution requires that we begin in either room B or D and finish in the other.
b.) There are six rooms and rooms A, B, C and F are odd (with D and F even). Since there
are more than odd rooms, this floor plan cannot be traversed. If one of the doors
connecting two of the odd rooms is blocked, then the floor plan can be traversed. See
the solution below:
Figure 7.15
Now here’s the conclusion to THE BRIDGES OF KONIGSBERG because the graph for the
bridges of Konigsberg has four vertices with odd degrees (three with degree 3 and one
with degree 5), it follows that there is neither an Euler circuit nor a path. Euler thus
announced to the city of Konigsberg that it was impossible to walk through town and cross
over every bridge exactly once.
Euler essentially proved that the graph could not have an Euler circuit. He accomplished this by
examining the number of edges that met at each vertex. He made the observation that in order to
complete the desired path, every time you approached a vertex you would then need to leave that
vertex. If you traveled through that vertex again, you would again need an approaching edge and
a departing edge. Thus, for an Euler circuit to exist, the degree of every vertex would have to be
an even number. Furthermore, he was able to show that any graph that has even degree at every
vertex must have an Euler circuit. Consequently, such graphs are called Eulerian.
125
126
A Hamiltonian circuit is a path in a graph that uses each vertex exactly once and returns
to the starting vertex. Being a circuit, it must start and end at the same vertex. If a graph has a
Hamiltonian circuit, the graph is said to be Hamiltonian.
Figure 7.16
From previous example 7.7, map of cities. If our priority is to visit each city, we could travel
along the route A–B–C–D–E–F–G–A (abbreviating the cities). This path visits each vertex once
and returns to the starting vertex without visiting any vertex twice, this is called Hamiltonian circuit.
Note: A Hamiltonian path also visits every vertex once with no repeats but does not have to
start and end at the same vertex.
Figure 7.17
Solution:
There are six vertices in the graph, so n = 6, and every vertex has a degree of at least n/2
= 3. So, by Dirac’s theorem, the graph is Hamiltonian. This means that the graph contains a circuit
that visits each vertex once and returns to the starting vertex without visiting any vertex twice. By
trial and error, one Hamiltonian circuit is Portland–Boise– Butte–Salt Lake City–Reno–
Sacramento–Portland, which represents a sequence of flights that visits each city and returns
to the starting city without visiting any city twice.
BRIEF SEATWORK:
A large law firm has offices in seven major cities. The firm has overnight document
deliveries scheduled every day between certain offices. In the graph that follows, an edge
126
127
between vertices indicates that there is delivery service between corresponding offices. Use
Dirac’s theorem to answer the following question. Using the firm’s existing delivery service, is it
possible to route a document to all the offices and return the document to its originating office
without sending it through the same office twice?
Figure 7.18
Note that the length of an edge does not necessarily correlate to its weight.
127
128
Table 7.3
Solution: The various options will be simpler to analyze if we first organize the information in a
graph. Begin by letting each city be represented by a vertex. Draw an edge between two
vertices if there is a flight between the corresponding cities, and label each edge with a weight
that represents the number of miles between the two cities.
A route that visits each city just once corresponds to a Hamiltonian circuit. Beginning at
Chicago, one such circuit is Chicago–New York–Dallas–Philadelphia–Atlanta–Washington, D.C.–
Chicago. By adding the weights of each edge in the circuit, we see that the total number of miles
traveled is
713 + 1374 + 1299 + 670 + 544 + 597 = 5197
By trial and error, we can identify two additional routes. One is Chicago–Philadelphia–Dallas–
Washington, D.C.–Atlanta–New York–Chicago. The total weight of the circuit is
665 + 1299 + 1185 + 54 + 748 + 713 = 5154
A third route is Chicago–Washington, D.C.–Dallas–New York–Atlanta–Philadelphia–Chicago.
The total mileage is
597 + 1185 + 1374 + 748 + 670 + 665 = 5239
BRIEF SEATWORK:
A tourist visiting San Francisco is staying at a hotel near Moscone Center. The tourist
would like to visit five locations by bus tomorrow and then return to the hotel. The number of
minutes spent traveling by bus between locations is given in the table below. (N/A indicates that
no convenient bus route is available). Find two different routes for the tourist to follow and
compare the total travel times.
Table 7.4
128
129
1. Choose a vertex to start at, then travel along the connected edge that has the smallest
weight. (If two or more edges have the same weight, pick anyone.)
2. After arriving at the next vertex, travel along the edge of smallest weight that connects to a
vertex not yet visited. Continue this process until you have visited all vertices.
3. Return to the starting vertex.
Also called greedy algorithm because it allows us to choose the “cheapest” option at
every chance we get.
Example 7.12: Use the Cheesy Algorithm Method to find a Hamiltonian circuit in the weighted
graph shown in figure 7.20
Figure 7.20
Solution: Start at vertex A. The weights of the edges from A are 13, 5, 4, 15, and 8, the
smallest is 4. Connect A to D.
Figure 7.21
Figure 7.22
129
130
Example 7.13: Use the greedy algorithm to find a Hamiltonian circuit starting at vertex A in the
weighted graph shown below:
Figure 7.23
Solution:
Starting at vertex A, the edge of smallest weight is the edge to D, with weight 5. From D, take the
edge of weight 4 to C, and then the edge of weight 3 to B. From B, the edge of least weight to a
vertex not yet visited is the edge to vertex E (with weight 5). This is the last vertex, so we return
to A along the edge of weight 9. Thus, the Hamiltonian circuit is A–D–C– B–E–A, with a total
weight of 26.
7.11 THE EDGE PICKING ALGORITHM
1. Mark the edge of smallest weight in the graph. (If two or more edges have the same weight,
pick anyone).
2. Mark the edge of next smallest weight in the graph, as long as it does not complete a circuit
and does not add a third marked edge to a single vertex.
3. Continue this process until you can no longer mark any edges. Then mark the final edge that
completes the Hamiltonian circuit.
Example 7.14: Use the edge-picking algorithm to find a Hamiltonian circuit in the figure below:
Figure 7.24
Solution: We first highlight the edge of smallest weight, namely BD with weight 2.
130
131
Figure 7.25
Figure 7.26
Note in previous examples the two algorithms gave different Hamiltonian circuits, and in this case
the edge-picking algorithm gave the more efficient route. Is this the best route? We mentioned
before that the algorithms are helpful but there is no known efficient method for finding the very
best circuit. In fact, a third Hamiltonian circuit, A–D–F–B–C–E–A in the last problem has a total
weight of 33, which is smaller than the weights of both routes given by the algorithms.
7.12 GRAPH COLORING
In the mid-1800s, Francis Guthrie was trying to color a map of the counties of England.
So that it would be easy to distinguish the counties, he wanted counties sharing a common border
to have different colors. After several attempts, he noticed that four colors were required to color
the map, but not more. This observation became known as the four-color problem. (It was not
proved until over 100 years later)
Here is a map of the contiguous states of the United States colored similarly. Note that
the map has only four colors and that no two states that share a common border have the same
color.
131
132
Figure 7.27
There is a connection between coloring maps and graph theory. This connection has many
practical applications, from scheduling tasks, to designing computers, to playing Sudoku.
Example 7.15: The map in below shows the countries, labeled as letters, of a continent. Assume
that no country is split into more than one piece and countries that touch at just a corner point will
not be considered neighbors. Represent each country by a vertex, placed anywhere within the
boundary of that country. Then connect two vertices with an edge if the two corresponding
countries are neighbors—that is, if they share a common boundary. The result is as follows:
Figure 7.28
Erasing the boundaries of the countries, we are left with the graph in the figure below. The
resulting graph is a planar graph, because the edges simply connect neighboring countries.
a. Can we give each vertex of the graph a color such that no two vertices connected by an
edge share the same color?
b. How many different colors will be required?
Note 1: If a map can be colored by using 4 colors, then the graph is called 4-colorable.
Note 2: If a map can be colored by using 3 colors, then the graph is called 3-colorable.
132
133
Figure 7.29
Solution:
First, draw a vertex in each country and then connect two vertices with an edge if the
corresponding countries are neighbors. Now try to color the vertices of the resulting graph so that
no edge connects two vertices of the same color. We know we will need at least two colors, so
one strategy is simply to pick a starting vertex, give it a color, and then assign colors to the
connected vertices one by one. Try to reuse the same colors and use a new color only when there
is no other option. For this graph we will need four colors. (The four-color theorem guarantees
that we will not need more than that.) To see why we will need four colors, notice that the one
vertex colored green in the following figure connects to a ring of five vertices. Three different
colors are required to color the five-vertex ring, and the green vertex connects to all these, so it
requires a fourth color.
133
134
Figure 7.31
Table 7.5
134
135
Solution:
We can represent the given information by a graph. Each club is represented by a vertex,
and an edge connects two vertices if the corresponding clubs have at least one common member.
Two clubs that are connected by an edge cannot meet simultaneously. If we let a color
correspond to a time slot, then we need to find a coloring of the graph that uses the fewest possible
number of colors. The graph is not 2-colorable, because we can find circuits of odd length.
However, by trial and error, we can find a 3-coloring. One example is shown below. Thus, the
chromatic number of the graph is 3, so we need three different time slots.
135
136
a. Is it possible to walk through the warehouse so that you pass through every doorway
once but not twice?
b. Does it matter whether you return to the starting point?
2. Six friends are taking a film history course and, because they have procrastinated, need to
view several films the night before the final exam. They have rented a copy of each film on
DVD, and they have a total of three DVD players in different dorm rooms. If each film is two
hours long and they start watching at 8:00 p.m., how soon can they all be finished watching the
required films? Create a viewing schedule for the friends.
Film A needs to be viewed by Brian, Chris, and Damon.
Film B needs to be viewed by Allison and Fernando.
Film C needs to be viewed by Damon, Erin, and Fernando.
Film D needs to be viewed by Brian and Erin.
Film E needs to be viewed by Brian, Chris, and Erin.
3. The cost of flying between various European cities is shown in the table below. Use both the
greedy algorithm and the edge-picking algorithm to find a low-cot route that visits each city just
once and starts and ends in London. Which route is more economical?
London, Berlin, Paris, Rome, Madrid, Vienna,
England Germany France Italy Spain Austria
London,
England - $325 $160 $280 $250 $425
Berlin,
Germany $325 - $415 $550 $250 $375
Paris,
France $160 $415 = $495 $215 $545
Rome, Italy $280 $550 $495 - $380 $480
Madrid,
Spain $250 $675 $215 $380 - $730
Vienna,
Austria $425 $375 $545 $480 $480 -
4. Five classes at an elementary school have arranged a tour at a zoo where the students get to
feed the animals.
Class 1 wants to feed the elephants, giraffes and hippos.
136
137
6. A toolmaker needs to use one machine to create four different tools. The toolmaker needs to
adjust the machine before starting each different tool. However, since the tools have parts in
common, the amount of adjustment time required depends on which tool the machine was
previously used to create. The table below lists the estimated time (in minutes) required to adjust
the machine from making one tool to another. The machine is currently configured for tool A and
should be returned to that state when all the tools are finished.
Use the edge-picking algorithm to determine a sequence for creating the tools.
7. Draw graphs (answers will vary) with the following properties:
a. Five edges and three vertices
b. Two vertices, each of degree 4
c. Three vertices, each of degree 2
d. Three vertices, with degrees 1, 2, and 3
e. Four vertices, with degrees 1, 2, 3, and 4
8. Find a Hamiltonian circuit in the following graphs. If there is no Hamiltonian circuit, find a
Hamiltonian path. Say so, if there is no Hamiltonian path.
137
138
a. b. c. d.
9. For the weighted graph shown, name all of the Hamiltonian circuits that begin and end at A,
and find the total weight.
10. A public works department wants to design a route for their sand truck to drive through the
streets of the town during snowstorms. Ideally, the route would go over every street once and end
up back at the city garage. In graph theory terms, what are they looking for?
11. Six friends are taking a film history course and because they have procrastinated, need to
view several films the night before the final exam. They have rented a copy of each film on DVD
and they have a total of three DVD players in different dorm rooms. If each film is two hours long
and they start watching at 8:00pm., how soon can they all be finished watching the required films?
Create a viewing schedule for the friends.
Film A needs to be viewed by Brian, Chris and Damon
Film B needs to be viewed by Allison and Fernando
Film C needs to be viewed by Damon, Erin and Fernando
Film D needs to be viewed by Brian and Erin
Film E needs to be viewed by Brian, Chris and Erin
12. Shown below are a fictional map of a province. Represent the map by a graph and find a
coloring of the graph that uses the fewest possible number of colors. Then color the map
according to the graph coloring you found.
a. b.
138