Kirchhoff’s Laws for voltages & currents
In a single loop, one current flows through every element. It is driven by the source and causes voltage drops , across , .
Each voltage arrow points to the higher-potential (+) end. On a resistor it therefore points against the current, as in Potential difference across a resistor.
Energy argument (lecture’s). In a time the battery does work (power × time, Power dissipated in a resistor (DC)) . All of this energy is lost in the resistors:
The generalisation is that the sum of the voltages round a closed loop is zero.
Going round any closed loop, each voltage is counted if it is a rise in the direction of travel and if it is a drop. The voltage rises and drops then sum to zero.
Show derivation
Basis: in a lumped circuit every node has a single potential (Electrostatic potential (difference); databook electrical p11, ).
This holds because no changing magnetic flux threads the loop outside the components: by databook p11, .
Go round the loop through nodes and back to . The voltage across the element between nodes and , counted as a rise in the direction of travel, is . The sum telescopes:
Closed loop is called a mesh
A mesh is a closed loop round a circuit. Strictly, it is a loop with no other loop inside it: one “window” of the circuit diagram.
The loop (purple) is travelled clockwise. Only points along the travel. , , , all point against it.
Walking clockwise from the − terminal of the left source:
- up through : a rise, ;
- through , , and the bottom source: each arrow points against the travel, so each is a drop.
The KVL equation is therefore , i.e. .
Note the direction of the arrows. The all-plus form holds when all the arrows point the same way round the loop. Then, if , the other voltages must sum to a negative number: some of them are negative.
Signs in KVL. Pick a direction of travel and stick to it.
- A voltage counts if its arrow (− to +) points along the travel and if it points against.
- Through a resistor in the direction of its current the potential drops, so that term is .
A negative answer only means the true polarity or current is opposite to the one assumed.
Explanation Does KVL ever fail?
KVL needs every node to have one well-defined potential. That fails only if a changing magnetic flux threads the loop itself (Faraday's law of electromagnetic induction).
In circuit models, all such flux is kept inside the inductors and represented by their voltage (Voltage across an inductor). KVL then holds round every loop, DC or AC.
- KVL: voltages round any closed loop (mesh) sum to zero. It is energy conservation: potential is single-valued.
- Walk one way round. Count a rise (arrow along the travel, − to +) as and a drop as . A resistor traversed along its current gives .
- A voltage arrow points to the + end; on a resistor it points against the current.
- A negative result just means the polarity or current is the other way.
Kirchhoff’s current law: charge is conserved
The current law rests on one premise: charge is conserved. The current flowing into any point of a circuit equals the current flowing out. Otherwise charge would accumulate there or be depleted.
This sum is taken with every current defined as flowing into the node. Equivalently, the current in equals the current out.
Show derivation
Basis: conservation of charge. This is an experimental law: no process creates or destroys net charge.
A node is a junction of ideal wires and stores no charge, so its charge is constant.
By the definition of current, (Electric current), the net current into the node is
Junctions are called nodes
A node is a junction where components meet. All points joined only by wire are the same node: they are at one potential.
Applying KCL node by node:
- at the first top node, splits into and ;
- at the next node, splits into and ;
- the bottom wire collects back to the source.
Hence for the parallel circuit:
With every current drawn into the node, .
KCL is the basis for nodal analysis, one of the most important tools for analysing circuits.
- The direction of each current may or may not be known in advance; it depends on the structure of the circuit.
- As long as a consistent approach is taken, the sum at a node is always zero. Either assume a direction for each current, or draw them all into the node and let the signs come out of the maths.
- Mesh and nodal analysis apply in exactly the same way to DC and AC circuits. For AC, use impedances in place of and complex voltages and currents (Ohm's law for impedance).
- KCL: the currents into a node sum to zero (charge is conserved; a node stores none).
- Node = junction. Everything joined by plain wire is one node, at one potential.
- Directions: guess them, or take all as into the node. Consistency is all that matters; the signs come out of the maths.
- Mesh (KVL) and nodal (KCL) analysis work identically for AC with instead of .
Find the voltage across the 2Ω resistor using Kirchhoff’s voltage law and current law
Problem. Find the voltage across the 2 Ω resistor below using (i) Kirchhoff’s voltage law and (ii) Kirchhoff’s current law.
circulates clockwise in the left mesh and anticlockwise in the right one. Both flow down through the 2 Ω resistor, so it carries .
Every component must have at least one independent mesh current passing through it. Here both and pass through the 2 Ω resistor.
Solution, using voltage law (Mesh current analysis)
Example Mesh analysis of the two-source circuit
Loop (start at ): go up through the 6 V source (a rise), across the 8 Ω (drop ), then down the 2 Ω (drop ):
Loop (start at ): go up through the 4 V source, across the 4 Ω (drop ), then down the 2 Ω:
Two simultaneous equations:
Tip: solve for the variable you need for the required answer.
To eliminate , take (i) (ii), or use your calculator:
Substituting back into (i): , so .
The required voltage is
A negative value for either current would just mean it flows in the opposite direction to the one assumed.
- Draw one mesh current in each mesh (window). Every component must have at least one mesh current through it.
- A component shared by two meshes carries the sum of the two mesh currents if they pass through it in the same direction, and the difference if they pass in opposite directions.
- Apply KVL round each mesh, with signs as in the KVL pitfall above.
- Solve the simultaneous equations. A negative current flows opposite to its arrow.
- One mesh current per window; every component needs at least one through it.
- A shared component carries the sum (same sense) or difference (opposite sense) of the mesh currents.
- One KVL equation per mesh. Solve for the variable you actually need (a calculator is fine).
- Worked answer: A, V.
Solution, using the current law (nodal analysis)
First, label the nodes. Always assign one node as zero volts (0 V, GND): here the bottom wire ––, which is a single node.
- Then is at 6 V and at 4 V, both fixed by the sources.
- The only unknown is .
The number of nodes tells us the number of variables we need.
The bottom node is the 0 V reference. and are drawn into node and out of it.
Example Nodal analysis of the two-source circuit
KCL at node . and go into the node; leaves it:
Each branch current follows from Ohm's law as (voltage at the start − voltage at the end)/:
Now solve for :
This agrees with the mesh result. As a check, A and A .
Nodal analysis was simpler here: one unknown against two for mesh analysis. The handout says nodal analysis always has one unknown fewer. That is not true in general: the ladder circuit below needs three unknowns either way. Count both before choosing.
- Label the nodes. Choose one as 0 V (GND).
- Nodes tied to GND (or to a known node) by a voltage source have known voltages.
- The remaining node voltages are the unknowns. Write KCL at each unknown node.
- Express each branch current through from node to node as . Either assume directions or take all currents as into the node.
- Solve for the node voltages, then find any current from them.
Write every branch current with the same rule: , with its arrow from “from” to “to”. Then KCL with consistent in/out signs looks after the signs automatically.
The usual mistake is to write for a current that is drawn into .
Each node is plotted at its potential (with V and V this gives V). Current in each resistor flows from the higher end to the lower, in proportion to the drop.
Raise to 12 V with V. then rises above , and turns negative: the current really flows from to .
Explanation How many unknowns does each method need?
Count nodes (each set of points joined by wire counts once) and branches (two-terminal elements).
- Mesh: mesh currents. For a circuit drawn flat, this equals the number of windows.
- Nodal: node voltages, minus one for each voltage source that fixes a node.
In this example the nodes are , , and ground, so . The branches are the two sources and the three resistors, so .
- Mesh: currents.
- Nodal: voltage, because and are fixed by the sources.
That is why nodal analysis won here.
- Pick a 0 V (GND) node. Nodes fixed by voltage sources are known.
- Unknowns are the remaining node voltages, with one KCL equation each.
- The branch current from to through is . Use it for every branch.
- Count the unknowns for mesh () and for nodal (free nodes) and choose the smaller.
Battery with internal resistance charged by a current source: nodal voltage analysis
Problem. A battery with emf and Internal resistance is charged by a current source with internal resistance (Real current source). Find the current flowing through the battery using nodal voltage analysis.
Node (the bottom wire, the same node as ) is 0 V, and node is at . The source pushes into node . There it splits into through and into the battery.
Nodal analysis of the battery charger
Example Battery current by nodal analysis
Always assign one node as 0 V: here .
The current source always provides into node , whatever the voltage there. As it goes into the node, it is taken as positive. KCL at :
The branch currents are
We need , so eliminate . From we get . Then substitute:
Rearrange to get the result in the box below.
and belong to the charger (source current and internal resistance). and belong to the battery (emf and internal resistance). means the battery is charging.
Show derivation
KCL at node with at 0 V (Kirchhoff's current law (KCL)): .
From Ohm's law across , , so .
Substitute:
Good tip: check units. Inside the bracket, is a current, like . The prefactor is dimensionless.
In this case the nodal route is a little more complicated. Is there another way to solve this circuit?
Explanation Reading the formula: superposition and limits
Expand the result:
- The first term is alone, with the battery emf shorted. It is the Current divider share of that goes through rather than .
- The second term is alone, with the current source open. The battery then drives current backwards round and in series.
- The battery charges only if .
Limits:
- (ideal current source): .
- : . The battery clamps , and takes of the source current.
- A current source sends into its node regardless of voltage: it enters KCL as .
- To find , eliminate the node voltage using .
- Check the units: is a current.
- The battery charges only if .
Thévenin and Norton approach to the battery charging problem
The principles of Thévenin and Norton (Thévenin theorem, Norton's theorem; replacing part of a circuit, Superposition (replacing part of a circuit)) can also solve the problem. First calculate the Thévenin equivalent of the part circled in the handout: the current source and .
Thévenin equivalent of the charger
The current source in parallel with is equivalent to a source in series with .
Show derivation
This is the Norton-to-Thévenin conversion (Converting between Thévenin and Norton).
- Open circuit: with nothing connected, all of flows through . The terminal voltage is .
- Source killed: an ideal current source becomes an open circuit, leaving alone between the terminals. So .
After the replacement, the whole circuit is a single loop.
Example Battery current by Thévenin
Hence for every circuit there are many options. Sometimes the engineer has to try different options to see which works best. Usually there are hints in the problem (compare Which equivalent to use).
Things to try:
- Move through : the battery current changes sign (charging only when ).
- Increase : the slope tends to 1, which is the ideal current source.
- A current source in parallel with is equivalent to in series with .
- The charging problem then collapses to one loop: .
- There are many routes to the same answer (mesh, nodal, Thévenin/Norton). Look for hints in the question.
More complex circuits: mesh analysis
For more complex circuits, Kirchhoff’s laws can be used in a variety of ways. The ladder below needs 3 mesh currents for mesh analysis, or 3 unknown node voltages for nodal analysis, so either method works. Here we use mesh analysis.
All three mesh currents circulate clockwise. is shared by loops 1 and 2 and carries downwards. is shared by loops 2 and 3 and carries downwards.
These are three equations in three unknowns, similar in size to nodal analysis.
Show derivation
Apply Kirchhoff's voltage law (KVL) round each mesh, clockwise, with Ohm's law for every resistor.
- In a resistor that only one mesh current passes through, travelling with that current gives a drop .
- In a shared resistor the two clockwise mesh currents flow in opposite directions. The net current in the direction of travel is (own current − neighbour’s current), and the drop is that net current times .
- Loop 1: rise through the source, drop , drop .
- Loop 2: drop ; carries in the direction of travel; carries (upwards) in the direction of travel.
- Loop 3: drops and ; carries (upwards) in the direction of travel.
Explanation Writing mesh equations straight into matrix form
Collect terms in each equation:
- each diagonal entry is the total resistance round that mesh;
- each off-diagonal entry is minus the resistance shared by the two meshes;
- the right-hand side is the net source rise in each mesh.
The matrix is symmetric, which is a quick check. Solve with Cramer's rule (3 × 3) or your calculator.
Loops/meshes must be independent of each other
(dashed) runs round the outer loop and round loop 2. Every component has a current through it. But this is only 2 loops where 3 are needed, and it forces and to carry the same current . That is wrong in general.
- Use as many loop currents as there are meshes (windows): for branches and nodes.
- The loops must be independent: no loop’s KVL equation may be obtainable by combining the others.
- Too few loops leave unknowns missing and impose false constraints. Too many give a redundant equation.
- Using the windows of the diagram always gives a valid independent set.
Show derivation not required
Each branch has one unknown current, giving unknowns.
KCL at the nodes gives only independent equations: the last node’s equation is the sum of the others. That leaves currents that KCL cannot fix, and each needs its own independent KVL equation.
A mesh current automatically satisfies KCL, because it enters and leaves every node it passes. So exactly independent mesh currents are needed.
For the ladder: (source top, two upper junctions, the – corner, and the bottom wire) and , so .
For a circuit drawn without crossings, Euler’s formula for planar graphs makes the number of windows.
Maybe you need no mesh analysis at all. Are and not a Potential divider? They carry the same current, so they are in series (Impedances in series).
This means the ladder can be reduced step by step from the right:
- is in parallel with .
- Add in series, then put the result in parallel with .
- Add in series.
This gives without solving three simultaneous equations. The internal voltages then follow from potential dividers.
- Mesh equation: (own current × total resistance of the mesh) − (neighbour’s current × shared resistance) = source rise in the mesh.
- Number of mesh currents = number of windows = . The loops must be independent.
- Covering every component is not enough: the outer loop plus loop 2 misses an equation.
- Before setting up equations, look for series/parallel reductions and potential dividers (e.g. and ).
Example: the bridge circuits
A bridge is used in instrumentation to measure a resistance or impedance. It has four arms: , , and the unknown .
- The source is connected across one diagonal.
- A detector across the other diagonal connects the two sides of the bridge. It is an ammeter or voltmeter (G), or sometimes (M).
All bridges have this same basic symmetry. The Wheatstone bridge measures resistance; the Wien and Maxwell bridges measure impedances.
At balance there is no current through G, and the two ends of G (the two sides of the bridge) are at the same voltage. can be derived from the other arms so as to achieve this balance.
Where it comes from
This is a definition: “balanced” means the detector reads zero.
The two statements are equivalent because the detector has a finite, non-zero impedance . By Ohm's law for impedance, the current through it is , which is zero exactly when the two ends are at the same voltage.
circulates through the source loop. The two meshes on either side of G both circulate clockwise, so they pass through G in opposite directions.
Only two currents are needed. At the balance point is the same in both triangle loops, so the two contributions cancel through G.
Explanation Why can both triangle meshes be called i₁?
In general the upper and lower meshes carry different currents, say and . G then carries (or , depending on the arrow).
Balance means that current is zero, so . Naming both is the balance condition imposed on the mesh currents. It cuts the unknowns from three to two.
- A bridge has four arms , , , , the source across one diagonal and the detector G across the other.
- Balance: no current through G, equivalently both ends of G at the same voltage.
- In mesh terms, at balance the meshes either side of G carry the same current , leaving two unknowns , .
- Wheatstone → resistance; Maxwell and Wien → impedance.
Bridge balance condition for ZX
The bridge has four arms: (top left), (top right), (bottom left) and the unknown (bottom right). The source is across the vertical diagonal and the detector G across the horizontal one (Bridge circuit). Balance means no current through G (Balance point). This section finds the value of that achieves balance, in two ways.
Mesh analysis at balance
Use the mesh currents of Bridge with mesh currents:
- circulates clockwise in the source mesh;
- at balance, the same circulates clockwise in both the top and the bottom triangle meshes.
The two contributions cancel in G, so G carries no current and has no voltage across it. G therefore drops out of both equations.
is the (equal) current in both triangle meshes and the source-mesh current. Each equation is KVL round one triangle, travelled clockwise.
Show derivation
Apply Kirchhoff's voltage law (KVL) clockwise round each triangle mesh, with Ohm's law for impedance for every arm.
Top loop: start at the left node, go up through to the top vertex, down through to the right node, then back through G.
- belongs only to this mesh. Travelling with gives a drop .
- is shared with the source mesh. There, flows clockwise, i.e. down through , while flows up through it. The net current in the direction of travel is , giving a drop .
- G carries at balance, so it has no voltage across it.
Bottom loop: start at the left node, go right through G, down through to the bottom vertex, then up through back to the left node.
- gives a drop .
- In , flows up while flows down. The net current in the direction of travel is , giving a drop .
- G again contributes nothing.
Neither loop contains a source, so the drops sum to zero.
Rearranging each equation for and equating the two expressions gives the balance condition.
At balance the products of opposite arms are equal: is opposite , and is opposite . The condition holds for resistances (DC) and for complex impedances (AC).
Show derivation
Start from Bridge mesh equations at balance.
Top loop: , so
Bottom loop: , so
Equate the two expressions for and cancel . This is allowed because whenever the bridge is driven.
Different bridges (and different questions) label the arms differently. Don’t memorise “” blindly. Use the rule instead: at balance, the products of opposite arms are equal. Opposite means the two arms that share no corner.
- At balance both triangle meshes carry the same , so G carries no current and drops out of the equations.
- KVL clockwise round the top and bottom triangles. The shared arms (, ) carry . Solve each equation for and equate.
- Remember the rule (products of opposite arms equal; opposite = no shared corner), not a labelled formula: questions label the arms differently.
- Holds for resistances (DC) and complex impedances (AC).
The bridge as a pair of potential dividers
Another way is to think of the bridge as an identical pair of potential dividers.
- At balance no current flows through G.
- So and carry the same current: they are in series across and form one divider. Likewise and form the other.
- Balance means both ends of G are at the same voltage. The two dividers must therefore split in the same ratio.
The left divider is over and the right divider is over (purple outlines).
- is the voltage across : the potential of the left end of G, measured from the bottom vertex.
- is the voltage across : the potential of the right end of G.
- At balance .
Left: fraction of across . Right: fraction of across .
Show derivation
With no current in G, each side is a two-element series chain across . By Potential divider (in impedance form, Impedances in series):
Cross-multiplying gives the Bridge balance condition again, with less algebra than the mesh method:
All arms are resistive, as in a Wheatstone bridge. The curve shows the voltage across G with the detector removed, plotted against the unknown arm.
- Drag until the point sits on the dashed line: there , at exactly .
- Then change , or and see where the balance point moves.
Explanation Why doesn’t the source voltage (or the detector) appear in the condition?
Both sides of the bridge divide the same . Balance compares two ratios, and cancels: a drifting or unknown supply does not change the balance point.
The detector impedance never enters either, because at balance its current, and the voltage across it, are zero. Off balance, does affect how much current G reads.
This is why bridges are accurate. They are null measurements: you only need to detect zero, not to measure a value precisely. then comes from the known arms alone.
Explanation What does the condition mean when the arms are complex impedances?
is one complex equation, so it is two real conditions. Using Multiplication in polar form, both of these must hold:
Equivalently, the real parts and the imaginary parts must match separately. An AC bridge therefore generally needs two independent adjustments to null completely.
- Divider route: no current in G means each side is a potential divider across . Balance means equal ratios: . Cross-multiply to get .
- The balance point is independent of and of the detector: it is a null measurement.
- For complex , the condition is two real conditions (real and imaginary parts, or magnitude and phase).