Linear Circuit Analysis


Duality in Linear Circuits

Dual Quantities

Now that you've learned how to solve circuit problems using nodal and mesh analysis, you might wonder whether a nodal analysis problem can yield the same system of equations as a mesh analysis problem. It turns out that, for any planar circuit, you can construct a dual circuit whose nodal equations have the same algebraic form as the original mesh equations. Each mesh current $i_k$ corresponds to a node voltage $v_k$ with the same numerical value.

The table below shows the corresponding quantities, elements, and laws used to transform a circuit problem into its dual.

Current-side term Voltage-side term
Branch currentBranch voltage
Mesh (outer and minor meshes)Node (ground and other nodes)
Parallel
  • parallel connection
Series
  • series connection
Open circuitShort circuit
Resistance (${\class{mjunit}\Omega}$)Conductance (${\class{mjunit}S}$)
Inductance (${\class{mjunit}H}$)Capacitance (${\class{mjunit}F}$)
Current
  • current source
  • mesh current
  • Kirchhoff's current law
  • control current
  • $I$, $I_0$, $i_1$, ...
Voltage
  • voltage source
  • node voltage (potential)
  • Kirchhoff's voltage law
  • control voltage
  • $V$, $V_0$, $v_1$, ...

The pairs describe dual quantities, not two ways of labeling the same circuit. For example, a resistor of $2\:{\class{mjunit}\Omega}$ in one circuit becomes a conductance of $2\:{\class{mjunit}S}$ in its dual. This is similar to replacing a resistor by its equivalent conductance $1/R$ in the original circuit.

Mesh-to-Nodal Analysis Transformations

For a planar circuit, we can construct a geometric dual whose nodal equations have exactly the same algebraic form as the original circuit's mesh equations. The mesh currents become node voltages, voltage sources become current sources, and resistances become conductances with the same numerical values.

  1. Place one node in every mesh of the original drawing, including the outer mesh. Use the node in the outer mesh as the reference node, with potential $0$. It corresponds to the reference mesh, whose mesh current is $0$.
  2. For each original branch, draw one dual branch between the nodes in the two meshes on either side of it. Each dual branch crosses exactly one original branch.
  3. Replace each element by its dual from the table: a resistance $R$ becomes a conductance $G$ with the same numerical value, and a voltage source becomes a current source with the same numerical value. Similarly, an inductor becomes a capacitor; control and sought variables are interchanged.
  4. Choose source arrows, voltage polarities, and node voltage references consistently with the mesh current directions. Then write KCL for the dual nodes (or supernodes). The resulting equations match the original KVL mesh equations (or supermesh equations) term by term.

For example, consider two mesh currents $i_1$ and $i_2$, with resistances $R_1$ and $R_2$ on their separate branches, a shared resistance $R_3$, and applied voltage sources $V_1$ and $V_2$. With compatible reference directions, their mesh equations are

$$\begin{aligned} R_1 i_1 + R_3(i_1-i_2) &= V_1,\\ R_2 i_2 + R_3(i_2-i_1) &= V_2. \end{aligned}$$

In the dual circuit, let node potentials $v_1$ and $v_2$ correspond to $i_1$ and $i_2$. Let conductances $G_1$, $G_2$, and $G_3$ have the same numerical values as $R_1$, $R_2$, and $R_3$, and let current sources $I_1$ and $I_2$ have the same numerical values as $V_1$ and $V_2$. KCL gives

$$\begin{aligned} G_1 v_1 + G_3(v_1-v_2) &= I_1,\\ G_2 v_2 + G_3(v_2-v_1) &= I_2. \end{aligned}$$

The substitutions $i_k\leftrightarrow v_k$, $R_k\leftrightarrow G_k$, and $V_k\leftrightarrow I_k$ turn either system into the other. A shared branch current $i_1-i_2$ corresponds to the dual branch voltage $v_1-v_2$. A current source that requires a supermesh similarly becomes a voltage source that requires a supernode. Thus, solving one system gives the numerical solution to its dual after the quantities and units are exchanged.

Worked Example: From Mesh to Nodal Analysis

Consider the circuit in Fig. 1, which has three clockwise mesh currents, $i_1$, $i_2$, and $i_3$. The dual circuit shown in Fig. 2 was constructed using the four steps above. The labels for node potentials $v_1$, $v_2$, and $v_3$ appear in approximately the same positions as the corresponding mesh current labels. The outer mesh has zero reference current and corresponds to the ground node in the dual circuit.

2Ix 10Ω 7Ω 5Ω 8A Ix 3V 1Ω 6Ω i1 i2 i3
Fig. 1. Original circuit with clockwise mesh currents $i_1$, $i_2$, and $i_3$, and control current $I_x$ through the voltage source.
2Vx 0.1Ω 0.143Ω 0.2Ω 8V + − Vx 3A 1Ω 0.167Ω v1 v2 v3
Fig. 2. Dual circuit with nodal potentials $v_1$, $v_2$, and $v_3$, and control voltage $V_x$ across the current source.

The independent current source becomes a voltage source, and the independent voltage source becomes a current source. The source values keep the same numbers. Each resistance becomes a conductance with the same numerical value. The dual diagram labels the resistors in ohms, so the branch with conductance $7\:{\class{mjunit}S}$ is drawn as approximately $0.143\:{\class{mjunit}\Omega}$.

The table pairs the mesh equations of the original circuit with the nodal equations of its dual.

Equation Original circuit (mesh) Dual circuit (nodal)
1. Dependent source$i_1=2I_x$$v_1=2V_x$
2. Independent source$i_2-i_1=8$$v_2-v_1=8$
3. Control variable$I_x=-i_3$$V_x=-v_3$
4. KVL around mesh $i_3$ / KCL at node $v_3$$10i_3+5(i_3-i_1)=3$$10v_3+5(v_3-v_1)=3$

In row 3, the $I_x$ arrow points against the clockwise $i_3$ on the voltage source branch. In the dual, the positive reference for $V_x$ is at ground, so $V_x=0-v_3$.

Final solutions
Mesh currents Nodal potentials
$i_1=-0.24\:{\class{mjunit}A}$$v_1=-0.24\:{\class{mjunit}V}$
$i_2=7.76\:{\class{mjunit}A}$$v_2=7.76\:{\class{mjunit}V}$
$i_3=0.12\:{\class{mjunit}A}$$v_3=0.12\:{\class{mjunit}V}$
$I_x=-0.12\:{\class{mjunit}A}$$V_x=-0.12\:{\class{mjunit}V}$
Nodal-to-Mesh Analysis Transformations

The transformation also works in reverse for a planar circuit. Each node voltage in the original nodal problem becomes a mesh current in the dual circuit. Each KCL equation becomes a KVL equation with the same numerical coefficients.

  1. Draw the geometric dual: place a dual node in every face of the original circuit, including the outer face, and connect dual nodes across each original branch. The faces of the dual circuit correspond to the original nodes.
  2. Assign a mesh current $i_k$ to the dual face corresponding to each original node with potential $v_k$. Make the dual face corresponding to the original reference node the reference mesh, so its mesh current is $0$. That reference mesh can be an interior mesh.
  3. Replace each conductance $G$ by a resistance $R$ with the same numerical value and each current source $I$ by a voltage source $V$ with the same numerical value. Replace a capacitor by an inductor and exchange voltage and current control variables for dependent sources.
  4. Choose mesh current directions and source polarities so that the signs match the original node voltage references. Write KVL for the dual meshes and supermeshes. A voltage source that required a supernode in the original circuit becomes a current source with a corresponding current constraint in the dual circuit.

For example, one KCL equation for node $v_1$, connected to node $v_2$ through $G_1$, to ground through $G_2$, and supplied by current source $I_1$, is

$$G_1(v_1-v_2)+G_2v_1=I_1.$$

In the dual circuit, the corresponding KVL equation is

$$R_1(i_1-i_2)+R_2i_1=V_1.$$

Here $i_1$ and $i_2$ correspond to $v_1$ and $v_2$, each $R$ has the same numerical value as its corresponding $G$, and $V_1$ has the same numerical value as $I_1$. Thus the branch voltage $v_1-v_2$ becomes the difference of the neighboring mesh currents $i_1-i_2$. After exchanging the quantities and units, the two equations are identical.

Worked Example: From Nodal to Mesh Analysis

Now consider the circuit in Fig. 3, which has five node potentials, $v_1$ through $v_5$. Applying the four steps above gives the dual circuit shown in Fig. 4, with five mesh currents, $i_1$ through $i_5$. The ground node has zero potential and corresponds to the reference mesh, which has zero current.

2Ω 3Ω 4Ω 5Ω + − Vx 6Ω 3Vx 3V 5V 1A v1 v3 v5 v2 v4
Fig. 3. Original nodal circuit with 5 labeled node potentials and a dependent source.
0.5Ω 0.333Ω 0.25Ω 0.2Ω Ix 0.167Ω 3Ix 3A 5A 1V i1 i2 i3 i4 i5 i0=0
Fig. 4. Dual circuit with the reference current $i_0=0$ in a minor mesh and $i_5$ counterclockwise in the outer mesh.
0.5Ω 0.333Ω 0.25Ω 0.2Ω Ix 0.167Ω 3Ix 3A 5A 1V i1 i2 i3 i4 i5
Fig. 5. Dual circuit redrawn with the reference mesh outside and all 5 unknown mesh currents clockwise in the interior.

To find the circuit with the reference mesh on the outside (see Fig. 5), we reroute an outer branch around the rest of the circuit, keeping its electrical connections, to bring a neighboring mesh to the outside. Repeat until the reference mesh with $i_0=0$ is the outer mesh. The $i_5$ arrow changes from counterclockwise to clockwise as its mesh moves inside, preserving its direction through each component. Each component still borders the same meshes and contributes the same signed terms to their equations.

A nodal resistor of $3\:{\class{mjunit}\Omega}$ has conductance $1/3\:{\class{mjunit}S}$, so its dual resistor has resistance $1/3\:{\class{mjunit}\Omega}$. The $1\:{\class{mjunit}A}$ source becomes a $1\:{\class{mjunit}V}$ source. The $5\:{\class{mjunit}V}$ source between nodes $v_4$ and $v_5$ becomes a $5\:{\class{mjunit}A}$ source between meshes $i_4$ and $i_5$.

The six row pairs below apply to both mesh drawings. The $5\:{\class{mjunit}V}$ source constrains $v_4-v_5$, while KCL treats nodes $v_4$ and $v_5$ together as a supernode. In the dual circuit, the $5\:{\class{mjunit}A}$ source constrains $i_4-i_5$, while KVL goes around the boundary of the corresponding supermesh.

Equation Original nodal circuit Both mesh drawings
1. Dependent source$v_1-v_2=3V_x$$i_1-i_2=3I_x$
2. Source at the reference$v_2=3$$i_2=3$
3. Source between $v_4$ and $v_5$$v_4-v_5=5$$i_4-i_5=5$
4. Control variable$V_x=v_4$$I_x=i_4$
5. KCL at node 3 / KVL around mesh 3 $\begin{aligned} &\frac{v_3-v_1}{3}+\frac{v_3-v_2}{4}\\ &\quad+\frac{v_3-v_5}{5}+1=0 \end{aligned}$ $\begin{aligned} &\frac{i_3-i_1}{3}+\frac{i_3-i_2}{4}\\ &\quad+\frac{i_3-i_5}{5}+1=0 \end{aligned}$
6. Supernode KCL / supermesh KVL $\frac{v_4}{6}+\frac{v_5-v_3}{5}-1=0$ $\frac{i_4}{6}+\frac{i_5-i_3}{5}-1=0$
Final solutions for mesh and nodal variables
Mesh currents Nodal potentials
$i_1\approx99.35\:{\class{mjunit}A}$$v_1\approx99.35\:{\class{mjunit}V}$
$i_2=3\:{\class{mjunit}A}$$v_2=3\:{\class{mjunit}V}$
$i_3\approx48.88\:{\class{mjunit}A}$$v_3\approx48.88\:{\class{mjunit}V}$
$I_x=i_4\approx32.12\:{\class{mjunit}A}$$V_x=v_4\approx32.12\:{\class{mjunit}V}$
$i_5\approx27.12\:{\class{mjunit}A}$$v_5\approx27.12\:{\class{mjunit}V}$
Duality in CircuitsU

For any mesh or nodal analysis problem in CircuitsU, you can see the dual circuit and its solution if you click Show Solution. This works for both AC and DC circuits. When go from a nodal to an analysis problem, the final circuit is transformed so that the reference loop is the outer loop.

Examples of mesh analysis problems and their nodal duals
Examples of nodal analysis problems and their mesh duals
Read More

B. J. Skromme, M. L. Wong, and M. A. O'Donnell, "Duality as a central organizing theme in linear circuit analysis instruction," Proceedings of the 2021 IEEE Frontiers in Education Conference, 2021.