VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Core Aim of Mathematics Mastery | Network Flow

A smiling student holds a blue Mathematics textbook in a bright corridor, with a light-coloured backpack over one shoulder.

Did you know that a network can have plenty of capacity in one place and still struggle to move enough through the whole system? Imagine packages passing through warehouses, water travelling through pipes, or data crossing a computer network. The problem is not simply finding a route. It is finding how much can travel from start to finish without exceeding any connection’s limit.

The core aim of network flow mastery is to understand directed networks with capacities, assign feasible flows, preserve flow conservation, find the greatest total flow from a source to a sink, and explain why a minimum cut proves that no larger flow is possible. Students also learn to read residual networks and augmenting paths, distinguish maximum flow from shortest path, and recognise how flow models apply to transport, logistics and allocation. Network flow is where graph theory becomes a mathematics of moving limited quantities.

This guide extends eduKateSG’s Graph Theory, Linear Programming, Integer Programming and Mathematical Modelling. For the wider network application, read Why Mathematics? | Graph Theory, Networks and Internet Routing. This page owns the particular mastery outcome: how students model, calculate and verify the maximum feasible movement through a capacitated network.


What Is a Flow Network?

A flow network is a directed graph in which edges carry non-negative capacities. One designated vertex is the source s, from which flow originates, and another is the sink t, where flow ends.

Each directed edge u→v has a capacity c(u,v). The actual flow f(u,v) must satisfy 0≤f(u,v)≤c(u,v) on that directed edge.

In a basic model, the capacity could mean packages per hour, litres per minute or another rate or quantity defined by the problem. Keeping units consistent is part of mathematical correctness.

Source, Sink and Intermediate Vertices Have Different Roles

The source supplies the modelled flow, the sink receives it, and intermediate vertices act as transfer points.

For example, a network might contain source S, warehouses A and B, and destination T. Packages may move S→A→T, S→B→T or S→A→B→T depending on the available directed connections.

Capacity Is an Upper Bound, Not a Guaranteed Flow

If a link has capacity 5, it can carry any feasible flow from 0 to 5 under the standard continuous model. Its full capacity need not be used.

Several edges may individually have high capacities while the network’s maximum source-to-sink flow is restricted by a smaller combined bottleneck elsewhere.

Flow Conservation Keeps the Network Honest

At every intermediate vertex, the total incoming flow must equal the total outgoing flow in the basic network-flow model:

Sum of inflow = sum of outflow.

A transfer point cannot create extra packages or make existing packages vanish. If a node receives 4 units, it must send 4 onward unless the model explicitly includes storage, loss or additional supply.

The Flow Value Measures What Reaches the Sink

The value of a flow is the net amount leaving the source, equal to the net amount entering the sink when conservation holds. The maximum-flow problem asks us to make this value as large as possible while respecting every capacity and conservation constraint.

Worked Example: A Four-Vertex Network

Consider four vertices S, A, B and T. The directed edges and capacities are:

Directed edgeCapacity
S→A5
S→B4
A→B2
A→T3
B→T5

At first glance, S can send at most 5+4=9 units. But can all 9 reach T? The incoming links to T have total capacity 3+5=8. That immediately suggests a tighter upper bound of 8.

Build a Feasible Flow of Value Eight

Assign these edge flows:

Directed edgeFlow / capacity
S→A4 / 5
S→B4 / 4
A→B1 / 2
A→T3 / 3
B→T5 / 5

Check vertex A: it receives 4 from S and sends 1 to B plus 3 to T, so 4=1+3.

Check vertex B: it receives 4 from S plus 1 from A and sends 5 to T, so 4+1=5.

Total flow leaving S is 4+4=8. Total entering T is 3+5=8. Every edge remains within capacity. So this is a feasible flow of value 8.

Why Eight Is the Maximum

A feasible flow of 8 proves that the maximum is at least 8. To show optimality, we also need to show that no flow can exceed 8.

Look at the only incoming edges to T: A→T has capacity 3 and B→T has capacity 5. Together they can carry at most 8.

Every unit of source-to-sink flow must cross one of those edges. Therefore every feasible flow has value at most 8.

Combining both statements—feasible flow ≥8 and upper bound ≤8—we conclude the maximum flow is exactly 8.

A Cut Divides the Network Into Two Sides

An s–t cut partitions the vertices into a set containing the source and a set containing the sink.

The cut’s capacity is the sum of capacities of directed edges crossing from the source side to the sink side. Edges crossing backward do not contribute to this directed cut capacity.

Worked Example: A Minimum Cut

Choose the source-side set {S,A,B} and sink-side set {T}.

The directed edges crossing toward T are:

  • A→T with capacity 3;
  • B→T with capacity 5.

The cut capacity is 3+5=8.

We already found a feasible flow of value 8. Therefore this cut is a minimum cut, and that flow is a maximum flow.

The Max-Flow/Min-Cut Theorem Connects Two Questions

The central theorem says:

Maximum feasible s–t flow value = minimum s–t cut capacity.

It is a striking result because a flow is something we send through a network, whereas a cut is a boundary we draw across it. The theorem says their best possible values match.

Learning to construct a feasible flow and find an equal-capacity cut is an excellent way for a student to prove a maximum, rather than merely guess one.

Augmenting Paths Increase an Existing Flow

An augmenting path is a source-to-sink path in the residual network along which additional flow can be pushed.

One possible sequence for the four-vertex example is:

The three augmentations have values 3, 4 and 1, totalling 8. Each path is limited by its smallest available capacity—the bottleneck on that path.

Residual Capacity Shows What Can Still Change

On a forward edge with capacity c and current flow f, the remaining forward residual capacity is c−f.

The residual network also allows a reverse edge of residual capacity f. This reverse edge represents the ability to undo or reroute some earlier flow assignment; it does not mean the physical network necessarily has a real reverse pipe or road.

Residual reverse edges matter because an early augmentation may use capacity that a later, more efficient routing decision needs to rearrange.

A Bottleneck Is the Smallest Available Capacity on a Path

If a residual path has available capacities 6, 2 and 5, we can augment along that path by at most 2 units. The edge with residual capacity 2 is the immediate bottleneck.

However, the bottleneck on one selected path is not necessarily the network’s overall minimum cut. The full network may have other routes contributing additional flow.

Ford–Fulkerson Is the Basic Augmentation Idea

The Ford–Fulkerson method starts with zero flow and repeatedly finds an augmenting path in the residual network. It pushes as much as possible along that path and updates the residual capacities.

For integer capacities, this path-augmentation approach terminates with a maximum flow. With arbitrary irrational capacities, unrestricted path choices require extra care and need not terminate in general.

Edmonds–Karp Chooses Shortest Residual Paths

Edmonds–Karp is a well-known implementation of the augmenting-path method that uses breadth-first search to choose a residual path with the fewest edges.

This gives a polynomial-time guarantee and connects flow algorithms to breadth-first search from Graph Theory.

Maximum Flow Is Not the Same as Shortest Path

A shortest path asks which route has least distance, time or other edge cost. A maximum flow asks how much can move through the network in total without exceeding capacities.

Many routes can carry flow simultaneously. A shortest route might have tiny capacity, while several longer routes together may carry much more. Choosing the right mathematical question is essential.

Maximum Flow Is Also Not Minimum-Cost Flow

In a minimum-cost flow model, edges may have both capacities and per-unit costs. The objective might be to send a required amount at minimum cost.

Maximum flow and minimum-cost flow are related network optimisation problems but answer different questions. First ask whether the priority is capacity, cost or a combination of the two.

Network Flow Connects to Linear Programming

The maximum-flow model can be written as a linear programme: the decision variables are edge flows, the inequalities enforce capacity limits, and equations enforce conservation at intermediate nodes.

This makes a direct bridge to Linear Programming. The network structure permits specialised algorithms that can be much more efficient than treating every problem as an arbitrary collection of inequalities.

Integer Capacities Often Give Integer Optimal Flows

In the standard single-source, single-sink network-flow model with integer capacities, there exists a maximum flow with integer values on every edge.

This integrality property is a special structural advantage of network flow. It is not a reason to round an arbitrary fractional linear-programming solution. For broader whole-number optimisation, see Integer Programming.

Network Flow Can Model Matching and Assignment

Some matching problems can be built as flow networks. For example, a source can connect to workers, workers can connect to eligible tasks, and tasks can connect to a sink. Unit capacities ensure that one worker or one task is used no more than the permitted number of times.

A maximum flow then measures the largest possible number of assignments in the simplified model.

When Real Flow Networks Need More Detail

A basic maximum-flow model assumes capacities and conservation rules that may not capture queues, pressure, travel delays, inventory storage, variable costs or changes over time.

In real logistics and infrastructure decisions, those omitted factors may matter. Strong mathematical modelling means understanding when the basic network is a useful approximation and when a richer model is needed.

Common Network Flow Mistakes

  • Sending more than an edge’s stated capacity.
  • Creating or losing flow at an intermediate vertex.
  • Ignoring edge direction.
  • Counting a source edge twice.
  • Confusing a feasible flow with a proven maximum.
  • Forgetting residual reverse edges.
  • Assuming a path’s bottleneck equals the whole network’s maximum.
  • Counting reverse-direction edges in a directed cut capacity.
  • Confusing maximum flow with shortest path or minimum-cost flow.

Three Learning Pathways

Repair: Directed Graphs and Conservation

Begin with four vertices and a few capacities. Ask the student to identify the source, sink, intermediate nodes and every permitted direction. Practise conservation before attempting a maximum.

Stabilise: Feasible Flows and Cuts

Use small networks. Construct a flow, check all capacities, calculate its total value, and identify a cut giving an upper bound. Encourage students to prove optimality by matching a flow value to a cut capacity.

Extend: Residual Networks and Algorithms

Introduce augmenting paths, residual reverse edges, Ford–Fulkerson, Edmonds–Karp and flow-based matching. Compare maximum-flow and minimum-cost objectives to understand why different models produce different solutions.

A Weekly Network Flow Routine

  • Label source, sink, directions and capacities on one small network.
  • Assign a feasible flow and check conservation.
  • Find a path’s residual bottleneck.
  • Use two or three augmenting paths.
  • Calculate a cut capacity.
  • Explain why the flow is or is not provably maximal.

Parent and Student Progress Checklist

  • I understand source and sink.
  • I can read directed edge capacities.
  • I understand flow conservation.
  • I can construct a feasible flow.
  • I can calculate the value of a flow.
  • I can calculate residual capacities.
  • I can follow an augmenting path.
  • I understand the meaning of a cut.
  • I can use the max-flow/min-cut theorem to justify an optimum.
  • I distinguish maximum flow from shortest path.
  • I understand the connection to linear programming.
  • I can explain the limits of a simplified flow model.

Frequently Asked Questions

What is maximum flow?

Maximum flow is the largest amount that can move from a source to a sink through a directed network without exceeding edge capacities or violating conservation.

What is a minimum cut?

A minimum cut is a partition separating source and sink whose total forward crossing capacity is as small as possible.

Why do maximum flow and minimum cut have equal values?

The max-flow/min-cut theorem shows that a flow cannot exceed any separating cut, and a maximum flow can be found that reaches the capacity of some minimum cut.

What is a residual network?

It represents how much additional flow can be sent forward and how much existing flow can be rerouted backward, supporting systematic improvement of a feasible flow.

Helpful Reading in the eduKateSG Ecosystem

The Core Aim

The core aim of network flow mastery is not to make students push more numbers along arrows. It is to make movement through constrained networks mathematically understandable.

A strong learner can model directed capacities, preserve flow at every transfer point, find a feasible flow and prove its maximum using a cut. That is what network flow adds to mathematics mastery: a precise language for understanding how much a connected system can actually carry.