ArticleslgStudy

computer science

Nowhere-zero flow

Nowhere-zero flow is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Nowhere-zero flow rather than just read about it. In short: In graph theory, a nowhere-zero flow or NZ flow is a network flow that is nowhere zero. It is intimately connected (by duality) to coloring planar graphs.

Key takeaways

  • Nowhere-zero flow belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Nowhere-zero flow to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Nowhere-zero flow from memory before moving on to harder problems.

Reference excerpt

In graph theory, a nowhere-zero flow or NZ flow is a network flow that is nowhere zero. It is intimately connected (by duality) to coloring planar graphs.

Definitions Let G = (V,E) be a digraph and let M be an abelian group. A map φ: E → M is an M-circulation if for every vertex v ∈ V

∑ e ∈ δ + ( v ) φ ( e ) = ∑ e ∈ δ − ( v ) φ ( e ) , {\displaystyle \sum _{e\in \delta ^{+}(v)}\varphi (e)=\sum _{e\in \delta ^{-}(v)}\varphi (e),}

where δ+(v) denotes the set of edges out of v and δ−(v) denotes the set of edges into v. Sometimes, this condition is referred to as Kirchhoff's law. If φ(e) ≠ 0 for every e ∈ E, we call φ a nowhere-zero flow, an M-flow, or an NZ-flow. If k is an integer and 0 < |φ(e)| < k then φ is a k-flow.

Other notions Let G = (V,E) be an undirected graph. An orientation of E is a modular k-flow if for every vertex v ∈ V we have:

| δ + ( v ) | ≡ | δ − ( v ) | mod k . {\displaystyle |\delta ^{+}(v)|\equiv |\delta ^{-}(v)|{\bmod {k}}.}

Properties The set of M-flows does not necessarily form a group as the sum of two flows on one edge may add to 0. (Tutte 1950) A graph G has an M-flow if and only if it has a |M|-flow. As a consequence, a Z k {\displaystyle \mathbb {Z} _{k}} flow exists if and only if a k-flow exists. As a consequence if G admits a k-flow then it admits an h-flow where h ≥ k {\displaystyle h\geq k} . Orientation independence. Modify a nowhere-zero flow φ on a graph G by choosing an edge e, reversing it, and then replacing φ(e) with −φ(e). After this adjustment, φ is still a nowhere-zero flow. Furthermore, if φ was originally a k-flow, then the resulting φ is also a k-flow. Thus, the existence of a nowhere-zero M-flow or a nowhere-zero k-flow is independent of the orientation of the graph. Thus, an undirected graph G is said to have a nowhere-zero M-flow or nowhere-zero k-flow if some (and thus every) orientation of G has such a flow.

Flow polynomial

Let N M ( G ) {\displaystyle N_{M}(G)} be the number of M-flows on G. It satisfies the deletion–contraction formula:

N M ( G ) = N M ( G / e ) − N M ( G ∖ e ) . {\displaystyle N_{M}(G)=N_{M}(G/e)-N_{M}(G\setminus e).}

Combining this with induction we can show N M ( G ) {\displaystyle N_{M}(G)} is a polynomial in | M | − 1 {\displaystyle |M|-1} where | M | {\displaystyle |M|} is the order of the group M. We call N M ( G ) {\displaystyle N_{M}(G)} the flow polynomial of G and abelian group M. The above implies that two groups of equal order have an equal number of NZ flows. The order is the only group parameter that matters, not the structure of M. In particular N M 1 ( G ) = N M 2 ( G ) {\displaystyle N_{M_{1}}(G)=N_{M_{2}}(G)} if | M 1 | = | M 2 | . {\displaystyle |M_{1}|=|M_{2}|.}

The above results were proved by Tutte in 1953 when he was studying the Tutte polynomial, a generalization of the flow polynomial.

Flow-coloring duality

Bridgeless Planar Graphs There is a duality between k-face colorings and k-flows for bridgeless planar graphs. To see this, let G be a directed bridgeless planar graph with a proper k-face-coloring with colors { 0 , 1 , … , k − 1 } . {\displaystyle \{0,1,\ldots ,k-1\}.} Construct a map

ϕ : E ( G ) → { − ( k − 1 ) , … , − 1 , 0 , 1 , … , k − 1 } {\displaystyle \phi :E(G)\to \{-(k-1),\ldots ,-1,0,1,\ldots ,k-1\}}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Nowhere-zero flow

Start with the simplest possible case. Write down what Nowhere-zero flow claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Nowhere-zero flow before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Nowhere-zero flow ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Nowhere-zero flow

In research
Nowhere-zero flow appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Nowhere-zero flow in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Nowhere-zero flow is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network flow problem, so understanding it makes those chapters shorter.
In everyday life
Look for Nowhere-zero flow outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Nowhere-zero flow in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Nowhere-zero flow means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Nowhere-zero flow out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Nowhere-zero flow in simple terms?

In graph theory, a nowhere-zero flow or NZ flow is a network flow that is nowhere zero. It is intimately connected (by duality) to coloring planar graphs.

Why does Nowhere-zero flow matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Nowhere-zero flow?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Nowhere-zero flow.

Tags

  • Network flow problem

Keep exploring