Mason Gain analysis reads a linear input output relationship from a signal flow graph. Its key distinction is geometric in the graph: loops contribute a product term only when their node sets do not touch. Drawing two feedback arrows far apart on a page is insufficient if the loops still share a signal node. The following invented static graph exposes that counting rule and checks the answer without relying on the graph formula alone.
The original Colorado State control systems lecture describes a signal flow graph as a representation of linear equations, with variables as nodes and coefficients as directed branch gains. Signals entering a node add. A branch gain multiplies its source variable; it is not an independently generated signal.
A forward path goes from the chosen input to the output without repeating a node. A loop returns to its starting node without repeating another node. The loop gain includes the signs of its branches. A negative feedback branch therefore contributes a negative loop gain under the corresponding direction convention; subtracting that loop gain later is a separate algebraic operation.
Two loops are non touching only when they share no node at all. A path and a loop can likewise touch or not touch. This node membership test remains the same if a graph is redrawn with different line crossings or more attractive spacing. A crossing without a defined junction is not automatically a shared node.

Let Delta equal one minus the sum of individual loop gains, plus the sum of products of non touching pairs, minus products of mutually non touching triples, and so on. The gain is the sum of each forward path gain multiplied by its cofactor, all divided by Delta, provided the algebraic system is nonsingular.
The original FEE3411 course notes explicitly define each cofactor by removing every loop that touches that particular forward path. A loop which does not touch one path can survive in that path's cofactor even when it touches another path. Consequently, setting all cofactors to one is not a universal shortcut.
In a graph containing only two disjoint loops with gains L1 and L2, Delta is one minus L1 minus L2 plus L1 L2. The last term is included because the loops are non touching. It is not a product over every pair of arrows, and it would be absent if the two loops shared a node.
Choose input r, internal variables a and b, and output y. The directed branches are r to a with gain two, a to b with gain three, r directly to b with gain four, and b to y with gain one. Add a self loop at a with gain minus 0.20 and a separate self loop at b with gain minus 0.30.
The two self loops have disjoint node sets, so Delta is one plus 0.20 plus 0.30 plus 0.06, equal to 1.56. The chain path r to a to b to y has gain six and touches both loops, giving cofactor one. The shorter path r to b to y has gain four; it touches the b loop but not the a loop, so its cofactor is one minus negative 0.20, or 1.20.
The overall gain is therefore (six plus four times 1.20) divided by 1.56. The numerator is 10.80 and the result is 90 divided by 13, approximately 6.9231. These are dimensionless fictional gains, not controller values or a transfer function fitted to a real robot.

The same graph gives a equal to two r minus 0.20 a, b equal to three a plus four r minus 0.30 b, and y equal to b. The first equation gives a equal to five thirds times r. Substituting that result into the second gives 1.30 b equal to nine r. Thus y divided by r is again 90 over 13.
This agreement tests the signs, the non touching loop product and the path specific cofactor together. If an arrow direction, sign or connection node changes, both the graph and the equations must change. Reusing the old determinant after redrawing a different graph would be an algebraic error, even if the diagram still looks similar.
The example is a nonsingular static linear system. It makes no statement about closed loop stability, frequency response, saturation or the safety of an actual feedback controller. More general dynamic branch gains require their own domain and pole analysis. Related learning appears in control model explanations and robotics learning notes. Both original figures show the invented graph and its arithmetic, rather than a wiring plan or deployable control configuration.