Sub topic 6
Kirchhoff's current law: currents at a node
This chapter assumes you know Ohm's law (V = I R), can read a simple schematic, and have met series and parallel resistors. Kirchhoff's current law (KCL) is the second rule you need to derive the current divider in the next chapter.
The law
A node is a point where two or more circuit elements connect. Charge does not pile up at a node in a resistive circuit, so the current flowing in must equal the current flowing out.
KCL states that the algebraic sum of the currents at a node is zero:
Σ Iin = Σ Iout
Choose a sign convention and keep it. A common one counts currents entering the node as positive and currents leaving as negative. Then the sum of all terms is zero.
For this node, I1 = I2 + I3.
Why it holds
KCL expresses conservation of charge. If more current entered a node than left it, charge would accumulate there and the node's voltage would rise without limit. In ordinary lumped circuits, a node cannot store charge, so the currents balance at every instant.
Using KCL with Ohm's law
KCL becomes useful when you write each branch current with Ohm's law. Suppose a node at voltage Vnode (measured from ground) is fed from a source Vs through R1 and drains through R2 and R3 to ground.
- Write the current in through R1: (Vs − Vnode) / R1.
- Write the currents out: Vnode / R2 and Vnode / R3.
- Set in equal to out and solve for V_node.
The sum has one unknown, V_node, so the algebra is short. This approach is called nodal analysis.
The next chapter uses a simpler case. Two resistors in parallel share the same voltage V, so I1 = V / R1 and I2 = V / R2. KCL says the total current is I_total = I1 + I2. That fact, together with the shared voltage, gives the current divider rule.
A numeric check
The function below solves for a node voltage by applying KCL, then checks that the currents balance.
def node_voltage(vs, r1, r2, r3):
"""Source vs feeds a node through r1. r2 and r3 connect the node to ground."""
g1, g2, g3 = 1.0 / r1, 1.0 / r2, 1.0 / r3
# KCL: (vs - v) * g1 = v * g2 + v * g3
return vs * g1 / (g1 + g2 + g3)
vs, r1, r2, r3 = 12.0, 1_000, 2_000, 2_000
v = node_voltage(vs, r1, r2, r3)
i_in = (vs - v) / r1
i_out = v / r2 + v / r3
print(v) # 6.0 volts
print(i_in, i_out) # 0.006 0.006 amperesThe node sits at 6 V. Each 2 kΩ resistor carries 3 mA, and together they carry the 6 mA that R1 delivers.
Common errors
- Mixed sign conventions. Pick "into the node is positive" and apply it to every branch. Changing it halfway gives a wrong equation.
- Guessing a current direction wrongly. This is not an error in itself. If the solved current comes out negative, the real current flows opposite to your arrow.
- Forgetting a branch. Every element touching the node contributes a term, including a load or a meter.
- Using KCL on a wire that is not a node. Along a single wire with no junction, the same current simply continues.
Exercise
A node has three branches. Branch A brings 5 mA into the node, and branch B takes 2 mA out of it. What current does branch C carry, and in which direction?
Show answer
KCL requires inflow to equal outflow. Inflow is 5 mA, and B takes out 2 mA, so C must take out the remaining 3 mA. Branch C carries 3 mA leaving the node.
Exercise
A 9 V source feeds a node through a 3 kΩ resistor. From the node, a 6 kΩ resistor and a 6 kΩ resistor go to ground. Find the node voltage and the current through the 3 kΩ resistor.
Show answer
The two 6 kΩ resistors in parallel make 3 kΩ. The node voltage is 9 × 3 / (3 + 3) = 4.5 V. The current through the 3 kΩ source resistor is (9 − 4.5) / 3000 = 1.5 mA.