Investigate a network
A network investigation combines counts, parity, route comparisons and a minimum spanning tree. Each calculation answers a different question, so state the object being measured before using a number
- Include the outer face For a connected planar graph, Euler's formula counts the infinite outer face as well as the enclosed regions \(\displaystyle v+f=e+2\)
- Use the degree sum The sum of all vertex degrees is twice the number of edges \(\displaystyle \sum\deg(v)=2e\)
- Use odd vertices for Euler routes In a connected graph, zero odd vertices allows a circuit and two odd vertices give the endpoints of an open trail \(\displaystyle o=0\Rightarrow\text{circuit},\quad o=2\Rightarrow\text{open trail}\)
- Keep optimisations separate A shortest path joins two specified vertices, while a minimum spanning tree reaches every vertex \(\displaystyle \text{shortest path}:A\to D,\quad \text{MST}:V(G)\)
- State the representation convention For adjacency tables here, a row is a source and a column is a destination. This explicitly differs from the source-column transition convention in the population investigation. Undirected adjacency is symmetric; directed adjacency need not be
- Choose the object being optimised Every-edge traversal, every-vertex visitation, a least-cost path between endpoints and a minimum connector for all vertices are different tasks. The weight key determines whether the objective is distance, time or cost
Worked example
A connected planar network has vertices A, B, C, D, E and F. Its weighted edges, measured in kilometres, are AB = 2, BC = 9, CD = 3, DE = 8, EF = 4, FA = 7, AC = 5 and AD = 6. Find its face count, number of odd-degree vertices, shortest-path length from A to D and minimum spanning-tree total
- \(\displaystyle f=e+2-v=8+2-6=4\)Euler's formula gives four faces for the connected planar graph
- \(\displaystyle (\deg A,\deg B,\deg C,\deg D,\deg E,\deg F)=(4,2,3,3,2,2)\Rightarrow o=2\)Only C and D have odd degree, so there are two odd-degree vertices
- \(\displaystyle A\!-!D:6,\quad A\!-!C\!-!D:5+3=8,\quad A\!-!B\!-!C\!-!D:2+9+3=14,\quad A\!-!F\!-!E\!-!D:7+4+8=19\)Comparing the sensible route totals shows that A-D is shortest, with length 6 kilometres
- \(\displaystyle 2+3+4+5+7=21\text{ km}\)Prim’s algorithm from A selects AB (2), AC (5), CD (3), AF (7), FE (4). Each is the lightest edge from the reached set to an unreached vertex, giving total 21 kilometres
Common mistakes
Difficulty levels
Questions about this topic
Why does Euler's formula include the outer face?+
A connected planar drawing divides the plane into all its regions, including the one unbounded region outside the graph. That region is one face
How is a shortest path different from a minimum spanning tree?+
A shortest path joins two specified vertices with the least total weight. A minimum spanning tree connects every vertex with the least total weight and contains no cycle
What does the number of odd-degree vertices tell you?+
For a connected graph, zero odd vertices permits an Eulerian circuit, and two odd vertices permit an Eulerian trail from one odd vertex to the other
Does adding the same cost to every edge leave the optimal decision unchanged?+
Every spanning tree has the same number of edges, so its total changes by the same amount. Candidate paths may use different numbers of edges, so their relative cost can change
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 13: Graphs and networks