Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
VCE General Mathematics · Unit 4 · Networks and decision mathematics
Year 12 Maths - General (Unit 3 & Unit 4)

Trees, minimum connectors and shortest paths — Victoria Year 12 Maths - General (Unit 3 & Unit 4)

Trees and spanning trees, Prim's algorithm for minimum spanning trees, shortest paths found by inspection, and Dijkstra's algorithm for weighted networks. Four subtopics and 80 questions, each with a worked solution.

4 subtopics
80+ questions

Trees, minimum connectors and shortest paths in VCE General Mathematics

Two of the most common network questions are how to connect every site as cheaply as possible and how to travel from one place to another by the shortest route. This topic answers both. A minimum spanning tree links every vertex with the smallest total weight and no wasted edges, which suits water pipes, power lines and fibre cable. A shortest path gives the least total distance, time or cost between two vertices, which suits couriers, cyclists and ambulances.

The four subtopics below cover trees and spanning trees and why a tree with \(n\) vertices has \(n - 1\) edges, minimum spanning trees grown edge by edge with Prim's algorithm, shortest paths in small networks found by listing and comparing routes, and Dijkstra's algorithm set out as a table for larger networks. This is the second topic in the Networks and decision mathematics area of Unit 4 in Year 12 Maths - General (Unit 3 & Unit 4). It builds on the weighted networks from the previous topic.

Subtopics

4 subtopics · Sorted by recommended order

Trees, minimum connectors and shortest paths: common questions

What is a spanning tree?

A spanning tree is a connected subgraph that includes every vertex of the graph and has no cycles. If the graph has \(n\) vertices, every spanning tree has exactly \(n - 1\) edges.

How does Prim's algorithm work?

Start at any vertex. At each step add the edge with the smallest weight that joins a vertex already in the tree to one not yet in it. Stop when every vertex is included; the result is a minimum spanning tree.

Is a minimum spanning tree the same as a shortest path?

No. A minimum spanning tree keeps the total weight of a network joining every vertex as small as possible. The shortest path between two particular vertices may use edges that are not in the minimum spanning tree.

How does Dijkstra's algorithm work?

Label the start vertex 0. Repeatedly choose the unvisited vertex with the smallest label, mark it as done, and update the labels of its neighbours if a shorter route through it is found. When the destination is marked done, its label is the shortest distance.