Solved Problems · Set 6

Nodal Analysis

Part 1 · DC Circuits — choosing node voltages so that KVL is satisfied automatically, leaving only KCL to write, on any circuit whatever. Chapter 3 of the textbook.

Prof. Mithun Mondal 20 solved · 12 practice · 3 challenge GATE · ESE · University

Set 6 — Nodal Analysis

Twenty worked problems on the node-voltage method — the exact mirror of mesh analysis. Assign a potential to every node and KVL is satisfied before you start, because the drop round any loop is a sum of differences that telescopes to zero. Only KCL remains to be written, and only \(n-1\) equations are needed, on planar and non-planar circuits alike.

Textbook Chapter 3 · 20 solved · 12 practice · 3 challenge · 12 MCQs

i Method Recap
  • Choose the reference node first, and choose it well. The node with the most branches is usually best, and any node joined to a voltage source is better still — that source then fixes a node voltage outright.

  • Write KCL at each remaining node, taking currents leaving as positive. The current out of node \(j\) through a resistor to node \(k\) is always \((V_j - V_k)/R\) — subtract the far node from the node you are standing on, every time.

  • By inspection: \(G_{jj}\) is the sum of all conductances meeting at node \(j\); \(G_{jk} = -\)(conductance directly joining \(j\) and \(k\)); and \(I_j\) is the net current injected into node \(j\) by sources.

  • A voltage source touching the reference node is a gift — it fixes that node's voltage and removes an equation. A voltage source between two non-reference nodes is the awkward case, because its current cannot be written in terms of node voltages; that is the supernode, developed fully in Set 7.

  • Dependent sources need two things: write them into the KCL as symbols, then add the equation expressing the controlling variable in terms of node voltages. Expect the conductance matrix to lose its symmetry.

  • Nodal analysis works on every circuit. Unlike mesh analysis it needs no planarity, so when a topology looks unfamiliar or refuses to be drawn without crossings, this is the safe method.

VideoWalkthrough
Problem 1CoreBasic Two-Node

A 4 A source feeds node 1 and a 1 A source feeds node 2. A 2 Ω resistor runs from each node to ground, and a third 2 Ω bridges the two nodes. Find \(V_1\), \(V_2\) and the current in the bridging resistor.

V₁ 4 A 2 Ω 2 Ω V₂ 2 Ω 1 A
Two nodes, three equal resistors, two current sources
Solution

Take the bottom rail as the reference. There are three nodes, so two equations are needed. At node 1, currents leaving must equal the 4 A injected:

\[ 4 = \frac{V_1}{2} + \frac{V_1 - V_2}{2} \;\Longrightarrow\; 2V_1 - V_2 = 8 \]

At node 2, note that the bridging resistor's current is now written the other way round — always subtract the far node from the node you are standing on:

\[ 1 = \frac{V_2}{2} + \frac{V_2 - V_1}{2} \;\Longrightarrow\; -V_1 + 2V_2 = 2 \]

Solving. Multiply the first by 2 and add:

\[ 4V_1 - 2V_2 = 16,\quad -V_1 + 2V_2 = 2 \;\Longrightarrow\; 3V_1 = 18 \;\Longrightarrow\; V_1 = 6\ \text{V} \]
\[ V_2 = \frac{2 + 6}{2} = 4\ \text{V} \]

The bridging resistor carries

\[ I_{\text{mid}} = \frac{V_1 - V_2}{2} = \frac{6-4}{2} = 1\ \text{A}\ \text{from node 1 to node 2} \]

KCL check at node 1: \(6/2 + 1 = 3 + 1 = 4\ \text{A}\;\checkmark\). At node 2: \(4/2 = 2 = 1 + 1\ \text{A}\;\checkmark\)

Compare the coefficient matrix with Set 4. Here it is \(\begin{bmatrix}1 & -0.5\\ -0.5 & 1\end{bmatrix}\) in siemens — diagonal entries are the total conductance at each node, off-diagonals are minus the shared conductance, and it is symmetric. Every structural statement made about the mesh resistance matrix has an exact counterpart here, which Problem 19 sets out in full.
Answer\(V_1 = 6\ \text{V},\ V_2 = 4\ \text{V},\ I_{\text{mid}} = 1\ \text{A}\)
Problem 2CoreUnequal Resistors

A 5 A source feeds node 1 and a 2 A source feeds node 2. A 1 Ω resistor runs from node 1 to ground, a 2 Ω from node 2 to ground, and a 1 Ω bridges the nodes. Find both node voltages and all three resistor currents.

Solution

KCL at node 1, with currents leaving taken as positive and the source as an inflow:

\[ -5 + \frac{V_1}{1} + \frac{V_1 - V_2}{1} = 0 \;\Longrightarrow\; 2V_1 - V_2 = 5 \]

KCL at node 2:

\[ -2 + \frac{V_2}{2} + \frac{V_2 - V_1}{1} = 0 \;\Longrightarrow\; -V_1 + \tfrac{3}{2}V_2 = 2 \]

From the first, \(V_2 = 2V_1 - 5\). Substituting:

\[ -V_1 + \tfrac{3}{2}(2V_1 - 5) = 2 \;\Longrightarrow\; -V_1 + 3V_1 - 7.5 = 2 \;\Longrightarrow\; 2V_1 = 9.5 \]
\[ V_1 = 4.75\ \text{V},\qquad V_2 = 4.5\ \text{V} \]

The three resistor currents follow directly:

\[ I_{1\Omega} = \frac{4.75}{1} = 4.75\ \text{A},\quad I_{\text{mid}} = \frac{4.75 - 4.5}{1} = 0.25\ \text{A},\quad I_{2\Omega} = \frac{4.5}{2} = 2.25\ \text{A} \]

KCL check: node 1 gives \(4.75 + 0.25 = 5\ \text{A}\;\checkmark\) and node 2 gives \(2 + 0.25 = 2.25\ \text{A}\;\checkmark\)

Both node voltages came out close together, and that is informative. The bridging resistor carries only 0.25 A because the two nodes sit at nearly the same potential — the circuit is close to the condition in which that branch could be removed entirely. Always glance at the node voltages before computing branch currents; near-equal values warn you that a small arithmetic slip will produce a large percentage error in the difference.
Answer\(V_1 = 4.75\ \text{V},\ V_2 = 4.5\ \text{V}\); currents 4.75, 0.25, 2.25 A
Problem 3CoreReference Node

Re-solve Problem 1 taking node 2 as the reference instead of the bottom rail. Show that every node voltage changes but every branch current does not, and state the general principle.

Solution

With node 2 as reference, call the bottom rail \(V_0\) and node 1 \(V_1'\). KCL at node 1:

\[ 4 = \frac{V_1' - V_0}{2} + \frac{V_1' - 0}{2} \]

KCL at the bottom rail, which now carries both source returns:

\[ \frac{V_0 - V_1'}{2} + \frac{V_0 - 0}{2} + 4 + 1 = 0 \]

Solving the pair gives

\[ V_1' = 2\ \text{V},\qquad V_0 = -4\ \text{V},\qquad V_2' = 0\ \text{(reference)} \]

Compare with Problem 1. Every potential has fallen by exactly 4 V:

NodeRail as referenceNode 2 as reference
Node 16 V2 V
Node 24 V0 V
Bottom rail0 V−4 V

Now the branch currents, which are all differences and so are untouched by the shift:

\[ I_{\text{mid}} = \frac{2 - 0}{2} = 1\ \text{A},\quad I_{\text{node 1 to rail}} = \frac{2 - (-4)}{2} = 3\ \text{A},\quad I_{\text{node 2 to rail}} = \frac{0 - (-4)}{2} = 2\ \text{A} \]

Identical to Problem 1's 1 A, 3 A and 2 A.

The principle. Node voltages are potentials measured from an arbitrary datum; only their differences are physical. Moving the reference adds a constant to every potential, and every constant cancels in every branch equation.

So why does the choice matter at all? Only for convenience. Grounding the node with the most branches makes the equations shortest; grounding a node touched by a voltage source removes an unknown outright, as Problem 5 shows. The answer is the same either way — but the labour is not, and on a six-node circuit the difference can be two extra equations.
AnswerAll potentials shift by −4 V; all branch currents unchanged
Problem 4Exam levelG Matrix by Inspection

A three-node circuit (plus reference) has a 2 Ω resistor from each node to ground, a 1 Ω between nodes 1 and 2, and a 1 Ω between nodes 2 and 3. A 6 A source injects into node 1 and a 3 A source into node 2; node 3 has no source. Write the nodal equations by inspection and solve.

Solution

The rules are the exact duals of the mesh ones. Self-conductance is the sum of everything meeting at the node; mutual conductance is minus what directly joins two nodes:

\[ G_{11} = \tfrac{1}{2} + \tfrac{1}{1} = 1.5,\quad G_{22} = \tfrac{1}{1} + \tfrac{1}{1} + \tfrac{1}{2} = 2.5,\quad G_{33} = \tfrac{1}{1} + \tfrac{1}{2} = 1.5\ \text{S} \]
\[ G_{12} = G_{21} = -1,\qquad G_{23} = G_{32} = -1,\qquad G_{13} = G_{31} = 0 \]

Nodes 1 and 3 are not directly joined, so that entry is zero and the matrix is tridiagonal.

The right-hand side is the net current injected at each node:

\[ \begin{bmatrix} 1.5 & -1 & 0\\ -1 & 2.5 & -1\\ 0 & -1 & 1.5 \end{bmatrix} \begin{bmatrix} V_1\\ V_2\\ V_3 \end{bmatrix} = \begin{bmatrix} 6\\ 3\\ 0 \end{bmatrix} \]

The third row gives \(1.5V_3 = V_2\), so \(V_2 = 1.5V_3\). The first row gives \(V_1 = (6 + V_2)/1.5\). Substituting both into the second row:

\[ -\frac{6 + 1.5V_3}{1.5} + 2.5(1.5V_3) - V_3 = 3 \]
\[ -4 - V_3 + 3.75V_3 - V_3 = 3 \;\Longrightarrow\; 1.75V_3 = 7 \;\Longrightarrow\; V_3 = 4\ \text{V} \]

Hence

\[ V_2 = 6\ \text{V},\qquad V_1 = \frac{6+6}{1.5} = 8\ \text{V} \]

Check all three rows: \(1.5(8) - 6 = 6\;\checkmark\); \(-8 + 15 - 4 = 3\;\checkmark\); \(-6 + 6 = 0\;\checkmark\)

The symmetry is a free check. For any network of resistors and independent sources, \(G_{jk} = G_{kj}\), exactly as \(R_{jk} = R_{kj}\) in mesh analysis. If your hand-written conductance matrix comes out asymmetric and there is no dependent source in the circuit, stop and find the error before solving — Problems 9 and 10 show what a genuine dependent source does to it.
Answer\(V_1 = 8\ \text{V},\quad V_2 = 6\ \text{V},\quad V_3 = 4\ \text{V}\)
Problem 5CoreSource at the Reference

A 12 V source connects node 1 to ground. A 4 Ω resistor runs from node 1 to node 2, another 4 Ω from node 2 to ground, and a 2 A source injects into node 2. Find \(V_2\), all branch currents, and the power delivered by the 12 V source.

Solution

The voltage source has one terminal on the reference node, so it does not merely constrain \(V_1\) — it determines it:

\[ V_1 = 12\ \text{V} \]

No KCL equation is written at node 1, and none can be: the source's current is unknown. Two nodes have become one unknown.

KCL at node 2, the only equation needed:

\[ \frac{V_2 - 12}{4} + \frac{V_2}{4} = 2 \]

Multiplying by 4:

\[ V_2 - 12 + V_2 = 8 \;\Longrightarrow\; 2V_2 = 20 \;\Longrightarrow\; V_2 = 10\ \text{V} \]

Branch currents:

\[ I_{4\Omega,\,1\to2} = \frac{12 - 10}{4} = 0.5\ \text{A},\qquad I_{4\Omega,\,2\to\text{gnd}} = \frac{10}{4} = 2.5\ \text{A} \]

KCL at node 2: \(0.5 + 2 = 2.5\ \text{A}\;\checkmark\)

The 12 V source carries only the current in the first resistor, so

\[ P_{12\text{V}} = 12 \times 0.5 = 6\ \text{W supplied} \]

Balance: the 2 A source at 10 V supplies 20 W, total 26 W. The resistors absorb \((0.5)^2(4) + (2.5)^2(4) = 1 + 25 = 26\ \text{W}\;\checkmark\)

This is the dual of a peripheral current source in mesh analysis. There, a current source in one mesh alone fixed a mesh current; here, a voltage source touching the reference fixes a node voltage. Both remove an unknown and an equation together. When you get to choose the reference node, always look for a voltage source to ground it against — it is the single cheapest simplification available.
Answer\(V_2 = 10\ \text{V}\); currents 0.5 A and 2.5 A; source supplies 6 W
Problem 6Exam levelShort Circuit

In a circuit containing an unknown source \(E\), a branch of resistance \(R\) is found to be short-circuited (\(R = 0\)) and to carry \(i_R = 10\ \text{A}\). Node 1 connects to \(E\) through 4 Ω, to ground through 4 Ω, and to the shorted node through 2 Ω. Node 2 connects to the shorted node through 2 Ω, to ground through 2 Ω, and is fed by a 4 A source. Find \(E\).

Solution

A short circuit is a zero-resistance branch, so both of its ends are the same node. Since one end is the reference, the shorted node sits at

\[ V_{\text{short}} = 0\ \text{V} \]

This is the key simplification: the short does not merely have a small voltage across it, it has none at all, so it can be treated as a known potential.

KCL at node 1, whose three branches lead to \(E\), to ground and to the shorted node (also at 0 V):

\[ \frac{V_1 - E}{4} + \frac{V_1}{4} + \frac{V_1}{2} = 0 \;\Longrightarrow\; V_1 - E + V_1 + 2V_1 = 0 \]
\[ E = 4V_1 \]

KCL at node 2, fed by the 4 A source:

\[ \frac{V_2}{2} + \frac{V_2}{2} = 4 \;\Longrightarrow\; V_2 = 4\ \text{V} \]

Now use the given short-circuit current. All the current arriving at the shorted node from nodes 1 and 2 must leave through the short:

\[ i_R = \frac{0 - V_1}{2} + \frac{0 - V_2}{2} = -\frac{V_1}{2} - \frac{V_2}{2} \]

Substituting \(i_R = 10\) and \(V_2 = 4\):

\[ 10 = -\frac{V_1}{2} - 2 \;\Longrightarrow\; \frac{V_1}{2} = -12 \;\Longrightarrow\; V_1 = -24\ \text{V} \]

Hence

\[ E = 4V_1 = -96\ \text{V} \]

The negative sign says the source's actual polarity is opposite to the one assumed on the diagram.

Shorts and opens are gifts to nodal analysis. A short merges two nodes into one and removes an unknown; an open deletes a branch from a KCL equation. Compare mesh analysis, where the roles reverse — an open branch is the awkward one there, since it forces two meshes to share a current. Whenever a circuit contains an obvious short, nodal analysis is almost always the quicker route.
Answer\(V_1 = -24\ \text{V},\ V_2 = 4\ \text{V},\quad E = -96\ \text{V}\)
Problem 7Exam levelBridging Resistor

A 2 A source injects into node 1, which connects to ground through 2 Ω and to node 2 through 5 Ω. Node 2 connects to ground through 4 Ω and has a 4 A source drawing current out of it. Find the current in the 5 Ω resistor.

Solution

KCL at node 1:

\[ -2 + \frac{V_1}{2} + \frac{V_1 - V_2}{5} = 0 \;\Longrightarrow\; 0.7V_1 - 0.2V_2 = 2 \]

KCL at node 2, where the 4 A source is an outflow:

\[ \frac{V_2 - V_1}{5} + 4 + \frac{V_2}{4} = 0 \;\Longrightarrow\; -0.2V_1 + 0.45V_2 = -4 \]

Solving by determinants:

\[ \Delta = (0.7)(0.45) - (0.2)^2 = 0.315 - 0.04 = 0.275 \]
\[ V_1 = \frac{(2)(0.45) - (-0.2)(-4)}{0.275} = \frac{0.9 - 0.8}{0.275} = 0.364\ \text{V} \]
\[ V_2 = \frac{(0.7)(-4) - (-0.2)(2)}{0.275} = \frac{-2.8 + 0.4}{0.275} = -8.727\ \text{V} \]

The 5 Ω carries

\[ I_{5\Omega} = \frac{V_1 - V_2}{5} = \frac{0.364 + 8.727}{5} = \frac{9.091}{5} = 1.818\ \text{A} \]

flowing from node 1 to node 2.

Check node 2: \(1.818 = 4 + (-8.727/4) = 4 - 2.182 = 1.818\ \text{A}\;\checkmark\)

Node 2 went strongly negative, and it had to. The 4 A being drawn out of it exceeds what the 2 A source can supply, so the balance is made up by current flowing up from ground through the 4 Ω — which requires the node to sit below the reference. Whenever a sink is stronger than the sources feeding a node, expect a negative node voltage and do not mistake it for an error.
Answer\(V_1 = 0.364\ \text{V},\ V_2 = -8.73\ \text{V},\ I_{5\Omega} = 1.82\ \text{A}\)
Problem 8Exam levelMilliohms and Milliamps

A single node is fed by three current sources of 4 mA, 10 mA and 5 mA, and drains to ground through three resistors of 4 mΩ, 3 mΩ and 5 mΩ. Find the node voltage and the current in the 5 mΩ resistor.

Solution

One node, one equation. Working in conductances avoids nested fractions:

\[ G = \frac{1}{4\ \text{m}\Omega} + \frac{1}{3\ \text{m}\Omega} + \frac{1}{5\ \text{m}\Omega} = 250 + 333.3 + 200 = 783.3\ \text{S} \]

Milliohms give conductances in hundreds of siemens — a useful sanity anchor for what follows.

The total injected current is

\[ I = 4 + 10 + 5 = 19\ \text{mA} \]

Hence the node voltage:

\[ V = \frac{I}{G} = \frac{19 \times 10^{-3}}{783.3} = 24.26 \times 10^{-6}\ \text{V} = 24.26\ \mu\text{V} \]

And the current in the 5 mΩ:

\[ I_{5\text{m}\Omega} = \frac{V}{5\ \text{m}\Omega} = \frac{24.26 \times 10^{-6}}{5 \times 10^{-3}} = 4.85\ \text{mA} \]

Check by current division — the branch currents must share the 19 mA in proportion to conductance:

\[ 19 \times \frac{200}{783.3} = 4.85\ \text{mA}\;\checkmark \]
A node voltage of tens of microvolts is entirely reasonable here — milliamps through milliohms give microvolts, since \(\text{mA} \times \text{m}\Omega = \mu\text{V}\). Recognising that product before you start is worth more than any amount of care with powers of ten afterwards. This regime is not artificial: it is exactly the scale of busbar drops and shunt measurements in power electronics.
Answer\(V = 24.26\ \mu\text{V},\qquad I_{5\text{m}\Omega} = 4.85\ \text{mA}\)
Problem 9Exam levelVCCS at a Node

A single node \(V_1\) is fed by two sources of 10 mA and 2 mA. It drains through a 10 Ω resistor, a 1 Ω resistor, and a voltage-controlled current source of value \(0.2\,V_1\). Find \(V_1\).

Solution

The VCCS has transconductance 0.2 S, so its current is \(0.2V_1\) — dimensionally a conductance term, and it can be collected with the resistors:

\[ 0.2V_1 + \frac{V_1}{10} + \frac{V_1}{1} = (10 + 2)\ \text{mA} \]

Summing the conductances:

\[ (0.2 + 0.1 + 1)\,V_1 = 1.3\,V_1 = 12\ \text{mA} \]

Hence

\[ V_1 = \frac{12 \times 10^{-3}}{1.3} = 9.23 \times 10^{-3}\ \text{V} = 9.23\ \text{mV} \]

Checking the current split: the 1 Ω takes 9.23 mA, the 10 Ω takes 0.923 mA, and the VCCS takes \(0.2 \times 9.23\ \text{mV} = 1.85\ \text{mA}\). Total \(= 12.0\ \text{mA}\;\checkmark\)

A VCCS controlled by its own node voltage is just a resistor. Here \(0.2V_1\) behaves exactly like a 5 Ω conductance to ground, and the conductance matrix stays symmetric. Symmetry only breaks when the controlling variable belongs to a different node — that is the case in Problem 10, and it is the distinction worth watching for.
Answer\(V_1 = 9.23\ \text{mV}\)
Problem 10Exam levelCCCS at a Node

A 5 A source feeds a single node \(V\), which drains to ground through two 4 Ω resistors and through a current-controlled current source of value \(2I\), where \(I\) is the current in one of the 4 Ω resistors. Find \(V\), all branch currents, and the power in the dependent source.

Solution

Write KCL with the dependent source as a symbol first:

\[ 5 = \frac{V}{4} + \frac{V}{4} + 2I \]

Then supply the constraint. The controlling current is the one in a 4 Ω resistor, so

\[ I = \frac{V}{4} \]

Substituting:

\[ 5 = \frac{V}{4} + \frac{V}{4} + \frac{V}{2} = V\left(\tfrac14 + \tfrac14 + \tfrac12\right) = V \]
\[ V = 5\ \text{V} \]

Branch currents:

\[ I = \frac{5}{4} = 1.25\ \text{A},\qquad I_{\text{other }4\Omega} = 1.25\ \text{A},\qquad 2I = 2.5\ \text{A} \]

KCL check: \(1.25 + 1.25 + 2.5 = 5\ \text{A}\;\checkmark\)

The dependent source carries 2.5 A from the node down to ground, so it has 5 V across it with current entering the positive terminal:

\[ P_{\text{dep}} = (5)(2.5) = 12.5\ \text{W absorbed} \]

Balance: the 5 A source supplies \(5 \times 5 = 25\ \text{W}\); the resistors take \(2 \times (1.25)^2(4) = 12.5\ \text{W}\); and \(12.5 + 12.5 = 25\ \text{W}\;\checkmark\)

The dependent source doubles the load on the circuit. Without it the node would sit at 10 V; the CCCS drags it to 5 V by drawing twice whatever the sensed resistor draws. This is negative feedback in its simplest form — the more current the resistor takes, the more the source takes as well, and the node voltage is driven down until the whole thing balances.
Answer\(V = 5\ \text{V}\); currents 1.25, 1.25 and 2.5 A; source absorbs 12.5 W
Problem 11Exam levelDependent Source Power

A 20 V source feeds node \(A\) through a 5 Ω resistor. Node \(A\) also connects to ground through a second 5 Ω resistor and through a voltage-controlled current source of value \(0.1\,V_A\). Find \(V_A\) and the power in the dependent source.

Solution

KCL at node \(A\), with all currents leaving taken as positive:

\[ \frac{V_A - 20}{5} + \frac{V_A}{5} + 0.1\,V_A = 0 \]

Collecting conductances:

\[ (0.2 + 0.2 + 0.1)\,V_A = 4 \;\Longrightarrow\; 0.5\,V_A = 4 \]
\[ V_A = 8\ \text{V} \]

The three branch currents:

\[ I_{\text{from source}} = \frac{20-8}{5} = 2.4\ \text{A},\quad I_{5\Omega} = \frac{8}{5} = 1.6\ \text{A},\quad I_{\text{dep}} = 0.1(8) = 0.8\ \text{A} \]

KCL check: \(2.4 = 1.6 + 0.8\;\checkmark\)

The dependent source drains 0.8 A from an 8 V node to ground, so current enters its positive terminal:

\[ P_{\text{dep}} = (8)(0.8) = 6.4\ \text{W absorbed} \]

Power balance:

\[ \underbrace{20 \times 2.4}_{48\ \text{W supplied}} = \underbrace{(2.4)^2(5)}_{28.8} + \underbrace{(1.6)^2(5)}_{12.8} + \underbrace{6.4}_{\text{dep. source}} = 48\ \text{W}\;\checkmark \]
A transconductance of 0.1 S is a 10 Ω resistor in disguise — and the whole circuit could be redrawn with the VCCS replaced by 10 Ω to ground, giving the identical answer. That equivalence holds only because the controlling voltage is the node's own. Change the control to some other node and the substitution fails, even though the equation still looks like a conductance.
Answer\(V_A = 8\ \text{V}\); dependent source absorbs 6.4 W
Problem 12ChallengeLarge Dependent Power

A 15 A source feeds node \(v_1\), which connects to node \(v_2\) through 1 Ω and to ground through 2 Ω. Node \(v_2\) connects to ground through 3 Ω and is fed by a current-controlled current source of value \(3i_1\), where \(i_1\) is the current in the 2 Ω. Find the power supplied by the dependent source.

Solution

KCL at node \(v_1\):

\[ -15 + \frac{v_1 - v_2}{1} + \frac{v_1}{2} = 0 \;\Longrightarrow\; 1.5v_1 - v_2 = 15 \]

KCL at node \(v_2\), with the dependent source injecting \(3i_1\) and the constraint \(i_1 = v_1/2\):

\[ -3i_1 + \frac{v_2}{3} + \frac{v_2 - v_1}{1} = 0 \;\Longrightarrow\; -\frac{3v_1}{2} - v_1 + \frac{4v_2}{3} = 0 \]
\[ -2.5\,v_1 + \tfrac{4}{3}\,v_2 = 0 \]

From the first equation, \(v_2 = 1.5v_1 - 15\). Substituting:

\[ -2.5v_1 + \tfrac{4}{3}(1.5v_1 - 15) = 0 \;\Longrightarrow\; -2.5v_1 + 2v_1 - 20 = 0 \]
\[ -0.5\,v_1 = 20 \;\Longrightarrow\; v_1 = -40\ \text{V},\qquad v_2 = -75\ \text{V} \]

Hence \(i_1 = v_1/2 = -20\ \text{A}\) and the source current is \(3i_1 = -60\ \text{A}\). With \(v_2\) across it:

\[ P = (3i_1)(v_2) = (-60)(-75) = 4500\ \text{W} = 4.5\ \text{kW supplied} \]

Verify with a full audit. The resistors absorb:

\[ \underbrace{(35)^2(1)}_{1225} + \underbrace{(20)^2(2)}_{800} + \underbrace{(25)^2(3)}_{1875} = 3900\ \text{W} \]

The 15 A source sits at \(-40\) V while pushing current out, so it absorbs \(40 \times 15 = 600\ \text{W}\). Total absorbed \(= 3900 + 600 = 4500\ \text{W}\;\checkmark\)

4.5 kW from a circuit whose only independent source is 15 A. A dependent source has no power budget of its own in circuit theory — it will deliver whatever its controlling variable demands, here amplifying a 20 A sensed current into a 60 A injection. The model is silent about where that energy comes from, which is exactly why a real amplifier needs a supply rail that the small-signal model never shows.
Answer\(v_1 = -40\ \text{V},\ v_2 = -75\ \text{V}\); dependent source supplies 4.5 kW
Problem 13Exam levelSupernode Preview

A 6 V source connects node 1 to node 2, so that \(V_2 - V_1 = 6\). A 5 A source feeds the pair, and each node has a 2 Ω resistor to ground. Find \(V_1\) and \(V_2\).

V₁ 5 A 2 Ω 6 V V₂ 2 Ω supernode surface
A voltage source between two non-reference nodes
Solution

Neither node equation can be written alone. KCL at node 1 would require the current through the 6 V source, and that current cannot be expressed in terms of node voltages — an ideal voltage source will pass whatever the circuit demands.

The remedy is the generalised KCL of Set 3, Problem 14: draw a closed surface enclosing both nodes and the source, and apply KCL to that surface. The source's current is internal to it and never appears:

\[ 5 = \frac{V_1}{2} + \frac{V_2}{2} \]

One equation, two unknowns. The source itself supplies the second:

\[ V_2 - V_1 = 6 \;\Longrightarrow\; V_2 = V_1 + 6 \]

Substituting:

\[ 5 = \frac{V_1}{2} + \frac{V_1 + 6}{2} = V_1 + 3 \;\Longrightarrow\; V_1 = 2\ \text{V},\quad V_2 = 8\ \text{V} \]

Check: the two resistors carry 1 A and 4 A, totalling the 5 A injected \(\checkmark\). The source itself carries 4 A into node 2 and out of node 1.

This is the exact dual of the supermesh. There, a current source in a shared branch had an unknown voltage, and the cure was to write KVL round a path avoiding it. Here a voltage source between two nodes has an unknown current, and the cure is to write KCL round a surface enclosing it. Set 7 develops the technique in full; every sentence of Set 5 has a counterpart there.
Answer\(V_1 = 2\ \text{V},\quad V_2 = 8\ \text{V}\)
Problem 14Exam levelSupernode, Three Nodes

A three-node circuit has current sources of 8 A and 3 A injecting into node \(v_1\), which connects to \(v_2\) through 3 Ω and to \(v_3\) through 4 Ω. Nodes \(v_2\) and \(v_3\) are joined by a source giving \(v_3 - v_2 = 22\), and each has a resistor to ground — 1 Ω at \(v_2\) and 5 Ω at \(v_3\). A further 3 A enters \(v_2\) and 25 A enters \(v_3\). Determine \(v_1\).

Solution

KCL at node \(v_1\), which is an ordinary node:

\[ 8 + 3 = \frac{v_1 - v_2}{3} + \frac{v_1 - v_3}{4} \;\Longrightarrow\; \frac{7}{12}v_1 - \frac{v_2}{3} - \frac{v_3}{4} = 11 \]

Nodes \(v_2\) and \(v_3\) are bridged by a voltage source, so enclose both in a supernode and write one KCL for the surface:

\[ -3 + \frac{v_2 - v_1}{3} + \frac{v_2}{1} + \frac{v_3}{5} - 25 + \frac{v_3 - v_1}{4} = 0 \]

And the constraint:

\[ v_3 = v_2 + 22 \]

Substituting the constraint into the supernode equation and collecting:

\[ -\frac{7}{12}v_1 + \left(\tfrac13 + 1 + \tfrac15 + \tfrac14\right)v_2 + \left(\tfrac15 + \tfrac14\right)(22) = 28 \]
\[ -\frac{7}{12}v_1 + \frac{53}{30}v_2 = 18.1 \]

Solving simultaneously with the node-1 equation (also written in terms of \(v_2\)) gives

\[ v_1 = 1.071\ \text{V},\qquad v_2 = 10.5\ \text{V},\qquad v_3 = 32.5\ \text{V} \]

Verify node 1 directly:

\[ \frac{1.071 - 10.5}{3} + \frac{1.071 - 32.5}{4} = -3.143 - 7.857 = -11\ \text{A}\;\checkmark \]

The 11 A injected is exactly balanced by 11 A arriving from the two branches — both of which flow into node 1, since \(v_2\) and \(v_3\) both sit above it.

Notice that node 1 is a net sink despite being fed by 11 A. Its two neighbours are held so much higher by the 25 A injection into \(v_3\) that current flows backwards into \(v_1\) along both branches. This is why writing KCL mechanically — every term as \((V_{\text{here}} - V_{\text{there}})/R\), signs allowed to look after themselves — beats trying to guess current directions in advance.
Answer\(v_1 = 1.071\ \text{V},\ v_2 = 10.5\ \text{V},\ v_3 = 32.5\ \text{V}\)
Problem 15Exam levelResistor Across the Source

Nodes \(v_1\) and \(v_2\) are joined by a source giving \(v_2 - v_1 = 2\), and also by a 10 Ω resistor directly in parallel with it. A 2 A source injects into the pair and a 7 A source draws from it; \(v_1\) has 2 Ω to ground and \(v_2\) has 4 Ω. Find both node voltages, and explain the role of the 10 Ω.

Solution

Enclose both nodes in a supernode. The 10 Ω runs from one enclosed node to the other, so its current is entirely internal to the surface — it crosses the boundary twice, once in each direction, and cancels:

\[ -2 + \frac{v_1}{2} + \frac{v_2}{4} + 7 = 0 \]

With the constraint \(v_2 = v_1 + 2\):

\[ \frac{v_1}{2} + \frac{v_1 + 2}{4} = -5 \;\Longrightarrow\; 2v_1 + v_1 + 2 = -20 \]
\[ 3v_1 = -22 \;\Longrightarrow\; v_1 = -7.333\ \text{V},\qquad v_2 = -5.333\ \text{V} \]

The role of the 10 Ω. It has no effect whatever on the node voltages, because those are fixed by the supernode equation and the constraint, neither of which contains it. Its voltage is forced to be 2 V by the source it parallels, so it carries

\[ I_{10\Omega} = \frac{2}{10} = 0.2\ \text{A} \]

That current is supplied by the voltage source and returns through it — a circulating current within the supernode that the rest of the circuit never sees.

Check: the two grounded resistors carry \(-3.667\ \text{A}\) and \(-1.333\ \text{A}\), summing to \(-5\ \text{A}\), which balances the net \(2 - 7 = -5\ \text{A}\) injected \(\checkmark\)

Anything in parallel with an ideal voltage source is invisible to the rest of the circuit. It sees a fixed voltage, draws a determined current, and returns it through the source. This is the exact dual of Set 5, Problem 6, where a resistor in series with an ideal current source was invisible to the mesh currents while still dissipating power. Both are worth recognising instantly — they can delete an element from a problem before you start.
Answer\(v_1 = -7.333\ \text{V},\ v_2 = -5.333\ \text{V}\); the 10 Ω carries 0.2 A but changes nothing
Problem 16Exam levelThe Unbalanced Bridge

Solve the unbalanced bridge of Set 2 nodally: \(R_{ac} = 6\), \(R_{ad} = 12\), \(R_{cd} = 18\), \(R_{cb} = 9\), \(R_{db} = 6\ \Omega\), with 8 V applied from \(a\) to \(b\). Find \(R_{ab}\) and the bridge-arm current.

Solution

Ground node \(b\) and use the source to fix \(V_a = 8\ \text{V}\). That leaves only two unknowns, \(V_c\) and \(V_d\) — fewer than the three meshes the same circuit needed in Set 4.

KCL at node \(c\):

\[ \frac{V_c - 8}{6} + \frac{V_c - V_d}{18} + \frac{V_c}{9} = 0 \;\Longrightarrow\; \left(\tfrac16 + \tfrac1{18} + \tfrac19\right)V_c - \tfrac1{18}V_d = \tfrac{8}{6} \]

KCL at node \(d\):

\[ -\tfrac1{18}V_c + \left(\tfrac1{12} + \tfrac1{18} + \tfrac16\right)V_d = \tfrac{8}{12} \]

Multiplying through by 36 to clear fractions:

\[ 12V_c - 2V_d = 48,\qquad -2V_c + 11V_d = 24 \]

Solving: from the first, \(V_d = 6V_c - 24\). Substituting:

\[ -2V_c + 66V_c - 264 = 24 \;\Longrightarrow\; 64V_c = 288 \;\Longrightarrow\; V_c = 4.5\ \text{V},\ V_d = 3\ \text{V} \]

The source current is what leaves node \(a\):

\[ I = \frac{8 - 4.5}{6} + \frac{8 - 3}{12} = 0.5833 + 0.4167 = 1\ \text{A} \;\Longrightarrow\; R_{ab} = \frac{8}{1} = 8\ \Omega \]

And the bridge arm:

\[ I_{18\Omega} = \frac{4.5 - 3}{18} = 0.0833\ \text{A} = 83.3\ \text{mA} \]
The same bridge, now by a fourth method. Set 2 gave 8 Ω by delta–wye, Set 4 by mesh analysis with three unknowns, and this page by nodal analysis with two. All agree, including the 83.3 mA arm current. Nodal wins on effort here because the source can be used to fix a node voltage — the bridge has four nodes and three meshes, so \(n - 1 = 3\) reduces to 2 once \(V_a\) is known.
Answer\(V_c = 4.5\ \text{V},\ V_d = 3\ \text{V},\ R_{ab} = 8\ \Omega\); arm carries 83.3 mA
Problem 17Exam levelThe Ladder, Nodally

Solve the ladder of Set 2 by nodal analysis: a 20 V source, then 4 Ω series, 15 Ω shunt, 4 Ω series, 18 Ω shunt, 3 Ω series, 6 Ω shunt. Find the three node voltages and confirm against the reduction result.

Solution

Three shunt nodes, three equations. KCL at node 1:

\[ \frac{V_1 - 20}{4} + \frac{V_1}{15} + \frac{V_1 - V_2}{4} = 0 \]

At node 2 and node 3:

\[ \frac{V_2 - V_1}{4} + \frac{V_2}{18} + \frac{V_2 - V_3}{3} = 0, \qquad \frac{V_3 - V_2}{3} + \frac{V_3}{6} = 0 \]

The third equation gives \(V_2 = 1.5\,V_3\) immediately. Multiplying the second by 36 to clear fractions:

\[ 9(V_2 - V_1) + 2V_2 + 12(V_2 - V_3) = 0 \;\Longrightarrow\; -9V_1 + 23V_2 - 12V_3 = 0 \]

Substituting \(V_2 = 1.5V_3\): \(-9V_1 + 34.5V_3 - 12V_3 = 0\), so \(V_1 = 2.5\,V_3\).

Multiplying the first equation by 60:

\[ 15(V_1 - 20) + 4V_1 + 15(V_1 - V_2) = 0 \;\Longrightarrow\; 34V_1 - 15V_2 = 300 \]
\[ 34(2.5V_3) - 15(1.5V_3) = 300 \;\Longrightarrow\; 62.5\,V_3 = 300 \]

Solving the system gives

\[ V_1 = 12\ \text{V},\qquad V_2 = 7.2\ \text{V},\qquad V_3 = 4.8\ \text{V} \]

Verify each equation directly:

\[ \begin{aligned} \text{Node 1:}&\quad \tfrac{12-20}{4} + \tfrac{12}{15} + \tfrac{12-7.2}{4} = -2 + 0.8 + 1.2 = 0\;\checkmark\\[2pt] \text{Node 2:}&\quad \tfrac{7.2-12}{4} + \tfrac{7.2}{18} + \tfrac{7.2-4.8}{3} = -1.2 + 0.4 + 0.8 = 0\;\checkmark\\[2pt] \text{Node 3:}&\quad \tfrac{4.8-7.2}{3} + \tfrac{4.8}{6} = -0.8 + 0.8 = 0\;\checkmark \end{aligned} \]

These are exactly the node voltages found by rung-by-rung reduction in Set 2, and the branch currents follow: 0.8 A in the 15 Ω, 0.4 A in the 18 Ω, 0.8 A in the 6 Ω, with 2 A from the source.

Four methods on one ladder. Reduction gave the node voltages by working inwards; assumed-current gave them by scaling; mesh analysis gave the branch currents directly; nodal analysis gives the node voltages directly. For a ladder the assumed-current method remains the fastest by a wide margin — but only nodal and mesh generalise to circuits that are not ladders.
Answer\(V_1 = 12\ \text{V},\ V_2 = 7.2\ \text{V},\ V_3 = 4.8\ \text{V}\) — matching Set 2
Problem 18CorePower Audit

For the circuit of Problem 4, with \(V_1 = 8\), \(V_2 = 6\) and \(V_3 = 4\ \text{V}\), compute the power in every element and verify the balance.

Solution

Sources first. Each delivers its current at the potential of the node it feeds:

\[ P_{6\text{A}} = 6 \times 8 = 48\ \text{W},\qquad P_{3\text{A}} = 3 \times 6 = 18\ \text{W} \]
\[ \text{Total supplied} = 66\ \text{W} \]

Now the resistors, each using the difference across it:

ResistorVoltage across\(V^2/R\)
2 Ω, node 1 to ground8 V32 W
1 Ω, node 1 to node 22 V4 W
2 Ω, node 2 to ground6 V18 W
1 Ω, node 2 to node 32 V4 W
2 Ω, node 3 to ground4 V8 W
Total66 W

The balance closes exactly:

\[ 48 + 18 = 32 + 4 + 18 + 4 + 8 = 66\ \text{W}\;\checkmark \]

Note how convenient the node-voltage form is here: \(P = V^2/R\) needs only the two node potentials, with no branch current computed at all.

Do this check on every nodal solution. It costs one table and catches the error nodal analysis is most prone to — writing \((V_k - V_j)\) when \((V_j - V_k)\) was meant. A sign slip in a bridging term will usually leave the node equations self-consistent but break the power balance, which is exactly what a good check should do.
Answer66 W supplied, 66 W absorbed — balance confirmed
Problem 19ChallengeDuality

Set out the complete correspondence between mesh and nodal analysis, and prove that the nodal conductance matrix is symmetric, has positive diagonal entries, and is diagonally dominant — the exact analogues of the mesh results.

Solution

The two methods are duals: every statement about one becomes a true statement about the other under a fixed dictionary.

Mesh analysisNodal analysis
Mesh current \(I_k\)Node voltage \(V_k\)
KVL round a loopKCL at a node
Resistance \(R\)Conductance \(G\)
\(b-n+1\) equations\(n-1\) equations
Voltage source in a meshCurrent source at a node
Peripheral current source fixes \(I_k\)Source to reference fixes \(V_k\)
Current source in a shared branchVoltage source between two nodes
Supermesh (KVL round a path)Supernode (KCL round a surface)
Series connectionParallel connection
Requires planarityNo restriction

Symmetry. \(G_{jk}\) is minus the conductance of the branch directly joining nodes \(j\) and \(k\) — a quantity that does not depend on the order in which the two nodes are named. Hence \(G_{jk} = G_{kj}\).

Positive diagonal. \(G_{jj}\) is the sum of the conductances of every branch meeting at node \(j\), each of which is positive.

Diagonal dominance. The off-diagonal magnitudes \(|G_{jk}|\) are precisely the conductances of the branches from \(j\) to other non-reference nodes. But \(G_{jj}\) includes those plus any branch from \(j\) to the reference node:

\[ G_{jj} = \sum_{k \ne j}|G_{jk}| + G_{j,\text{ref}} \;\ge\; \sum_{k \ne j}|G_{jk}| \]

with equality only if node \(j\) has no direct path to the reference.

A symmetric, diagonally dominant matrix with positive diagonal is positive definite and therefore non-singular. So a purely resistive network always has a unique nodal solution — the same conclusion reached for mesh analysis in Set 4, by the same argument in the dual language.

Duality halves what there is to learn, but it is not a symmetry of nature. The two methods are not interchangeable in practice: nodal analysis works on non-planar circuits and mesh analysis does not, because a planar circuit has a dual graph and a non-planar one has none. That asymmetry is the reason nodal analysis, not mesh analysis, is what every circuit simulator actually implements.
Answer\(\mathbf{G}\) symmetric, positive diagonal, diagonally dominant ⇒ unique solution
Problem 20ChallengeReference Independence

Prove that shifting the reference node changes every node voltage by the same constant, and that every branch current, every element voltage and every power is therefore unaffected. Show also that the conductance matrix is unchanged in structure but that the injection vector is not.

Solution

Let \(\{V_k\}\) solve the network with node \(r\) as reference, so \(V_r = 0\). Propose the shifted set

\[ V_k' = V_k - V_s \]

where \(s\) is the new reference, which now correctly satisfies \(V_s' = 0\).

Every branch current is a difference, so the shift cancels:

\[ I_{jk}' = \frac{V_j' - V_k'}{R} = \frac{(V_j - V_s) - (V_k - V_s)}{R} = \frac{V_j - V_k}{R} = I_{jk} \]

Since every branch current and every element voltage is unchanged, every element power \(p = vi\) is unchanged. And because the branch currents are unchanged, KCL is still satisfied at every node, so the shifted set is a valid solution — and the unique one, by Problem 19.

What does change. The matrix \(\mathbf{G}\) is built from branch conductances alone, so its entries are the same numbers — but its size and indexing change, because a different node has been dropped from the system. The row and column belonging to the old reference reappear, and those of the new reference vanish.

The injection vector changes too. A current source returning to the old reference contributed nothing to any equation; after the shift it may inject into a node that is now in the system. Both effects are bookkeeping, not physics.

Problem 3 is this proof in miniature: shifting from the rail to node 2 moved every potential down by 4 V and left all three branch currents at 3 A, 1 A and 2 A.

The same argument, one level up, appeared in Set 3. There the power absorbed by a multi-terminal box was shown to be independent of the reference because \(\sum I_k = 0\) made the \(V_0\sum I_k\) term vanish. Here the invariance is more elementary — potentials appear only as differences — but the moral is identical: a quantity that depends on where an engineer drew the ground symbol is not a physical quantity.
AnswerAll potentials shift by \(V_s\); currents, voltages and powers invariant
Practice

Practice Problems

Work each on paper before opening the answer. The answer is given so you can check yourself; the method is deliberately not.

  1. P1. A 3 A source feeds a node with a 4 Ω and a 12 Ω resistor to ground. Find the node voltage and both branch currents.

    Show answer
    \(G = 0.25 + 0.0833 = 0.3333\) S, so \(V = 9\) V; currents 2.25 A and 0.75 A.
  2. P2. Write the conductance matrix for a two-node circuit with 5 Ω from node 1 to ground, 10 Ω from node 2 to ground and 5 Ω between them.

    Show answer
    \(\begin{bmatrix}0.4 & -0.2\\ -0.2 & 0.3\end{bmatrix}\) S. Symmetric, positive diagonal, diagonally dominant.
  3. P3. A 10 V source ties node 1 to ground. Node 2 connects to node 1 through 2 Ω and to ground through 3 Ω. Find \(V_2\).

    Show answer
    \(V_1 = 10\) V is fixed; then \((V_2-10)/2 + V_2/3 = 0\) gives \(V_2 = 6\) V.
  4. P4. A circuit has 8 branches and 5 nodes. How many nodal equations are needed, and how many mesh equations?

    Show answer
    Nodal \(= n-1 = 4\); mesh \(= b-n+1 = 4\). A tie, so the source types decide.
  5. P5. A supernode encloses two nodes joined by an 8 V source, with 4 Ω from each to ground and 6 A injected. Find both node voltages.

    Show answer
    \(V_1/4 + V_2/4 = 6\) with \(V_2 = V_1+8\) gives \(V_1 = 8\) V, \(V_2 = 16\) V.
  6. P6. A VCCS of value \(0.5V\) drains a node whose own voltage is \(V\). What resistance is it equivalent to?

    Show answer
    A conductance of 0.5 S, i.e. a 2 Ω resistor to ground. The equivalence holds only because the control voltage is the node's own.
  7. P7. Node voltages are found to be 12 V, 8 V and 0 V. What are they if node 2 is made the reference instead?

    Show answer
    Subtract 8 from each: 4 V, 0 V and −8 V. All branch currents are unchanged.
  8. P8. Why can nodal analysis be applied to a non-planar circuit when mesh analysis cannot?

    Show answer
    Nodes exist in any circuit, however drawn; meshes are windows in a planar drawing and are undefined without one.
  9. P9. A 4 A source injects into node 1 and 2 A is drawn from node 2. Both have 1 Ω to ground and are bridged by 1 Ω. Find both voltages.

    Show answer
    \(2V_1 - V_2 = 4\), \(-V_1 + 2V_2 = -2\). Solving: \(V_1 = 2\) V, \(V_2 = 0\) V.
  10. P10. A resistor is connected directly in parallel with an ideal voltage source inside a supernode. Does it affect the node voltages?

    Show answer
    No. Its current is internal to the surface and cancels in the supernode KCL — Problem 15.
  11. P11. Given \(V_1 = 10\) V and \(V_2 = 4\) V with a 3 Ω between them, find the current and its direction.

    Show answer
    \((10-4)/3 = 2\) A, flowing from node 1 to node 2.
  12. P12. A three-node resistive circuit yields \(G_{12} = -0.25\) S. What must \(G_{21}\) be, and what would a different value indicate?

    Show answer
    \(-0.25\) S by symmetry. Any other value means an arithmetic error, or a dependent source controlled from a different node.
Challenge

Challenge Problems

Each needs an idea rather than a formula. Decide what the governing principle is before opening the answer.

  1. C1. A resistive network of \(n\) nodes is driven by a single current source injecting \(I\) at node \(j\) and extracting it at the reference. Show that \(V_k / I\) is a resistance, that it equals \(V_j/I\) when the source is moved to node \(k\), and identify the theorem.

    Show answer
    The nodal system is \(\mathbf{G}\mathbf{V} = I\mathbf{e}_j\), so \(V_k = I(\mathbf{G}^{-1})_{kj}\) and the ratio \(V_k/I = (\mathbf{G}^{-1})_{kj}\) has units of \(1/\text{S} = \Omega\). It is called the transfer resistance.

    Moving the source to node \(k\) gives \(V_j/I = (\mathbf{G}^{-1})_{jk}\). Since \(\mathbf{G}\) is symmetric (Problem 19), so is \(\mathbf{G}^{-1}\), hence the two ratios are equal.

    This is reciprocity in its nodal form — the exact dual of the mesh statement proved in Set 4, Problem 19. There a source and an ammeter were interchanged; here a source and a voltmeter are. Both proofs consist of one observation: the matrix is symmetric, therefore so is its inverse.
  2. C2. A network contains only resistors and current sources. Prove that the node voltage of maximum potential must be at a node where a source injects current, and hence that a purely resistive network with no sources has all node voltages equal.

    Show answer
    Suppose node \(m\) has the strictly greatest potential and no source injects there. KCL at \(m\) reads
    \[ \sum_{k} \frac{V_m - V_k}{R_{mk}} = 0 \]
    Every term is \(\ge 0\) because \(V_m \ge V_k\) for all \(k\), and at least one is strictly positive if any neighbour is lower. The sum cannot then be zero — a contradiction. So the maximum occurs only at an injecting node (or is shared by all nodes).

    Corollary: with no sources at all, no node can be strictly greatest, so every node voltage is equal — and since the reference is 0, all are zero. Physically obvious, but the proof is the discrete maximum principle, the same argument that governs steady heat conduction and electrostatic potential. It also explains why a resistive network can never amplify: the output can never exceed the largest driven node.
  3. C3. Explain why every circuit simulator uses nodal analysis rather than mesh analysis, giving at least three distinct reasons.

    Show answer
    1. No planarity requirement. Meshes are defined only for planar circuits, and a real netlist — an integrated circuit, a power system — is almost never planar. Nodes always exist.

    2. The netlist is already nodal. A SPICE line reads R1 3 7 1k: element, two node numbers, value. Building \(\mathbf{G}\) is a matter of adding \(1/R\) to two diagonal entries and subtracting it from two off-diagonal ones — one pass, no topology analysis. Finding meshes would require identifying the faces of a planar embedding first, which is a hard graph problem.

    3. Sparsity and scale. \(\mathbf{G}\) is extremely sparse for large circuits, since each node touches few others, and sparse symmetric positive-definite systems are exactly what numerical linear algebra handles best.

    A fourth: device models are naturally written as currents in terms of terminal voltages — \(i_D = f(v_{GS}, v_{DS})\) — which is precisely the form a KCL equation wants. The awkward case, the voltage source, is handled by modified nodal analysis, which adds the source current as an extra unknown rather than using a supernode.
Self-Test

Multiple-Choice Questions

  1. MCQ 1. The number of nodal equations for a circuit with \(b\) branches and \(n\) nodes is:
    (a) \(n\)   (b) \(n-1\)   (c) \(b-n+1\)   (d) \(b\)

    Show answer
    (b). Option (c) is the mesh count.
  2. MCQ 2. Nodal analysis automatically satisfies:
    (a) KCL   (b) KVL   (c) both   (d) neither

    Show answer
    (b) KVL. Assigning a single potential to each node makes loop sums telescope to zero — which is why only KCL need be written. Mesh analysis is the mirror image.
  3. MCQ 3. The off-diagonal entries of the nodal conductance matrix are:
    (a) always positive   (b) always negative or zero   (c) zero   (d) of either sign

    Show answer
    (b). \(G_{jk}\) is minus the conductance joining the two nodes, or zero if none does.
  4. MCQ 4. A voltage source connected between a node and the reference:
    (a) requires a supernode   (b) fixes that node's voltage   (c) is ignored   (d) must be transformed

    Show answer
    (b). A supernode is needed only when the source lies between two non-reference nodes.
  5. MCQ 5. Shifting the reference node changes:
    (a) the branch currents   (b) the element powers   (c) the node voltages only   (d) nothing at all

    Show answer
    (c). Every potential shifts by a constant; all differences, and therefore all currents and powers, are invariant — Problems 3 and 20.
  6. MCQ 6. The current leaving node \(j\) through a resistor to node \(k\) is:
    (a) \(V_j/R\)   (b) \((V_k - V_j)/R\)   (c) \((V_j - V_k)/R\)   (d) \((V_j + V_k)/R\)

    Show answer
    (c). Always subtract the far node from the node you are standing on. Option (b) is the same current with the opposite sign, and mixing the two within one equation is the commonest error in the topic.
  7. MCQ 7. A short circuit between two nodes:
    (a) adds an equation   (b) merges them into one node   (c) requires a supernode   (d) makes the circuit unsolvable

    Show answer
    (b). Zero resistance means zero potential difference, so the two are one node — Problem 6.
  8. MCQ 8. Mesh analysis cannot be applied to non-planar circuits, but nodal analysis can, because:
    (a) nodal uses fewer equations   (b) meshes are defined only for planar drawings   (c) nodal handles current sources   (d) nodal is more accurate

    Show answer
    (b). Nodes exist in any circuit; meshes are windows in a planar embedding.
  9. MCQ 9. A VCCS of value \(gV_1\) draining node 1 behaves like:
    (a) a resistance \(g\)   (b) a conductance \(g\) to ground   (c) a voltage source   (d) an open circuit

    Show answer
    (b). Its current is proportional to the node's own voltage, so it is indistinguishable from a conductance \(g\) — Problems 9 and 11.
  10. MCQ 10. For a resistive network, the conductance matrix is guaranteed:
    (a) singular   (b) symmetric and positive definite   (c) diagonal   (d) antisymmetric

    Show answer
    (b), from symmetry plus diagonal dominance — which is why a unique solution always exists. Problem 19.
  11. MCQ 11. A resistor in parallel with an ideal voltage source inside a supernode:
    (a) affects the node voltages   (b) does not appear in the supernode KCL   (c) must be removed first   (d) carries no current

    Show answer
    (b). Its current is internal to the surface. It does carry current — 0.2 A in Problem 15 — but that current never crosses the boundary.
  12. MCQ 12. The nodal dual of a supermesh is:
    (a) a supernode   (b) a superbranch   (c) source transformation   (d) delta–wye

    Show answer
    (a) a supernode — KCL round a surface replacing KVL round a path, with a voltage source replacing a current source. Problem 19's table.
Reference

Key Formulas

QuantityRelationNotes
Number of equations\(n - 1\)Any circuit, planar or not
Nodal equation\(\mathbf{G}\,\mathbf{V} = \mathbf{I}\)\(\mathbf{I}\) is the injected-current vector
Self conductance\(G_{jj} = \sum(\text{all } G \text{ at node } j)\)Always positive
Mutual conductance\(G_{jk} = -G_{\text{joining}}\)Zero if no direct branch
Branch current\(i_{jk} = (V_j - V_k)/R\)Far node subtracted from near node
Symmetry\(G_{jk} = G_{kj}\)Resistors + independent sources only
Diagonal dominance\(G_{jj} \ge \sum_{k\ne j}|G_{jk}|\)Guarantees a unique solution
Source to reference\(V_k = \pm V_s\)Fixes the node; write no KCL for it
SupernodeKCL round a closed surfacePlus constraint \(V_j - V_k = V_s\)
Short circuitmerges two nodesRemoves one unknown
Element power\(P = (V_j - V_k)^2 / R\)No branch current needed
Transfer resistance\(V_k/I = (\mathbf{G}^{-1})_{kj}\)Symmetric ⇒ reciprocity
Reference shift\(V_k' = V_k - V_s\)All currents and powers invariant
Diagnostics

Common Mistakes

  1. Writing \((V_k - V_j)/R\) when standing at node \(j\). Always subtract the far node from the near one. Mixing the two conventions within a single equation is the commonest error in the topic.

  2. Writing a KCL equation at a node fixed by a voltage source. The source's current is unknown, so the equation adds an unknown rather than removing one. Use \(V_k = \pm V_s\) instead.

  3. Forgetting the constraint after forming a supernode. The surface gives one equation where two were expected; the source's own voltage supplies the other.

  4. Including a branch internal to a supernode in its KCL. A resistor across the source cancels — its current crosses the boundary twice, Problem 15.

  5. Choosing a poor reference node. Grounding a node touched by a voltage source removes an unknown for free. Grounding the node with the most branches shortens the equations.

  6. Treating a short circuit as a small resistance. It merges two nodes into one; there is no equation to write and no current to compute from Ohm's law.

  7. Forgetting the constraint for a dependent source. Write the source into the KCL as a symbol, then express its controlling variable in node voltages.

  8. Accepting an asymmetric \(\mathbf{G}\) in a purely resistive circuit. That is an error signal. Find it before solving.

  9. Being alarmed by negative node voltages. They mean the node sits below the reference, which is routine whenever a sink exceeds the sources feeding a node — Problem 7.

  10. Skipping the power check. Sign errors in bridging terms often leave the node equations self-consistent but break the balance, which is exactly what makes the check worth doing.

Looking Ahead

Nodal analysis now handles every circuit whose voltage sources are tied to the reference node, together with any number of current sources and dependent sources of either kind. Problems 13 to 15 have already shown the one remaining obstacle: a voltage source between two non-reference nodes, whose current cannot be written in terms of node voltages at all.

Set 7 develops the supernode systematically — several at once, supernodes containing dependent sources, and the bookkeeping that keeps the equation count right. It is the exact dual of Set 5, and reading the two side by side is the cheapest way to learn both. After that, Part 1 turns from methods to theorems: superposition, Thévenin and Norton, which do not solve circuits faster so much as reveal what a circuit is when seen from a pair of terminals.