Edexcel A-Level Mathematics AS D1.2 - Algorithms on graphs Questions

Practise graph algorithms for spanning trees and shortest paths, using network tables or diagrams to state selected arcs, routes and weights.

8 questions in this syllabus scope, with question parts counted together.

Syllabus
First assessment 2019
Course
Mathematics YMA01
Level
AS

Exam points

  • use Prim’s algorithm from a named start vertex and list the selected arcs in order
  • apply Dijkstra’s algorithm to obtain the shortest route and its length

D1.2.1 - Minimum spanning tree

4 more questions
  • use Prim’s algorithm from the stated vertex and record the order of chosen arcs
  • state the MST weight from selected arcs, a matrix, or a shortest path through all vertices
  • find conditions on x so a changed arc keeps the same unique minimum spanning tree

Question 1

D1
[Maximum number: 2]
Figure A

Figure A

Figure A models a network of tracks between nine ranger stations, A, B, C, D, E, F, G, H and J, in a forest. The number on each edge gives the time, in minutes, to travel along the corresponding track. The forest ranger wishes to travel from A to J as quickly as possible.

Figure for Question 1 — Edexcel A-Level Mathematics AS

Shortest time to travel from A to J:
Quickest route from A to J:

Hence determine the weight of the minimum spanning tree for the network given in Figure A. Give a reason for your answer.

You do not need to find the minimum spanning tree.

D1.2.2 - Dijkstra’s algorithm for finding the shortest path

3 more questions
  • Label vertices in Dijkstra order to obtain the shortest route between named vertices.
  • State both the route and total length, including journeys required to pass through a vertex.
  • Check whether a listed walk is a path by using repeated vertices and valid arcs.

Question 1

D1
[Maximum number: 6]
Figure A

Figure A

Figure A models a network of tracks between nine ranger stations, A, B, C, D, E, F, G, H and J, in a forest. The number on each edge gives the time, in minutes, to travel along the corresponding track. The forest ranger wishes to travel from A to J as quickly as possible.

Figure for Question 1 — Edexcel A-Level Mathematics AS

Shortest time to travel from A to J:
Quickest route from A to J:

Use Dijkstra's algorithm to find the shortest time needed to travel from A to J.

State the quickest route.
(6)