A flow network is a directed graph where each edge has a capacity: the most that can pass along it per unit of time. Everything enters at one vertex and leaves at another, and the question is almost always the same — how much can get from one end to the other at once?
Work through the sections in order, then try the linked Year 12 skill quizzes after each section.
A school farm pumps water from a bore at S to its sports fields at Z. Capacities are in litres per minute. Two candidate cuts are drawn as dashed curves.
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.
The source is the vertex where all the flow starts — edges leave it and none arrive. Here that is S, the bore.
The sink is where all the flow ends — edges arrive and none leave. Here that is Z, the sports fields.
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.
A cut splits the vertices into two groups: one holding the source, one holding the sink. Its capacity is the total capacity of the edges crossing it in the direction source-side → sink-side.
Cut (a) puts S on its own. All four edges leaving it cross forwards.
Cut (b) leaves S, P, Q, R, T and W on the source side, with U, V, M and Z on the sink side. Seven edges cross the dashed curve. Only six of them count.
| Edge | Capacity | Direction across the cut | Counts? |
|---|---|---|---|
| T → V | 45 | source side → sink side | Yes |
| Q → U | 16 | source side → sink side | Yes |
| R → U | 14 | source side → sink side | Yes |
| R → Z | 12 | source side → sink side | Yes |
| W → U | 9 | source side → sink side | Yes |
| W → M | 16 | source side → sink side | Yes |
| U → T | 15 | sink side → source side | No — points backwards |
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.
Neither drawn cut is the smallest, and that is the point of the exercise. Cutting just after P is tighter, because P's only way onward is the 24 pipe.
No cut is smaller than 81, so the maximum flow is 81 L/min.
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.
Only the pipes on the minimum cut hold the flow back. Those are S–Q (25), S–R (12), S–W (20) and P–T (24).
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.
Suppose the budget stretches to one pipe, and P–T is chosen. Raising it lifts every cut that contains it, so the flow rises with it — but only until a different cut becomes the smallest. The next one to bind is the pair of pipes that actually reach Z:
So the flow can climb from 81 to at most 90, a gain of 9, and that needs P–T taken from 24 up to 33.
Beyond 33 the extra capacity is stranded: the water cannot leave through Z's three feeding pipes any faster. The new maximum flow is 90 L/min.
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.
Practise the graph structure and connections used above. This supporting quiz covers graph skills; it does not assess cuts or maximum flow.