topic badge

13.025 Hamiltonian paths

Worksheet
Hamiltonian cycles and paths
1
a

Describe a Hamiltonian cycle.

b

Describe a Hamiltonian path.

2

State whether the following graphs contain a Hamiltonian path:

a
b
c
3

State whether the following graphs contain a Hamiltonian cycle:

a
b
c
4

State a Hamiltonian path for each of the following graphs:

a
b
c

Start the path at vertex A for the following graph:

5

List a Hamiltonian cycle, starting with vertex A, for each of the following graphs:

a
b
c
Applications
6

Kate draws the mudmap below to represent all the houses she has to visit during her milk run:

VertexResidence
A\text{Kate}
B\text{Xanthe}
C\text{Ursula}
D\text{Lisa}
E\text{Ellie}

Kate wants to plan a route that is time efficient by visiting each house only once, starting and finishing at her own residence. List a route that Kate could follow.

7

A mail man is planning his route in a certain area using the graph below:

VertexResidence
A\text{William}
B\text{Ivan}
C\text{Vincent}
D\text{Sean}
E\text{Kenneth}
F\text{Noah}

The mail man starts his route at William's residence. He wants his route to be time efficient by passing by each house only once. List the path the mailman should follow.

8

A private school bus is to pick up students from a certain area. The following map shows the routes connecting the students' houses:

The bus driver wants to save as much time as possible on his route. If he starts his route at vertex D, what is the shortest path that visits each house exactly once?

9

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.

10

A rock band is planning a tour across several cities. The following table represents the routes and distance between the cities at which they will be performing:

a

Construct a graph that represents the table.

b

Hence, find the shortest route for the rock band to take if they start at city A and passing by each city only once.

Starting CityEnding CityDistance
AC9
AF6
BE11
BF5
CD3
CF7
ED5
EF8
11

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

Hence, find the quickest route for the mailman to take if he starts at house D, makes the first delivery to house E, and passes by each house only once.

Starting HouseEnding HouseTime
AB11
AF9
AG3
BF5
BC10
CE8
CG6
DE5
DG5
EG7
12

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.

13

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 passing by every store only once.

14

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 if he passes by each house only once.

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

Outcomes

ACMEM084

optimise distances through trial-and-error and systematic methods; for example, shortest path, routes to visit all towns, and routes to use all roads

What is Mathspace

About Mathspace