C 09 Graphs and Networks

Download as pdf or txt
Download as pdf or txt
You are on page 1of 80

9 Graphs and networks

LEARNING SEQUENCE
9.1 Overview ................................................................................................................................................................. 486
9.2 Definitions and terms ......................................................................................................................................... 487
9.3 Planar graphs ........................................................................................................................................................ 506
9.4 Connected graphs .............................................................................................................................................. 516
9.5 Weighted graphs and networks, and trees ................................................................................................ 526
9.6 Review ..................................................................................................................................................................... 542

Fully worked solutions for this topic are available online.


9.1 Overview
Hey students! Bring these pages to life online
Watch Engage with Answer questions
videos interactivities and check results

Find all this and MORE in jacPLUS

9.1.1 Introduction
Just like matrices, networks are used to show how things are
connected. The idea of networks and graph theory is usually
credited to Leonhard Euler’s 1736 work, Seven Bridges of
Königsberg. This work carried on with the analysis initiated by
Leibniz.
One of the most famous problems in graph theory is the ‘four
colour problem’, which poses the question: ‘Is it true that any map
drawn in the plane may have its regions coloured with four colours,
in such a way that any two regions having a common border have
different colours?’ This question was first posed by Francis Guthrie
in 1852. There have been many failed attempts to prove this. The ‘four colour problem’ remained unsolved
for more than a century, until in 1969 Heinrich Heesch published a method for solving the problem using a
computer. Computers allowed networks to be used to solve problems that previously took too long due to the
multitude of combinations.
Procedures called algorithms are applied to networks to calculate maximum and minimum values. This study
of constructed networks belongs to a field of mathematics called operational research. This developed rapidly
during and after World War II, when mathematicians, industrial technicians and members of the armed services
worked together to improve military operations.
In more recent times, graph theory and networks have been used to deliver mail, land people on the moon,
organise train timetables and improve the flow of traffic. Graph theory and networks have also been applied to
a wide range of disciplines from social networks where they are used to examine the structure of relationships
and social identities, to biological networks, which analyse molecular networks.

KEY CONCEPTS
This topic covers the following key concepts from the VCE Mathematics Study Design:
• the introduction to the notations, conventions and representations of types and properties of graphs,
including edge, loop, vertex, the degree of a vertex, isomorphic and connected graphs and the adjacency
matrix
• description of graphs in terms of faces (regions), vertices and edges, and the application of Euler’s
formula for planar graphs
• connected graphs: walks, trails, paths, cycles and circuits with practical applications
• weighted graphs and networks, and an introduction to the shortest path problem (solution by inspection
only) and its practical application
• trees and minimum spanning trees, greedy algorithms, and their use to solve practical problems.
Source: VCE Mathematics Study Design (2023–2027) extracts © VCAA; reproduced by permission.

486 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9.2 Definitions and terms
LEARNING INTENTION
At the end of this subtopic you should be able to:
• define edge, loop, vertex and the degree of a vertex
• identify properties and types of graphs, including isomorphic and connected graphs
• identify characteristics of and construct adjacency matrices.

9.2.1 Graphs
The mathematician Leonhard Euler (1707–83) is usually
credited with being the founder of graph theory. He
famously used it to solve a problem known as the ‘Seven
Bridges of Königsberg’.
For a long time it had been pondered whether it
was possible to travel around the European city of
Königsberg (now called Kaliningrad) in such a way that
the seven bridges would only have to be crossed once
each.
In the branch of mathematics known as graph theory,
diagrams involving points and lines are used as a
planning and analysis tool for systems and connections.
Applications of graph theory include business efficiency,
transportation systems, design projects, building and
construction, food chains and communications networks.

Leonhard Euler

4
2

1
3

6
5
7

Bridges of Königsberg

TOPIC 9 Graphs and networks 487


9.2.2 Types and properties of graphs
A graph is a series of points and lines that can be used to represent the A
connections that exist in various settings. Edge

C
B
In a graph, the lines are called edges and the points are called
vertices (or nodes), with each edge joining a pair of vertices.

Although edges are often drawn as straight lines, they don’t have to be. D Vertex E

When vertices are joined by an edge, they are known as ‘adjacent’ vertices. Note that the edges of a graph can
intersect without there being a vertex. The graph above has five edges and five vertices.

Simple graphs
A simple graph is one in which pairs of vertices are connected by at most one edge.

The graphs below are examples of simple graphs.

C A A D
A C
D B
B
E B
C
D F

Connected graphs
If it is possible to reach every vertex of a graph by moving along the edges, it is called a connected
graph; otherwise, it is a disconnected graph.

The graph below left is an example of a connected graph, while the graph below right is not connected (it is
disconnected).
A C
A
D
D
B

C E E
Connected graph Disconnected graph

A bridge
A bridge is an edge that disconnects the graph when removed.
Note: A graph can have more than one bridge.

488 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
In the following graph, the edge AB is a bridge, because if it is removed, the graph would become disconnected.
Can you identify another edge that would be classified as a bridge?
A B

D C

Consider the road map shown.

Winton

Boulia

Longreach

Bedourie
Jundah

Windorah

Birdsville

This map can be represented by the following graph.


Winton

Boulia

Longreach

Bedourie

Jundah

Windorah

Birdsville

As there is more than one route connecting Birdsville to Windorah and Birdsville to Bedourie, each route is
represented by an edge in the graph. In this case, we say there are multiple edges. Also, as it is possible to travel
along a road from Birdsville that returns without passing through another town, this is represented by an edge.
When this happens, the edge is called a loop.

TOPIC 9 Graphs and networks 489


A loop
A loop is an edge that connects a vertex to itself.
Note: A loop is only counted as one edge.

Multiple edge
A multiple edge occurs when two vertices are connected by more than one edge.

Since graphs can be used to model practical real-life situations, it becomes clear that two types of graphs are
needed. Sometimes it may only be possible to move along an edge in one direction, say a one-way street, or it
could be possible to move along an edge in both directions.
So far, the graphs you have seen are all examples of undirected graphs where we assume you can move along
an edge in both directions. Graphs that only allow movement in a specified direction are called directed graphs
or digraphs, and these edges will contain an arrow indicating the direction of travel allowed.

A B A B

D C D C
An undirected graph A directed graph
(travel along an edge in any direction) (arrows show the direction you must travel)

WORKED EXAMPLE 1 Drawing a graph to represent the possible ways of travelling


tlvd-4818

The diagram represents a system of paths and gates in a large park. Draw a graph to represent the
possible ways of travelling to each gate in the park.

490 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
THINK WRITE/DRAW
1. Identify, draw and label all possible vertices. Represent each gate as a vertex.
A

D
E

2. Draw edges to represent all the direct Direct pathways exist for
connections between the identified vertices. A–B, A–D, A–E, B–C, C–E and D–E.
A

D
E

3. Identify all the other unique ways of Other unique pathways exist for
connecting vertices. A–E, D–E, B–D and C–D.
A

D
E

4. Draw the final graph. A


B

D
E

9.2.3 The degree of a vertex


When analysing the situation represented by a graph, it can be useful to consider the number of edges that are
directly connected to a particular vertex. This is referred to as the degree of the vertex and is given the notation
deg(V), where V represents the vertex.

TOPIC 9 Graphs and networks 491


The degree of a vertex
The degree of a vertex in an undirected graph is the number of edges directly connected to that
vertex, except that a loop at a vertex contributes twice to the degree of that vertex.

In the graph, deg(A) = 2, deg(B) = 2, deg(C) = 5, deg(D) = 2, B


deg(E) = 5 and deg(F) = 2. A
Notice how the loop at vertex E counts twice to the degree of the
vertex. The degree of a vertex may be odd or even. The above graph C D
has four vertices of even degree and two vertices of odd degree.

E F

The handshaking theorem


The handshaking theorem states that the sum of the degrees of the vertices of a graph is twice the
number of edges.
sum of the degrees of the vertices = 2× number of edges

This can also be expressed as:


1
number of edges = sum of the degrees of the vertices
2
Note that this applies even if multiple edges and loops are present.

WORKED EXAMPLE 2 Demonstrating the handshaking theorem


For the graph in the diagram, show that the number of edges is equal B
to half the sum of the degree of the vertices.
C

A
D

F
E

THINK WRITE
1. Identify the degree of each deg(A) = 2, deg(B) = 3, deg(C) = 3,
vertex. deg(D) = 3, deg(E) = 3 and deg(F) = 2

2. Calculate the sum of the The sum of the degrees for the graph = 2 + 3 + 3 + 3 + 3 + 2
degrees for the graph. = 16
3. Count the number of edges The graph has the following edges:
for the graph. A–B, A–E, B–C, B–D, C–D, C–F, D–E, E–F. The graph has 8 edges.
4. Write the answer as The total number of edges in the graph is therefore half the sum of
a sentence. the degrees.

492 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9.2.4 Isomorphic graphs
Consider the following graphs.

B C

A D
C E
A

B E
D

For the two graphs, the connections for each vertex can be summarised as shown in the table.
Although the graphs don’t look exactly the same, they could represent exactly the same information. Such
graphs are known as isomorphic graphs.

Vertex Connections
A D
B D E
C D E
D A B C
E B C

Isomorphic graphs
Isomorphic graphs have the same number of vertices and edges, with corresponding vertices having
identical degrees and connections.

WORKED EXAMPLE 3 Identifying isomorphic graphs

Confirm whether the following two graphs are isomorphic.


Graph 1 Graph 2
C C
E
D E
A
B
D
B

THINK WRITE
1. Identify the degree of the vertices for each
Graph A B C D E
graph.
Graph 1 2 3 2 2 3
Graph 2 2 3 2 2 3

TOPIC 9 Graphs and networks 493


2. Identify the number of edges for each graph. Graph Edges
Graph 1 6
Graph 2 6

3. Identify the vertex connections for each graph. Vertex Connections


A B E
B A D E
C D E
D B C
E A B C

4. Comment on the two graphs. The two graphs are isomorphic as they have the same
number of vertices and edges, with corresponding
vertices having identical degrees and connections.

9.2.5 Adjacency matrices


Matrices are often used when working with graphs. A matrix that represents the number of edges that connect
the vertices of a graph is known as an adjacency matrix.

Adjacency matrices
Each column and row of an adjacency matrix corresponds to a vertex of the graph, and the numbers
indicate how many edges connect them.

C 0 2 1 0
A
⎡ ⎤
⎢2 0 0 0⎥
⎢1 0 0 2⎥
⎢ ⎥
⎣0 0 2 0⎦
D

B
Graph Adjacency matrix

In the adjacency matrix, column 3 corresponds to vertex C and row 4 corresponds to vertex D. The ‘2’ indicates
the number of edges joining these two vertices.

A B C D
A 0 2 1 2

[0 ]
B 2 0 0 0
C 1 0 0 2
D 0 2 0

494 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9.2.6 Characteristics of adjacency matrices
Adjacency matrices are square matrices with n rows and Column: 1 2 … n − 1 n R ow
columns, where n is equal to the number of vertices in the
0 2 … 1 0 1

[ ]
graph. 2 0 … 0 0 2
⋮ ⋮ … ⋮ ⋮ ⋮
1 0 … 0 2 n − 1
0 0 … 2 0 n

Adjacency matrices are symmetrical around the leading

[0 ]
0 2 1 0
diagonal. 2 0 0 0
1 0 0 2
0 2 0

Any non-zero value in the leading diagonal will indicate

[ 12 ]
0 2 1 2
the existence of a loop. 2 1 0 0
0 0 2
0 2 0

The ‘1’ indicates that one loop exists at


vertex B:

B C

A row consisting of all zeros indicates an isolated vertex

[1 ]
0 0 0 1
(a vertex that is not connected to any other vertex). 0 0 0 0
0 0 0 1
0 1 0

B
A

C D

TOPIC 9 Graphs and networks 495


WORKED EXAMPLE 4 Constructing an adjacency matrix from a graph

Construct the adjacency matrix for the given graph. F


B
A

D
C

THINK WRITE
1. Draw a table with rows and columns for each
A B C D E F
vertex of the graph.
A
B
C
D
E
F

2. Count the number of edges that connect vertex


A B C D E F
A to the other vertices and record these values
in the corresponding space for the first row of A 0 1 2 1 1 1
the table.
3. Repeat step 2 for all the other vertices.
A B C D E F
A 0 1 2 1 1 1
B 1 0 0 0 0 1
C 2 0 0 1 0 0
D 1 0 1 0 1 0
E 1 0 0 1 0 0
F 1 1 0 0 0 1

4. Display the numbers as a matrix. 0 1 2 1 1 1


⎡ ⎤
⎢1 0 0 0 0 1⎥
⎢2 0 0 1 0 0⎥
⎢1 0 1 0 1 0⎥
⎢ ⎥
⎢1 0 0 1 0 0⎥
⎣1 1 0 0 0 1⎦

Resources
Resourceseses
Interactivity The adjacency matrix (int-6466)

496 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9.2 Exercise

Students, these questions are even better in jacPLUS


Receive immediate Access Track your
feedback and access additional results and
sample responses questions progress

Find all this and MORE in jacPLUS

1. WE1 The diagram shows the plan of a floor of a house. Draw a graph to represent the possible ways of

travelling between each room on the floor.

Bedroom 1

Bathroom 1

Lounge
Bedroom 2

Bathroom 2 TV room

2. Draw a graph to represent the following tourist map.

A
B
C
D

G E

H F
I

3. WE2 For each of the following graphs, verify that the number of edges is equal to half the sum of the degree

of the vertices.
a. B b. F
F
B
C
A E
A
E

D
C

TOPIC 9 Graphs and networks 497


4. For each of the following graphs, verify that the number of edges is equal to half the sum of the degree of
the vertices.
a. F b. F
A
B E

E A
B
C
C D
G
D

5. Identify the degree of each vertex in the following graphs.


a. D b. E
E
A
C

B
A
B
C
c. C d. D

B D A E
C

A B
E

6. WE3 Confirm whether the following pairs of graphs are isomorphic.


a. A
E
A
E D
C

D
B C B
Graph 1 Graph 2

b. A

G
F
E
A D
C E
G
F
C B B
Graph 1 Graph 2

498 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
c. D F
A
G B
B D

E G
E
A

C C
Graph 1 Graph 2

d. D G
I
E C
F
D J
H B F
G

E
I

C A A
B

J H
Graph 1 Graph 2

7. Explain why the following pairs of graphs are not isomorphic.


a. A
A B
B

E
E

D
C
C
D
Graph 1 Graph 2

b. B

B F G
A
C
E F D
H
G A E
C
D H
Graph 1 Graph 2

TOPIC 9 Graphs and networks 499


8. Identify pairs of isomorphic graphs from the following.

C
B A
B
B A
D E
C C
F F
A
F E
D E D
Graph 1 Graph 2 Graph 3

F C A
D D
A
C
C B

B E

E
D A B
Graph 4 Graph 5 Graph 6

B E

C A A

B
C
E D
D F
Graph 7 Graph 8

9. WE4 Construct adjacency matrices for the following graphs.


a. E b.

A
B E
A
F B

C C

D D

c. d. C
E
A
A
B
E C D
F
D
B F

500 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
10. Draw graphs to represent the following adjacency matrices.
a. 0 1 0 1 b. 1 0 2 0
⎡ ⎤ ⎡ ⎤
⎢1 0 0 1⎥ ⎢0 0 0 1⎥
⎢0 0 0 1⎥ ⎢2 0 0 2⎥
⎢ ⎥ ⎢ ⎥
⎣1 1 1 0⎦ ⎣0 1 2 0⎦

c. 0 1 2 0 0 d. 2 0 1 1 0
⎡ ⎤ ⎡ ⎤
⎢1 1 0 0 1⎥ ⎢0 0 0 0 0⎥
⎢2 0 0 1 0⎥ ⎢1 0 1 0 2⎥
⎢ ⎥ ⎢ ⎥
⎢0 0 1 1 1⎥ ⎢1 0 0 0 1⎥
⎣0 1 0 1 1⎦ ⎣0 0 2 1 0⎦

11. Construct the adjacency matrices for each of the graphs shown in question 15.

12. Complete the following adjacency matrices.


a. 0 0 b. 2 1 0
⎡ ⎤
[0 2 2] ⎢ 0 ⎥
1 0 ⎢0 1 0 1⎥
⎢ ⎥
⎣ 2 0⎦

c. 0 1 0 d. 0 0 0 1 0
⎡ ⎤ ⎡ ⎤
⎢0 0 0⎥ ⎢0 0 0 1 0⎥
⎢ 0 0 0 2⎥ ⎢ 0 0 0 1⎥
⎢ ⎥ ⎢ ⎥
⎢1 0 0 0 1⎥ ⎢ 0 0⎥
⎣0 1 0⎦ ⎣0 0 1⎦

13. Draw a graph of:


a. a simple, connected graph with 6 vertices and 7 edges
b. a simple, connected graph with 7 vertices and 7 edges, where one vertex has degree 3 and five vertices
have degree 2
c. a simple, connected graph with 9 vertices and 8 edges, where one vertex has degree 8.

14. By indicating the passages with edges and the intersections and passage endings with vertices, draw a graph
to represent the maze shown.

Maze

TOPIC 9 Graphs and networks 501


15. Complete the following table for the graphs shown.

Simple Connected
Graph 1 Yes Yes
Graph 2
Graph 3
Graph 4
Graph 5

B C
A C
D
D

B D
B
E
C A E
A F
Graph 1 Graph 2 Graph 3

C E

D E
C F
B A
B

F
D

Graph 4 Graph 5

16. A round robin tournament occurs when each team plays all other teams once only.
At the beginning of the school year, five schools play a round robin competition in table tennis.
a. Draw a graph to represent the games played.
b. State what the total number of edges in the graph indicates.

17. The diagram shows the map of some of the main


suburbs of Beijing.
a. Draw a graph to represent the shared boundaries
between the suburbs.
b. State which suburb has the highest degree.
c. State the type of graph.

Yanqing Miyun
Huairou

Changping Pinggu
Shunyi

502 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
18. Jetways Airlines operates flights in South-East Asia.

MYANMAR

Hanoi
LAOS

THAILAND VIETNAM
Manila
Bangkok Phnom PHILIPPINES
Penh

Kuala CAMBODIA
Lumpur MALAYSIA

BRUNEI
SINGAPORE Singapore

Jakarta EAST TIMOR


INDONESIA

The table indicates the number of direct flights per day between key cities.

From: Kuala Phnom


To: Bangkok Manila Singapore Lumpur Jakarta Hanoi Penh
Bangkok 0 2 5 3 1 1 1
Manila 2 0 4 1 1 0 0
Singapore 5 4 0 3 4 2 3
Kuala Lumpur 3 1 3 0 0 3 3
Jakarta 1 1 4 0 0 0 0
Hanoi 1 0 2 3 0 0 0
Phnom Penh 1 0 3 3 0 0 0

a. Draw a graph to represent the number of direct flights.


b. State whether this graph would be considered directed or undirected. Explain why.
c. State the number of ways you can travel from:
i. Phnom Penh to Manila
ii. Hanoi to Bangkok.

TOPIC 9 Graphs and networks 503


9.2 Exam questions

Question 1 (1 mark)
Source: VCE 2021, Further Mathematics Exam 1, Section B, Module 2, Q1; © VCAA.
MC Consider the graph below.

The number of vertices with a degree of 3 is


A. 1 B. 2 C. 3 D. 4 E. 5

Question 2 (1 mark)
Source: VCE 2020, Further Mathematics Exam 1, Section B, Module 2, Q8; © VCAA.
MC The adjacency matrix below shows the number of pathway connections between four landmarks: J, K, L
and M.

J K L M
J ⎡1 3 0 2⎤
K ⎢3 0 1 2⎥
L ⎢⎢0 1 0 2⎥⎥
M ⎣2 2 2 0⎦

A network of pathways that could be represented by the adjacency matrix is


A. K B. K
J J

L L
M M

C. D. K
K J
J

L
L
M
M

504 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
E. K
J

L
M

Question 3 (1 mark)
Source: VCE 2017, Further Mathematics Exam 1, Section B, Module 2, Q1; © VCAA.
MC Which one of the following graphs contains a loop?
A. B.

C. D.

E.

More exam questions are available online.

TOPIC 9 Graphs and networks 505


9.3 Planar graphs
LEARNING INTENTION
At the end of this subtopic you should be able to:
• define face
• identify and draw a planar graph
• apply Euler’s formula for planar graphs.

As indicated in Subtopic 9.2, graphs can be drawn with intersecting edges. However, in many applications
intersections may be undesirable. Consider a graph of an underground railway network. In this case, intersecting
edges would indicate the need for one rail line to be in a much deeper tunnel, which could add significantly to
construction costs.

In some cases it is possible to redraw graphs so that they have no intersecting edges. When a graph can be
redrawn in this way, it is known as a planar graph.

506 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
For example, in the graph shown below, it is possible to redraw one of the intersecting edges so that it still
represents the same information.

B B

This graph A
A can be redrawn as
C
C

D
D

WORKED EXAMPLE 5 Redrawing a graph to make it planar


tlvd-4819

Redraw the graph so that it has no intersecting edges.

E
B
A

C
D

THINK WRITE/DRAW
1. List all connections in the original graph. Connections: AB; AF; BD; BE; CD; CE; DF
2. Draw all vertices and any section(s) of the E
graph that have no intersecting edges. A
B

C
D

3. Draw any further edges that don’t create E


B
intersections. Start with edges that have the
A
fewest intersections in the original drawing.

C
D

TOPIC 9 Graphs and networks 507


4. Identify any edges yet to be drawn and redraw Connections: AB; AF; BD; BE; CD; CE; DF
so that they do not intersect with the other E
edges. B
A

C
D

Note: Although a graph may not appear to be planar, by modifying the placement of some edges, the graph may become planar.

9.3.1 Euler’s formula


In all planar graphs, the edges and vertices create distinct areas referred to as
f3
faces (regions). The planar graph shown has five faces including the area around
the outside. f2 f4

Consider the following group of planar graphs. f1

f5

A B
A A B
H F

C D

B C C D G
Graph 1 Graph 2 Graph 3

The number of vertices, edges and faces for each graph is summarised in the following table.

Vertices Edges Faces


Graph 1 3 3 2
Graph 2 4 5 3
Graph 3 8 12 6

For each of these graphs, we can obtain a result that is well known for any connected planar graph: the
difference between the vertices and edges added to the number of faces will always equal 2.
Graph 1: 3 − 3 + 2 = 2
Graph 2: 4 − 5 + 3 = 2
Graph 3: 8 − 12 + 6 = 2
This is known as Euler’s formula for connected planar graphs.

508 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
Euler’s formula
For any connected planar graph:
v−e+f=2

where v is the number of vertices, e is the number of edges and f is the number of faces (regions).

WORKED EXAMPLE 6 Applying Euler’s formula

Determine the number of faces in a connected planar graph of 7 vertices and 10 edges.
THINK WRITE
1. Substitute the given values into Euler’s v−e+f = 2
formula. 7 − 10 + f = 2

2. Solve the equation for the unknown value. 7 − 10 + f = 2


f = 2 − 7 + 10
f=5

3. Write the answer as a sentence. There will be 5 faces in a connected planar graph with
7 vertices and 10 edges.

Resources
Resourceseses
Interactivities Planar graphs (int-6467)
Euler’s formula (int-6468)

9.3 Exercise

Students, these questions are even better in jacPLUS


Receive immediate Access Track your
feedback and access additional results and
sample responses questions progress

Find all this and MORE in jacPLUS

1. WE5 Redraw the following graphs so that they have no intersecting edges.
a. B b. A D
A
F
C
C

D
E B
G E

TOPIC 9 Graphs and networks 509


2. MC Select which of the following are planar graphs.
a. A. A C H B. A G C
F

I
G I
E
D E D
B
B
C. A C D. F A C H

G D E I
D E
B
B

b. A. B B. B C. B D. B
C C C C
A A A A
G G G G

F F F
E D F D
E D E D E
3. Redraw the following graphs to show that they are planar.
a. G b. G A
C E
C
H
B
B
A
E
D
D
F F

4. Identify which of the following graphs are not planar. B

E F

C
A
A
D

B
C E D
Graph 1 Graph 2

510 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
A
C
D
G
A B C D

F
E
E F G H B
Graph 3 Graph 4

5. WE6 State the number of faces for a connected planar graph of:
a. 8 vertices and 10 edges
b. 11 vertices and 14 edges.

6. a. For a connected planar graph of 5 vertices and 3 faces, state the number of edges.
b. For a connected planar graph of 8 edges and 5 faces, state the number of vertices.

7. For each of the following planar graphs, identify the number of faces.
a. C D b. C
B
D

A E A
E

c. D d. E H
C
E
G
B D
B I
F
A
A C
G F
8. Construct a connected planar graph with:
a. 6 vertices and 5 faces
b. 11 edges and 9 faces.

9. Use the following adjacency matrices to draw graphs that have no intersecting edges.
a. 0 1 1 1 0 b. 0 0 1 1 0
⎡ ⎤ ⎡ ⎤
⎢1 0 1 1 0⎥ ⎢0 0 0 1 1⎥
⎢1 1 0 0 1⎥ ⎢1 0 0 0 0⎥
⎢ ⎥ ⎢ ⎥
⎢1 1 0 0 1⎥ ⎢1 1 0 0 1⎥
⎣0 0 1 1 0⎦ ⎣0 1 0 1 0⎦
10. For the graphs you drew in question 9:
i. identify the number of enclosed faces
ii. identify the maximum number of additional edges that can be added to maintain a simple planar graph.

TOPIC 9 Graphs and networks 511


11. a. Use the planar graphs shown to complete the given table.

A C

B C A D
Graph 1 Graph 2

B C D G H
C

A D
B E
I

A
F J
F E K
Graph 3 Graph 4

Total edges Total degrees


Graph 1
Graph 2
Graph 3
Graph 4

b. State the pattern that is evident from the table.

12. a. Use the planar graphs shown to complete the given table.
B D

C
A
D
E

E A
C F
Graph 1 Graph 2

512 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
K
D E
C
E F J
A
B F

G D G

A H C H
Graph 3 B I

L
Graph 4
Total vertices of even degree Total vertices of odd degree
Graph 1
Graph 2
Graph 3
Graph 4

b. Comment on any pattern evident from the table.

13. Represent the following 3-dimensional shapes as planar graphs.

Tetrahedron Octahedron Cube

14. A section of an electric circuit board is shown in the diagram.

V3
R1 R2 R6 R8
C1

R7
R3 R4

V6

V2 R9
V5

a. Draw a graph to represent the circuit board, using vertices to represent the labelled parts of the diagram.
b. State whether it is possible to represent the circuit board as a planar graph.

TOPIC 9 Graphs and networks 513


15. The table displays the most common methods of communication for a group of people.

Email WhatsApp SMS


Adam Ethan, Liam Ethan, Liam Ethan
Michelle Sophie, Emma, Ethan Sophie, Emma
Liam Adam
Sophie Michelle, Chloe Michelle, Chloe
Emma Chloe Chloe, Ethan, Michelle Chloe, Ethan
Ethan Emma, Adam, Michelle Emma
Chloe Emma, Sophie Emma, Sophie Emma, Sophie

a. Display the information for the entire table in a graph.


b. State who would be the best person to introduce Chloe and Michelle.
c. Display the WhatsApp information in a separate graph.
d. If Liam and Sophie began communicating through WhatsApp, determine how many faces the graph from
part c would have.

9.3 Exam questions

Question 1 (1 mark)
Source: VCE 2020, Further Mathematics Exam 1, Section B, Module 2, Q1; © VCAA.
MC A connected planar graph has seven vertices and nine edges.
The number of faces that this graph will have is
A. 1
B. 2
C. 3
D. 4
E. 5

Question 2 (1 mark)
Source: VCE 2016, Further Mathematics Exam 1, Section B, Module 2, Q5; © VCAA.
MC Consider the planar graph below.

Which one of the following graphs can be redrawn as the planar graph above?

514 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
A. B.

C. D.

E.

Question 3 (1 mark)
Source: VCE 2013, Further Mathematics, Exam 1, Section B, Module 5, Q7; © VCAA.
MC A connected graph consists of five vertices and four edges.
Consider the following five statements.
• The graph is planar.
• The graph has more than one face.
• All vertices are of even degree.
• The sum of the degrees of the vertices is eight.
• The graph cannot have a loop.

How many of these statements are always true for such a graph?
A. 1
B. 2
C. 3
D. 4
E. 5
More exam questions are available online.

TOPIC 9 Graphs and networks 515


9.4 Connected graphs
LEARNING INTENTION
At the end of this subtopic you should be able to:
• define walks, trails, paths, circuits, bridges and cycles in the context of traversing a graph.

9.4.1 Traversing connected graphs B


Many applications of graphs involve an analysis of movement
around a network. These include fields such as transport,
communications and utilities, to name a few.
F C
Movement through a simple connected graph is described in terms A
of starting and finishing at specified vertices by travelling along
the edges. This is usually done by listing the labels of the vertices
visited in the correct order.
In more complex graphs, edges may also have to be indicated, as
D
there may be more than one connection between vertices.
The definitions of the main terms used when describing movement E
across a network are as follows.
Route: ABFADE

Moving around a graph


Walk: Any route taken through a network, including routes that repeat edges and vertices
Trail: A walk with no repeated edges
Path: A walk with no repeated vertices and no repeated edges
Cycle: A path beginning and ending at the same vertex
Circuit: A trail beginning and ending at the same vertex

B B B

C C C

A A A

D D D

E E E
Walk: ABCADCB Trail: ABCADC Path: ABCDE

516 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
B
B

C
C

A
A
D
D

E E
Cycle: ABCDA Circuit: ABCADEA

WORKED EXAMPLE 7 Identifying different routes in a graph


tlvd-4820

In the following network, identify two different routes: B


one cycle and one circuit.

THINK WRITE
1. For a cycle, identify a route that doesn’t repeat a vertex Cycle: ABDCA
and doesn’t repeat an edge, apart from the start/finish.
2. For a circuit, identify a route that doesn’t repeat an edge Circuit: ADBCA
and ends at the starting vertex.

9.4.2 Eulerian trails and circuits


In some practical situations, it is most efficient if a route travels along each edge only once. Examples include
parcel deliveries and council garbage collections. If it is possible to travel a network using each edge only once,
the route is known as an Euler trail or Euler circuit.

Euler trails and circuits


An Euler trail is a trail in which every edge is used once.
An Euler circuit is an Euler trail that starts and ends at the same vertex.

TOPIC 9 Graphs and networks 517


C

B
D
B
A
A C

E
G

E
D F
Euler trail: CDECABE Euler circuit: ABCADGAFEA

Note that in the examples shown, the vertices for the Euler circuit are of even degree, and there are 2 vertices of
odd degree for the Euler trail.

Existence conditions for Euler trails and circuits


• If all of the vertices of a connected graph have an even degree, then an Euler circuit exists.
An Euler circuit can begin at any vertex.
• If exactly 2 vertices of a connected graph have an odd degree, then an Euler trail exists.
An Euler trail will start at one of the odd degree vertices and finish at the other.

9.4.3 Hamiltonian paths and cycles


In other situations, it may be more practical if all vertices can be reached without using all of the edges of the
graph. For example, if you wanted to visit a selection of the capital cities of Europe, you wouldn’t need to use all
the available flight routes.

Moscow

London

Berlin

Paris

Madrid Rome

Athens

Hamiltonian paths and cycles


A Hamiltonian path is a path that passes through every vertex exactly once.
A Hamiltonian cycle is a Hamiltonian path that starts and finishes at the same vertex.

518 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
Hamiltonian paths and Hamiltonian cycles reach all vertices of a network once without necessarily using all of
the available edges.

B B
A A

C C

D D
E E
Hamiltonian path: ABCDE Hamiltonian cycle: ABCEDA

WORKED EXAMPLE 8 Describing an Eulerian trail and Hamiltonian path

Identify an Euler trail and a Hamiltonian path in the following graph.

A B
G
C F
E
D H

THINK WRITE/DRAW
1. For an Euler trail to exist, deg(A) = 3, deg(B) = 5, deg(C) = 4, deg(D) = 4, deg(E) = 4,
there must be exactly 2 vertices deg(F) = 4, deg(G) = 2, deg(H) = 2
with an odd degree. As there are only two odd-degree vertices, an Euler
trail must exist.
2. Identify a route that uses each B G
A
edge once. Begin the route at
one of the odd-degree vertices C
F
and finish at the other.
E

D
H

Euler trail: ABGFHDEFBECDACB


3. Identify a route that reaches B G
A
each vertex once.
C
F
E

D
H

Hamiltonian path: BGFHDECA

4. Write the answer. Euler trail: ABGFHDEFBECDACB (other answers


exist).
Hamiltonian path: BGFHDECA (other answers exist).

TOPIC 9 Graphs and networks 519


Resources
Resourceseses
Interactivities Traversing connected graphs (int-6469)
Euler trails and Hamiltonian paths (int-6470)

9.4 Exercise

Students, these questions are even better in jacPLUS


Receive immediate Access Track your
feedback and access additional results and
sample responses questions progress

Find all this and MORE in jacPLUS

1. WE7 In the following network, identify two different routes: one cycle and one circuit.
B

E
C

2. In the following network, identify three different routes: one path, one cycle and one circuit.

B G

A E
D

C
H

3. State which of the terms walk, trail, path, cycle and circuit could
A B C D E
be used to describe the following routes on the graph shown.
a. AGHIONMLKFGA
b. IHGFKLMNO
F G H I
c. HIJEDCBAGH J
d. FGHIJEDCBAG
K L M N O

520 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
4. Use the following graph to identify the indicated routes.

E
F

D
G
M

B L K J I H C

a. A path commencing at M, including at least 10 vertices and finishing at D


b. A trail from A to C that includes exactly 7 edges
c. A cycle commencing at M that includes 10 edges
d. A circuit commencing at F that includes 7 vertices
5. WE8 Identify an Euler trail and a Hamiltonian path in each of the following graphs.
a. D b. C D
C

B
E
B E

A
F
A
F G
6. Identify an Euler circuit and a Hamiltonian cycle in each of the following graphs, if they exist.
a. C D

E
B
J
F
A
I

G
H
b. C
H
E

A B

F
G

TOPIC 9 Graphs and networks 521


7. Consider the following graphs.
i. ii.
D D
A A

E E

B C B C

F
iii. H iv. G
D D
A A

E E

C
B C B

G
F F
a. Identify which of the graphs have an Euler trail.
b. Identify the Euler trails found.
c. Identify which of the graphs have a Hamiltonian cycle.
d. Identify the Hamiltonian cycles found.
e. Construct adjacency matrices for each of the graphs.
f. Explain how these might assist with making decisions about the existence of Euler trails and circuits, and
Hamiltonian paths and cycles.
8. In the following graph, if an Euler trail commences at vertex A, identify the vertices at which it could finish.

D
E

F
H

522 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9. In the following graph, identify at which vertices a Hamiltonian path could finish if it commences by
travelling from:
a. B to E b. E to A.

A
C

10. In the following graph, other than from G to F, identify the 2 vertices between which you must add an edge
in order to create a Hamiltonian path that commences from:
a. vertex G b. vertex F.

A
B

F
D
E

11. On the map shown, a school bus route is indicated in yellow.


The bus route starts and ends at the school indicated.
a. Draw a graph to represent the bus route.
b. Students can catch the bus at stops that are located at the
intersections of the roads marked in yellow. Determine
whether it is possible for the bus to collect students by X
driving down each section of the route only once. Explain
X
your answer.
c. If roadworks prevent the bus from travelling along the
sections indicated by the Xs, determine whether it would
be possible for the bus to still collect students on the
remainder of the route by travelling each section only School
once.
Explain your answer.

TOPIC 9 Graphs and networks 523


12. The map of an orienteering course is shown. Participants must travel to each of the nine checkpoints along
any of the marked paths.

B
A E

G
D
H
C
I
F

a. Draw a graph to represent the possible ways of travelling to each checkpoint.


b. State the degree of checkpoint H.
c. If participants must start and finish at A, and visit every other checkpoint only once, identify two possible
routes they could take.
d. i. If participants can decide to start and finish at any checkpoint, and the paths connecting D and F, H
and I, and A and G are no longer accessible, it is possible to travel the course by moving along each
remaining path only once. Explain why.
ii. Identify the two possible starting points.

13. a. Use the following graph to complete the table to identify all of the Hamiltonian cycles commencing at
vertex A.
C
Hamiltonian cycle
1. ABCDA B

2.
3.
4.
5. D
6.
A

b. State whether any other Hamiltonian cycles are possible.

14. The graph shown outlines the possible ways a tourist bus can travel G
between eight locations. B

a. If vertex A represents the second location visited, list the


possible starting points. D
A E H
b. If the bus also visited each location only once, state which of the
starting points listed in part a could not be correct.
c. If the bus also needed to finish at vertex D, list the possible paths
that could be taken. C F
d. If instead the bus company decided to operate a route that travelled to each connection only once, state the
possible starting and finishing points.
e. If instead the company wanted to travel to each connection only once and finish at the starting point, state
which edge of the graph would need to be removed.

524 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9.4 Exam questions

Question 1 (1 mark)
Source: VCE 2021, Further Mathematics Exam 1, Section B, Module 2, Q5; © VCAA.
MC Consider the following five statements about the graph shown:
• The graph is planar.
• The graph contains a cycle.
• The graph contains a bridge.
• The graph contains an Eulerian trail.
• The graph contains a Hamiltonian path.
How many of these statements are true?
A. 1 B. 2 C. 3 D. 4 E. 5

Question 2 (1 mark)
Source: VCE 2020, Further Mathematics Exam 1, Section B, Module 2, Q2; © VCAA.
MC Consider the graph below.

A C

E
G

Which one of the following is not a Hamiltonian cycle for this graph?
A. ABCDFEGA B. BAGEFDCB C. CDFEGABC
D. DCBAGFED E. EGABCDFE

Question 3 (1 mark)
Source: VCE 2019, Further Mathematics Exam 1, Section B, Module 2, Q2; © VCAA.
MC Consider the graph below.

The minimum number of extra edges that are required so that an Eulerian circuit is possible in this graph is
A. 0 B. 1 C. 2 D. 3 E. 4
More exam questions are available online.

TOPIC 9 Graphs and networks 525


9.5 Weighted graphs and networks, and trees
LEARNING INTENTION
At the end of this subtopic you should be able to:
• identify the properties of weighted graphs and networks
• solve the shortest path problem
• identify the properties of trees and minimum spanning trees
• apply greedy algorithms to identify the minimum spanning tree.

9.5.1 Weighted graphs


In many applications using graphs, it is useful to attach B 9 C
a value to the edges. These values could represent the
length of the edge in terms of time or distance, or 22
the costs involved with moving along that section of the 8
path. Such graphs are known as weighted graphs. 12 15
E D
Weighted graphs can be particularly useful as analysis 9 28
tools. For example, they can help determine how to
travel through a network in the shortest possible time. A

WORKED EXAMPLE 9 Identifying the shortest path between two vertices


tlvd-4821

The graph represents the distances in kilometres between B 4 C


eight locations. 3
Identify the shortest distance to travel from A to D that goes 2 3 4
to all vertices. A G 6 H
D
2 2
3 5 2
3
E 4
F

THINK WRITE
1. Identify the Hamiltonian paths that connect Possible paths:
the two vertices. a. ABGEFHCD
b. ABCHGEFD
c. AEGBCHFD
d. AEFGBCHD
e. AEFHGBCD

2. Calculate the total distances for each a. 3 + 2 + 2 + 4 + 2 + 3 + 4 = 20


path to determine the shortest distance. b. 3 + 4 + 3 + 6 + 2 + 4 + 3 = 25
c. 3 + 2 + 2 + 4 + 3 + 2 + 3 = 19
d. 3 + 4 + 5 + 2 + 4 + 3 + 2 = 23
e. 3 + 4 + 2 + 6 + 2 + 4 + 4 = 25

3. Write the answer as a sentence. The shortest distance from A to D that travels to all
vertices is 19 km.

526 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9.5.2 Trees
A tree is a simple connected graph with no circuits. As such, A
any pair of vertices in a tree is connected by a unique path,
and the number of edges is always 1 less than the number of
vertices. G

A tree with n vertices has n − 1 edges.


B C
Spanning trees are sub-graphs (graphs that are formed from
H D
part of a larger graph) that include all of the vertices of the
original graph. In practical settings, they can be very useful in
analysing network connections.
I E
For example, a minimum spanning tree for a weighted graph
can identify the lowest-cost connections. Spanning trees can F
be obtained by systematically removing any edges that form a
circuit, one at a time.

A A A
G A G A G

G G
B C D B C D B C D
H H H
B C D B C D
I H I H I
F E I F E I F E

F E F E

There may be more than one spanning tree in a weighted graph.

9.5.3 Greedy algorithms and minimum spanning trees


An algorithm is a finite set of steps or instructions for performing a computation or for solving a problem.
Many algorithms are designed to find a solution to a given problem that either minimises or maximises the
value of some parameter. A greedy algorithm is an algorithm that seems to make the best choice at each step.
Although a greedy algorithm will find a solution to a problem, it will not necessarily find the optimal solution
every time. We call the algorithm greedy whether or not it finds an optimal solution.
Consider the following directed graph, where the aim
Step 1 4
is to determine the largest product of numbers.
A greedy algorithm will try and make what appears to
be the ‘best’ choice at each step. That is: Step 2 5 10

At step 1, there is only one number to select, so the


number 4 will be selected.
Step 3 32 9 2 6
At step 2, the algorithm could choose 5 or 10. A
greedy algorithm will select 10, as it is the larger of
the two numbers.

TOPIC 9 Graphs and networks 527


As the number 10 was chosen in step 2, the possible choices at step 3 are 2 or 6. A greedy algorithm will select
6, as it is the larger of the two numbers.
The following diagrams give a visual representation of how a greedy algorithm selected its numbers, compared
to the optimal solution. The greedy algorithm found a solution with a product of 240 (4 × 10 × 6), which, upon
inspection, is not the largest product. The largest product of numbers (and the optimal solution) is
640 (4 × 5 × 32).
Greedy algorithm solution Optimal solution
Greedy algorithm solution Optimal solution

Step 1 4 Select 10, because it Step 1 4


is larger than 5

Step 2 5 10 Select 6, because it Step 2 5 10


is larger than 2

Step 3 32 9 2 6 Step 3 32 9 2 6

A minimum spanning tree is a spanning tree with the lowest total weighting. Prim’s algorithm and Kruskal’s
algorithm are examples of greedy algorithms that find a minimum spanning tree. When applied correctly,
these greedy algorithms will always find the optimal solution. The proof that Prim’s algorithm and Kruskal’s
algorithm produce a minimum spanning tree for every connected weighted graph is beyond the scope of this
course.

9.5.4 Prim’s algorithm


Prim’s algorithm is a set of logical steps that can be used to identify the minimum spanning tree for a weighted
connected graph.

Prim’s algorithm for determining a minimum spanning tree


Step 1: Select the edge that has the lowest weight. If two or more edges are the lowest, choose any
of these.
Step 2: Looking at the two vertices included so far, select the smallest edge leading from either
vertex. If two or more edges are the smallest, choose any of these.
Step 3: Look at all vertices included so far and select the smallest edge leading from any included
vertex. If two or more edges are the smallest, choose any of these.
Step 4: Continue step 3 until all vertices are connected or until there are n − 1 edges in the spanning
tree. Remember to not select an edge that would create a circuit.

WORKED EXAMPLE 10 Using Prim’s algorithm to determine a minimum spanning tree


tlvd-4822

a. Use Prim’s algorithm to identify the minimum spanning tree C 2 G


of the graph shown.
b. Determine the length of the minimum spanning tree. 2
2 3
B
E
1 D
2 1
1 1

A 3 F

528 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
THINK DRAW
a. 1. Draw the vertices of the graph and include a. C
G
the edge with the lowest weight.
Note: Since BE, EF, DE and DF all have a weight
of 1, choose any of these edges. B
E
1 D

A F

2. Look at the two included vertices B and E. C


G
Select the smallest edge leading from B or E.
Note: You can select edge ED or EF as they both have
a weight of 1. B
E
1 D
1

A F

3. Look at the vertices included so far (B, E and D). C


G
Select the smallest edge leading from any of these
vertices.
Note: You can select EF or DF as they both have a B
E
weight of 1. 1 D
1
1

A F

4. Look at the vertices included so far (B, E, D and F). C


G
Select the smallest edge leading from any of these
vertices. 2
Note: You cannot select edge DF as it will create B
E
a circuit. You must now select an edge with a 1 D
1
weight of 2 (the next lowest). Choose either edge 1
AB, BC or CE. A F

5. Repeat this process until all vertices are connected. C 2 G


When selecting edges, do not create any circuits.

2
B
E
1 D
2 1
1

A F

b. 1. The length of the minimum spanning tree can be b. Length = 1 + 1 + 1 + 2 + 2 + 2 = 9


determined by adding up the weight of the edges
that create the minimum spanning tree.

TOPIC 9 Graphs and networks 529


Note: In Worked example 10, it is possible to draw more than one minimum spanning tree. An example of a
different minimum spanning tree is:
C 2
G
2
B
E
2 1 D
1
1
A F

The length of this minimum spanning tree is still 9. Determine how many different minimum spanning trees are
possible.

9.5.5 Kruskal’s algorithm


Kruskal’s algorithm is a set of logical steps that can be used to identify the minimum spanning tree for a
connected weighted graph.

Kruskal’s algorithm for finding a minimum spanning tree


Step 1: Choose an edge in the graph with the lowest weight and add it to the minimum spanning tree.
(If two or more edges are the smallest, choose any of these.)
Step 2: Find the next edge of lowest weight.
Check if it forms a circuit with the spanning tree formed so far. If a circuit is not formed, add
this edge to the minimum spanning tree; otherwise, disregard it.
(If two or more edges are the smallest, choose any of these.)
Step 3: Repeat step 2 until all vertices are connected or until there are (n − 1) edges in the spanning
tree.

The difference between Prim’s algorithm and Kruskal’s algorithm


Prim’s algorithm selects an edge of lowest weight that must be connected to the edges already included in the
minimum spanning tree. Kruskal’s algorithm builds up the minimum spanning tree piece by piece. The edges do
not necessarily need to be connected to edges already included in the minimum spanning tree.

WORKED EXAMPLE 11 Using Kruskal’s algorithm to determine a minimum spanning tree

a. Use Kruskal’s algorithm to identify the minimum spanning tree of the graph shown.
b. Determine the length of the minimum spanning tree.
B 8 F 7 G

4 2 9

4
A 11 E 14 I
7
8 6 10

C 1 D 2 H

530 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
THINK DRAW
a. 1. Draw the vertices of the graph. a. B F G
Identify the edge with the lowest
weight and include this edge
in the minimum spanning tree.
Edge CD has the lowest E
A I
weight, 1.

C 1 D H

2. The next edge of lowest weight B F G


has a weight of 2 (edges DH
and EF).
2
Select edge EF and check if
adding this edge to the minimum E
A I
spanning tree creates a circuit.
Adding this edge would not
create a circuit, so include it in
the minimum spanning tree.
Note: Edge DH could have been C 1 D H
selected instead.

3. The next edge of lowest weight B F G


has a weight of 2 (edge DH).
Check if adding this edge to the
2
minimum spanning tree creates a
circuit. E
A I
Adding this edge would not
create a circuit, so include it in
the minimum spanning tree.

C 1 D 2 H

4. The next edge of lowest weight B F G


has a weight of 4 (edges AB
and FH).
4 2
Select edge AB and check if
adding this edge to the minimum E
A I
spanning tree creates a circuit.
Adding this edge would not
create a circuit, so include it in
the minimum spanning tree.
C 1 D 2 H

TOPIC 9 Graphs and networks 531


5. The next edge of lowest weight B F G
has a weight of 4 (edge FH).
Check if adding this edge to the
4 2
minimum spanning tree creates a
circuit. E 4
A I
Adding this edge would not
create a circuit, so include it in
the minimum spanning tree.

C 1 D 2 H
6. The next edge of lowest weight
has a weight of 6 (edge DE).
Check if adding this edge to the
minimum spanning tree creates a
circuit.
Adding this edge will create a
circuit, so do not include this
edge.

7. The next edge of lowest weight B F 7 G


has a weight of 7 (edges CE
and FG).
4 2
Adding edge CE to the
minimum spanning tree would E 4
A I
create a circuit, so disregard this
edge.
Adding edge FG would not
create a circuit, so include it in
the minimum spanning tree. C 1 D 2 H

8. The next edge of lowest weight B F 7 G


has a weight of 8 (edges AC
and BF).
4 2
Adding either edge to the
minimum spanning tree would E 4
A I
not create a circuit. Select one
of these edges and include it
in the minimum spanning tree. 8
Edge AC has been selected in
this case. C 1 D 2 H

532 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
9. The next edge of lowest weight B F 7 G
has a weight of 9 (edge GI).
Check if adding this edge to the
4 2 9
minimum spanning tree creates a
circuit. E 4
A I
Adding this edge would not
create a circuit, so include it in
the minimum spanning tree. 8

C 1 D 2 H

10. At this stage all vertices have The minimum spanning tree is:
been reached, so we have the
completed minimum spanning B F 7 G
tree.
Also, since the original graph 4 2 9
has 9 vertices, the minimum
spanning tree should contain 8 E 4
A I
edges.

C 1 D 2 H

Note: Other minimum spanning trees are possible for this


problem.
b. The length of the minimum b. Length = 1 + 2 + 2 + 4 + 4 + 7 + 8 + 9
spanning tree can be determined = 37
by adding up the weights of the
edges that create the minimum
spanning tree.

Resources
Resourceseses
Interactivity Minimum spanning trees and Prim’s algorithm (int-6285)

TOPIC 9 Graphs and networks 533


9.5 Exercise

Students, these questions are even better in jacPLUS


Receive immediate Access Track your
feedback and access additional results and
sample responses questions progress

Find all this and MORE in jacPLUS

1. WE9 Use the graph to identify the shortest distance to travel from A to D that goes to all vertices.
B
2
C
5
4
4
A G 3
H 2 D
2 5
E 2 3
6
F

2. Use the graph to identify the shortest distance to travel from A to I that goes to all vertices.

C 2.5 G

2.92
2.42 1.96

D F
A B I
1.63 2.28 1.96
2.68
2.97
2.26 2.65

E 2.36 H

3. Draw three spanning trees for each of the following graphs.


a. E D b. F

B
F C C
A

G B

A E

534 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
4. A truck starts from the main distribution point at vertex A E
and makes deliveries at each of the other vertices before
returning to A.
22
Determine the shortest route the truck can take. 7 8

6 D
G
18 C

8 12 9
14

B 11 A

5. For the following trees:


i. add the minimum number of edges to create an Euler trail
ii. identify the Euler trail created.

a. A b. G
A

B B
C C
H

F
F
D
D

E
E
c. G d. G
A A
J J
B
B
C C
H K H K
L
M
F D F
D
I I
E E

6. WE10 Consider the graph shown.


a. Use Prim’s algorithm to identify the minimum I 2 J
spanning tree.
1 1
b. State the length of the minimum spanning tree. 4 4
C 2 D
3 3
H B
2 E K
3 3 2
A 3 F
4 4
2 2

G 3 L

TOPIC 9 Graphs and networks 535


7. Use Prim’s algorithm to identify the minimum spanning tree of the graph shown.

A 200 B M C D
100 100 200
100 100
141 141
F 200 E
G H
100 100

141 141 141 141

I K
J

141 141

8. Identify the minimum spanning tree for each of the following graphs.
a. C b. A
38 25 9 7
B
D C 10
20 41 B D
20 E 8
21
A 28 26 H
14 12 10 14
19 7
F
G 32
9 G
E 9 F
9. Draw diagrams to show the steps you would follow when using F
3 4 G
Prim’s algorithm to identify the minimum spanning tree for the C
3 1 3
following graph. 3
2 3 E
1
2 J
5 I D
6
2 3
7
B 4 4
10. WE11 For each of the following graphs: A 2
i. use Kruskal’s algorithm to identify the minimum spanning tree 3
5
ii. state the length of the minimum spanning tree.
H
a. B
35
E
11
22
48
16
A C 25
G
12
25 37
F
11
D

536 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
b. B
5
4
E
8
A 4
7
D G
6
4 9
7
F
9
C

c. 15 d. A 7 B 6 C
A B

13 5 3 8
10

12 D F
C D 4 E 6

17 5 9
19
13

G 8 H
E 21 F 16 G
e. A 3 B

10 9 6 11

C D E

5 6
3 2

F 3 G
11. Consider the graph shown.

B 5 C

5 6
5 4
A D
7 7
G
6 6
5 5

E F

a. If an edge with the highest weighting is removed, identify the shortest Hamiltonian path.
b. If the edge with the lowest weighting is removed, identify the shortest Hamiltonian path.

TOPIC 9 Graphs and networks 537


12. Consider the graph shown.
a. Identify the longest and shortest Hamiltonian paths. B 50 C
b. State the minimum spanning tree for this graph.
71 71
78 79
A D
78 80
50 50
I 80
78
H E
79 80
71 71

G 50 F

13. The weighted graph represents the costs incurred by a F


salesperson when moving between the locations of various 310
C
businesses.
120
a. Identify the cheapest way of travelling from A to G. 110 190 110
200
b. Identify the cheapest way of travelling from B to G. D 120
c. If the salesperson starts and finishes at E, state the
170 E 100 G
cheapest way to travel to all vertices. A
140 130
180
140
B
320
H

14. The organisers of the Tour de Vic bicycle race are using the following map to plan the event.

Shepparton
122 km
Bridgewater
40 km 82 km
60 km
Bendigo
38 km
Maryborough Seymour
Castlemaine
89 km
48 km 117 km
Ararat
99 km
98 km Ballarat 38 km
Sunbury
57 km
Bacchus Marsh

103 km
86 km 58 km

77 km Geelong
Colac

a. Draw a weighted graph to represent the map.


b. If they wish to start and finish in Geelong, determine the shortest route that can be taken that includes a
total of nine other locations exactly once, two of which must be Ballarat and Bendigo.
c. Draw the minimum spanning tree for the graph.
d. If the organisers decide to use the minimum spanning tree as the course, determine the shortest possible
distance if each location had to be reached at least once.
538 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
15. A mining company operates in several locations in Western Australia and the Northern Territory, as shown
on the map.

I
C F

B
E
D

Flights operate between selected locations, and the flight distances (in km) are shown in the following table.

A B C D E F G H I
A 1090 960 2600 2200
B 1090 360 375 435
C 360
D 960 375
E 435
F 1590 1400
G 2600 1590 730
H 1400 730 220
I 2200 220

a. Show this information as a weighted graph.


b. State whether a Hamiltonian path exists. Explain your answer.
c. Identify the shortest distance possible for travelling to all sites the minimum number of times if you start
and finish at:
i. location A
ii. location G.
d. Draw the minimum spanning tree for the graph.

TOPIC 9 Graphs and networks 539


9.5 Exam questions

Question 1 (1 mark)
Source: VCE 2020, Further Mathematics Exam 1, Section B, Module 2, Q3; © VCAA.

2
4

1
5
3

MC Which one of the following is not a spanning tree for the network above?
A. 2 B. 2
4 4

1 1
3 5 3 5

6 6
C. 2 D. 2
4 4

1 1
3 5 5
3

6 6
E. 2
4

1
3 5

540 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
Question 2 (1 mark)
Source: VCE 2020, Further Mathematics Exam 1, Section B, Module 2, Q5; © VCAA.
MC The network below shows the distances, in metres, between camp sites at a camping ground that has

electricity.
The vertices A to I represent the camp sites.

C 7 D
10
B
8
7 11
10 E 5
x F
A 8

G 6
9
5 7
6

I
H 10

The minimum length of cable required to connect all the camp sites is 53 m.
The value of x, in metres, is at least
A. 5 B. 6 C. 8 D. 9 E. 11

Question 3 (1 mark)
Source: VCE 2019, Further Mathematics Exam 1, Section B, Module 2, Q5; © VCAA.
MC The following diagram shows the distances, in metres, along a series of cables connecting a main server to
seven points, A to G, in a computer network.

A 28 B

36 38

main server 35 C
15
40
D
28 E
33 35
30
32
F G

The minimum length of cable, in metres, required to ensure that each of the seven points is connected to the
main server directly or via another point is
A. 175 B. 203 C. 208 D. 221 E. 236
More exam questions are available online.

TOPIC 9 Graphs and networks 541


doc-37619
9.6 Review
Hey students! Now that it's time to revise this topic, go online to:
Access the Review your Watch teacher-led Practise exam
topic summary results videos questions

Find all this and MORE in jacPLUS

9.6 Exercise
Multiple choice
1. MC The minimum number of edges in a connected graph with eight vertices is:
A. 5 B. 6 C. 7 D. 8 E. 9

2. MC Select the graph that does not have an Euler trail.


A. G B. G
D D
H
H
C A C A

E F E F

B B
C. G D. G
D D
H
C A C A
H

E F F
E

B B
E. G
D
H
C A

E F

542 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
3. MC A connected graph with 9 vertices has 10 faces. The number of edges in the graph is:
A. 15 B. 16 C. 17 D. 18 E. 19

4. MC Select the graph that is a spanning tree for the following graph.
G
D

C H

E
F

B A

A. G B. G
D D

C H C H

E E
F F

B A B A

C. G D. G
D D

C H C H

E E
F F

B A B A

E. G
D

C H

E
F

B A

TOPIC 9 Graphs and networks 543


5. MC Select the length of the minimum spanning tree of the following graph.
D
B 7 8
E
C
4 10
F
5 4 9
2

A G
6

A. 33 B. 26 C. 34 D. 31 E. 30

6. MC An Euler circuit can be created in the following graph by adding an edge between the vertices:
B A
D

C E

A. A and D. B. A and B. C. A and C. D. B and C. E. A and E.

7. MC The adjacency matrix that represents the following graph is:


C

B
D

A. 0 2 2 2 B. 0 1 1 0 C. 0 2 1 1
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
⎢2 0 2 0⎥ ⎢1 0 1 0⎥ ⎢2 1 2 0⎥
⎢2 2 0 1⎥ ⎢1 1 0 1⎥ ⎢1 2 1 1⎥
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎣2 0 1 0⎦ ⎣1 0 1 0⎦ ⎣1 0 1 1⎦
D. 1 2 1 1 E. 0 2 1 1
⎡ ⎤ ⎡ ⎤
⎢2 0 2 0⎥ ⎢2 0 2 0⎥
⎢1 2 1 1⎥ ⎢1 2 0 1⎥
⎢ ⎥ ⎢ ⎥
⎣1 0 1 0⎦ ⎣1 0 1 0⎦

544 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
8. MC The number of faces in the planar graph shown is:
C

B G D

A. 6 B. 7 C. 8 D. 9 E. 10

9. MC A Hamiltonian cycle for the graph shown is:


C B

E
G
F A

A. ABCEDGFA B. ABDGFCEA C. ABDGFCEDEBCFA


D. ABDGFCECFA E. ABDGFA

10. MC In the graph shown, select the number of edges that are bridges.

A. 0 B. 1 C. 2
D. 3 E. 4
Short answer
11. a. Identify whether the following graphs are planar or not planar.
i. C D ii. C D

B G
B F
E
E
F
A
G
A

TOPIC 9 Graphs and networks 545


iii. D iv. D

B
B
E
F
C E
G G C

A
F

A
b. Redraw the graphs that are planar without any intersecting edges.

12. Complete the following adjacency matrices.

a. 1 1 0 1 b. 0 1 2 1
⎡ ⎤ ⎡ ⎤
⎢ 0 0⎥ ⎢ 0 0 1⎥
⎢ 3 1 ⎥ ⎢ 2 0 2 ⎥
⎢ ⎥ ⎢ ⎥
⎣ 1 0⎦ ⎢ 2 2⎥
⎣1 3 0⎦

c. 0 1 3 1 d. 0 0
⎡ ⎤ ⎡ ⎤
⎢2 0 1 ⎥ ⎢2 0 1 ⎥
⎢ 3 0 2 ⎥ ⎢1 2 0 1 1 0 ⎥
⎢ ⎢ ⎥
1 2 2 1⎥ ⎢3 0 1⎥
⎢ ⎥
⎢ 3 3 1⎥ ⎢ 2 0 0 3⎥
⎢ ⎥
⎣2 0 1 0⎦ ⎢1 1 2 0 0 2⎥
⎣0 0 1 0⎦
13. Identify which of the following graphs are:
i. simple ii. planar.
a. D C

A
E

F
G
b. B C

D
E

F
G

546 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
c. A d. A

F
D

B B
C C

E
e. A f. F

E
A

D
D
B
B
C

C
F E

g. F h. F
E A
A
E

D
C B
D
B
C

14. Identify which of the following graphs are isomorphic.


a. b.

c. d.

TOPIC 9 Graphs and networks 547


15. For each of the following graphs:
i. add the minimum number of edges required to create an Euler trail
ii. state the Euler trail created.
a. B b. D
A
B
C
A

C E

D G
F H

16. a. Determine the shortest distance from start to finish in the following graph.
Finish
17
5 8
2
9 4 11
2
3
4
Start
12 3

b. Calculate the total length of the shortest Hamiltonian path from start to finish.
c. Draw the minimum spanning tree for this graph.
Extended response
17. The flying distances between the capital cities of Australian mainland states and territories are listed in the
following table.
Adelaide Brisbane Canberra Darwin Melbourne Perth Sydney
Adelaide 2055 1198 3051 732 2716 1415
Brisbane 2055 1246 3429 1671 4289 982
Canberra 1198 1246 4003 658 3741 309
Darwin 3051 3429 4003 3789 4049 4301
Melbourne 732 1671 658 3789 3456 873
Perth 2716 4289 3741 4049 3456 3972
Sydney 1415 982 309 4301 873 3972

a. Draw a weighted graph to show this information.


b. If technical problems are preventing direct flights from Melbourne to Darwin and from Melbourne to
Adelaide, calculate the shortest way of flying from Melbourne to Darwin.
c. If no direct flights are available from Brisbane to Perth or from Brisbane to Adelaide, calculate the
shortest way of getting from Brisbane to Perth.
d. Draw the minimum spanning tree for the graph and state its total distance.

548 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
18. The diagram shows the streets in a suburb of a city with a section of underground tunnels shown in dark
blue. Weightings indicate distances in metres. The tunnels are used for utilities such as electricity, gas, water
and drainage.

B 695 E

625 325 815


565
480 D H
A
350 365
C
1035
805 1195
1025

G 580 F

a. i. If the gas company wishes to run a pipeline that minimises its total length but reaches each vertex,
calculate the total length required.
ii. Draw a graph to show the gas lines.
b. If drainage pipes need to run from H to A, calculate the shortest path they can follow. Determine how
long this path will be in total.
c. A single line of cable for a computerised monitoring system needs to be placed so that it starts at D and
reaches every vertex once. Calculate the minimum length possible and determine the path it must follow.
d. If a power line has to run from D so that it reaches every vertex at least once and finishes back at the start,
determine what path it must take to be a minimum.
19. A brochure for a national park includes a map showing the walking trails and available camping sites.

10
F

E
7

A 2 4
7 D
2 5

6 4 3
5 C
B

a. Draw a weighted graph to represent all the possible ways of travelling to the camp sites.
b. Draw the adjacency matrix for the graph.
c. Determine whether it is possible to walk a route that travels along each edge exactly once. Explain your
answer, and indicate the path if it is possible.
d. If the main entrance to the park is situated at A, calculate the shortest way to travel to each campsite and
return to A.

TOPIC 9 Graphs and networks 549


20. A cruise ship takes passengers around Tasmania between the seven locations marked on the map.

Flinders Island
King Island

Robbins
Island Devonport

Hobart Maria
Island
Bruny Island

The sailing distances between locations are indicated in the table.

Hobart Bruny I. Maria I. Flinders I. Devonport Robbins I. King I.


Hobart – 65 km 145 km 595 km 625 km – –
Bruny I. 65 km – 130 km – – 715 km –
Maria I. 145 km 130 km – 450 km – – –
Flinders I. 595 km – 450 km – 330 km 405 km 465 km
Devonport 625 km – – 330 km – 265 km 395 km
Robbins I. – 715 km – 405 km 265 km – 120 km
King I. – – – 465 km 395 km 120 km –

a. Draw a weighted graph to represent all possible ways of travelling to the locations.
b. Calculate the shortest route from Hobart to Robbins Island.
c. Calculate the shortest way of travelling from Hobart to visit each location only once.
d. Calculate the shortest way of sailing from King Island, visiting each location once and returning to King
Island.

9.6 Exam questions

Question 1 (2 marks)
Source: VCE 2021, Further Mathematics Exam 2, Section B, Module 2, Q2; © VCAA.
George lives in Town G and Maggie lives in Town M.
The diagram below shows the network of main roads between Town G and Town M.
The vertices G, H, I, J, K, L, M, N and O represent towns.
The edges represent the main roads. The numbers on the edges indicate the distances, in kilometres, between
adjacent towns.
550 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
I 35 K L
25 30
20
15 44
H
J 50
26 N
30 16
32 M
42
G 28 O

a. What is the shortest distance, in kilometres, between Town G and Town M? (1 mark)
b. George plans to travel to Maggie’s house. He will pass through all the towns shown above.
George plans to take the shortest route possible.
Which town will George pass through twice? (1 mark)
Question 2 (4 marks)
Source: VCE 2020, Further Mathematics Exam 2, Section B, Module 2, Q3; © VCAA.
A local fitness park has 10 exercise stations: M to V.
The edges on the graph below represent the tracks between the exercise stations.
The number on each edge represents the length, in kilometres, of each track.

1.8
M
0.6 T
S
1.5
1.0 N
1.2
0.7
0.9
U
0.8
R 0.8 0.6 V O
1.2 1.2
0.4 1.4

Q 0.8 P

The Sunny Coast cricket coach designs three different training programs, all starting at exercise station S.

Training program number Training details


1 The team must run to exercise station O.
2 The team must run along all tracks just once.
3 The team must visit each exercise station and return
to exercise station S.

a. What is the shortest distance, in kilometres, covered in training program 1? (1 mark)


b. i. What mathematical term is used to describe training program 2? (1 mark)
ii. At which exercise station would training program 2 finish? (1 mark)
c. To complete training program 3 in the minimum distance, one track will need to be repeated.

Complete the following sentence by filling in the boxes provided.


This track is between exercise station ________ and exercise station ________. (1 mark)

TOPIC 9 Graphs and networks 551


Question 3 (3 marks)
Source: VCE 2019, Further Mathematics Exam 2, Section B, Module 2, Q1; © VCAA.
Fencedale High School has six buildings. The network below shows these buildings represented by vertices. The
edges of the network represent the paths between the buildings.

office

library

science
laboratories computer
rooms

mathematics
classrooms gymnasium

a. Which building in the school can be reached directly from all other buildings? (1 mark)
b. A school tour is to start and finish at the office, visiting each building only once.
i. What is the mathematical term for this route? (1 mark)
ii. Draw in a possible route for this school tour on the diagram below. (1 mark)
office

library

science
laboratories computer
rooms

mathematics
classrooms gymnasium

Question 4 (1 mark)
Source: VCE 2019, Further Mathematics Exam 1, Section B, Module 2, Q4; © VCAA.
MC Two graphs, labelled Graph 1 and Graph 2, are shown below.

Graph 1 Graph 2

552 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
Which one of the following statements is not true?
A. Graph 1 and Graph 2 are isomorphic.
B. Graph 1 has five edges and Graph 2 has six edges.
C. Both Graph 1 and Graph 2 are connected graphs.
D. Both Graph 1 and Graph 2 have three faces each.
E. Neither Graph 1 nor Graph 2 are complete graphs.

Question 5 (1 mark)
Source: VCE 2017, Further Mathematics Exam 1, Section B, Module 2, Q6; © VCAA.

MC An Eulerian trail for the graph above will be possible if only one edge is removed.
In how many different ways could this be done?
A. 1
B. 2
C. 3
D. 4
E. 5
More exam questions are available online.

Hey teachers! Create custom assignments for this topic


Create and assign Access quarantined Track your
unique tests and exams tests and assessments students’ results

Find all this and MORE in jacPLUS

TOPIC 9 Graphs and networks 553


Answers c.

⎢0
0 0
0
1
1
1
0
2
0
0
1⎥

⎢1 1 0 0 0 0⎥
Topic 9 Graphs and networks ⎢1 0 0 0 0 3⎥
⎢ ⎥
9.2 Definitions and terms ⎢2 0 0 0 0 0⎥
⎣0 1 0 3 0 0⎦
9.2 Exercise d. 0 1 1 1 0 0
1.
⎡ ⎤
BED1 BATH1 ⎢1 0 1 1 1 1⎥
⎢1 1 0 0 1 0⎥
⎢1 1 0 0 0 1⎥
⎢ ⎥
⎢0 1 1 0 0 4⎥
⎣0 1 0 1 4 0⎦
10. a. A B
BED2 LOUNGE

BATH2 TV
2.
A C D D
B C
b.
E B
A
G
H

I F C
D
3. a. Edges = 7; degree sum = 14
a. Edges= 10; degree sum= 20
4. a. Edges= 9; degree sum= 18
b. Edges= 9; degree sum= 18 c.
5. a. deg(A) = 5; deg(B) = 3; deg(C) = 4; deg(D) = 1; A
deg(E) = 1 B
b. deg(A) = 0; deg(B) = 2; deg(C) = 2; deg(D) = 3;
deg(E) = 3
c. deg(A) = 4; deg(B) = 2; deg(C) = 2; deg(D) = 2;
deg(E) = 4 E
d. deg(A) = 1; deg(B) = 2; deg(C) = 1; deg(D) = 1;
deg(E) = 3 C
6. a. The graphs are isomorphic. D
b. The graphs are isomorphic.
d.
c. The graphs are not isomorphic. B
d. The graphs are isomorphic. A
7. a. Different degrees and connections
b. Different connections
8. The isomorphic pairs are graphs 2 and 4, and graphs 5
and 6.
D
9. a. 0 1 1 1 0
⎡ ⎤
⎢1 0 1 0 1⎥
⎢1 1 0 0 0⎥
⎢ ⎥ C
⎢1 0 0 0 1⎥
⎣0 1 0 1 0⎦
b. 0 0 1 1 2 0 E
⎡ ⎤
⎢0 0 1 0 0 1 ⎥
⎢1 1 1 0 0 0 ⎥
⎢1 0 0 0 0 1 ⎥
⎢ ⎥
⎢2 0 0 0 0 0 ⎥
⎣0 1 0 1 0 1 ⎦

554 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
11. Graph 1: Graph 2: c. B
A C
0 1 1 0 0 1 0 0 1 0
⎡ ⎤ ⎡ ⎤
⎢1 0 1 0⎥ ⎢1 0 0 1 0 0⎥
⎢1 1 0 1⎥ ⎢0 0 0 0 1 1⎥
⎢ ⎥
⎣0 0 1 0⎦ ⎢0 1 0 0 0 1⎥ D
⎢ ⎥ I
⎢1 0 1 0 0 0⎥
⎣0 0 1 1 0 0⎦
E
H
Graph 3: Graph 4:
G F
0 1 0 0 1 0 2 1 0 0 0
⎡ ⎤ ⎡ ⎤ 14. L
⎢1 0 1 0 0⎥ ⎢2 0 0 0 1 0⎥
K
⎢0 1 0 1 0⎥ ⎢1 0 0 1 0 0⎥
⎢ ⎥ ⎢0 J
⎢0 0 1 0 1⎥ 0 1 0 0 0⎥
⎢ ⎥
⎣1 0 0 1 0⎦ ⎢0 1 0 0 0 1⎥
⎣0 0 0 0 1 0⎦
I
G B
Graph 5:
H
0 1 1 1 1 1
⎡ ⎤
⎢1 0 1 1 1 1⎥ F D A
⎢1 1 0 1 1 1⎥ C
⎢1 1 1 0 1 1⎥
⎢ ⎥
⎢1 1 1 1 0 1⎥
E
⎣1 1 1 1 1 0⎦
15.
Simple Connected
12. a. 0 0 1 b. 2 1 0 0 Graph 1 Yes Yes
⎡ ⎤
[0 2 2] ⎢1 0 1 2⎥ Graph 2 Yes Yes
1 2 0 ⎢0 1 0 1⎥
⎢ ⎥ Graph 3 Yes Yes
⎣0 2 1 0⎦
c. 0 0 1 1 0 d. 0 0 0 1 0 Graph 4 No Yes
⎡ ⎤ ⎡ ⎤
⎢0 0 0 0 0⎥ ⎢0 0 0 1 0⎥ Graph 5 No Yes
⎢1 0 0 0 2⎥ ⎢0 0 0 0 1⎥
⎢ ⎥ ⎢ ⎥ 16. a.
⎢1 0 0 0 1⎥ ⎢1 1 0 0 0⎥ C
⎣0 0 2 1 0⎦ ⎣0 0 1 0 1⎦ D
13. Answers will vary. Possible answers are shown.
a. B
B
A

E
C
A
F b. Total number of games played
17. a. Y H M
D
E
b. B
A

G C C
S P
b. Huairou and Shunyi
F
c. Simple connected graph
D
E

TOPIC 9 Graphs and networks 555


18. a. HAN b. A

BAN MAN
G
PP E
JAK

KL C
D
SIN B

b. Directed, as it would be important to know the direction F


of the flight H
i. 10 ii. 7
4. Graph 3
9.2 Exam questions 5. a. 4
Note: Mark allocations are available with the fully worked b. 5
solutions online. 6. a. 6
1. E b. 5
2. E 7. a. 3
3. B b. 3
c. 2
9.3 Planar graphs
d. 7
9.3 Exercise 8. a. A B
1. a. B

F
A
C

C E D
b. A
E D B
b. D

F
A C
C
D
E

B 9. a. A
B
2. a. All of them b. All of them
3. a. C
G F

E
D B D
A

556 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
b. A C 14. a. V3
R1 R8
R6

R2 C1
R3 R4 R7
B D

V2
V5 V6 R9
b. No
E 15. a. Michelle
10. a. i. 3 ii. 2 Adam
b. i. 1 ii. 4
11. a.
Total edges Total degrees
Sophie
Graph 1 3 6
Ethan
Graph 2 5 10 Liam Emma
Graph 3 8 16 Chloe
Graph 4 14 28

b. Total degrees = 2 × total edges b. Sophie or Emma


12. a.
Total vertices of Total vertices of c. Michelle
even degree odd degree
Graph 1 3 2 Adam

Graph 2 4 2
Graph 3 4 4
Sophie
Graph 4 6 6 Ethan
Liam Emma
b. No clear pattern is evident.
Chloe
13.
A

E d. 4
A
B
9.3 Exam questions
D D Note: Mark allocations are available with the fully worked
C solutions online.
1. D
B 2. A
F 3. C
C
Tetrahedron Octahedron 9.4 Connected graphs
B
9.4 Exercise
A
C 1. Cycle: ABECA (others exist)
Circuit: BECDB (others exist)
D
2. Path: ABGFHDC (others exist)
Cycle: DCGFHD (others exist)
Circuit: AEBGFHDCA (others exist)
3. a. Walk, trail and circuit
E G
b. Walk, trail and path
H
c. Walk, trail, path, cycle and circuit
d. Walk and trail
F 4. a. MCHIJGFAED b. AEDBLKMC
c. MDEAFGJIHCM d. FMCHIJGF
Cube

TOPIC 9 Graphs and networks 557


5. a. Euler trail: AFEDBECAB; Hamiltonian path: BDECAF c. Yes, because the degree of each remaining intersection or
b. Euler trail: GFBECGDAC; corner point is still an even number.
Hamiltonian path: BECADGF 12. a. A B
G
6. a. Euler circuit: AIBAHGFCJBCDEGA;
D
Hamiltonian cycle: none exists
H
b. Euler circuit: ABCDEFGHA (others exist);
E
Hamiltonian cycle: HABCDEFGH (others exist)
F I C
7. a. Graphs i, ii and iv
b. Graph i: ACDABDECB (others exist) b. 4
Graph ii: CFBCEDBADCA (others exist) c. i. ADHFICEBGA ii. AHDFICEBGA
Graph iv: CFBCEDCADBAH (others exist) d. i. Yes, because two of the checkpoints have odd degree.
c. Graphs i and ii ii. H and C
d. Graph i: CEDABC 13. a.
Hamiltonian cycle
Graph ii: CEDABFC
e. i. 0 1 1 1 0 1. ABCDA
⎡ ⎤
⎢1 0 1 1 0⎥ 2. ABDCA
⎢1 1 0 1 1⎥
⎢ ⎥ 3. ACBDA
⎢1 1 1 0 1⎥ 4. ACDBA
⎣0 0 1 1 0⎦
ii. 0 1 1 1 0 0
5. ADBCA
⎡ ⎤ 6. ADCBA
⎢1 0 1 1 0 1⎥
⎢1 1 0 1 1 1⎥
⎢1 1 1 0 1 0⎥ b. Yes, commencing on vertices other than A
⎢ ⎥ 14. a. B, C, D, F or G b. B or C
⎢0 0 1 1 0 0⎥
⎣0 1 1 0 0 0⎦ c. None possible d. D or E
e. D to E
iii. 0 1 1 1 0 0 0 1
⎡ ⎤
⎢1 0 1 1 0 1 0 0⎥ 9.4 Exam questions
⎢1 1 0 1 1 1 0 0⎥
⎢1 1 1 0 1 0 0 0⎥ Note: Mark allocations are available with the fully worked
⎢ ⎥
⎢0 0 1 1 0 0 0 0⎥ solutions online.
⎢0 1 1 0 0 0 1 1⎥
⎢ ⎥ 1. D 2. D 3. C
⎢0 0 0 0 0 1 0 0⎥
⎣1 0 0 0 0 0 0 0⎦
9.5 Weighted graphs and networks, and trees
iv. 0 1 1 1 0 0 1
⎡ ⎤
⎢1 0 1 1 0 1 0⎥ 9.5 Exercise
⎢1 1 0 1 1 1 0⎥
⎢ ⎥ 1. 21
⎢1 1 1 0 1 0 0⎥ 2. 20.78
⎢0 0 1 1 0 0 0⎥
⎢ ⎥ 3. a. E
⎢0 1 1 0 0 0 0⎥ D E D
E D
⎣1 0 0 0 0 0 0⎦
f. The presence of Euler trails and circuits can be identified F C F C F C
using the adjacency matrix to check the degree of the
vertices. The presence of Hamiltonian paths and cycles
can be identified by using the adjacency matrix to check G B G B
G B
the connections between vertices. A A A
8. E Other possibilities exist.
9. a. A or C b. B or D b. F F F
10. a. G to C b. F to E
11. a. B C B C B C
A
A A

D D D

E E E
Other possibilities exist.
School 4. ABGEDCA or ACDEGBA (length 66)

b. Yes, because the degree of each intersection or corner


point is an even number.

558 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
5. a. i. A 7. A B M C D
100 100
B 100 141
141 100
C F E
G 100 H
100
141 141 141

I K
D F J
141
E
L
ii. ADCBFCE or ADCFBCE
8. a. C
b. i.
A G 25
B
B D
C 20
H E
A 28 26
F 14
D
19
F
E G
ii. AHGACBFCDE or similar b. A
c. i. G
A
7
J
B C 10
C B D
K 8
H
H
F 10
D
I 7
E
E 9 G
ii. KDEKHJKCFIAGBF or similar 9 F
d. i. G 9. Step 1 Step 2
A
J F F G
B 1 1
C E 3
K 1 1 J
H 2
L D D
M
D F
Step 3 Step 4
I 3 F G 3 F G
C C
E 1 1
E 3 E 3
ii. EDMEIFMLBGACKHJKA or similar 2 J 2 J
1 1
I 2 I 2
6. a. D 2 D
I J
1 1 A 2 B
3
C 2 D
3 3 H
H B
2 E K 10. a. i. B
3 3 2
A F
E
2 2 11
22
G L 16
A C
b. 24 G
12 37
F
11
D
ii. 109

TOPIC 9 Graphs and networks 559


b. i. B b. B 50 C
5
4 E
71
8
A 4
D G
6 A D
4 78
50 I 50
F
C
H E
ii. 31
c. i. A B 71 71

G 50 F
13 13. a.ADEG
10
b. BHG
c. EGFCDABHE
12
C D 14. a. Bridgewater Shepparton
Bendigo 122
17 60 40 38 82
13 Maryborough 48 Castlemaine 117
89 Seymour
Ballarat 57 99
Ararat Bacchus Marsh
98
16 38 Sunbury
E F G 86 58
103
ii. 81
d. i. Colac 77 Geelong
A B 6 C
b. 723 km
c. Bridgewater Shepparton
5 3 Bendigo
40
38 82
Maryborough 48 Castlemaine
D Seymour
F 89
4 E 6 99
Ararat Ballarat 57 Bacchus Marsh
98
5 38 Sunbury
58

Colac 77 Geelong
G 8 H
d. 859 km
ii. 37 15. a. F
e. i. C
A 3 B
360 1400
435 1590
B
E H
6 G 730 220
375
D 2600 I
C D E 1090
960
5 2200
3 2

A
F 3 G b. No; C and E are both only reachable from B.
ii.22 c. i. 12 025
11. a. FDCGBAE (other solutions exist) ii. 12 025
b. FDCBAEG (other solutions exist)
12. a. Longest: IFEDCBAHG (or similar variation of the same
values)
Shortest: IAHGFEDCB (or similar variation of the same
values)

560 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
d. F iii. D
C
360 1400
B 435 C
E H
G 730 B
220 F
375 E G
D I

960
2200
A
iv. D
A
G
9.5 Exam questions
B E
Note: Mark allocations are available with the fully worked
solutions online.
1. B C
2. D
3. B
A
9.6 Review F
12. a. 1 1 0 1
9.6 Exercise ⎡ ⎤
⎢1 0 3 0⎥
Multiple choice ⎢0 3 1 1⎥
⎢ ⎥
1. C 2. D 3. C 4. B ⎣1 0 1 0⎦
5. E 6. A 7. E 8. A b. 0 1 2 1 1
9. A 10. E ⎡ ⎤
⎢1 0 2 0 1⎥
Short answer ⎢2 2 0 2 3⎥
⎢ ⎥
11. a. i. Planar ii. Planar ⎢1 0 2 2 2⎥
iii. Planar iv. Planar ⎣1 1 3 2 0⎦
b. i. c. 0 2 1 3 1 2
⎡ ⎤
C
⎢2 0 3 1 1 0⎥
⎢1 3 0 2 3 1⎥
D ⎢3 1 2 2 2 1⎥
⎢ ⎥
B ⎢1 1 3 2 3 1⎥
F ⎣2 0 1 1 1 0⎦
d. 0 2 1 3 0 1 0
E ⎡ ⎤
⎢2 0 2 1 2 1 0⎥
⎢1 2 0 1 1 0 1⎥
A ⎢ ⎥
G ⎢3 1 1 0 0 2 1⎥
⎢0 2 1 0 0 0 3⎥
ii. C D ⎢ ⎥
⎢1 1 0 2 0 0 2⎥
⎣0 0 1 1 3 2 0⎦
G
13. a. Simple, planar b. Simple, planar
c. Simple, planar d. Simple, planar
B e. Simple f. Simple, planar
g. Simple, planar h. Simple, planar
E
14. Graphs a and d are isomorphic.
15. a. i. 3
B
A F

D
ii. ABDBCADC

TOPIC 9 Graphs and networks 561


b. i. D c. Finish
8
A
B 2
9
2
C 3
Start
3
Extended response
E 17. a. See the figure at the foot of the page.*
b. Via Canberra (4661 km)
G c. Via Sydney (4954 km)
H d. See the figure at the foot of the page.*
F
ii. BAFEHGFHDCEBC
16. a. 23
b. 34

*17. a. Darwin
3429
Brisbane

4301
4289 982
4049

4003 2055
3051 1671 1246
3189
3972
Sydney
Perth 1415
3741
309
2716
Adelaide 1198 Canberra 873
3456 658
732

Melbourne
*17. d. Darwin
Brisbane

982

3051

Sydney

Perth

2716
Canberra
Adelaide 873
658
732

Melbourne

The total distance is 9012 km.

562 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition
18. a. i. 3805 m b. 0 2 1 1 0 1
⎡ ⎤
ii. See the figure at the foot of the page.* ⎢2 0 1 1 0 0⎥
b. HEDA, 1860 m
⎢1 1 0 2 1 0⎥
⎢1 1 2 0 1 0⎥
c. 4905 m, DFGCABEH ⎢ ⎥
⎢0 0 1 1 0 1⎥
d. DEHFGCABD, 5260 m
⎣1 0 0 0 1 0⎦
19. a. F c. No, as there are more than two vertices of odd degree.
10 d. AFEDCBA(39)
E
20. a. See the figure at the foot of the page.*
7 b. Hobart–Bruny–Robbins (780 km)
4 c. Hobart–Bruny–Robbins–King–Devonport–Flinders–
Maria (2075 km)
9 D 5
A d. King–Devonport–Flinders–Maria–Hobart–Bruny–
9 Robbins–King
8
14 3
13
6
C
9
B

*18. a. ii. B E
325 815
565
H
A 365 D
350
C

805

G 580 F
*20. a. Flinders Island
King Island 465

405
120 395 330

Robbins
Island 265
Devonport 595
450
625

715

Hobart 145
Maria
65 Island
130
Bruny Island

TOPIC 9 Graphs and networks 563


9.6 Exam questions
Note: Mark allocations are available with the fully worked
solutions online.
1. a. 86 km b. Town K
2. a. 3.2 km
b. i. Eulerian trail
ii. Eulerian trails start and finish at vertices with an odd
degree. The training program starts at S, with a degree
of 3, and will finish at P, also with a degree of 3.
c. This track is between exercise station S and exercise
station T.

1.8
M
T
S
1.5
N
1.0 1.2
0.7 0.9
U
0.8
R 0.8
0.6 V
O
1.2 1.2
0.4 1.4

Q 0.8 P
3. a. The office
b. i. Hamiltonian cycle
ii. office

library

science
laboratories computer
rooms

mathematics
classrooms gymnasium
4. A
5. E

564 Jacaranda Maths Quest 11 General Mathematics VCE Units 1 & 2 Third Edition

You might also like