Let be a simple directed graph with a vertex set and an edge set , and let
be a network obtained from by assigning a real value to each edge as its capacity.
For vertex subsets , let denote the set of edges that leave a vertex in and enter a vertex in . Let denote the set of nonnegative reals.
For two designated vertices , an -flow is defined to be a mapping
which satisfies (flow conservation law) and (capacity constraint), and its flow value is defined to be
An -cut is defined to be a vertex subset such that and , and its capacity is defined to be
Answer the following questions.
(i) Prove that for any -flow and any -cut
holds.
(ii) For a given -flow , show how to construct its residual network .
(iii) For an -flow in , assume that there is a directed path from to in the residual network . Let denote the minimum capacity of an edge in in . Prove that has an -flow whose flow value is .
(iv) For an -flow in , assume that there is no directed path from to in the residual network . Let denote the set of vertices that are reachable from in . Prove that holds for any set with .
First we verify that obeys that capacity constraint.
For an edge , we have
For an edge , we have
Hence the capacity constraint holds.
Next we prove the flow conservation constraint.
For a vertex , obviously the flow conservation constraint holds if .
Hence we focus on the case that .
For a vertex , since is a simple path, there are exactly two edges and in that adjacent to .
if and , then we have
if and , then we have
Similarly for the case and the case .
Hence the flow conservation constraint holds.
Finlly, we compute the value .
Same as the proof of flow conservation constraint, there are two cases for the edge in corresponds to the edge adjacent to in of .