Basic DC circuits · tree view
KVL and KCL turn any network — including ones with no series or parallel structure at all — into a set of simultaneous equations you can solve systematically by branch-current, mesh-current, or node-voltage methods.
Kirchhoff's Current Law (KCL) tells us that the algebraic sum of currents entering and exiting a node must equal zero, so we can relate these three currents (I1, I2, and I3) to each other in a single equation.
Kirchhoff's Voltage Law (KVL) tells us that the algebraic sum of all voltages in a loop must equal zero, so we can create more equations with current terms (I1, I2, and I3) for our simultaneous equations.
Kirchhoff’s first rule—the junction rule. The sum of all currents entering a junction must equal the sum of all currents leaving the junction:
Kirchhoff’s second rule—the loop rule. The algebraic sum of changes in potential around any closed circuit path (loop) must be zero:
KVL simply states that if I have some circuit, and if I measured the voltages in any loop in the circuit, so if I look at the voltages in any loop, then the voltages in the loop would sum to zero.
OK, so if I take any node of the circuit and sum up all the currents going into that node, they will all net sum to zero.
By algebraic, I mean accounting for signs (polarities) as well as magnitudes. By loop, I mean any path traced from one point in a circuit around to other points in that circuit, and finally back to the initial point.
Fortunately, if it turns out that any of our guesses were wrong, we will know when we mathematically solve for the currents (any “wrong” current directions will show up as negative numbers in our solution).
The strangest part of the Mesh Current method is envisioning circulating currents in each of the loops. In fact, this method gets its name from the idea of these currents meshing together between loops like sets of spinning gears:
Standard two-source network (see diagram): battery E1 on the left (plus terminal up), R1 across the top-left, R3 as the middle branch between node A (top) and node B (bottom), R2 across the top-right, battery E2 on the right (plus terminal up). Take B as ground (0 V). Arrows: I1 through R1 into A, I2 through R2 into A, I3 down through R3. A negative result means the real current flows opposite its arrow.
To predict the outcome:
| network | E1 | E2 | R1, R2, R3 | node A voltage | I through R1 | I through R2 | I down R3 |
|---|---|---|---|---|---|---|---|
| A | 9 V | 3 V | 1 kΩ, 1 kΩ, 1 kΩ | 4 V | 5 mA | −1 mA (really 1 mA from A toward E2) | 4 mA |
| B | 10 V | 5 V | 2 kΩ, 1 kΩ, 2 kΩ | 5 V | 2.5 mA | 0 mA (E2 exactly balances node A) | 2.5 mA |
| C | 15 V | 5 V | 1 kΩ, 2 kΩ, 1 kΩ | 7 V | 8 mA | −1 mA (really 1 mA from A toward E2) | 7 mA |
Use network A (E1 = 9 V, E2 = 3 V, all resistors 1 kΩ). Flip the sign of E2 in the right-loop KVL walk — treating the battery as a drop instead of a rise. The equations still solve cleanly and even pass KCL, because you have silently solved a different circuit: the same network with that battery reversed. Only checking against the real circuit catches it.
To predict the outcome:
| quantity | flipped-sign prediction | real circuit | comment |
|---|---|---|---|
| node A voltage | 2 V | 4 V | both solutions are internally consistent — meters tell them apart |
| I through R1 (toward A) | 7 mA | 5 mA | flipped circuit passes KCL: 7 mA = 5 mA + 2 mA |
| I through R2 (from A toward E2) | 5 mA | 1 mA | the E2 branch carries 5× its real current in the flipped solution |
| I down R3 | 2 mA | 4 mA | real circuit also passes KCL: 5 mA = 1 mA + 4 mA — arithmetic alone can't flag the error |