A Level Further Mathematics · Chapter 73 · Decision Mathematics · Decision 2
Water, traffic and data all flow through networks with limited capacity, and the narrowest cut through the network decides exactly how much can get through.
Engineers ask how much water a pipe system can deliver, how many cars a road network can carry, or how much data can cross the internet. This chapter finds the maximum flow through a network and proves it is the maximum using a cut.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- describe a flow in a directed network and check that it is feasible
- find the capacity of a cut, counting only arcs that cross it forwards
- use the maximum flow – minimum cut theorem to prove that a flow is maximal
- find flow-augmenting paths, including paths that use backward flow
- use supersources, supersinks and vertex capacities to adapt a network
- find the capacity of a cut when arcs have lower capacities
Time: three sessions, about 4 hours, plus the practice ladder and the exam workshop.
You need first: graphs, networks and planarity, especially directed graphs, and the idea of bounds from earlier Decision Mathematics chapters.
The big idea
The big idea
A flow network has a source S, where flow starts, a sink T, where it ends, and directed arcs with capacities. Every unit of flow must squeeze through every cut that separates S from T. So the least cut capacity is an upper limit on the flow, and remarkably that limit can always be reached.
The highlighted arcs form a cut of capacity 11. No flow can exceed 11, and section 4 finds a flow of exactly 11. Together these prove that 11 is the maximum.
Flows and capacities
The capacity of an arc is the most that can flow along it, in its direction. A flow assigns an amount to every arc, between zero and its capacity. Flow represents something real, such as litres per second or cars per minute.
Conservation
At every vertex except the source and the sink, the total flow in equals the total flow out. Nothing is created or lost at a junction. The source only sends flow out and the sink only takes flow in.
The value of a flow
The value of a flow is the total leaving the source, which by conservation equals the total arriving at the sink. The maximum flow problem asks for the greatest possible value.
Cuts
A cut splits the vertices into two sets, one containing S and the other containing T. Every route from S to T must cross the cut. So the flow is limited by the capacity of the arcs crossing it from the S side to the T side.
The key theorem
The maximum flow – minimum cut theorem says that the greatest flow equals the least cut capacity. To prove a flow is maximal, it is enough to find a cut with the same capacity. This is how exam answers justify optimality.
Flows over time
In some problems the capacity is a rate, such as cars per minute, and the question asks how much can pass in an hour. Multiply the maximum flow by the time. The network itself is the same; only the units change.
Applications
Flow problems model pipe networks, roads, electricity grids and communication networks. They also appear in less obvious places, such as matching problems, which is why they link back to allocation problems.
Reading a flow diagram
Flow diagrams usually show two numbers on each arc. Some books write capacity and flow side by side, others write flow over capacity, and exam diagrams may use boxes or circles for the flow. Read the key carefully before using the numbers.
Why conservation matters
Conservation is what makes the value of a flow well defined. Without it, the flow leaving the source and the flow arriving at the sink could differ. Every method in this chapter relies on flows being conserved at the inner vertices.
Section 1
Flows and feasibility
Describing a flow
A flow can be shown on the network by writing the flow beside each capacity, for example 6/9 for a flow of 6 in an arc of capacity 9. An arc whose flow equals its capacity is saturated.
Common mistake: checking that each arc's flow is within its capacity, but not that flow in equals flow out at every intermediate vertex. A feasible flow needs both conditions. A flow that piles up at a vertex, or appears from nowhere, is not feasible even if every arc is within its capacity.
Checking capacities
For each arc, check that the flow is at least zero and at most the capacity. A negative flow would mean flow against the direction of the arc, which a directed arc does not allow.
Checking conservation
For each vertex other than S and T, add the flows in and the flows out. They must be equal. At A in the diagram, 6 comes in and goes out.
Spare capacity
The spare capacity of an arc is its capacity minus its flow. Arcs with spare capacity are where extra flow might go. Listing spare capacities is the first step in looking for a way to increase the flow.
Saturated arcs
An arc carrying its full capacity is saturated. Saturated arcs are where the network is under pressure. A minimum cut always consists of saturated forward arcs, as section 3 shows.
Flows in both directions
If two vertices are joined by arcs in both directions, flows in the two arcs can partly cancel. Only the net flow matters for conservation, but each arc's flow must still be within its own capacity.
Undirected arcs
An undirected edge can carry flow in either direction, but not both at once. It can be replaced by two directed arcs with the same capacity. The usual methods then apply.
A tabular check
A tidy way to check feasibility is a table with one row per inner vertex and columns for flow in and flow out. If every row balances and every arc is within capacity, the flow is feasible. Examiners award method marks for this kind of systematic check.
Starting with zero flow
The zero flow, with nothing on any arc, is always feasible. It is a valid starting point for the augmenting path method, though starting with a sensible flow found by inspection usually saves time in exams.
Worked example 1: a feasible flow
Check that the flow in the diagram is feasible and find its value.
| Working | Reason |
|---|---|
| Every arc's flow is within its capacity | For example 6 ≤ 9 on SA |
| A: in 6, out 6; B: in 5, out 5; C: in 4, out 4; D: in 7, out 7 | Conservation at each vertex |
| Value | Total leaving the source |
Repairing an infeasible flow
To repair the flow in worked example 2, the 4 extra units arriving at A must go somewhere. Sending them along AB, then BD and DT, keeps every arc within capacity and restores conservation. Exam questions sometimes ask for exactly this kind of correction.
Worked example 2: an infeasible flow
A flow sends 9 along SA, 3 along SB, 5 along AC and 4 along CT, and nothing else. Explain why it is not feasible.
| Working | Reason |
|---|---|
| Each listed flow is within its capacity | Every capacity is respected here |
| At A: 9 in but only 5 out | Conservation fails at A |
| Not feasible: 4 units vanish at A | Flow cannot pile up at a vertex |
Check yourself. In the flow of value 9, what is the net flow out of D?
Show the answer
D receives 5 from B and 2 from A, a total of 7, and sends 2 to C and 5 to T, also 7. The net flow out of D is 0, as conservation requires.
Section 2
Cuts
Defining a cut
A cut is a partition of the vertices into a set containing S and a set containing T. It can be drawn as a line across the network. The arcs crossing the line are said to be in the cut.
Common mistake: adding the capacities of arcs that cross a cut backwards, from the sink side to the source side. Only arcs from the source side to the sink side can carry flow towards the sink across the cut. Backward arcs are ignored when finding a cut's capacity.
Cuts and their capacities
- Cut capacity
- 11
- Minimum cut
- 11
- Maximum flow
- 11
Figure 73.1 lets you choose the source side of a cut. The capacity counts only the highlighted forward arcs.
The capacity of a cut
The capacity of a cut is the sum of the capacities of the arcs crossing it from the source side to the sink side. For the source side {S, A, B, C}, these arcs are AD, BD and CT, with capacity .
Backward arcs
The arc DC crosses the same cut from the sink side to the source side. Flow along it travels away from the sink across the cut. It does not add to the capacity of the cut.
Every flow is limited by every cut
All flow from S to T must cross the cut. Flow crossing forwards is at most the cut's capacity, and any flow crossing back must be made up again. So the value of every flow is at most the capacity of every cut.
Proof: the value of a flow is at most the capacity of any cut
For a cut with source side , conservation gives the value of the flow as the net flow out of :
Forward flows are at most the capacities and backward flows are at least zero, so
which is the capacity of the cut.
Naming cuts by their arcs
Some questions name a cut by the arcs it crosses, such as the cut through SB, AB, AC and AD. Others name it by its source side. Be ready to translate between the two descriptions, since both appear in mark schemes.
Drawing cuts in exams
Draw the cut as a curved line through the arcs it crosses, labelled , and so on. List the arcs crossed and mark which are forward. Then add only the forward capacities.
Cuts that do not separate S and T
A line that leaves S and T on the same side is not a cut in this sense. Every cut must have S on one side and T on the other. Check this before working out a capacity, especially when cuts are drawn as wiggly lines.
Cuts drawn as lines
When a cut is drawn as a line, every arc it crosses must be listed. A line may cross an arc twice if it wiggles, which is confusing; describe the cut by its source side instead. The source side determines exactly which arcs cross and in which direction.
How many cuts are there?
With vertices other than S and T, there are cuts, one for each choice of which vertices go with S. Four inner vertices give 16 cuts, so finding the minimum by listing is possible for small networks but not large ones.
Checking the direction of each arc
For each arc crossing the cut, ask whether its tail is on the source side and its head on the sink side. If so, it is forward and counts. If its tail is on the sink side, it is backward and is ignored, however large its capacity.
Worked example 3: a cut with a backward arc
Find the capacity of the cut with source side {S, A, B, C}.
| Working | Reason |
|---|---|
| Arcs crossing: AD, BD, CT forwards; DC backwards | Check each arc's direction |
| Capacity | Add forward capacities only |
| DC is not counted | It crosses towards the source side |
Finding a small cut by inspection
Look for arcs with small capacities that together separate S from T. In the main network, the arcs into C and D from the left, together with CT, are small. Trying combinations of small arcs often finds the minimum cut quickly.
Worked example 4: two more cuts
Find the capacities of the cuts with source sides {S} and {S, A}.
| Working | Reason |
|---|---|
| {S}: SA 9 and SB 3, so 12 | Both arcs leave the source |
| {S, A}: SB 3, AB 10, AC 5, AD 2 | All four cross forwards |
| Capacity | A much larger cut |
Check yourself. Find the capacity of the cut whose source side is {S, A, B}.
Show the answer
The arcs crossing forwards are AC 5, AD 2 and BD 5. The capacity is .
Section 3
The maximum flow – minimum cut theorem
The theorem
In any network, the maximum value of a flow from S to T equals the minimum capacity of a cut separating S from T. One inequality comes from the proof in section 2; the other comes from the augmenting path method in section 4.
Common mistake: claiming that a flow is maximal without finding a cut whose capacity equals its value. A large flow might still be improvable. Only a cut of equal capacity proves that no larger flow exists.
Using the theorem to prove optimality
Find a flow, then find a cut whose capacity equals the flow's value. Since no flow can exceed that cut, the flow is maximal. And since some flow reaches it, the cut is minimal. Both are proved at once.
Checking a claimed maximum
Given a flow and a cut with the same value, check two things: every forward arc of the cut is saturated, and every backward arc carries nothing. If both hold, the flow and cut certify each other, and the answer is complete.
Saturated forward, empty backward
At a maximum flow, every arc in a minimum cut that crosses forwards is saturated, and every arc crossing backwards carries zero flow. Checking this is a quick way to confirm a minimum cut.
More than one minimum cut
A network can have several minimum cuts with the same capacity. Here both {S, A, B, C} and {S, A, B, C, D} have capacity 11. Either one proves the maximum flow is 11.
Lower and upper bounds together
Any feasible flow gives a lower bound for the maximum, and any cut gives an upper bound. Here the flow of 9 and the cut of 11 bracket the maximum. Improving either bound narrows the gap until they meet at 11.
When the flow is not yet maximal
If the best cut found has capacity larger than the flow, the flow may not be maximal. For the flow of 9, every cut has capacity at least 11, so the theorem says a better flow might exist. Section 4 finds it.
Why the theorem is remarkable
It is not obvious that some flow must exactly fill the narrowest cut. Flow might seem to get stuck elsewhere first. The augmenting path method proves it never does: whenever the flow is below the minimum cut, some augmenting path exists.
Using the theorem in reverse
The theorem can also find a minimum cut. Once a maximum flow is known, the vertices reachable from S by augmenting paths form the source side of a minimum cut. This is useful when a question asks which arcs to upgrade.
Bounds language
A flow gives a lower bound for the maximum flow, and a cut gives an upper bound. When they meet, the maximum is known. This is the same idea as the bounds in bin packing and the travelling salesman problem.
A common exam trap
Questions often give a flow and ask whether it is maximal. If no cut of equal capacity can be found, look for an augmenting path, especially one using a backward arc. Do not conclude that a flow is maximal just because no forward path is obvious.
Worked example 5: is 9 the maximum?
The flow of value 9 is feasible. Decide whether it can be proved maximal.
| Working | Reason |
|---|---|
| Every cut has capacity at least 11 | The minimum cut is 11 |
| 9 is less than 11 | No cut matches the flow |
| Not proved maximal; a larger flow may exist | Search for an augmenting path |
Upgrading a network
To increase the maximum flow, every minimum cut must be enlarged. With two minimum cuts, upgrading arcs in only one of them does not help, because the other still limits the flow. Planners must find all minimum cuts before spending money.
Worked example 6: two minimum cuts
Show that the cut with source side {S, A, B, C, D} also has capacity 11.
| Working | Reason |
|---|---|
| Forward arcs CT and DT | All arcs into T |
| Capacity | Add their capacities together |
| Equal to the other minimum cut | Both prove the maximum is 11 |
Check yourself. What is the capacity of the cut with source side {S, A, B, D}?
Show the answer
The forward arcs are AC 5, DC 8 and DT 7, giving . This cut is far from minimal.
Section 4
Flow-augmenting paths
Increasing a flow
A flow-augmenting path is a route from S to T along which every arc can take more flow. Pushing extra flow along it increases the value of the flow while keeping it feasible.
Common mistake: looking only for paths with spare capacity forwards, never reducing the flow in an arc, and so stopping before the maximum. An augmenting path can use an arc backwards if that arc already carries flow. Reducing that flow redirects it, which can open up a better route.
Augmenting with backward flow
- Flow value
- 9
- Feasible?
- yes
- Maximum flow
- 11
Figure 73.2 shows the flow of 9 and the augmenting path that uses DC backwards to reach 11.
Forward and backward arcs on a path
On an augmenting path, a forward arc can increase by its spare capacity, capacity minus flow. A backward arc, traversed against its direction, can decrease by its current flow. The path's extra flow is the least of these amounts.
Arrows for the labelling procedure
In exam diagrams, the labelling procedure draws two arrows on each arc. The forward arrow shows how much more can flow in the arc's direction; the backward arrow shows how much flow could be removed. After each augmentation, both numbers on every arc in the path change.
Choosing augmenting paths
Any augmenting path will do, but choosing ones with large spare capacity reduces the number of steps. In exams, a sensible path found by inspection is fine. List each path, its spare amounts and the amount added.
The labelling procedure
Write two numbers on each arc: the spare capacity in its direction and the current flow against it. These potential increases and decreases make augmenting paths easy to spot. After each augmentation, update both numbers.
The augmenting path for the example
With the flow of 9, consider the path S, A, C, then D against arc DC, then T. Its spare amounts are SA 3, AC 3, DC flow 2 and DT 2. The least is 2, so the flow rises to 11.
An everyday picture
Imagine water sent the long way round a loop of pipes, when a shorter route exists. Turning that water back and sending it the short way frees capacity in the loop for other water. Backward flow in an augmenting path does exactly this bookkeeping.
Augmenting paths always exist below the maximum
If a flow is less than the minimum cut, there is always an augmenting path, possibly using backward arcs. That is why the method can never get stuck below the maximum, provided backward arcs are allowed.
Why backward flow helps
Reducing the flow in DC by 2 means D no longer sends 2 units to C. Instead D sends them directly to T, and C receives 2 more from A. The total delivered rises by 2 without breaking any capacity.
Proof: when no augmenting path exists, the flow equals a cut
Let be the set of vertices reachable from S by augmenting paths; T is not in . Every forward arc from to its complement is saturated and every backward arc carries no flow, otherwise its far end would be reachable. So
becomes
which is the capacity of the cut with source side . So the flow is maximal and the cut is minimal.
When to stop
When no augmenting path exists, using forward and backward arcs, the flow is maximal. The vertices reachable from S by such paths form the source side of a minimum cut.
Recording augmentations
Write each augmentation as a path and an amount, for example S A C D T, 2, noting which arcs are used backwards. Then update the flow diagram. A clear record lets the examiner follow the method even if a later step goes wrong.
Worked example 7: an augmenting path
Starting from the flow of 9, find a flow-augmenting path and the new flow value.
| Working | Reason |
|---|---|
| S to A: spare 3; A to C: spare 3 | Forward arcs with room |
| C to D against DC: flow 2; D to T: spare 2 | One backward arc, one forward |
| Augment by 2: value 11 | The least of 3, 3, 2 and 2 |
Worked example 8: proving 11 is maximal
Show that the flow of value 11 is maximal.
| Working | Reason |
|---|---|
| Cut {S, A, B, C} has capacity 11 | AD, BD and CT cross forwards |
| Flow value equals the cut capacity | Both of them are 11 |
| So the flow is maximal | Max flow – min cut theorem |
Check yourself. After augmenting, what is the value of the new flow?
Show the answer
The new flow sends 8 along SA and 3 along SB, so its value is , equal to the minimum cut.
Section 5
Supersources, supersinks and vertex capacities
Several sources or sinks
If a network has several sources, add a supersource S with an arc to each source. If it has several sinks, add a supersink T with an arc from each. The problem then has a single source and sink.
Common mistake: giving the arcs from a supersource less capacity than the total that can leave each source, so they become a bottleneck. The new arcs must not restrict the flow. Give each the total capacity of the arcs leaving its source, or more.
Supersources and supersinks
- Capacity leaving Q
- 9
- Maximum flow
- 11
- Minimum cut
- 11
Figure 73.3 shows two factories joined to a supersource. The maximum flow grows with the capacity of SQ until it reaches the total that can leave Q.
Capacities of the new arcs
For a supersource arc to source P, use the total capacity of arcs leaving P, unless the problem says P can only supply a certain amount. Then use that amount. The same applies to supersink arcs, using the total capacity into each sink.
Why splitting works
All flow through a vertex enters through its incoming arcs and leaves through its outgoing arcs. After splitting, all of it must cross the new arc between the two copies. So the new arc's capacity limits the total flow through the vertex, exactly as required.
Vertex capacities
Sometimes a vertex, such as a pumping station, can only pass a limited flow. Replace the vertex by two vertices joined by an arc with that capacity. All arcs in go to the first copy and all arcs out leave the second.
The effect of a vertex capacity
If D can pass at most 6 units, the arc D₁D₂ has capacity 6. The cut through CT and D₁D₂ then has capacity , because flow reaching T must pass through C or through D. The maximum flow falls from 11 to 10. Vertex capacities can only reduce the maximum flow.
Several sinks with fixed demands
When sinks have fixed demands, a maximum flow that equals the total demand meets every demand in full. If the maximum flow is smaller, some demand cannot be met, and the minimum cut shows which part of the network is responsible.
Combining the adaptations
A network may need a supersource, a supersink and vertex capacities all at once. Make each change in turn, redraw the network, and then apply the usual methods to the new network.
Checking adapted networks
After adding supersources, supersinks or split vertices, check that every new arc has the intended capacity and direction. A single reversed arc can block all flow, and a missing capacity can let flow through that should be limited.
Interpreting the answer
After solving the adapted network, translate back. Flow from the supersource to each source is that source's output, and flow through a split vertex is the flow through the original vertex. State these in context.
Supply and demand limits
Suppose a source has a fixed supply, such as a factory that can only make 5 units. Give its supersource arc capacity 5, even if its outgoing arcs could carry more. Similarly, a sink with a fixed demand gets a supersink arc of that capacity.
Worked example 9: a supersource
Factories P and Q can send along arcs of total capacity 6 and 9. Shops X and Y can receive at most 10 and 6. Set up and solve the single-source problem.
| Working | Reason |
|---|---|
| Arcs SP 6, SQ 9, XT 10, YT 6 | Supersource and supersink arcs |
| Maximum flow by augmenting paths: 14 | Apply the usual method |
| A cut of capacity 14 confirms it | Max flow – min cut theorem |
Vertex capacities and cuts
Once a vertex is split, cuts can pass through the new arc between its two copies. Such a cut represents the limit at the vertex itself. A minimum cut through a split vertex shows that the vertex, not a pipe, is the bottleneck.
Worked example 10: a vertex capacity
Vertex D in the main network can pass at most 6 units. Find the new maximum flow.
| Working | Reason |
|---|---|
| Split D into D₁ and D₂ with arc D₁D₂ of capacity 6 | Turn the vertex limit into an arc |
| Maximum flow becomes 10 | Recompute with augmenting paths |
| Cut through CT and D₁D₂: | All flow passes C or D |
Check yourself. What capacity should the arc from the supersource to factory P have?
Show the answer
P can send at most 6 along its only arc, PC, so the supersource arc SP should have capacity 6, the total capacity leaving P.
Section 6
Lower capacities
Minimum flows on arcs
Sometimes an arc must carry at least a certain flow, for example to keep water moving through a pipe. Each arc then has a lower capacity as well as an upper capacity, written as an interval such as 3 to 8.
Common mistake: adding the upper capacities of backward arcs instead of subtracting their lower capacities. A backward arc must carry at least its lower capacity back across the cut. That flow has to be made up, so it reduces the cut's capacity.
The capacity of a cut with lower capacities
The capacity of a cut is the sum of the upper capacities of forward arcs minus the sum of the lower capacities of backward arcs. The maximum flow still equals the least such capacity, provided a feasible flow exists.
The example with DC required
If DC must carry at least 3, the cut {S, A, B, C} has forward capacity 11 and backward lower capacity 3. Its capacity is . The maximum flow can be no more than 8.
Minimum flows in practice
Lower capacities appear when pipes must keep water moving to prevent stagnation, or when contracts require a minimum delivery along a route. They make the network harder to manage, and can even make a feasible flow impossible.
Checking a flow with lower capacities
A flow is feasible only if every arc carries between its lower and upper capacities and flow is conserved. Check the lower limits as carefully as the upper ones: an arc below its lower capacity makes the flow infeasible.
Feasibility with lower capacities
With lower capacities, even finding a feasible flow can be difficult, since the minimum flows must be balanced at every vertex. Start by sending the lower capacities, then check conservation and adjust.
Lower capacities and the theorem
The maximum flow – minimum cut theorem still holds with lower capacities, provided a feasible flow exists at all. Cut capacities are then calculated with the subtraction. Exam questions usually give a feasible flow to start from.
Why the subtraction is right
Flow along a backward arc crosses from the sink side to the source side. At least its lower capacity must do so, and that flow must cross forwards again to reach the sink. So it uses up part of the forward capacity.
Cuts without backward arcs
If a cut has no backward arcs, its capacity is just the sum of the forward upper capacities, as before. Lower capacities only matter for arcs crossing backwards.
Worked example 11: a cut with a lower capacity
Arc DC has lower capacity 3. Find the capacity of the cut {S, A, B, C}.
| Working | Reason |
|---|---|
| Forward upper capacities | Arcs AD, BD and CT |
| Backward arc DC has lower capacity 3 | It must carry at least 3 back |
| Capacity | Subtract the backward lower capacity |
The minimum cut with lower capacities
With DC required to carry at least 3, the cut {S, A, B, C} drops to 8 while the cut through CT and DT stays at 11. So the minimum cut, and the maximum flow, fall to at most 8. Forcing flow round a loop wastes capacity.
Worked example 12: a cut with no backward arcs
With the same lower capacity, find the capacity of the cut {S, A, B, C, D}.
| Working | Reason |
|---|---|
| Forward arcs CT and DT | Both arcs into T |
| No backward arcs cross this cut | So there is nothing to subtract |
| Capacity | Lower capacities do not matter here |
Check yourself. Keeping the lower capacity of 3 on DC, find the capacity of the cut {S, A}.
Show the answer
The forward arcs are SB 3, AB 10, AC 5 and AD 2, and no arcs cross backwards. The capacity is .
Reference
Results in this chapter
| Result | What it says | When to use it | In the formula booklet? |
|---|---|---|---|
| Flow in = flow out at inner vertices | Conservation | Checking feasibility | No, learn it |
| Cut capacity = forward capacities | Capacity of a cut | Bounding the flow | No, learn it |
| Flow value ≤ any cut capacity | Upper bound | Proving optimality | No, derive it |
| Max flow = min cut | The key theorem | Proving a flow is maximal | No, learn it |
| Backward arcs can reduce flow | Augmenting paths | Increasing a flow | No, learn it |
| Forward upper − backward lower | Cuts with lower capacities | Networks with minimum flows | No, learn it |
Reasoning
Modelling task: water for a new estate
The situation
A water company pumps water from a reservoir at S to a new housing estate at T. The pipes have the capacities shown in the big idea, in hundreds of litres per minute. The company wants to know the greatest rate at which water can reach the estate, and which pipes limit it.
Assumptions
Water flows only in the direction of each pipe, at any rate up to its capacity. Junctions neither store nor leak water. The reservoir can supply as much as the pipes can carry, and the estate can take as much as arrives.
These assumptions make the pipe system a flow network with source S and sink T.
The model
A first flow of 9 is found by pushing water along simple paths. An augmenting path that reduces the flow in pipe DC raises the flow to 11. The cut through AD, BD and CT has capacity 11, so 11 is the maximum.
Results
The estate can receive at most 1100 litres per minute. The pipes AD, BD and CT are the bottleneck: all three are saturated at the maximum. Upgrading any other pipe would not increase the supply.
Evaluating the model
The model ignores pressure, friction and changing demand through the day. Real pipes deliver less when pressure falls, and demand peaks in the morning. A more detailed model would use time-varying capacities.
The model does identify where investment helps. Since there are two minimum cuts, upgrading one of AD, BD or CT alone may not help if pipe DT then becomes the limit; both minimum cuts need attention.
Your turn
Pumping station D can handle at most 600 litres per minute. What is the new maximum supply to the estate?
Show a model answer
Split D into two vertices joined by an arc of capacity 6. The maximum flow falls to 10, so the estate receives at most 1000 litres per minute; a cut through CT and the new arc has capacity .
Practice
Practice ladder
Rung 1: Recall and fluency
Q1. Write down the value of the flow shown in section 1.
Worked solution to Q1
The flow sends 6 along SA and 3 along SB, the two arcs leaving the source. Its value is therefore .
Q2. For that flow, state the net flow out of C and explain what it shows.
Worked solution to Q2
C receives 2 from A and 2 from D, and sends 4 to T. The net flow out is , so flow is conserved at C.
Q3. Give the capacity of the cut with source side {S}.
Worked solution to Q3
Only the arcs SA and SB cross this cut, and both cross forwards, from the source side to the sink side. The capacity is , so no flow can exceed 12.
Rung 2: Application
Q4. Calculate the capacity of the cut with source side {S, A, B, C}.
Worked solution to Q4
The forward arcs are AD 2, BD 5 and CT 4, and DC crosses backwards so is ignored. The capacity is .
Q5. A flow sends 9 along SA, 3 along SB, 5 along AC and 4 along CT only. Determine whether it is feasible.
Worked solution to Q5
All the flows are within capacity, but at A the flow in is 9 and the flow out is only 5. Conservation fails, so the flow is not feasible.
Q6. Find the maximum flow through the main network.
Worked solution to Q6
Augmenting paths raise the flow to 11, and the cut {S, A, B, C} has capacity 11. So the maximum flow is 11.
Rung 3: Analysis
Q7. Vertex D can pass at most 6 units. Determine the new maximum flow.
Worked solution to Q7
Splitting D with an arc of capacity 6 limits the flow through D. The new maximum flow is 10, confirmed by a cut of capacity .
Q8. For the two-factory network of section 5 with supersource arcs SP 6 and SQ 9, calculate the maximum flow.
Worked solution to Q8
With the supersource and supersink in place, augmenting paths give a maximum flow of 14. A cut of capacity 14 confirms that no more is possible.
Q9. Arc DC has lower capacity 3. Calculate the capacity of the cut {S, A, B, C}.
Worked solution to Q9
The forward upper capacities add to . The backward arc DC must carry at least 3, so the capacity is .
Rung 4: Stretch
Q10. A student gives the capacity of the cut {S, A, B, C} as 19. Explain the error.
Worked solution to Q10
The student has added the capacity of DC, which crosses from the sink side back to the source side. Only forward arcs count, giving , not 19.
Q11. A student finds a flow of 9 and stops, saying no path has spare capacity on every arc. Explain why the flow is not maximal.
Worked solution to Q11
Using arc DC backwards, the path S, A, C, D, T can carry 2 more by redirecting flow. The flow rises to 11, matching the minimum cut, so 9 was not the maximum.
Q12. In the two-factory network, a student gives both supersource arcs capacity 4. Find the maximum flow they obtain and explain the error.
Worked solution to Q12
With SP and SQ each limited to 4, at most 8 can leave the supersource, so the maximum flow found is 8. The arcs should carry each factory's full output, 6 and 9, giving 14.
Exam practice
Exam technique and worked answer workshop
How these questions are marked
M1 marks go to checking conservation, identifying forward arcs in cuts, finding augmenting paths with their spare capacities, and adapting networks correctly. A1 marks go to correct values, cut capacities and maximum flows. B1 marks go to statements such as the max flow – min cut theorem and explanations of backward arcs.
Always state the arcs in a cut and say which cross forwards. When claiming a flow is maximal, quote a cut of equal capacity and name the theorem.
Exam question 1 (6 marks · Paper 4 · about 8 minutes)
A flow in the main network is SA 6, SB 3, AB 2, AC 2, AD 2, BD 5, DC 2, CT 4 and DT 5. Show that the flow is feasible and state its value. (6)
Mark scheme for exam question 1
All flows within capacities B1
Conservation at A M1
Conservation at B and C A1
Conservation at D A1
Value is flow out of S M1
Value 9 A1
Exam question 2 (7 marks · Paper 4 · about 10 minutes)
Find the capacities of the cuts with source sides {S}, {S, A, B} and {S, A, B, C}, explaining how backward arcs are treated. (7)
Mark scheme for exam question 2
{S}: 9 + 3 M1
12 A1
{S, A, B}: AC, AD, BD M1
12 A1
{S, A, B, C}: forward AD, BD, CT M1
DC backward, not counted B1
11 A1
Exam question 3 (7 marks · Paper 4 · about 10 minutes)
Starting from the flow in exam question 1, find a flow-augmenting path, give the new flow, and prove that it is maximal. (7)
Mark scheme for exam question 3
Path S, A, C, D, T M1
Uses DC backwards B1
Spare capacities 3, 3, 2, 2 M1
Augments by 2 A1
New value 11 A1
Cut of capacity 11 M1
So maximal by max flow – min cut A1
Exam question 4 (5 marks · Paper 4 · about 7 minutes)
Explain why the value of any flow cannot exceed the capacity of any cut. Explain also why a flow of 9 cannot be shown to be maximal using the cuts of the main network. (5)
Mark scheme for exam question 4
All flow must cross the cut B1
Forward flow at most the capacity M1
Backward flow only reduces the net A1
Minimum cut is 11 B1
9 is less, so not proved maximal A1
Exam question 5 (6 marks · Paper 4 · about 8 minutes)
Factories P and Q supply shops X and Y through the network in section 5. Explain how to use a supersource and a supersink, give their arc capacities, and find the maximum flow. (6)
Mark scheme for exam question 5
Supersource joined to P and Q M1
SP 6, SQ 9 A1
Supersink joined from X and Y M1
XT 10, YT 6 A1
Maximum flow 14 A1
Confirmed by a cut of 14 B1
Exam question 6 (6 marks · Paper 4 · about 8 minutes)
Vertex D in the main network can pass at most 6 units. Show how to model this and find the new maximum flow. (6)
Mark scheme for exam question 6
Split D into D₁ and D₂ M1
Arc D₁D₂ of capacity 6 A1
Arcs in go to D₁, out from D₂ B1
Augmenting paths M1
Maximum flow 10 A1
Cut of capacity 10 B1
Exam question 7 (6 marks · Paper 4 · about 8 minutes)
Arc DC must carry at least 3 units. Calculate the capacities of the cuts {S, A, B, C} and {S, A, B, C, D}, and comment on the maximum flow. (6)
Mark scheme for exam question 7
Forward upper capacities 11 M1
Subtract backward lower capacity 3 M1
Capacity 8 A1
Second cut: no backward arcs B1
Capacity 11 A1
Maximum flow at most 8 B1
Exam question 8 (5 marks · Paper 4 · about 7 minutes)
A student says the cut {S, A, B, C} has capacity 19. Identify the error and give the correct capacity, explaining why backward arcs do not add to a cut's capacity. (5)
Mark scheme for exam question 8
Adds DC, which crosses backwards B1
Only forward arcs count M1
Correct capacity 11 A1
Flow on DC moves towards the source side B1
Cannot help flow reach T A1
Annotated model answer: exam question 3
The path S, A, C, then D against arc DC, then T is flow-augmenting. M1 B1. The spare capacities are 3 on SA, 3 on AC, 2 of flow that can be removed from DC, and 2 on DT. M1. The least is 2, so augment by 2. A1.
The new flow has value 11. A1. The cut {S, A, B, C} crosses AD, BD and CT forwards, with capacity . M1. The flow equals the capacity of a cut, so by the max flow – min cut theorem it is maximal. A1.
Annotated model answer: exam question 5
Add a supersource S joined to P and Q, M1, with capacities equal to the total that can leave each factory: SP 6 and SQ 9. A1. Add a supersink T joined from X and Y, M1, with capacities XT 10 and YT 6, the total that can arrive at each shop. A1.
Augmenting paths give a maximum flow of 14, A1, and a cut of capacity 14 confirms that no larger flow exists. B1.
Connections
Synoptic link
Graphs, networks and planarity introduced directed graphs, and minimum spanning trees and shortest paths introduced networks with weights; here the weights are capacities. Allocation problems can be solved as flow problems, with every arc of capacity 1.
The bounding idea appears again: flows give lower bounds and cuts give upper bounds for the maximum flow, just as in bin packing and the travelling salesman problem.
Synoptic question 1. Explain how an allocation problem with four workers and four tasks can be modelled as a flow network.
Answer to synoptic question 1
Join a source to each worker and each task to a sink by arcs of capacity 1. Then join each worker to each task they can do by an arc of capacity 1. A maximum flow of 4 then pairs every worker with a different task.
Recap
Recap and next step
- A feasible flow respects every capacity and conserves flow at every vertex except S and T.
- A cut's capacity is the sum of the capacities of arcs crossing it forwards.
- Every flow's value is at most every cut's capacity; the maximum flow equals the minimum cut.
- Augmenting paths may use arcs backwards, reducing their flow to redirect it.
- Supersources, supersinks and split vertices adapt networks to the standard form.
- With lower capacities, subtract backward lower capacities from forward upper capacities.
Next chapter: Dynamic programming, which breaks a multi-stage decision into a sequence of simpler ones.
For your exam board
This chapter covers Pearson Edexcel A Level Further Mathematics (9FM0) Decision Mathematics 2 section 3: flows in networks, cuts, the maximum flow – minimum cut theorem, flow-augmenting paths, supersources and supersinks, vertex capacities and lower capacities. It is assessed on Paper 4D, Decision Mathematics 2. Similar content appears in AQA (7367) and OCR (H245) discrete options.