Sub topic 1
Nodes and branches
Prerequisites
This chapter assumes you know what current, voltage, and resistance are, and that you can read a basic schematic. You should be comfortable with Ohm's law for a single resistor. No equation solving is needed yet.
Why start with nodes
Kirchhoff's current law (KCL) is a statement about nodes. Before you can apply it, you need to recognize a node on a schematic and count the branches that meet there. Mistakes at this step are common, and they lead to wrong equations later.
Branches
A branch is a single circuit element, such as a resistor or a source, together with the two terminals it connects through. In some textbooks a branch is a series chain of elements that carries one shared current. This tutorial uses the single-element definition. Each branch has one current flowing through it.
Nodes
A node is a point where two or more branches connect. In an ideal circuit, a wire has no resistance, so every point joined by wire is at the same voltage. All of those points therefore form one node, however long or bent the wire is.
This leads to the main rule for reading schematics:
- Wires that touch at a dot, or that join at a junction, belong to one node.
- A wire that runs from one element to another without a junction still just links the same node. It does not create a new one.
- Two wires that cross without a dot are not connected.
- Every ground symbol in a schematic is the same node, because they all mean the common reference point.
An example circuit
Consider a source feeding two resistors. The source's positive terminal connects to one end of R1. The other end of R1 connects to one end of R2 and to one end of R3. The far ends of R2 and R3 return to the source's negative terminal.
This circuit has three nodes:
| Node | Branches connected | Number of branches |
|---|---|---|
| A | Source, R1 | 2 |
| B | R1, R2, R3 | 3 |
| G (ground) | Source, R2, R3 | 3 |
Node B is where KCL becomes useful. Three branches meet there, so the three currents must be related. Node A has only two branches, so the same current must flow through the source and R1.
Essential, or principal, nodes
A node with only two branches, like node A, is not very informative. The current simply passes through. Many texts call a node with three or more branches an essential node, since those are the places where current splits or combines. Node B and node G are essential nodes here.
When you later write nodal equations, you write one for each essential node except the reference node. Nodes with two branches can be merged into the branch they sit on.
A quick graph view
A circuit can be treated as a graph. Nodes are the vertices and branches are the edges. This view helps with counting. For a connected circuit with N nodes and B branches, you will write N − 1 independent KCL equations. In the example, N = 3, so there are two independent KCL equations. Writing the third gives no new information.
# Count independent KCL equations for the example circuit.
branches = {
"Vs": ("G", "A"),
"R1": ("A", "B"),
"R2": ("B", "G"),
"R3": ("B", "G"),
}
nodes = set()
for a, b in branches.values():
nodes.update((a, b))
print(sorted(nodes)) # ['A', 'B', 'G']
print(len(nodes) - 1) # 2 independent KCL equations
for n in sorted(nodes):
attached = [name for name, ends in branches.items() if n in ends]
print(n, attached)The script lists the branches attached to each node, which is exactly the table above.
Common errors
- Counting a long wire as several nodes.
- Treating a wire crossing without a dot as a connection.
- Forgetting that all ground symbols are one node.
- Assuming a node has only two branches. Always check every element that touches it.
Exercise
A schematic shows a battery, a resistor R1 in series with it, and two dots on the wire between R1 and a second resistor R2, joined by a plain wire segment. The far side of R2 and the battery's other terminal both connect to ground. How many nodes does the circuit have, and which branches meet at each?
Show answer
There are three nodes. Node 1 is the battery's positive terminal and one end of R1. Node 2 is the other end of R1 and one end of R2, including both dots, since a plain wire joins them. Node 3 is ground, which connects the battery's negative terminal and R2's far end. Node 1 and node 2 each have two branches. Ground has two branches as well, the battery and R2.
Exercise
A circuit has 6 nodes. How many independent KCL equations can you write?
Show answer
Five. For N nodes you write N − 1 independent equations, because the last one follows from the others.