topic badge
AustraliaVIC
VCE 12 General 2023

9.03 Shortest path problems

Worksheet
Shortest path
1

A few colleagues decided to carpool on the way to work. The following map displays the routes between their homes:

Starting from house A, determine the shortest path that visits every house exactly once.

2

A courier business has to make multiple pick-ups from several stores. The following map displays the routes between the stores:

Stores A and E need immediate pick up. Starting from store A, determine the shortest path to take if visiting every store only once.

3

A canned goods company has to make drops at every store in an area. The following map displays the routes between the stores:

Starting from store B, determine the shortest path to take if calling into every store only once.

4

The delivery man has to drop a newspaper at every house in a certain area. The following graph shows the map of that area:

The delivery man wants to be time efficient. If he enters the area at house B and leaves at house G, find the shortest path for him to travel passing by each house only once.

5

The firefighting department received an emergency call about a house fire across town. The following graph shows the local town map:

If the firefighting department is located at vertex L, and the house is at vertex A, find the shortest route between L and A.

6

The following map shows all possible routes in Mohamad's town. Mohamad travels from his home to his friend's house on a daily basis.

If Mohamad's house is vertex C, and his friend's house is vertex I, determine the shortest path between the two places.

7

The grocery store has to make a delivery across town. The store is known for its fast delivery. The following graph represents a map of the town:

If the store is at vertex A, and the delivery has to be made to vertex H, find the shortest path between both vertices

8

A group is organizing a tour in the park that ends with a picnic. The following graph displays the map of the park:

Since the tour is for the elderly, the group wants the distance from the start of the park (at vertex A), to the picnic area (at vertex J) to be as short as possible. Find the shortest route between these two vertices.

9

The police department receives a call about a robbery in progress at a grocery store. The following graph shows the map of the town:

If the grocery store is at vertex I, and the nearest police car is located at vertex D, determine the shortest route for the police to follow.

10

A mailman was allocated an area to deliver the mail to. The following table represents the routes and times between the houses:

a

Construct a graph based on the table.

b

Find the quickest route for the mailman to take, starting at house D with first delivery to house E, and passing by each house only once.

Starting HouseEnding HouseTime
AB11
AF9
AG3
BF5
BC10
CE8
CG6
DE5
DG5
EG7
Dijkstra's algorithm
11

For each of the following graphs, we want to find the paths of lowest weight between the vertex A and each of the other vertices:

i

Using Dijkstra's algorithm to find the order and label list for each vertex.

ii

For each vertex, find the least weight between itself and vertex A.

a
b
c
d
e
12

For each of the following graphs, use Dijkstra's algorithm to find the paths of lowest weight between vertex A and each of the other vertices:

a
b
c
d
Sign up to access Worksheet
Get full access to our content with a Mathspace account

Outcomes

U4.AoS2.5

use matrix recurrence relations to generate a sequence of state matrices, including an informal identification of the equilibrium or steady state matrix in the case of regular state matrices

U4.AoS2.12

recognise the shortest path problem and solve it by inspection or using Dijkstra’s algorithm for larger scale problems

What is Mathspace

About Mathspace