Skip to main content
NSWMaths Standard 2Syllabus dot point

How is the greatest possible flow through a directed network found, and why does the smallest cut decide it?

Solve network flow problems, including finding the maximum flow using the maximum-flow minimum-cut theorem

A focused answer to the HSC Maths Standard 2 dot point on network flow. Sources and sinks, edge capacities, saturated edges, finding the maximum flow by inspection, cuts and cut capacity, the maximum-flow minimum-cut theorem, and multiple sources or sinks via a super-source and super-sink, with worked water, traffic and data examples.

Generated by Claude Opus 4.816 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA gives you a directed network (a graph whose edges carry arrows). It has one starting vertex, the source, and one finishing vertex, the sink. Each edge has a capacity: the most it can carry. Your job is to find the maximum flow, the greatest amount that can pass from source to sink at once. You confirm that maximum using cuts and the maximum-flow minimum-cut theorem. If a network has more than one source or sink, you add a super-source and super-sink.

The capacity can be anything that moves through a one-way channel: water in kilolitres per minute through pipes, cars per hour along one-way roads, or data in megabits per second across links. The method is identical in each case; only the units change.

The answer

Capacitated water network from source S to sink TA directed water network. The source S on the left feeds A and B with pipe capacities 12 and 14 kilolitres per minute. A feeds C with capacity 7 and feeds B with capacity 3; B feeds C with capacity 5 and D with capacity 6. C feeds the sink T with capacity 13 and D feeds T with capacity 10. Every pipe is one-way in the direction of the arrow.121473561310SABCDTsourcesinkCapacities in kilolitres per minute. Arrows show the one-way direction of flow from source S to sink T.

The vocabulary you must use

A flow network is a directed graph (the edges carry arrows), so flow only travels the way the arrow points. The pieces have precise names, and exam questions expect them:

  • Source. The single vertex where everything starts. Here it is SS. The source is the analogue of the "start" in critical path analysis.
  • Sink. The single vertex where everything ends. Here it is TT, the analogue of the "finish".
  • Capacity. The weight on an edge: the most that edge can carry. Pipe SS-AA has capacity 1212, meaning at most 1212 kilolitres per minute can pass along it.
  • Flow. The amount actually travelling along an edge. The flow on an edge can be anything from 00 up to its capacity, never more.
  • Saturated edge. An edge whose flow equals its capacity. It is full and cannot carry any more, so it is a candidate bottleneck.
  • Excess (spare) capacity. Capacity minus current flow: the room still left on an edge. This is the flow-network cousin of float time in critical path analysis.

The single most important fact is the first rule of capacity: the flow on any edge can never exceed that edge's capacity. Everything that follows is a consequence of squeezing flow through edges that each have a ceiling.

Flow must be conserved at every vertex

At every vertex except the source and the sink, whatever flows in must flow out. Water does not pile up at a junction or appear from nowhere. So if 99 kilolitres per minute arrive at vertex CC, then 99 must leave CC. This is conservation of flow, and it is why a single narrow edge anywhere along a route throttles the whole route: the flow that squeezes through the narrow edge is all that can continue past it.

Finding the maximum flow by inspection

For a small network you can find the maximum flow by eye, building it from paths:

  1. Trace a path from source to sink and read off its bottleneck. The flow you can push along a single path is the smallest capacity on it (the series rule). Send that much, and mark each edge on the path as carrying that flow.
  2. Reduce the capacities you have used. Subtract the flow you just sent from every edge on that path. Some edge becomes saturated (drops to 00 spare); that is the bottleneck that limited the path.
  3. Find another path that still has spare capacity and repeat, adding its flow to the running total.
  4. Stop when no path from source to sink has spare capacity left. The running total is the maximum flow.

Step 2 is the part that trips students, and textbooks gloss over it. If two paths share an edge, you cannot just add their separate bottlenecks. The shared edge can only carry its own capacity in total. So you must subtract used capacity as you go, which stops a shared edge from being over-committed (asked to carry more than it can). The traffic worked example below is built to expose this trap.

Cuts: a cleaner way to pin the maximum

On a bigger network, inspection becomes error-prone: it is hard to be sure you have not missed a better combination of paths. Cuts give a check that does not rely on finding the right paths.

A cut is an imaginary line drawn right across the network. It completely separates the source from the sink, so every route from source to sink is cut. Think of it as a set of pipes you could close to stop all flow getting through. Because a cut blocks every route, the flow can never beat the total capacity of the pipes it crosses. That fact leads straight to the theorem.

The capacity of a cut is the sum of the capacities of the edges crossing it, but only those running from the source side to the sink side. This direction rule is the part most often got wrong:

  • An edge pointing from the source side to the sink side is counted: flow uses it to cross, so it limits the cut.
  • An edge pointing from the sink side back to the source side is not counted: it carries flow the wrong way across the cut, so it does not help flow get from source to sink and is ignored entirely.

A cut separating the source side from the sink sideThe same water network with a dashed cut line dividing it into a source side containing S, A and B, and a sink side containing C, D and T. The cut crosses three pipes in the source-to-sink direction: A to C capacity 7, B to C capacity 5 and B to D capacity 6. Their capacities add to 18, which is the capacity of this cut. It is the minimum cut, so the maximum flow is 18 kilolitres per minute.121473561310SABCDTcutsourcesinkCut capacity = 7 + 5 + 6 = 18 (only source-to-sink crossings). This is the minimum cut, so max flow = 18.

In the cut shown, the dashed line puts SS, AA and BB on the source side and CC, DD, TT on the sink side. The three pipes crossing it from source side to sink side are AA-CC (77), BB-CC (55) and BB-DD (66), so the cut capacity is 7+5+6=187 + 5 + 6 = 18. Notice it does not count SS-AA, SS-BB or the internal pipe AA-BB, because those stay entirely on the source side and never cross the line.

The maximum-flow minimum-cut theorem

Every cut is a complete barrier, so the flow can never beat the capacity of any single cut. The tightest barrier, the minimum cut, is therefore the true ceiling, and the theorem says that ceiling is always reached.

In our network the minimum cut is the one drawn above, with capacity 1818, so the maximum flow from SS to TT is 1818 kilolitres per minute. The bottleneck is the middle layer of pipes, not the source pipes (which together carry 12+14=2612 + 14 = 26) nor the pipes into the sink (which carry 13+10=2313 + 10 = 23). That is the lesson the theorem makes vivid: the constriction can sit anywhere in the network, and the minimum cut finds it for you.

Why the two numbers must agree

You can see why a flow can never beat a cut without any algebra. Picture any cut as a line across all the pipes. Every drop that reaches the sink had to start at the source. So it had to cross that line somewhere, along a source-to-sink pipe. The total crossing the line can therefore be no more than the total capacity of those pipes, which is the cut capacity. This holds for every cut, so the flow is at most the smallest cut. The theorem also claims you can always set up a flow that exactly equals the smallest cut, so the two values meet. In Standard 2 you use the result, not its proof, but the picture is what makes it clear.

Multiple sources or multiple sinks

Some networks have more than one source (say two reservoirs feeding a town) or more than one sink (say two ocean outlets). The trick is to reduce the problem to the single-source single-sink case you already know:

  • Add one super-source: a new vertex joined by an edge to every real source.
  • Add one super-sink: a new vertex joined by an edge from every real sink.
  • Give each artificial edge a capacity at least as large as everything that source can emit or that sink can receive (a safe choice is the sum of the real pipes at that vertex), so the artificial edges never become the bottleneck themselves.

Now find the maximum flow from the super-source to the super-sink exactly as before. Because the artificial edges are never the constriction, the answer is the genuine maximum total flow through the original network. The stormwater worked example below carries this out in full.

How exam questions ask about network flow

The wording shifts with the context, but each version maps onto the same toolkit. Learn to translate it:

  • "Find the maximum flow from SS to TT." Either build it up by inspection (paths, bottlenecks, subtracting used capacity) or, more reliably, find the minimum cut and quote the theorem. State the value with units.
  • "Find the capacity of cut C1C_1 / each of the cuts shown." Sum the capacities of the edges crossing in the source-to-sink direction only; ignore any edge crossing the other way.
  • "Use the maximum-flow minimum-cut theorem" or "verify your answer with a cut." They want both: a flow that achieves a value, and a cut of the same capacity confirming nothing larger is possible.
  • "Which edges are saturated at maximum flow?" Name the edges whose flow equals their capacity. The saturated edges of a minimum cut are exactly the bottleneck.
  • "A pipe / road is upgraded (or closed)." Change that one capacity, then re-find the minimum cut. Upgrading a pipe that is not on the minimum cut changes nothing; only relieving the bottleneck raises the maximum flow.
  • "There are two sources / two sinks." Add a super-source and super-sink, then solve the single-source single-sink problem.
  • "Find one example of how the maximum flow can be achieved." Give an actual flow on each edge (not just the total) that sums to the maximum and never exceeds any capacity.

A distinction worth a mark: maximum flow is about pushing the most through a directed network from one vertex to another, and is not the same as a minimum spanning tree (connect every vertex as cheaply as possible) or a shortest path (the single cheapest route between two vertices). Read the directed arrows and the word "capacity" as your signal that it is a flow problem.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC-style4 marksWater flows through a network of pipes from source SS to sink TT. The capacities, in kilolitres per minute, are SS-AA 1414, SS-BB 1010, AA-CC 99, AA-BB 55, BB-CC 88, CC-TT 1212, BB-TT 66. All pipes are one-way from SS towards TT. Find the maximum flow from SS to TT, justifying your answer with a cut.
Show worked answer →

Find the maximum flow by locating the minimum cut. A cut is an imaginary line that completely separates SS from TT; its capacity is the sum of the capacities of the edges crossing it in the source-to-sink direction only.

Test cuts that separate more and more of the network from the sink:

  • Cut {S}\{S\} on the source side: crossings SS-AA and SS-BB, capacity 14+10=2414 + 10 = 24.
  • Cut {S,A}\{S, A\}: crossings SS-BB, AA-CC, AA-BB, capacity 10+9+5=2410 + 9 + 5 = 24.
  • Cut {S,A,B}\{S, A, B\}: crossings AA-CC, BB-CC, BB-TT, capacity 9+8+6=239 + 8 + 6 = 23.
  • Cut {S,A,B,C}\{S, A, B, C\}: crossings CC-TT, BB-TT, capacity 12+6=1812 + 6 = 18.

The smallest cut capacity is 1818, so by the maximum-flow minimum-cut theorem the maximum flow is 1818 kilolitres per minute. The bottleneck is the pair of pipes feeding TT.

Markers reward identifying several cuts, summing only the source-to-sink crossings, choosing the minimum, and quoting the theorem to convert the minimum cut into the maximum flow, with units.

2023 HSC-style5 marksStorm water enters a pipe network at Dunlop North (MM) or Dunlop South (NN) and leaves at Outlet 1 (GG) or Outlet 2 (HH). Capacities in kilolitres per minute are MM-UU 66, MM-VV 99, NN-UU 77, NN-VV 44, UU-GG 88, UU-HH 33, VV-GG 55, VV-HH 1111. Find the maximum total rate at which water can leave the network at the two outlets.
Show worked answer →

There are two sources and two sinks, so add a super-source XX joined to both real sources and a super-sink WW joined from both real sinks. Give each artificial pipe a capacity equal to the total capacity of the pipes at that source or sink, so the artificial pipes never become the bottleneck: XX-M=6+9=15M = 6 + 9 = 15, XX-N=7+4=11N = 7 + 4 = 11, GG-W=8+5=13W = 8 + 5 = 13, HH-W=3+11=14W = 3 + 11 = 14.

Now it is a single-source single-sink problem from XX to WW. Find the minimum cut. The maximum flow works out to 2424 kilolitres per minute, and a cut achieving it crosses MM-VV 99, NN-VV 44, UU-GG 88 and UU-HH 33, which sum to 9+4+8+3=249 + 4 + 8 + 3 = 24.

Markers reward the super-source and super-sink construction, reducing two sources and two sinks to one of each, finding the maximum flow with a confirming cut, and stating the total rate with units.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksWater flows in kilolitres per minute through two pipes joined in series: source SS to junction AA with capacity 1818, then AA to sink TT with capacity 2727. Every pipe is one-way from SS towards TT. Find the maximum flow from SS to TT.
Show worked solution →
Read the path
There is one route, SS to AA to TT, with the two pipes joined in series (one after the other).
Apply the bottleneck (series) rule
Flow on a series path is limited by its smallest capacity. The smaller of 1818 and 2727 is min(18,27)=18\min(18, 27) = 18, so at most 1818 can pass. The wide pipe AA-TT then carries only 1818 and has 2718=927 - 18 = 9 kilolitres per minute of spare capacity, while SS-AA is saturated.
Confirm with a cut
Put just SS on the source side. The only pipe crossing source-to-sink is SS-AA, so the cut capacity is 1818. No cut can be smaller than the single pipe leaving SS, so by the maximum-flow minimum-cut theorem the maximum flow is 1818.
Check
The flow 1818 equals the cut 1818, and 181818 \le 18 and 182718 \le 27 respect both capacities. The maximum flow is 1818 kilolitres per minute.
foundation2 marksA network carries cars per hour along one-way roads from source SS to sink EE by two separate routes that share no road. Route 1 is SS-AA-EE with capacities 1616 then 99. Route 2 is SS-BB-EE with capacities 1111 then 2020. Find the maximum traffic flow from SS to EE.
Show worked solution →
Find each route's bottleneck
On a series route the flow is capped by the smallest capacity. Route 1 is limited by min(16,9)=9\min(16, 9) = 9. Route 2 is limited by min(11,20)=11\min(11, 20) = 11.
Add the routes
The two routes share no road, so their flows are independent and add: 9+11=209 + 11 = 20 cars per hour.
Confirm with a cut
Take the source side {S,A}\{S, A\}. The pipes crossing source-to-sink are AA-EE (99) and SS-BB (1111), giving cut capacity 9+11=209 + 11 = 20. This matches the flow, so by the maximum-flow minimum-cut theorem 2020 is the maximum.
Check
Flow 2020 equals the cut 2020; sending 99 via AA and 1111 via BB breaks no capacity. The maximum flow is 2020 cars per hour.
foundation3 marksWater flows in kilolitres per minute through one-way pipes from source SS to sink TT: SS-AA 1313, SS-BB 77, AA-TT 1010, BB-TT 1212. (a) Find the capacity of the cut that puts only SS on the source side. (b) Find the maximum flow from SS to TT, justifying it with a cut.
Show worked solution →

(a) Cut around the source. With only SS on the source side, the pipes crossing source-to-sink are SS-AA (1313) and SS-BB (77). The cut capacity is 13+7=2013 + 7 = 20.

(b) Test more cuts. A cut is a line separating SS from TT; sum only the source-to-sink crossings.

  • Source side {S}\{S\}: crossings SS-AA, SS-BB, capacity 13+7=2013 + 7 = 20.
  • Source side {S,A}\{S, A\}: crossings SS-BB (77), AA-TT (1010), capacity 7+10=177 + 10 = 17.
  • Source side {S,B}\{S, B\}: crossings SS-AA (1313), BB-TT (1212), capacity 13+12=2513 + 12 = 25.
  • Source side {S,A,B}\{S, A, B\}: crossings AA-TT (1010), BB-TT (1212), capacity 10+12=2210 + 12 = 22.

Take the minimum. The smallest is 1717, so by the maximum-flow minimum-cut theorem the maximum flow is 1717 kilolitres per minute.

Check. A flow of 1010 along SS-AA-TT and 77 along SS-BB-TT totals 1717 and breaks no capacity, matching the minimum cut 1717.

foundation3 marksA water network has one-way pipes measured in kilolitres per minute: SS-AA 88, SS-BB 66, AA-CC 55, BB-CC 99, CC-TT 77. Every route from source SS to sink TT passes through the single pipe CC-TT. Find the maximum flow from SS to TT.
Show worked solution →
Spot the shared final pipe
Both routes (SS-AA-CC-TT and SS-BB-CC-TT) funnel through the one pipe CC-TT, which has capacity only 77. No flow can pass CC to TT faster than 77.
Confirm with a cut
Put CC and TT on the sink side and SS, AA, BB on the source side. The only pipe crossing source-to-sink is CC-TT (77), so the cut capacity is 77. No cut can be smaller than the single pipe every drop must use.
Read the theorem
By the maximum-flow minimum-cut theorem the maximum flow equals this minimum cut, so it is 77 kilolitres per minute. Upstream the network is wider (the pipes into CC carry 5+9=145 + 9 = 14), but CC-TT throttles everything.
Check
A flow of 55 via AA and 22 via BB gives 5+2=75 + 2 = 7 into CC and 77 out along CC-TT, respecting every capacity and matching the cut 77.
core4 marksA pipe network carries water in kilolitres per minute with one-way pipes SS-AA 1010, SS-BB 99, AA-BB 44, AA-TT 77, BB-TT 1111. Note the internal pipe AA-BB runs from AA to BB. Find the maximum flow from SS to TT, justifying it with a cut.
Show worked solution →

Test the cut into the sink. Put SS, AA, BB on the source side and only TT on the sink side. The crossings are AA-TT (77) and BB-TT (1111), so this cut has capacity 7+11=187 + 11 = 18.

Check it is the minimum. Compare other cuts so 1818 is not beaten:

  • Source side {S}\{S\}: crossings SS-AA (1010), SS-BB (99), capacity 10+9=1910 + 9 = 19.
  • Source side {S,A}\{S, A\}: crossings SS-BB (99), AA-BB (44), AA-TT (77), capacity 9+4+7=209 + 4 + 7 = 20.
  • Source side {S,B}\{S, B\}: crossings SS-AA (1010), BB-TT (1111), capacity 10+11=2110 + 11 = 21.

The smallest is 1818.

Read the theorem. By the maximum-flow minimum-cut theorem the maximum flow is 1818 kilolitres per minute.

Check with an actual flow. Send SS-AA 99, SS-BB 99, AA-BB 22, AA-TT 77, BB-TT 1111. Vertex AA takes in 99 and sends out 2+7=92 + 7 = 9; vertex BB takes in 9+2=119 + 2 = 11 and sends out 1111. The total into TT is 7+11=187 + 11 = 18, matching the cut.

core4 marksData flows in megabits per second across one-way links SS-AA 1212, SS-BB 88, AA-CC 1010, BB-DD 77, CC-DD 33, CC-TT 66, DD-TT 99. Find the maximum flow from source SS to sink TT, and name the links that are saturated when the flow is at its maximum.
Show worked solution →

Test the cut into the sink. Put everything except TT on the source side. The crossings are CC-TT (66) and DD-TT (99), so this cut has capacity 6+9=156 + 9 = 15.

Check it is the minimum. Try other cuts:

  • Source side {S}\{S\}: crossings SS-AA (1212), SS-BB (88), capacity 12+8=2012 + 8 = 20.
  • Source side {S,A}\{S, A\}: crossings SS-BB (88), AA-CC (1010), capacity 8+10=188 + 10 = 18.

Neither beats 1515, so the minimum cut is 1515.

Read the theorem
By the maximum-flow minimum-cut theorem the maximum flow is 1515 megabits per second.
Find a flow and its saturated links
Send SS-AA 88, SS-BB 77, AA-CC 88, CC-TT 66, CC-DD 22, BB-DD 77, DD-TT 99. Conservation holds at every junction, and the total into TT is 6+9=156 + 9 = 15. The links carrying their full capacity are CC-TT (6=66 = 6) and DD-TT (9=99 = 9), which are exactly the minimum-cut bottleneck.
Check
Flow 1515 equals cut 1515, confirming the answer; the saturated links are CC-TT and DD-TT.
core4 marksCars per hour travel one-way roads SS-AA 99, SS-BB 1111, AA-CC 77, AA-DD 44, BB-DD 88, CC-TT 66, DD-TT 1010 from source SS to sink TT. Find the maximum traffic flow from SS to TT by computing cut capacities.
Show worked solution →

Test several cuts. Sum only the source-to-sink crossings.

  • Source side {S}\{S\}: crossings SS-AA (99), SS-BB (1111), capacity 9+11=209 + 11 = 20.
  • Source side {S,A,B}\{S, A, B\}: crossings AA-CC (77), AA-DD (44), BB-DD (88), capacity 7+4+8=197 + 4 + 8 = 19.
  • Source side {S,A,B,C,D}\{S, A, B, C, D\} (all but the sink): crossings CC-TT (66), DD-TT (1010), capacity 6+10=166 + 10 = 16.
Take the minimum
The smallest cut found is 1616, the pair of roads feeding TT.
Read the theorem
By the maximum-flow minimum-cut theorem the maximum flow is 1616 cars per hour.
Check with an actual flow
Send SS-AA 99, SS-BB 77, AA-CC 66, AA-DD 33, BB-DD 77, CC-TT 66, DD-TT 1010. At AA: in 99, out 6+3=96 + 3 = 9. At DD: in 3+7=103 + 7 = 10, out 1010. The total into TT is 6+10=166 + 10 = 16, matching the minimum cut 1616.
core5 marksWater flows in kilolitres per minute through one-way pipes SS-AA 1010, SS-BB 66, AA-CC 77, BB-CC 99, CC-TT 88 from source SS to sink TT. (a) Find the maximum flow. (b) The council upgrades pipe CC-TT to capacity 1515. Find the new maximum flow. (c) Explain why the increase is not the full amount CC-TT was widened.
Show worked solution →
(a) Find the original minimum cut
Put SS, AA, BB, CC on the source side. The only crossing is CC-TT (88), so that cut is 88. The cut {S}\{S\} gives SS-AA (1010) plus SS-BB (66) =16= 16, and {S,A,B}\{S, A, B\} gives AA-CC (77) plus BB-CC (99) =16= 16, both larger. The minimum is 88, so the maximum flow is 88 kilolitres per minute.
(b) Re-find the minimum cut after the upgrade
Now CC-TT has capacity 1515, so the cut {S,A,B,C}\{S, A, B, C\} is 1515. The other cuts are unchanged: {S}\{S\} is 1616, and the cut {S,A}\{S, A\} gives SS-BB (66) plus AA-CC (77) =13= 13. The new minimum is 1313, so the new maximum flow is 1313 kilolitres per minute.
(c) Explain the size of the gain
Widening CC-TT from 88 to 1515 moved the bottleneck off that pipe and onto the pipes feeding AA and on into CC: the cut {S,A}\{S, A\}, crossing SS-BB (66) and AA-CC (77), now caps the flow at 1313. The flow rose by only 138=513 - 8 = 5, not 158=715 - 8 = 7, because once a different cut becomes the minimum, further widening of CC-TT adds nothing.
Check
A flow of SS-AA 77, SS-BB 66, AA-CC 77, BB-CC 66, CC-TT 1313 gives 7+6=137 + 6 = 13 into CC and 1313 out, matching the new minimum cut 1313.
exam5 marksData flows in megabits per second across one-way links SS-AA 1111, SS-BB 99, BB-AA 44, AA-CC 88, BB-DD 77, CC-DD 33, CC-TT 66, DD-TT 1010. Note the link BB-AA points from BB to AA. (a) Find the capacity of the cut with source side {S,A}\{S, A\}. (b) Find the maximum flow from SS to TT.
Show worked solution →

(a) Apply the direction rule. With source side {S,A}\{S, A\} and sink side {B,C,D,T}\{B, C, D, T\}, the links crossing source-to-sink are SS-BB (99) and AA-CC (88). The link BB-AA crosses the other way (sink side to source side), so it is not counted. The cut capacity is 9+8=179 + 8 = 17.

(b) Test more cuts. Sum only the source-to-sink crossings.

  • Source side {S,A,B}\{S, A, B\}: crossings AA-CC (88), BB-DD (77), capacity 8+7=158 + 7 = 15.
  • Source side {S,A,B,D}\{S, A, B, D\}: crossings AA-CC (88), DD-TT (1010), capacity 8+10=188 + 10 = 18.
  • Source side {S,A,B,C,D}\{S, A, B, C, D\}: crossings CC-TT (66), DD-TT (1010), capacity 6+10=166 + 10 = 16.
Take the minimum
The smallest is 1515, from {S,A,B}\{S, A, B\}.
Read the theorem
By the maximum-flow minimum-cut theorem the maximum flow is 1515 megabits per second.
Check
A flow of SS-AA 88, SS-BB 77, AA-CC 88, BB-DD 77, CC-TT 66, CC-DD 22, DD-TT 99 sends 6+9=156 + 9 = 15 into TT and obeys every capacity, matching the cut 1515.
exam6 marksStorm water enters at Dunlop North (PP) and Dunlop South (QQ) and drains to the ocean at Outlet 1 (YY) and Outlet 2 (ZZ) through junctions RR and SS. Capacities in kilolitres per minute are PP-RR 99, PP-SS 55, QQ-SS 88, QQ-RR 66, RR-YY 77, RR-ZZ 44, SS-YY 33, SS-ZZ 1111. Find the maximum total rate at which water leaves the network.
Show worked solution →
Add a super-source and super-sink
Two sources and two sinks reduce to one of each. Add super-source XX feeding PP and QQ, and super-sink WW fed from YY and ZZ. Give each artificial pipe the total capacity at that vertex so it is never the bottleneck: XX-P=9+5=14P = 9 + 5 = 14, XX-Q=8+6=14Q = 8 + 6 = 14, YY-W=7+3=10W = 7 + 3 = 10, ZZ-W=4+11=15W = 4 + 11 = 15.
Test the cut just before the outlets
Put everything except YY, ZZ, WW on the source side. Crossings RR-YY (77), RR-ZZ (44), SS-YY (33), SS-ZZ (1111) give 7+4+3+11=257 + 4 + 3 + 11 = 25.
Test a mixed cut
Put XX, PP, QQ, RR on the source side. The crossings are PP-SS (55), QQ-SS (88), RR-YY (77) and RR-ZZ (44), giving 5+8+7+4=245 + 8 + 7 + 4 = 24. Note QQ-RR and PP-RR stay inside the source side and are not counted.
Take the minimum
The smaller is 2424, and no cut is smaller, so the minimum cut is 2424. By the maximum-flow minimum-cut theorem the maximum total flow is 2424 kilolitres per minute.
Check
A flow with PP-RR 55, PP-SS 55, QQ-RR 66, QQ-SS 88, RR-YY 77, RR-ZZ 44, SS-YY 33, SS-ZZ 1010 delivers 1010 to YY and 1414 to ZZ, a total of 2424 leaving the network, matching the minimum cut.
exam6 marksWater flows in kilolitres per minute through one-way pipes SS-AA 1414, SS-BB 1010, AA-CC 99, AA-DD 55, BB-DD 88, CC-DD 33, CC-TT 1111, DD-TT 99 from source SS to sink TT. By testing several cuts, find the maximum flow from SS to TT and state the minimum cut that achieves it.
Show worked solution →

Test cuts that move more of the network to the sink side. Sum only the source-to-sink crossings.

  • Source side {S}\{S\}: crossings SS-AA (1414), SS-BB (1010), capacity 14+10=2414 + 10 = 24.
  • Source side {S,A,B}\{S, A, B\}: crossings AA-CC (99), AA-DD (55), BB-DD (88), capacity 9+5+8=229 + 5 + 8 = 22.
  • Source side {S,A,B,C,D}\{S, A, B, C, D\} (all but the sink): crossings CC-TT (1111), DD-TT (99), capacity 11+9=2011 + 9 = 20.
  • Source side {S,A,B,D}\{S, A, B, D\}: crossings AA-CC (99), DD-TT (99), capacity 9+9=189 + 9 = 18.
Take the minimum
The smallest is 1818, from the cut {S,A,B,D}\{S, A, B, D\} versus {C,T}\{C, T\}, crossing AA-CC (99) and DD-TT (99). Note CC-DD runs from the sink side back to the source side, so it is not counted.
Read the theorem
By the maximum-flow minimum-cut theorem the maximum flow is 1818 kilolitres per minute.
Check
A flow of SS-AA 1414, SS-BB 44, AA-CC 99, AA-DD 55, BB-DD 44, CC-TT 99, DD-TT 99 sends 9+9=189 + 9 = 18 into TT and obeys every capacity, matching the minimum cut 1818.
exam7 marksCars per hour travel one-way roads SS-AA 1313, SS-BB 1111, AA-CC 88, AA-DD 66, BB-DD 99, BB-EE 44, CC-TT 1010, DD-TT 77, EE-TT 1212 from source SS to sink TT. (a) Find the maximum flow from SS to TT. (b) State a minimum cut whose capacity equals it. (c) Give one example of a flow on each road that achieves the maximum.
Show worked solution →

(a) Test cuts to locate the bottleneck. Sum only the source-to-sink crossings.

  • Source side {S}\{S\}: crossings SS-AA (1313), SS-BB (1111), capacity 13+11=2413 + 11 = 24.
  • Source side {S,A,B}\{S, A, B\}: crossings AA-CC (88), AA-DD (66), BB-DD (99), BB-EE (44), capacity 8+6+9+4=278 + 6 + 9 + 4 = 27.
  • Source side {S,A,B,C,D}\{S, A, B, C, D\}: crossings BB-EE (44), CC-TT (1010), DD-TT (77), capacity 4+10+7=214 + 10 + 7 = 21.
  • Source side {S,A,B,D}\{S, A, B, D\}: crossings AA-CC (88), BB-EE (44), DD-TT (77), capacity 8+4+7=198 + 4 + 7 = 19.

The smallest found is 1919. By the maximum-flow minimum-cut theorem the maximum flow is 1919 cars per hour.

(b) State the minimum cut
The cut with source side {S,A,B,D}\{S, A, B, D\} and sink side {C,E,T}\{C, E, T\} has capacity AA-CC (88) plus BB-EE (44) plus DD-TT (77) =19= 19. The bottleneck is a mix of middle and final roads, not one clean layer.
(c) Give an achieving flow
Send SS-AA 1111, SS-BB 88, AA-CC 88, AA-DD 33, BB-DD 44, BB-EE 44, CC-TT 88, DD-TT 77, EE-TT 44. Conservation holds: at AA, in 1111, out 8+3=118 + 3 = 11; at DD, in 3+4=73 + 4 = 7, out 77. The total into TT is 8+7+4=198 + 7 + 4 = 19.
Check
The flow 1919 equals the minimum cut 1919 and the three cut roads AA-CC, BB-EE, DD-TT are all saturated, confirming the maximum.

Related dot points