Table of Contents
Why Node Voltage Analysis Matters 🧠
When circuits become more complex than a couple of series or parallel components, writing equations directly from Ohm’s law and Kirchhoff’s laws starts to get messy. Node voltage analysis is a systematic method that lets you find unknown voltages in a circuit using a clear, repeatable procedure. It is especially powerful when there are many elements and relatively few nodes.
Node voltage analysis works in the time domain for DC circuits using resistors and independent or dependent sources. Later, the same ideas extend to AC analysis using complex impedances, but here we stay with basic DC concepts and ideal elements.
This chapter focuses only on the node voltage method itself. Kirchhoff’s laws, Ohm’s law, and ideal elements are explained elsewhere, so we will only use them as tools without reintroducing them in detail.
Nodes and Reference Node 🌐
In any circuit, conductors that are directly connected together without any element between them form a node. Every point on a node has the same electrical potential.
To use node voltage analysis, you identify all nodes, then choose one special node as the reference node, also called the ground node. Its voltage is defined as zero volts. All other node voltages are measured with respect to this reference.
A node voltage is therefore simply the electrical potential at a node relative to the reference node. If a node is at 5 V with respect to the reference, we say that its node voltage is 5 V.
Choosing the reference node is often a matter of convenience. Good choices usually simplify equations. For instance, if a node connects to many elements, it is often a natural candidate for the reference.
Basic Idea of Node Voltage Analysis 💡
Node voltage analysis is nothing more than applying Kirchhoff’s Current Law (KCL) at nodes in a systematic way, and expressing each current in terms of node voltages using Ohm’s law.
The key steps are:
- Pick a reference node and assign it 0 V.
- Label the remaining nodes with unknown voltages, such as $v_1, v_2, v_3$.
- Write a KCL equation at each node with unknown voltage. Express each current as a function of node voltages and resistances.
- Solve the resulting set of simultaneous equations for the node voltages.
- Once node voltages are known, any current or element voltage in the circuit can be found if needed.
In node voltage analysis you always write KCL equations in terms of node voltages using Ohm’s law:
$$I = \frac{V_{\text{across element}}}{R}$$
and the node voltage is always measured with respect to the reference node.
The strength of the method is that for a circuit with many components but relatively few nodes, you might only need to solve a few node equations instead of writing a separate equation for every loop.
Writing Node Equations with KCL ✏️
To apply node voltage analysis, you need a consistent way to write current expressions. A common convention is to write KCL at each nonreference node by summing currents “leaving” or “entering” the node. Either choice works as long as you are consistent for that node.
Suppose you have a node with voltage $v_1$, connected to three other nodes or reference node through resistors $R_1$, $R_2$, and $R_3$. Let the voltages at the other ends be $v_a$, $v_b$, and $v_c$. The currents from node $v_1$ through each resistor, taken as leaving $v_1$, are:
$$
I_1 = \frac{v_1 - v_a}{R_1}, \quad
I_2 = \frac{v_1 - v_b}{R_2}, \quad
I_3 = \frac{v_1 - v_c}{R_3}
$$
If you choose “sum of currents leaving the node equals zero,” the KCL equation at node $v_1$ becomes
$$
\frac{v_1 - v_a}{R_1} + \frac{v_1 - v_b}{R_2} + \frac{v_1 - v_c}{R_3} = 0
$$
If any of the other ends of the resistors are connected directly to the reference node, their voltages are simply 0 in the equation.
For circuits with only resistors and independent current sources, each KCL equation will be linear in the node voltages. The result is a linear system of equations that can be solved using standard algebraic techniques.
Conductance Form of Node Equations 📐
Sometimes it is convenient to express resistors using conductance. The conductance $G$ is the reciprocal of resistance:
$$
G = \frac{1}{R}
$$
If at node $v_1$ there are resistors to other nodes or to reference, the KCL equation often takes a standard structure when written with conductances. For example, if $v_1$ is connected to the reference node through $R_1$, and to nodes $v_2$ and $v_3$ through $R_2$ and $R_3$, and there is also a current source $I_s$ entering the node from some external source, then the KCL equation can be written as:
$$
(G_1 + G_2 + G_3) v_1 - G_2 v_2 - G_3 v_3 = I_s
$$
where $G_k = 1 / R_k$.
This structure appears repeatedly. The coefficient of each node voltage in its own equation is the sum of the conductances connected to that node. The coefficients of neighboring node voltages are negative conductances connecting those nodes.
In conductance form, the general pattern for each node $k$ is:
(sum of conductances connected to node $k$) $\times v_k$
minus (conductance between node $k$ and each neighbor) $\times$ (neighbor node voltage)
equals algebraic sum of all independent currents injected into node $k$.
Writing equations in conductance form becomes especially helpful once circuits get large and you begin to see patterns in the coefficients.
Node Voltage Analysis with Independent Current Sources 🔁
Independent current sources fit naturally into KCL equations. At a node, an independent current source either injects current into the node or draws current from it. You simply add or subtract the source value on the right side of the node equation.
For example, if at node $v_1$ you have a 2 mA source injecting current into the node (from the reference node up to the node), and you decide to write equations assuming the sum of currents leaving the node equals zero, then the current source counts as a current entering, so it appears with a negative sign in the “currents leaving” sum. Translating this into a KCL equation, you can move the source term to the opposite side to keep the equation tidy:
$$
\sum \text{(resistor currents leaving node)} = I_{\text{source leaving}} - I_{\text{source entering}}
$$
It is common to move all resistor currents to the left-hand side and represent the net current supplied to the node by sources on the right-hand side. The sign on the current source then simply depends on the direction you assumed for positive current.
The essential point is that independent current sources do not complicate the node voltage approach. They appear directly as constant terms in the node equations.
Handling Independent Voltage Sources: Two Cases ⚡
Independent voltage sources require special care in node voltage analysis because the current through an ideal voltage source is not directly related to the voltage by a resistance. There are two main situations: a voltage source between a node and the reference, and a voltage source between two nonreference nodes.
Voltage Source between a Node and Reference 🧲
If a voltage source connects directly between a node and the reference node, it simply fixes the node voltage. For example, suppose a 10 V source has its positive terminal connected to node $v_1$ and its negative terminal to the reference. Then the node voltage is known:
$$
v_1 = +10\ \text{V}
$$
In such a case there is no need to write a KCL equation for that node, because its voltage is not unknown. Instead, you treat $v_1$ as a known constant when writing equations for other nodes.
If the polarity is reversed, with the negative terminal at the node and the positive terminal at the reference, then $v_1 = -10\ \text{V}$.
This direct specification of node voltage is one of the simplest aspects of nodal analysis in the presence of voltage sources.
Voltage Source between Two Nonreference Nodes 🔄
A more challenging case occurs when an ideal voltage source connects two nonreference nodes. The voltage difference between those nodes is fixed, but neither node voltage is directly known yet. You cannot immediately express the current through the voltage source using a simple resistance, so directly writing KCL at each node separately leads to an unknown current through the source.
To handle this, nodal analysis introduces the concept of a supernode, which treats the two nodes around the voltage source as a single extended node for the purpose of KCL.
Supernodes in Node Voltage Analysis 🌐✨
A supernode arises whenever a voltage source lies between two nonreference nodes. Instead of writing separate KCL equations at each of the two nodes, you enclose both nodes and the voltage source between them in a “supernode” and apply KCL to the entire supernode boundary.
Within that boundary, you do not write KCL at the voltage source itself. Instead, you use an additional equation that enforces the voltage difference imposed by the voltage source.
Structure of a Supernode
Suppose nodes $v_1$ and $v_2$ are connected by a voltage source of value $V_s$. Assume the positive terminal is at node $v_1$ and the negative terminal at node $v_2$. Then the voltage source imposes:
$$
v_1 - v_2 = V_s
$$
This is one equation. The other equation comes from applying KCL to the entire supernode. That means you look at all elements that connect the supernode (the group of the two nodes and the source between them) to the rest of the circuit.
Currents that leave the supernode through resistors are expressed in terms of $v_1$, $v_2$, and the voltages of the outside nodes they connect to. The voltage source current itself does not appear as an unknown in that KCL equation, because you do not cut through the voltage source when you define the supernode boundary.
The pair of equations, one from KCL around the supernode and one from the voltage source relation $v_1 - v_2 = V_s$, allow you to solve for both $v_1$ and $v_2$ along with other node voltages.
For a voltage source between two nonreference nodes:
- Treat the two nodes plus the source as a supernode.
- Write one KCL equation for the entire supernode.
- Add one auxiliary equation expressing the voltage source constraint, for example $v_1 - v_2 = V_s$.
Together these provide enough equations to solve for the node voltages.
Supernodes are central to using node voltage analysis in circuits that have voltage sources not directly tied to the reference.
Number of Node Equations and Unknowns 🧮
In a circuit with $N$ distinct nodes, once you choose one as reference, there are $N - 1$ node voltages. For a circuit that contains only resistors and independent current sources, you simply write one KCL equation at each nonreference node, which results in $N - 1$ equations for $N - 1$ unknown node voltages.
When you add independent voltage sources, the counting changes slightly. A voltage source connected between a node and the reference directly sets that node voltage, reducing the number of unknowns. A voltage source between two nonreference nodes introduces a supernode, in which case you do not get a separate KCL equation for each of those nodes, but the voltage source imposes an extra equation relating the two node voltages. Overall, the total number of independent equations still matches the number of unknown node voltages.
In circuits with dependent sources, which are discussed separately, the same counting idea holds. Each dependent source introduces additional relationships that connect circuit variables but does not fundamentally break the node analysis approach.
Dependent Sources and Node Voltage Analysis 🧷
Dependent sources, also called controlled sources, are elements whose value depends on some voltage or current elsewhere in the circuit. When present in a circuit, they appear naturally in node equations.
A dependent current source that depends on a node voltage, for example, can be represented in KCL just like an independent current source, but its value will involve another variable, such as a different node voltage. A dependent voltage source between two nonreference nodes again leads to a supernode, but the constraint equation now includes the controlling variable.
The essential rule is that dependent sources are not replaced or simplified away in nodal analysis. Instead, you include their controlling relationships directly in the equations. Dependent sources ensure that the system of equations may become more coupled, but still linear, as long as the control relationships are linear.
While specific types of dependent sources and their detailed behavior are treated elsewhere, it is important to recognize that classical node voltage analysis handles them naturally, provided you are willing to write the controlling relationships in algebraic form.
Solving the Node Voltage Equations 🧩
After writing node equations, you obtain a system of linear equations. For a small number of unknowns, you can solve them using substitution or elimination by hand. In more formal terms, the system can be represented in matrix form:
$$
\mathbf{G}\,\mathbf{v} = \mathbf{i}
$$
where:
- $\mathbf{v}$ is the column vector of unknown node voltages,
- $\mathbf{i}$ is the vector of net current injections at the nodes,
- $\mathbf{G}$ is the conductance matrix that captures the interconnections of resistors between nodes.
The structure of $\mathbf{G}$ reflects the pattern described earlier. Diagonal entries are sums of conductances connected to each node, and off-diagonal entries are negative conductances between pairs of nodes.
Even if you do not explicitly write the matrix, understanding that your equations have this underlying structure helps you see why node voltage analysis scales well to large circuits and why computer tools are so effective at solving circuit problems using nodal methods.
Common Pitfalls and Consistency Checks ✅
Certain mistakes occur often when beginners learn node voltage analysis. Being aware of them can help you check your work.
One frequent error is inconsistent sign choice for currents in the KCL equations. If you decide that currents leaving the node are positive, stick with that convention throughout your equation for that node. The actual choice of direction is arbitrary, but inconsistency leads to incorrect equations.
Another common issue is forgetting to include all elements connected to a node. When writing KCL at a node or for a supernode, you must account for every component attached to that node boundary.
It is also easy to misapply the polarity of a voltage source when writing the constraint equation for a supernode. Drawing the circuit clearly and marking the positive and negative terminals helps avoid sign errors.
A simple way to check your final answers is to verify that they satisfy the original KCL equations. Once you find node voltages, compute the currents through each element, then confirm that at each node the algebraic sum of entering and leaving currents is zero.
After solving for node voltages, always verify:
- Each node obeys KCL when you compute element currents.
- Each voltage source constraint (for example $v_1 - v_2 = V_s$) is satisfied.
- The direction and magnitude of currents are consistent with assumed polarities and source orientations.
Such checks help catch algebraic mistakes even when the concept is applied correctly.
When Node Voltage Analysis Is Especially Useful 🎯
Node voltage analysis is particularly attractive when:
- The circuit has significantly fewer nodes than loops.
- Many components are connected in parallel arrangements between common nodes.
- There are numerous current sources that fit naturally into KCL equations.
In contrast, mesh or loop current analysis, which is considered separately, often works better in planar circuits with many series connections and few independent current sources. In practice, both methods are valuable. Engineers switch between them depending on which yields fewer equations and more transparent relationships for the particular circuit at hand.
By mastering node voltage analysis, you gain a core tool for understanding and solving a wide variety of DC circuits. This method forms the backbone of many more advanced techniques you will encounter later, both in time domain and AC phasor domain circuit analysis.