How can diagrams of dots and lines model and solve real connection problems?
Represent situations with graphs and networks, use terminology and matrices, and solve shortest path, minimum spanning tree and connection problems.
How to read and draw graphs and networks, use vertices, edges and adjacency matrices, trace Euler and Hamilton paths, and find minimum spanning trees and shortest paths.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
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.
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.
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.
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.
Exam-style practice questions
Practice questions written in the style of SCSA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
WACE 20227 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 20245 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.
