ArticleslgStudy

computer science

Noncommutative signal-flow graph

Noncommutative signal-flow graph 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 Noncommutative signal-flow graph rather than just read about it. In short: In automata theory and control theory, branches of mathematics, theoretical computer science and systems engineering, a noncommutative signal-flow graph is a tool for modeling interconnected systems and state machines by mapping the edges of a directed graph to a ring or semiring. A single edge weight might represent an array of impulse responses of a complex system (see figure to the right), or a character from an…

Noncommutative signal-flow graph — main illustration
Noncommutative signal-flow graph — illustration

Key takeaways

  • Noncommutative signal-flow graph 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 Noncommutative signal-flow graph to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Noncommutative signal-flow graph from memory before moving on to harder problems.

Reference excerpt

In automata theory and control theory, branches of mathematics, theoretical computer science and systems engineering, a noncommutative signal-flow graph is a tool for modeling interconnected systems and state machines by mapping the edges of a directed graph to a ring or semiring. A single edge weight might represent an array of impulse responses of a complex system (see figure to the right), or a character from an alphabet picked off the input tape of a finite automaton, while the graph might represent the flow of information or state transitions. As diverse as these applications are, they share much of the same underlying theory.

Definition

Consider n equations involving n+1 variables {x0, x1,...,xn}.

x i = ∑ j = 0 n a i j x j , 1 ≤ i ≤ n , {\displaystyle x_{i}=\sum _{j=0}^{n}a_{ij}x_{j},\;\;\;1\leq i\leq n,}

with aij elements in a ring or semiring R. The free variable x0 corresponds to a source vertex v0, thus having no defining equation. Each equation corresponds to a fragment of a directed graph G=(V,E) as show in the figure. The edge weights define a function f from E to R. Finally fix an output vertex vm. A signal-flow graph is the collection of this data S = (G=(V,E), v0,vm ∈ {\displaystyle \in } V, f : E → R). The equations may not have a solution, but when they do,

x m = T x 0 , {\displaystyle x_{m}=Tx_{0},}

with T an element of R called the gain.

Return Loop Method There exist several noncommutative generalizations of Mason's rule. The most common is the return loop method (sometimes called the forward return loop method (FRL), having a dual backward return loop method (BRL)). The first rigorous proof is attributed to Riegle, so it is sometimes called Riegle's rule. As with Mason's rule, these gain expressions combine terms in a graph-theoretic manner (loop-gains, path products, etc.). They are known to hold over an arbitrary noncommutative ring and over the semiring of regular expressions.

Formal Description The method starts by enumerating all paths from input to output, indexed by j ∈ {\displaystyle \in } J. We use the following definitions:

The j-th path product is (by abuse of notation) a tuple of kj edge weights along it:

p j = ( w k j ( j ) , … , w 2 ( j ) , w 1 ( j ) ) . {\displaystyle p_{j}=(w_{k_{j}}^{(j)},\ldots ,w_{2}^{(j)},w_{1}^{(j)}).}

To split a vertex v is to replace it with a source and sink respecting the original incidence and weights (this is the inverse of the graph morphism taking source and sink to v). The loop gain of a vertex v w.r.t. a subgraph H is the gain from source to sink of the signal-flow graph split at v after removing all vertices not in H. Each path defines an ordering of vertices along it. The along path j, the i-th FRL (BRL) node factor is (1-Si(j))−1 where Si(j) is the loop gain of the i-th vertex along the j-th w.r.t. the subgraph obtained by removing v0 and all vertices ahead of (behind) it. The contribution of the j-th path to the gain is the product along the path, alternating between the path product weights and the node factors:

T j = ∏ i = k j 1 ( 1 − S i ( j ) ) − 1 w i ( j ) , {\displaystyle T_{j}=\prod _{i=k_{j}}^{1}(1-S_{i}^{(j)})^{-1}w_{i}^{(j)},}

so the total gain is

T = ∑ j ∈ J T j . {\displaystyle T=\sum _{j\in J}T_{j}.}

An Example

Consider the signal-flow graph shown. From x to z, there are two path products: (d) and (e,a). Along (d), the FRL and BRL contributions coincide as both share same loop gain (whose split reappears in the upper right of the table below):

f + e ( 1 − b ) − 1 c , {\displaystyle f+e(1-b)^{-1}c,}

Multiplying its node factor and path weight, its gain contribution is

… excerpt ends here. Continue reading the full article.

Illustrations

Noncommutative signal-flow graph: A multi-input, multi-output system represented as a noncommutative matrix signal-flow graph.
A multi-input, multi-output system represented as a noncommutative matrix signal-flow graph.
Noncommutative signal-flow graph: Signal-flow graph fragment.
Signal-flow graph fragment.
Noncommutative signal-flow graph: A noncommutative signal-flow graph from x to z
A noncommutative signal-flow graph from x to z
Noncommutative signal-flow graph illustration
Noncommutative signal-flow graph: Representation of a finite automaton as a (noncommutative) signal flow graph over a semiring.
Representation of a finite automaton as a (noncommutative) signal flow graph over a semiring.

Worked examples

Example 1 — a first encounter with Noncommutative signal-flow graph

Start with the simplest possible case. Write down what Noncommutative signal-flow graph 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 Noncommutative signal-flow graph 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 Noncommutative signal-flow graph 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 Noncommutative signal-flow graph

In research
Noncommutative signal-flow graph 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 Noncommutative signal-flow graph 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
Noncommutative signal-flow graph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application-specific graphs, Automata (computation), Control theory, so understanding it makes those chapters shorter.
In everyday life
Look for Noncommutative signal-flow graph 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Noncommutative signal-flow graph” →

Affiliate

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

How to study Noncommutative signal-flow graph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Noncommutative signal-flow graph 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 Noncommutative signal-flow graph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Noncommutative signal-flow graph in simple terms?

In automata theory and control theory, branches of mathematics, theoretical computer science and systems engineering, a noncommutative signal-flow graph is a tool for modeling interconnected systems and state machines by mapping the edges of a directed graph to a ring or semiring. A single edge wei…

Why does Noncommutative signal-flow graph 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 Noncommutative signal-flow graph?

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 Noncommutative signal-flow graph.

Tags

  • Application-specific graphs
  • Automata (computation)
  • Control theory

Keep exploring