Activity # 8 Mathematics of Graphs: (Shortest Distance)
Activity # 8 Mathematics of Graphs: (Shortest Distance)
Activity # 8 Mathematics of Graphs: (Shortest Distance)
1. Find all Hamiltonian circuit starting at vertex A in the weighted graph. Then find
the shortest distance. 10pts
A-C-D-E-B-A A-C-B-E-D-A
AC = 8 AC = 8
CD = 2 CB = 1
DE = 7 BE = 9
EB = 9 ED = 7
BA = 5 DA = 7
TOTAL = 31 TOTAL = 32
(shortest distance)
1. AJIAGFEDCEHBCIBA
2. ABCDEFGHECIBHIJA
b) Give 2 possible Eulerian walk. You can start at any vertex. 10pts
1. CDECBAFD
2. CBAFDECD
3. Determine the chromatic number for each of the following. 5pts each
a) b)
Chromatic number: 2 Chromatic number: 5
a) The table below shows the nonstop flights offered by an international airline.
Draw a graph model to represent this information, where each vertex represents
a country and an edge connects two vertices if there is a non-stop flight between
the corresponding countries. 10pts
South
Korea Singapore China Australia Spain
South Korea - no yes no yes
Singapore no - yes yes no
China yes yes - yes yes
Australia no yes yes - yes
Spain yes no yes yes -
Answer:
b) Lea wants to tour Asia. She will start and end her journey in Tokyo and visit
Hongkong, Bangkok, Seoul, and Beijing. The airfares available to her between
cities are given in the table below. Draw a weighted graph that represents the
travel costs between cities and find a low-cost route. 20pts
Answers:
Answers:
Each charity has its truck travel down all three schools on its route on the same day, but
no two charities wish to visit the same schools on the same day. Draw a graph model
that represents the situation. Use graph coloring to design a schedule for the charities.
Arrange their pickup routes so that no school is visited twice on the same day by
different charities. The schedule should use the least possible number of days. 20pts
Hint: Let the charity organizations represent the vertices.
A B C D E
A - Yes Yes Yes No
B Yes - No Yes Yes
C Yes No - Yes Yes
D Yes Yes Yes - No
E No Yes Yes No -
Answers:
The schedule should use at least 3 days.