Networks and decision mathematics (WACE Year 12 Mathematics Applications)
“Represent situations with graphs and networks, use terminology and matrices, and solve shortest path, minimum spanning tree and connection problems.”
A network is a graph whose edges carry weights such as distance, cost or time. Represent a situation with vertices and weighted edges, record it as a matrix, and use the right algorithm for the right question: a minimum spanning tree to connect everything cheaply, a shortest path to travel between two points cheaply, and Euler or Hamilton routes to traverse edges or visit vertices. Choosing the correct tool for the wording is the core skill.
Jump to a section
What this dot point is asking
You must model with graphs, use terminology and matrices, and solve connection, shortest-path and traversal problems.
Graphs and networks
A graph is a set of vertices joined by edges; a network is a weighted graph, where each edge has a number attached. Networks model road systems, pipelines, project schedules and communication links.
A weight is the number on an edge (distance, time, cost). A path is a route that does not repeat a vertex. A cycle returns to its start without repeating other vertices. A connected graph has a route between every pair of vertices. A tree is a connected graph with no cycles.
The adjacency matrix records connections; for a weighted network a separate weighted matrix can store the edge weights, with entries left blank or marked for non-adjacent vertices.
Choosing the right tool
The single most examined skill is matching the question to the algorithm.
- Connect every site at least total cost: find a minimum spanning tree (Prim's or Kruskal's method).
- Travel from one vertex to another at least cost: find a shortest path.
- Traverse every edge exactly once: look for an Eulerian trail or circuit (odd-vertex rule).
- Visit every vertex exactly once: look for a Hamiltonian path or cycle.
A minimum spanning tree links every vertex together cheaply; it is about the whole network. A shortest path is the cheapest route between two named vertices only. Confusing these is the most common networks error, so read whether the question wants everything connected or a single journey.
Minimum spanning trees
A spanning tree connects all vertices using exactly edges and no cycles. The minimum spanning tree has the least total weight. Build it by repeatedly adding the shortest available edge that does not create a cycle, stopping at edges.
Finding a minimum spanning tree
Six offices must be linked by cable. The possible links (cost in thousands) are , , , , , , , .
Step 1: Sort the edges by weight
Kruskal's algorithm always considers the cheapest available edge next, so sorting the full list at the start avoids missing a shorter option later. , , , , , , , .
Step 2: Add shortest edges, skipping any that form a cycle
Adding an edge that connects two already-connected vertices would create a cycle, which a spanning tree must not contain, so any such edge is skipped. Add . Add , joining . Add . Add ? That would form a cycle --, so skip it. Add , joining and . So far edges , , , connect and as two groups. Add to join the groups.
Step 3: Count the edges and total the cost
A spanning tree on vertices uses exactly edges, so stopping at five edges confirms the tree is complete. Five edges ( for six vertices): , , , , . Total cost , that is .
Step 4: Interpret the result in context
Stating what the number means in the real situation shows the examiner the answer is understood, not just calculated. The cheapest cabling that connects all six offices costs , with no redundant loops.
Counting walks with matrix powers
The adjacency matrix raised to the power has entries giving the number of walks of length exactly between vertices. Squaring the matrix counts two-step connections, which SCSA sometimes asks you to compute and interpret (for example, the number of two-flight routes between cities).
Traversal versus connection versus journey
It helps to group the network tools by the question they answer. Traversal problems (cover every edge or visit every vertex) use Euler and Hamilton ideas. Connection problems (link every site cheaply) use the minimum spanning tree. Journey problems (get from one place to another cheaply) use the shortest path. Scheduling problems (finish a project fastest) use critical path analysis, and capacity problems (push the most through) use maximum flow. Reading the verb in the question, "cover", "connect", "travel", "schedule" or "push through", points straight to the right method.
- Confusing spanning tree with shortest path
- A spanning tree connects everything; a shortest path is one journey. Read the question carefully.
- Adding too many edges to a spanning tree
- A spanning tree of vertices has exactly edges; one more creates a cycle.
- Creating a cycle while building the tree
- Skip any edge that would join two already-connected vertices.
- Misreading a weighted matrix
- Distinguish a zero (no connection) from a blank, and remember adjacency entries count edges while weighted entries store distances.
Exam-style questions
Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
WACE 2022-style7 marksFive towns are connected by roads with lengths (km): , , , , , , . (a) Find the minimum spanning tree and its total length. (b) State what the minimum spanning tree represents in this context.Show worked answer →
Build the tree by adding the shortest edges that do not form a cycle (Prim's or Kruskal's method).
(a) Sort edges: , , , , , , . Add , , ; then connects . Four edges now join all five towns: , , , . Total km. (5 marks)
(b) The minimum spanning tree is the cheapest set of roads that connects every town to every other (directly or indirectly) with no redundant loops. (2 marks)
Markers reward adding shortest cycle-free edges, stopping at edges, and interpreting the tree as the least-cost connection.
WACE 2024-style5 marksA graph has vertices and edges. (a) Use the handshake rule to find the sum of the degrees. (b) Explain how an adjacency matrix records this graph and what its row sums represent.Show worked answer →
The handshake rule links total degree to the edge count.
(a) Sum of degrees . (2 marks)
(b) The adjacency matrix is a array where entry is the number of edges between vertices and ; for this undirected graph it is symmetric. Each row sum is the degree of that vertex, so the row sums total , matching part (a). (3 marks)
Markers reward the handshake calculation and identifying row sums as vertex degrees.