Circuit Nodal Analysis
Nodal Analysis: Solving Circuits with Kirchhoff’s Current Law
A circuit is an interconnection of circuit elements, such as sources, resistors, capacitors, and inductors. Circuit analysis determines the voltage across and current through each element; those quantities can then be used to find the power absorbed or delivered by each element.
A simple circuit may be solved directly with Ohm’s law. For example, a current of 2A through a 5Ω resistor produces a voltage of
In a more complex circuit, the voltage across each resistor may not be obvious from inspection. Nodal analysis is a systematic method for finding circuit voltages and currents, built primarily on Kirchhoff’s current law (KCL) and Ohm’s law.
Circuit Connections and Basic Terms
Crossings, junctions, and nodes
A crossing between two wires in a circuit drawing does not necessarily mean the wires are connected. A connection is shown with a solid dot, often called a solder dot. A crossing without a dot represents wires that pass over one another without connecting.
A node is a point—or connected region of wire—where two or more circuit elements meet. Since an ideal wire has the same potential all along its length, an entire continuous wire is one node, even if it is drawn with several bends or dots.
Branches
A branch is a single circuit element connecting two nodes. In a circuit containing two sources and five resistors, each element is a branch, giving seven branches in total.
Loops
A loop is a closed path that does not pass through the same node more than once, except that it returns to its starting node. A path that visits a node more than once before returning to its start is not a loop under this definition.
Loop counting can be a useful circuit puzzle, but the nodal method developed here focuses on nodes rather than loops.
Kirchhoff’s Current Law
Kirchhoff’s current law (KCL) states that the algebraic sum of the currents leaving a node is zero:
To apply KCL, currents can all be assigned arrows pointing outward from the node. The arrow directions are reference choices; they do not imply that every current actually flows outward. A current that truly flows into the node will have a negative value relative to its outward arrow.
For example, if three outward-reference currents are I1, I2, and I3, then
This is equivalent to the familiar statement that total current entering a node equals total current leaving it.
KCL is a consequence of conservation of charge: in the circuit model, charge does not accumulate at a wire junction, so the charge arriving per second must equal the charge leaving per second.
Example: using current signs
Suppose three currents referenced as leaving a node have values 2A, −5A, and I. KCL gives
so
The negative value −5A means that the actual current is 5A into the node. The other two currents carry that amount away.
Node Voltages and the Reference Node
Independent voltages
Voltage is a difference in electric potential between two nodes. With two nodes, there is one voltage difference. With three nodes, there are three possible pairwise differences, but only two are independent: knowing two differences lets the third be calculated.
In general, a circuit with N nodes has
independent node voltages.
Choosing ground
The first step in nodal analysis is to choose one node as the reference node, also called ground, and assign it a voltage of zero. The choice is arbitrary: any node can serve as ground. The remaining node voltages are measured relative to it.
For a circuit with four nodes, choosing one node as ground leaves three node voltages to find, often labeled V1, V2, and V3.
Ground is a bookkeeping reference, not a special physical property of a circuit. Only potential differences are physically significant. If the reference node changes, the numerical values assigned to node voltages may change, but voltage differences, currents, and powers remain the same.
Resistor Currents from Node Voltages
For a resistor R connecting nodes A and B, let their voltages be VA and VB. Ohm’s law gives the current referenced from A to B as
In the opposite direction,
The voltage of the node where the reference current starts appears first in the numerator. The two expressions describe the same branch current with opposite reference directions.
If one endpoint is ground, its voltage is zero. For example, current from a node at voltage V through a resistor R to ground is
The Nodal-Analysis Procedure
A standard nodal-analysis solution follows these steps:
Identify the nodes and choose one as ground.
Assign a voltage to every non-ground node.
Write KCL at every non-ground node.
For each resistor current, use Ohm’s law, placing the voltage of the starting node first in the numerator.
Solve the resulting equations for the node voltages.
Use the voltages and Ohm’s law to find branch currents.
Find element powers if needed.
For a circuit with N nodes, this procedure uses N−1 node voltages and generally requires N−1 independent KCL equations.
Worked Example: Three Resistors and a Current Source
Consider a circuit with a 6A current source pointing up from ground into node 1. Three 2Ω resistors connect node 1 to ground, node 1 to node 2, and node 2 to ground. The non-ground node voltages are V1 and V2.
KCL at node 1
The source current points into node 1, so its value relative to an outward reference is −6A. The resistor currents leaving node 1 are V1/2 and (V1−V2)/2:
KCL at node 2
The two resistor currents leaving node 2 are (V2−V1)/2 and V2/2:
The second equation gives
Multiplying the node 1 equation by 2 gives
Substituting V1=2V2 yields
Currents and power
The resistor currents are:
From node 1 to ground: 8/2=4A.
From node 1 to node 2: (8−4)/2=2A.
From node 2 to ground: 4/2=2A.
At node 1, the source supplies 6A, and the two resistor currents carry away 4+2=6A, confirming KCL.
A resistor absorbs power. Using P=VI, the three resistor powers are
The source has 8V across it, with its positive terminal at the top. Since 6A flows out of that positive terminal, the current entering the positive terminal is −6A. Its absorbed power is therefore
Negative absorbed power means the source delivers 48W. The delivered power equals the total resistor power absorbed, so total circuit power balances.
Worked Example: A Circuit with Three Unknown Node Voltages
Consider a circuit with ground along the bottom and three other nodes. A 10A source points up into node 1, and a 4A source points up into node 3. The resistors are:
4Ω between nodes 1 and 2;
20Ω between nodes 2 and 3;
5Ω between nodes 1 and 3;
10Ω from node 2 to ground;
16Ω from node 3 to ground.
KCL equations
At node 1, the source current is directed into the node, so its outward-reference value is −10A:
At node 2:
At node 3, the 4A source is directed into the node, so its outward-reference value is −4A:
Solving gives approximately
The method does not require guessing actual current directions. For instance, the current referenced from node 2 to node 3 through the 20Ω resistor is
The negative sign means the actual current flows from node 3 to node 2.
The 10Ω and 16Ω resistors carry approximately 8.03A and 5.97A to ground. Their total, about 14A, equals the combined 10A and 4A delivered into the circuit by the sources.
The 10A source delivers about 1,093W, while the 4A source delivers about 382W. Together, the sources deliver about 1,475W, which is absorbed by the resistors.
Why the ground equation is unnecessary
KCL could also be written at ground, but that equation adds no independent information. If all non-ground node equations are added, every resistor current between two non-ground nodes appears once in each direction and cancels. What remains is KCL at ground, with signs reversed.
Thus, for N nodes, the N−1 non-ground node equations are sufficient for the N−1 unknown node voltages.
Changing the reference node
If node 2 is selected as ground instead, every node voltage is shifted by the same amount. Since node 2 was previously at about 80.3V, the new values are approximately:
and the original bottom wire becomes approximately −80.3V relative to the new reference. The differences between node voltages are unchanged, so resistor currents and powers are unchanged as well.
Current Sources in KCL Equations
A current source contributes its specified current directly to a node equation; it does not receive an Ohm’s-law term. Its sign is determined by its arrow relative to the node being analyzed:
If the source arrow points out of the node, its current is positive in a sum of currents leaving.
If the source arrow points into the node, its current is negative in that sum.
The same source can therefore have opposite signs in the equations for its two endpoint nodes.
Conductance and the Matrix Form
The reciprocal of resistance is conductance:
Conductance is measured in siemens, with unit symbol S. It is also known as the mho, a name based on reversing the spelling of “ohm.”
For a circuit with three non-ground nodes, the KCL equations can be collected into the matrix form
where:
G is the conductance matrix;
V is the column of unknown node voltages;
Iin is the column of net source currents injected into each node.
For a resistor-only network with current sources, the conductance matrix follows a useful pattern:
Each diagonal entry is the sum of the conductances connected to that node.
Each off-diagonal entry is the negative of the conductance directly connecting the corresponding pair of nodes.
A resistor does not contribute an off-diagonal term for a pair of nodes it does not connect.
Each entry of Iin is the net current pushed into that node. Current pushed out counts negatively.
Symbolic example with three nodes
Consider a circuit with resistors R1 through R5 and current sources I1, I2, and I3:
R1 connects nodes 1 and 2.
R2 connects node 2 to ground.
R5 connects nodes 2 and 3.
R3 and R4 each connect node 3 to ground.
I1 points from ground into node 1.
I2 points from node 3 to node 1.
I3 points from node 2 to node 3.
The node equations can be written as
In matrix form:
The matrix is symmetric: the entry for nodes 1 and 2 equals the entry for nodes 2 and 1. This symmetry follows because the same resistor connects the two nodes, regardless of which node is considered first.
For the three-node numerical circuit, node 1 is connected through 4Ω and 5Ω resistors, so its diagonal conductance entry is
The entry coupling nodes 1 and 2 is
The source-current vector for that circuit is
because the two sources inject 10A into node 1 and 4A into node 3.
Linearity and Scaling
A circuit made of resistors obeying Ohm’s law and ideal sources is linear. In matrix form, its behavior is described by
If the resistors remain unchanged, then G remains unchanged. If every source current is multiplied by a factor k, the input-current vector is also multiplied by k, and every node voltage is multiplied by the same factor. Resistor currents scale by that factor as well.
For example, if source currents of 2A, 3A, and 6A produce node voltages of 10V, 20V, and 40V, doubling all source currents produces node voltages of 20V, 40V, and 80V without changing the resistors.
Reversing every current source changes each source current to its negative. The input-current vector is then multiplied by −1, so every node voltage and resistor current also changes sign.
In the earlier numerical circuit, tripling both sources from 10A and 4A to 30A and 12A triples every node voltage. Thus,
Short Applications and Checks
A wire with several dots
Four solder dots along one continuous bottom wire still represent one node, because the entire ideal wire has the same potential.
Finding an unknown current with KCL
If four currents referenced as leaving a node are 4A, −1A, −6A, and I, then
Finding current from one node to another
A 5Ω resistor connects node A at 12V to node B at 2V. The current referenced from B to A is
The negative result means the actual current is 2A from A to B.
Counting required node equations
A circuit with seven nodes needs six non-ground node voltages and six KCL equations.
Finding a node voltage from a current source
A 3A source pushes current into a node connected to ground through 6Ω and 3Ω resistors. KCL gives
Since 61+31=21,
Finding conductance
The conductance of a 4Ω resistor is
Adding resistor currents leaving a node
A node at 10V connects through a 2Ω resistor to a node at 4V and through a 5Ω resistor to ground. The two currents leaving the 10V node are
The total current leaving through those resistors is 5A.
Key Ideas to Retain
A continuous ideal wire is a single node; a crossing without a connection dot is not a junction.
KCL says the algebraic sum of currents leaving a node is zero.
A circuit with N nodes has N−1 independent node voltages after one node is chosen as ground.
For a resistor current referenced from node A to node B, use (VA−VB)/R.
Current-source terms are determined by the source arrow: outward is positive, inward is negative in a sum of leaving currents.
Nodal analysis produces a system of linear equations, often written as GV=Iin.
Changing the ground shifts voltage labels but does not change voltage differences, currents, or powers.
Scaling all source currents by a factor scales all node voltages and resistor currents by that same factor.
When a voltage source lies between two nodes, its current is not known in advance, so the ordinary resistor-and-current-source equations need an additional constraint; a supernode method can handle that case.

Ask anything
We've read this whole study set, so questions about it get the best answers.