3.16 Graph algorithms: trees, cycles and routesIB Maths: Applications and Interpretation HL: Subtopic test
10 questions, 27 marks
IB Maths: Applications and Interpretation HL
3.16 Graph algorithms: trees, cycles and routes
Total 27 marks
Name
Class
Date
- 1A connected graph has vertices and edges .(a)Which statement about this graph is correct?[1 mark]
- AIt has an Eulerian circuit because every vertex has even degree
- BIt has an Eulerian circuit because it is connected
- CIt has an Eulerian trail but no Eulerian circuit
- DIt has no Eulerian trail because it contains a cycle
(b)Which of the following is a Hamiltonian cycle of this graph?[1 mark]- A
- B
- C
- D
(c)Write down an Eulerian trail for this graph.[2 marks]Total for question 1: 4 marks
- 2A company must connect six sites with cable. The possible links and their costs, in thousands of AED, are: 12, 9, 13, 7, 15, 10, 14, 6, 11, 8.(a)Kruskal's algorithm is used to find a minimum spanning tree. Which edge is the first to be rejected?[1 mark]
- A
- B
- C
- D
(b)Find the total cost of the cheapest network that connects all six sites.[1 mark]- A43 thousand AED
- B51 thousand AED
- C40 thousand AED
- D30 thousand AED
(c)Use Prim's algorithm, starting at , to find the order in which the edges are added to the tree.[2 marks]Total for question 2: 4 marks
- 3A postal worker must walk along every road of an estate with four junctions , starting and finishing at . The road lengths, in hundreds of metres, are: 9, 4, 6, 3, 8, 5.(a)By considering the degree of each junction, explain why some roads must be walked more than once, and find, for each pairing of the odd junctions, the least total distance that must be repeated.[3 marks](b)Hence find the length of the shortest route that starts and finishes at and walks along every road at least once. State which roads are repeated.[4 marks]
Total for question 3: 7 marks
- 4A courier must visit five depots once each and return to the start depot . The table of least distances, in km, between depots gives: 19, 8, 21, 17, 23, 16, 10, 14, 13, 6.(a)Use the nearest neighbour algorithm, starting at , to find an upper bound for the length of the shortest route. Give the route, and explain why the answer is an upper bound.[6 marks](b)Use the deleted vertex algorithm, deleting , to find a lower bound. Hence write down an inequality for the length of the shortest route. Another student deletes and gets a lower bound of km; state, with a reason, which lower bound should be used.[6 marks]
Total for question 4: 12 marks
End of questions
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).