Hard Further Maths Flows in networks Questions

Challenging, exam-style Further Maths Flows in networks questions with worked solutions. Stretch yourself on the hardest flows, max-flow-min-cut, networks, min-cut problems.

flowsmax-flow-min-cutnetworksmin-cutvalue-of-a-flowsaturated-arcs
Further Maths34 questionsStep-by-step solutions
Question 1
9 markschallenging
The directed network NN has source SS and sink TT. The arcs and their capacities are {SA:5, SB:6, AC:4, AD:3, BD:5, CT:6, DT:4, BC:2}\{S\to A:5,\ S\to B:6,\ A\to C:4,\ A\to D:3,\ B\to D:5,\ C\to T:6,\ D\to T:4,\ B\to C:2\}. The flow ff assigns arc values {SA:4, SB:4, AC:4, AD:0, BD:4, CT:4, DT:4, BC:0}\{S\to A:4,\ S\to B:4,\ A\to C:4,\ A\to D:0,\ B\to D:4,\ C\to T:4,\ D\to T:4,\ B\to C:0\}. Find the value of the flow ff.
Show worked solution

Worked solution

  1. Write down the network as data

    N: {SA:5, SB:6, AC:4, AD:3, BD:5, CT:6, DT:4, BC:2}N:\ \{S\to A:5,\ S\to B:6,\ A\to C:4,\ A\to D:3,\ B\to D:5,\ C\to T:6,\ D\to T:4,\ B\to C:2\}

    The source, the sink, the arcs and their capacities describe the whole network.

  2. Write down the given flow

    f: {SA:4, SB:4, AC:4, AD:0, BD:4, CT:4, DT:4, BC:0}f:\ \{S\to A:4,\ S\to B:4,\ A\to C:4,\ A\to D:0,\ B\to D:4,\ C\to T:4,\ D\to T:4,\ B\to C:0\}

    Each arc carries the amount of flow shown.

  3. Add the flow along the arcs leaving the source SS

    val(f)=4+4=8\operatorname{val}(f)=4+4=8

    The value of a flow is the net flow out of the source.

  4. Recall the value of a flow

    val(f)=vf(S,v)vf(v,S)\operatorname{val}(f)=\sum_{v}f(S,v)-\sum_{v}f(v,S)

    The value of a flow is the net flow out of the source.

  5. Recall flow conservation at an intermediate vertex

    uf(u,x)=wf(x,w)\sum_{u}f(u,x)=\sum_{w}f(x,w)

    At every vertex except the source and the sink, flow in equals flow out.

  6. Recall the capacity constraint on each arc

    0f(u,v)c(u,v)0\le f(u,v)\le c(u,v)

    No arc may carry more flow than its capacity.

  7. Recall the definition of a cut

    a cut splits the vertices into a source side and a sink side\text{a cut splits the vertices into a source side and a sink side}

    The source lies on one side of the cut and the sink on the other.

  8. Recall the capacity of a cut

    C=uS-side, vT-sidec(u,v)C=\sum_{u\in S\text{-side},\ v\in T\text{-side}}c(u,v)

    Only arcs crossing from the source side to the sink side are counted.

  9. Recall the maximum-flow minimum-cut theorem

    maxval(f)=minC\max\operatorname{val}(f)=\min C

    The value of a maximum flow equals the capacity of a minimum cut.

  10. Recall the weak-duality bound

    val(f)C\operatorname{val}(f)\le C

    Every flow value is at most the capacity of every cut.

  11. Recall how a cut proves optimality

    val(f)=C  f is maximal\operatorname{val}(f)=C\ \Rightarrow\ f\text{ is maximal}

    If a flow and a cut have the same size, neither can be improved.

  12. Recall a saturated arc

    f(u,v)=c(u,v)f(u,v)=c(u,v)

    A saturated arc is full to its capacity.

  13. Recall the spare capacity of an arc

    spare=c(u,v)f(u,v)\text{spare}=c(u,v)-f(u,v)

    This is how much more flow the arc could still carry.

  14. Recall a flow-augmenting path

    a path from S to T with spare capacity throughout\text{a path from }S\text{ to }T\text{ with spare capacity throughout}

    Along such a path the value of the flow can be increased.

  15. Recall forward and backward arcs on an augmenting path

    forward: cf,backward: f\text{forward: }c-f,\qquad \text{backward: }f

    Forward arcs use spare capacity; backward arcs release existing flow.

  16. State the value of the flow

    val(f)=8\operatorname{val}(f)=8

    This is the net flow out of the source.

Answer
val(f)=8\operatorname{val}(f)=8
Question 2
9 markschallenging
The directed network NN has source SS and sink TT. The arcs and their capacities are {SA:8, SB:6, SC:5, AD:5, BD:4, BE:5, CE:6, DF:6, EF:5, FT:9, DT:3}\{S\to A:8,\ S\to B:6,\ S\to C:5,\ A\to D:5,\ B\to D:4,\ B\to E:5,\ C\to E:6,\ D\to F:6,\ E\to F:5,\ F\to T:9,\ D\to T:3\}. By the maximum-flow minimum-cut theorem, which of the following is the value of the maximum flow from SS to TT?
Show worked solution

Worked solution

  1. Write down the network as data

    N: {SA:8, SB:6, SC:5, AD:5, BD:4, BE:5, CE:6, DF:6, EF:5, FT:9, DT:3}N:\ \{S\to A:8,\ S\to B:6,\ S\to C:5,\ A\to D:5,\ B\to D:4,\ B\to E:5,\ C\to E:6,\ D\to F:6,\ E\to F:5,\ F\to T:9,\ D\to T:3\}

    The source, the sink, the arcs and their capacities describe the whole network.

  2. Add the capacities of the arcs leaving SS

    vc(S,v)=8+6+5=19\sum_{v}c(S,v)=8+6+5=19

    These are the arcs pointing away from SS.

  3. Add the capacities of the arcs entering TT

    uc(u,T)=9+3=12\sum_{u}c(u,T)=9+3=12

    These are the arcs pointing towards TT.

  4. Quote the maximum-flow minimum-cut theorem

    maxval(f)=minC\max\operatorname{val}(f)=\min C

    The maximum flow equals the capacity of a minimum cut.

  5. Recall the value of a flow

    val(f)=vf(S,v)vf(v,S)\operatorname{val}(f)=\sum_{v}f(S,v)-\sum_{v}f(v,S)

    The value of a flow is the net flow out of the source.

  6. Recall flow conservation at an intermediate vertex

    uf(u,x)=wf(x,w)\sum_{u}f(u,x)=\sum_{w}f(x,w)

    At every vertex except the source and the sink, flow in equals flow out.

  7. Recall the capacity constraint on each arc

    0f(u,v)c(u,v)0\le f(u,v)\le c(u,v)

    No arc may carry more flow than its capacity.

  8. Recall the definition of a cut

    a cut splits the vertices into a source side and a sink side\text{a cut splits the vertices into a source side and a sink side}

    The source lies on one side of the cut and the sink on the other.

  9. Recall the capacity of a cut

    C=uS-side, vT-sidec(u,v)C=\sum_{u\in S\text{-side},\ v\in T\text{-side}}c(u,v)

    Only arcs crossing from the source side to the sink side are counted.

  10. Recall the maximum-flow minimum-cut theorem

    maxval(f)=minC\max\operatorname{val}(f)=\min C

    The value of a maximum flow equals the capacity of a minimum cut.

  11. Recall the weak-duality bound

    val(f)C\operatorname{val}(f)\le C

    Every flow value is at most the capacity of every cut.

  12. Recall how a cut proves optimality

    val(f)=C  f is maximal\operatorname{val}(f)=C\ \Rightarrow\ f\text{ is maximal}

    If a flow and a cut have the same size, neither can be improved.

  13. Recall a saturated arc

    f(u,v)=c(u,v)f(u,v)=c(u,v)

    A saturated arc is full to its capacity.

  14. Recall the spare capacity of an arc

    spare=c(u,v)f(u,v)\text{spare}=c(u,v)-f(u,v)

    This is how much more flow the arc could still carry.

  15. Select the value of the maximum flow

    maxval(f)=12\max\operatorname{val}(f)=12

    This value is achieved and cannot be exceeded.

Answer
maxval(f)=12\max\operatorname{val}(f)=12
Question 3
9 markschallenging
The directed network NN has source SS and sink TT. The arcs and their capacities are {SA:7, SB:5, AC:6, BC:3, BD:4, CD:2, CT:5, DT:6}\{S\to A:7,\ S\to B:5,\ A\to C:6,\ B\to C:3,\ B\to D:4,\ C\to D:2,\ C\to T:5,\ D\to T:6\}. Which of the following is a minimum cut of NN, together with its capacity?
Show worked solution

Worked solution

  1. Write down the network as data

    N: {SA:7, SB:5, AC:6, BC:3, BD:4, CD:2, CT:5, DT:6}N:\ \{S\to A:7,\ S\to B:5,\ A\to C:6,\ B\to C:3,\ B\to D:4,\ C\to D:2,\ C\to T:5,\ D\to T:6\}

    The source, the sink, the arcs and their capacities describe the whole network.

  2. Add the capacities of the arcs leaving SS

    vc(S,v)=7+5=12\sum_{v}c(S,v)=7+5=12

    These are the arcs pointing away from SS.

  3. Identify the arcs crossing the cut from the source side

    SB, ACS\to B,\ A\to C

    Only arcs from the source side to the sink side are counted.

  4. Add the capacities of those arcs

    C=5+6=11C=5+6=11

    Arcs pointing back from the sink side are ignored.

  5. Confirm the flow reaches this cut value

    maxval(f)=11\max\operatorname{val}(f)=11

    A cut whose capacity equals the maximum flow is a minimum cut.

  6. Recall the value of a flow

    val(f)=vf(S,v)vf(v,S)\operatorname{val}(f)=\sum_{v}f(S,v)-\sum_{v}f(v,S)

    The value of a flow is the net flow out of the source.

  7. Recall flow conservation at an intermediate vertex

    uf(u,x)=wf(x,w)\sum_{u}f(u,x)=\sum_{w}f(x,w)

    At every vertex except the source and the sink, flow in equals flow out.

  8. Recall the capacity constraint on each arc

    0f(u,v)c(u,v)0\le f(u,v)\le c(u,v)

    No arc may carry more flow than its capacity.

  9. Recall the definition of a cut

    a cut splits the vertices into a source side and a sink side\text{a cut splits the vertices into a source side and a sink side}

    The source lies on one side of the cut and the sink on the other.

  10. Recall the capacity of a cut

    C=uS-side, vT-sidec(u,v)C=\sum_{u\in S\text{-side},\ v\in T\text{-side}}c(u,v)

    Only arcs crossing from the source side to the sink side are counted.

  11. Recall the maximum-flow minimum-cut theorem

    maxval(f)=minC\max\operatorname{val}(f)=\min C

    The value of a maximum flow equals the capacity of a minimum cut.

  12. Recall the weak-duality bound

    val(f)C\operatorname{val}(f)\le C

    Every flow value is at most the capacity of every cut.

  13. Recall how a cut proves optimality

    val(f)=C  f is maximal\operatorname{val}(f)=C\ \Rightarrow\ f\text{ is maximal}

    If a flow and a cut have the same size, neither can be improved.

  14. Recall a saturated arc

    f(u,v)=c(u,v)f(u,v)=c(u,v)

    A saturated arc is full to its capacity.

  15. Recall the spare capacity of an arc

    spare=c(u,v)f(u,v)\text{spare}=c(u,v)-f(u,v)

    This is how much more flow the arc could still carry.

  16. Recall a flow-augmenting path

    a path from S to T with spare capacity throughout\text{a path from }S\text{ to }T\text{ with spare capacity throughout}

    Along such a path the value of the flow can be increased.

  17. Recall forward and backward arcs on an augmenting path

    forward: cf,backward: f\text{forward: }c-f,\qquad \text{backward: }f

    Forward arcs use spare capacity; backward arcs release existing flow.

  18. Recall the increase given by the labelling procedure

    δ=min(forward cf, backward f)\delta=\min(\text{forward }c-f,\ \text{backward }f)

    The bottleneck of the path is the largest possible increase.

  19. Select the minimum cut

    minC=11\min C=11

    Its capacity equals the maximum flow, which proves it is minimal.

Answer
minC=11\min C=11
Question 4
9 markschallenging
The directed network NN has source SS and sink TT. The arcs and their capacities are {SA:5, SB:6, AC:4, AD:3, BD:5, CT:6, DT:4, BC:2}\{S\to A:5,\ S\to B:6,\ A\to C:4,\ A\to D:3,\ B\to D:5,\ C\to T:6,\ D\to T:4,\ B\to C:2\}. Find the capacity of the minimum cut of NN.
Show worked solution

Worked solution

  1. Write down the network as data

    N: {SA:5, SB:6, AC:4, AD:3, BD:5, CT:6, DT:4, BC:2}N:\ \{S\to A:5,\ S\to B:6,\ A\to C:4,\ A\to D:3,\ B\to D:5,\ C\to T:6,\ D\to T:4,\ B\to C:2\}

    The source, the sink, the arcs and their capacities describe the whole network.

  2. Add the capacities of the arcs leaving SS

    vc(S,v)=5+6=11\sum_{v}c(S,v)=5+6=11

    These are the arcs pointing away from SS.

  3. Identify the arcs crossing the cut from the source side

    AC, DT, BCA\to C,\ D\to T,\ B\to C

    Only arcs from the source side to the sink side are counted.

  4. Add the capacities of those arcs

    C=4+4+2=10C=4+4+2=10

    Arcs pointing back from the sink side are ignored.

  5. Recall the value of a flow

    val(f)=vf(S,v)vf(v,S)\operatorname{val}(f)=\sum_{v}f(S,v)-\sum_{v}f(v,S)

    The value of a flow is the net flow out of the source.

  6. Recall flow conservation at an intermediate vertex

    uf(u,x)=wf(x,w)\sum_{u}f(u,x)=\sum_{w}f(x,w)

    At every vertex except the source and the sink, flow in equals flow out.

  7. Recall the capacity constraint on each arc

    0f(u,v)c(u,v)0\le f(u,v)\le c(u,v)

    No arc may carry more flow than its capacity.

  8. Recall the definition of a cut

    a cut splits the vertices into a source side and a sink side\text{a cut splits the vertices into a source side and a sink side}

    The source lies on one side of the cut and the sink on the other.

  9. Recall the capacity of a cut

    C=uS-side, vT-sidec(u,v)C=\sum_{u\in S\text{-side},\ v\in T\text{-side}}c(u,v)

    Only arcs crossing from the source side to the sink side are counted.

  10. Recall the maximum-flow minimum-cut theorem

    maxval(f)=minC\max\operatorname{val}(f)=\min C

    The value of a maximum flow equals the capacity of a minimum cut.

  11. Recall the weak-duality bound

    val(f)C\operatorname{val}(f)\le C

    Every flow value is at most the capacity of every cut.

  12. Recall how a cut proves optimality

    val(f)=C  f is maximal\operatorname{val}(f)=C\ \Rightarrow\ f\text{ is maximal}

    If a flow and a cut have the same size, neither can be improved.

  13. Recall a saturated arc

    f(u,v)=c(u,v)f(u,v)=c(u,v)

    A saturated arc is full to its capacity.

  14. Recall the spare capacity of an arc

    spare=c(u,v)f(u,v)\text{spare}=c(u,v)-f(u,v)

    This is how much more flow the arc could still carry.

  15. Recall a flow-augmenting path

    a path from S to T with spare capacity throughout\text{a path from }S\text{ to }T\text{ with spare capacity throughout}

    Along such a path the value of the flow can be increased.

  16. Recall forward and backward arcs on an augmenting path

    forward: cf,backward: f\text{forward: }c-f,\qquad \text{backward: }f

    Forward arcs use spare capacity; backward arcs release existing flow.

  17. Recall the increase given by the labelling procedure

    δ=min(forward cf, backward f)\delta=\min(\text{forward }c-f,\ \text{backward }f)

    The bottleneck of the path is the largest possible increase.

  18. State the capacity of the minimum cut

    minC=10\min C=10

    By the maximum-flow minimum-cut theorem this equals the maximum flow.

Answer
minC=10\min C=10
Question 5
9 markschallenging
The directed network NN has source SS and sink TT. The arcs and their capacities are {SA:5, SB:6, AC:4, AD:3, BD:5, CT:6, DT:4, BC:2}\{S\to A:5,\ S\to B:6,\ A\to C:4,\ A\to D:3,\ B\to D:5,\ C\to T:6,\ D\to T:4,\ B\to C:2\}. Find the value of the maximum flow from SS to TT.
Show worked solution

Worked solution

  1. Write down the network as data

    N: {SA:5, SB:6, AC:4, AD:3, BD:5, CT:6, DT:4, BC:2}N:\ \{S\to A:5,\ S\to B:6,\ A\to C:4,\ A\to D:3,\ B\to D:5,\ C\to T:6,\ D\to T:4,\ B\to C:2\}

    The source, the sink, the arcs and their capacities describe the whole network.

  2. Add the capacities of the arcs leaving SS

    vc(S,v)=5+6=11\sum_{v}c(S,v)=5+6=11

    These are the arcs pointing away from SS.

  3. Add the capacities of the arcs entering TT

    uc(u,T)=6+4=10\sum_{u}c(u,T)=6+4=10

    These are the arcs pointing towards TT.

  4. Recall the value of a flow

    val(f)=vf(S,v)vf(v,S)\operatorname{val}(f)=\sum_{v}f(S,v)-\sum_{v}f(v,S)

    The value of a flow is the net flow out of the source.

  5. Recall flow conservation at an intermediate vertex

    uf(u,x)=wf(x,w)\sum_{u}f(u,x)=\sum_{w}f(x,w)

    At every vertex except the source and the sink, flow in equals flow out.

  6. Recall the capacity constraint on each arc

    0f(u,v)c(u,v)0\le f(u,v)\le c(u,v)

    No arc may carry more flow than its capacity.

  7. Recall the definition of a cut

    a cut splits the vertices into a source side and a sink side\text{a cut splits the vertices into a source side and a sink side}

    The source lies on one side of the cut and the sink on the other.

  8. Recall the capacity of a cut

    C=uS-side, vT-sidec(u,v)C=\sum_{u\in S\text{-side},\ v\in T\text{-side}}c(u,v)

    Only arcs crossing from the source side to the sink side are counted.

  9. Recall the maximum-flow minimum-cut theorem

    maxval(f)=minC\max\operatorname{val}(f)=\min C

    The value of a maximum flow equals the capacity of a minimum cut.

  10. Recall the weak-duality bound

    val(f)C\operatorname{val}(f)\le C

    Every flow value is at most the capacity of every cut.

  11. Recall how a cut proves optimality

    val(f)=C  f is maximal\operatorname{val}(f)=C\ \Rightarrow\ f\text{ is maximal}

    If a flow and a cut have the same size, neither can be improved.

  12. Recall a saturated arc

    f(u,v)=c(u,v)f(u,v)=c(u,v)

    A saturated arc is full to its capacity.

  13. Recall the spare capacity of an arc

    spare=c(u,v)f(u,v)\text{spare}=c(u,v)-f(u,v)

    This is how much more flow the arc could still carry.

  14. Recall a flow-augmenting path

    a path from S to T with spare capacity throughout\text{a path from }S\text{ to }T\text{ with spare capacity throughout}

    Along such a path the value of the flow can be increased.

  15. Recall forward and backward arcs on an augmenting path

    forward: cf,backward: f\text{forward: }c-f,\qquad \text{backward: }f

    Forward arcs use spare capacity; backward arcs release existing flow.

  16. Recall the increase given by the labelling procedure

    δ=min(forward cf, backward f)\delta=\min(\text{forward }c-f,\ \text{backward }f)

    The bottleneck of the path is the largest possible increase.

  17. State the value of the maximum flow

    maxval(f)=10\max\operatorname{val}(f)=10

    No larger flow can be sent from the source to the sink.

Answer
maxval(f)=10\max\operatorname{val}(f)=10

Unlock 29 more Flows in networks questions

Create a free account to work through every Further Maths Flows in networks question with instant step-by-step worked solutions, progress tracking and interactive lessons.

  • Full worked solutions for every question
  • Interactive lessons and instant feedback
  • Track your mastery across every topic
Create a Free Account

No card required · Free forever

More Flows in networks practice

Related Decision Maths topics