A circuit that series and parallel cannot solve
Look at the circuit below. It has two batteries, a 12 V one on the left and an 8 V one on the right, and three resistors. Here is the question. How much current flows through each battery, and which way?
Try the method from the last lecture: "combine the innermost group first". It fails at once. The 2 Ω and the 6 Ω are not in series, because the current can split at the junction between them. They are not in parallel either, because there is a battery in the left branch. No two resistors here can be combined. The rules for series and parallel have nothing to say.
And there is a real puzzle in the answer. You might expect both batteries to push current up and out of their positive terminals. But the 12 V battery is stronger. It might push current backwards through the 8 V battery. Which one wins?
The last lecture promised that its two facts, "charge is conserved" and "energy is conserved", can solve circuits like this, where no groups can be combined. It also promised to give them their usual names. Here they are: Kirchhoff's laws. Gustav Kirchhoff wrote them down in 1845, while he was still a student at the University of Königsberg, as an exercise in his professor's seminar. (Source: Wikipedia, "Gustav Kirchhoff"; IEEE Circuits and Systems Magazine, 2023.) There is nothing new in the physics. What is new is a method that works for every circuit.
The first law: what goes into a junction comes out
A junction is a point where three or more wires meet, so that the current can split or join. In the last lecture you saw why charge cannot pile up anywhere in a steady circuit. If more charge arrived at a junction each second than left it, charge would build up there and push back on the charge arriving. So the flow in and the flow out must be equal.
At any junction, the total current flowing in equals the total current flowing out.
. This is conservation of charge.
The symbol (the Greek capital letter sigma) means "the sum of". Some books call this law KCL, for "Kirchhoff's current law".
In the opening circuit, the guessed currents and both arrive at the top junction, and leaves it. So the junction rule gives the first equation:
The bottom junction gives the same equation again, with in and out swapped. So it adds nothing new. In general, one junction in a circuit always repeats what the others have said.
The second law: round a loop, the potential comes back to where it started
A loop is any closed path round a circuit that ends where it began. The second fact from the last lecture was about energy. Every point in a circuit has a potential. A coulomb of charge that goes once round a loop ends where it started, at the same potential. So all the rises in potential round the loop must exactly cancel all the falls.
Where are the rises and the falls? A battery raises the potential of each coulomb that passes through it from its negative terminal to its positive terminal. The energy it gives each coulomb is its electromotive force, or e.m.f., with symbol (the Greek letter epsilon). It is measured in volts, because 1 V = 1 J/C. Despite its name, the e.m.f. is not a force. It is energy per coulomb. Some books write it as . A resistor lowers the potential by in the direction the current flows, because the charge transfers energy there.
Round any closed loop, the sum of the e.m.f.s equals the sum of the p.d.s across the resistors.
. Equivalently, the changes in potential round any loop add up to zero. This is conservation of energy.
Some books call this law KVL, for "Kirchhoff's voltage law". To use it, walk round the loop in one direction and keep track of the potential, like walking round a hill path and counting every step up and every step down. Four rules cover every step.
| As you walk across… | The potential… | Because… |
|---|---|---|
| a battery, from − to + | rises by | the battery lifts each coulomb by |
| a battery, from + to − | falls by | you are going down the same step |
| a resistor, in the direction of your current arrow | falls by | current flows from high potential to low |
| a resistor, against your current arrow | rises by | you are walking uphill, against the flow |
Do not learn the four rows as a list. Each one comes from the same picture: current flows downhill through a resistor, and a battery is a step up from − to +. If you can see the hill, you can rebuild the table.
That is it. That is the whole idea. The junction rule counts charge. The loop rule counts energy. Every circuit, however tangled, obeys both.
Solving the opening circuit
Now use the two laws on the circuit with two batteries. Step through the method below, one move at a time.
Press Next to add one step. Read the reason before you go on.
Each step gives one line of the solution for the opening circuit and the reason it is allowed.
- Guess the directions: I₁ up through the 12 V battery, I₂ up through the 8 V battery, I₃ down through the 6 Ω resistor. (Any guess works; a wrong guess just gives a negative answer.)
- Junction rule at the top junction: I₁ + I₂ = I₃. (I₁ and I₂ arrive, I₃ leaves; charge cannot pile up.)
- Loop rule, left loop: 12 = 2I₁ + 6I₃. (Walking with the arrows, the battery is a rise of 12 V and each resistor is a fall of I × R.)
- Loop rule, right loop: 8 = 4I₂ + 6I₃. (The same walk on the right-hand side.)
- Put I₃ = I₁ + I₂ into both: 8I₁ + 6I₂ = 12 and 6I₁ + 10I₂ = 8. (Two equations, two unknowns.)
- Solve: I₂ = −2/11 A ≈ −0.18 A, then I₁ = 18/11 A ≈ 1.64 A. (Multiply by 3 and by 4, then subtract: 22I₂ = −4.)
- I₃ = I₁ + I₂ = 16/11 A ≈ 1.45 A. (From the junction rule.)
I₂ is negative, so about 0.18 A flows down through the 8 V battery, into its positive terminal. The 12 V battery is pushing current backwards through the 8 V battery.
So the 12 V battery wins. About 0.18 A flows the "wrong" way through the 8 V battery, in at its positive terminal and out at its negative terminal. Charge passing through it backwards loses energy: the 8 V battery is taking in energy, not giving it out. If it is a rechargeable battery, it is being charged. This is exactly how a charger works: a higher e.m.f. drives current backwards through the battery being charged.
There is a quick check. Every branch connects the same two junctions, so every branch must show the same p.d. between them. Through the middle: V. Through the left: V. Through the right: V. All three agree. ✓
Notice that the exact fractions were kept until the end. Rounding to −0.18 A before using it makes the check come out about 0.04 V wrong. The physics is not wrong in that case. The rounding is.
A student gets A and says: "A current cannot be negative. I must have made a mistake. I will start again with I₂ pointing down." Is the student right?
Show the answer
No. There is no mistake. The minus sign is the answer telling you that your guessed direction was wrong. The current is 0.18 A, flowing opposite to the arrow you drew. Starting again with the arrow reversed would give +0.18 A and exactly the same physics. The one thing you must never do is change an arrow halfway through, after some equations have used it. Choose every direction once, at the start, and let the algebra correct you.
Change the second battery
The 8 V battery was being charged. What would it take for it to give out current instead? Try it below. Change the e.m.f. of the right-hand battery and watch all three currents.
The left battery is 12 V and the resistors are 2 Ω, 6 Ω and 4 Ω. Change the e.m.f. of the right-hand battery. Watch the current through it shrink, stop and reverse.
Try:
This table shows the three currents in the opening circuit for several values of the right-hand battery's e.m.f. ε₂. A positive I₂ means current flows up and out of the right-hand battery's positive terminal. A negative I₂ means it flows backwards, and the battery is being charged.
| ε₂ (V) | I₁ (A) | I₂ (A) | I₃ (A) | Right-hand battery |
|---|---|---|---|---|
| 0 | 2.73 | −1.64 | 1.09 | a plain wire: current flows down it |
| 8 | 1.64 | −0.18 | 1.45 | being charged |
| 9 | 1.50 | 0 | 1.50 | no current at all |
| 12 | 1.09 | 0.55 | 1.64 | giving out current |
| 16 | 0.55 | 1.27 | 1.82 | giving out current |
At exactly 9 V, no current flows through the right-hand battery. Below 9 V it is charged; above 9 V it gives out current.
You should have found a special value: 9 V. At 9 V, no current flows through the right-hand battery at all. Here is why. With the right-hand branch carrying no current, the 12 V battery drives current only through the 2 Ω and the 6 Ω, in series: A. The p.d. across the 6 Ω is then V. The right-hand branch sits across the same two junctions, so it has 9 V across it too. A 9 V battery there pushes up exactly as hard as the circuit pushes down, so nothing flows. Below 9 V, the circuit wins and charges it. Above 9 V, the battery wins and gives out current. At 0 V, the battery is just a wire, and the circuit becomes an ordinary series and parallel circuit. You can check that A.
Worked examples
A 9.0 V battery is connected in series with resistors of 4.0 Ω, 4.0 Ω and 1.0 Ω. Find the current, using the loop rule.
Think first. There is only one loop and no junction, so there is one current, . Walk round with the current: up 9.0 V through the battery, then down through each resistor.
Check. The series rule from the last lecture gives Ω and A. ✓ For one loop, the loop rule is the series rule.
A 12 V battery and a 3.0 V battery are in one loop, with their positive terminals facing each other, and resistors of 3.0 Ω and 6.0 Ω. Find the current and its direction.
Think first. Guess that the current flows out of the 12 V battery's positive terminal. Walk round in that direction. You go up 12 V through the 12 V battery. Through the 3.0 V battery you go from + to −, which is a fall of 3.0 V.
Check. is positive, so the guess was right: the 12 V battery wins. Opposing e.m.f.s subtract. If the 3.0 V battery were turned round, the e.m.f.s would add: A. ✓
A 6.0 V battery is connected across two resistors in parallel, 3.0 Ω and 6.0 Ω. Use Kirchhoff's laws to find every current, and show that they agree with the parallel rule.
Think first. Call the battery current , and the branch currents (3.0 Ω) and (6.0 Ω). There are two small loops, each containing the battery and one resistor.
Loop through the 3.0 Ω: , so A. Loop through the 6.0 Ω: , so A. Junction rule: A.
Check. The parallel rule gives Ω and A. ✓ The series and parallel rules are not separate laws. They are Kirchhoff's two laws, used on circuits simple enough to have shortcuts.
Three traps
The fall is "a fall" only when you walk across the resistor in the direction of your arrow for that current. When your loop crosses a resistor against its arrow, the potential rises by . In the right loop of the opening circuit, walking round the other way, against the arrows, gives : the same equation, multiplied by −1. Choose a direction for the walk, and look at each arrow as you cross it.
Once a current has an arrow, every equation must use that same arrow. If you draw upward for the junction rule and downward for a loop, the equations describe two different circuits, and the answer is meaningless. A negative answer is not a reason to change an arrow. It is the answer.
The opening circuit has a third loop: the outside path through both batteries, 2 Ω and 4 Ω. Its equation, , is just the left loop minus the right loop. It adds no new information. You need as many independent equations as there are unknown currents: here, one junction and two loops for three currents.
Work each one on paper first. Open a hint only when you are stuck.
-
(a) Currents of 2.5 A and 0.8 A flow into a junction. One wire carries 1.9 A out. Find the current in the fourth wire. (b) At another junction, 3.0 A flows in, and 1.0 A and 2.5 A flow out. A fourth wire carries a current , drawn as flowing out. Find , and say what its sign means.
Hint 1
Total in = total out at every junction.
Hint 2
For (b), write .
Full answer
(a) In: A. Out so far: 1.9 A. So the fourth wire carries A out. Check: . ✓ (b) , so A. The minus sign means the guessed direction was wrong: 0.5 A flows into the junction along that wire. Check: in , out . ✓
-
A 9.0 V battery and a 1.5 V battery are in one loop, with their positive terminals facing each other, and resistors of 5.0 Ω and 2.5 Ω. (a) Find the current. (b) Find the p.d. across the 5.0 Ω resistor. (c) Find the current if the 1.5 V battery is turned round.
Hint 1
Facing batteries oppose each other, so their e.m.f.s subtract.
Hint 2
.
Full answer
(a) , so A, out of the 9.0 V battery's positive terminal. (b) V. (c) Now the e.m.f.s add: , so A. Check (a): the potential rises 9.0 V, falls 1.5 V, 5.0 V and 2.5 V: . ✓
-
In the opening circuit, the 8 V battery is turned round, so that its positive terminal faces down. Keep the same arrows for , and . Find all three currents.
Hint 1
Only the right loop changes. Walking up the right branch with the arrow, you now cross the battery from + to −.
Hint 2
The right loop becomes . With , the equations are and .
Full answer
Multiply by 3 and by 4: and . Subtract: , so A. Then , so A, and A. Now both batteries push current round the outer loop the same way, so the currents are much bigger. Check: p.d. across the 6 Ω is V; through the left branch, V. ✓
-
A stretch. A 12 V battery is connected across two paths in parallel. Path 1 has 100 Ω on top of 200 Ω, joined at point P. Path 2 has 150 Ω on top of 300 Ω, joined at point Q. A sensitive meter is connected between P and Q. (a) Show that no current flows through the meter. (b) The 300 Ω is replaced by 330 Ω. Which way does current now flow through the meter?
Hint 1
If no current flows through the meter, each path is a simple series pair. Find the potential at P and at Q, measured from the battery's negative terminal.
Hint 2
The bottom resistor of each path takes its share of the 12 V: .
Full answer
(a) Path 1: V. Path 2: V. P and Q are at the same potential, so there is no p.d. across the meter, and no current flows through it. The guess "no current" is consistent with both of Kirchhoff's laws, so it is the answer. This arrangement is called a Wheatstone bridge, and it is "balanced" because . (b) V, now higher than V. Current flows from high potential to low, so it flows through the meter from Q to P. Check: a tiny change in one resistor gives a clear 0.25 V difference, which is why the bridge is used to measure resistance very precisely. ✓
Kirchhoff's laws turn any circuit into a set of equations. Two batteries and three resistors gave three equations. A phone's processor has billions of transistors, and its designers cannot build a test chip for every idea. So they let a computer write and solve the equations instead. In April 1973, Laurence Nagel and Donald Pederson of the University of California, Berkeley presented a program called SPICE. It builds the equations for a circuit from the junction rule at every junction, and then solves them. (Sources: L. W. Nagel and D. O. Pederson, SPICE, Berkeley memorandum UCB/ERL M382, April 1973; Wikipedia, "SPICE".) Programs that grew from it are still used to test chip designs before they are built.
There is something worth noticing here. The laws inside those programs are the two facts you have used since the first circuit lecture: charge does not pile up, and energy is not lost. The method grew from one student's seminar exercise into the way every modern circuit is designed. The physics underneath has not changed. The next lecture uses the loop rule on something inside every real battery: a small resistance of its own, which explains why a battery's p.d. falls when it delivers a large current.
- Kirchhoff's first law says that the total current into any junction equals the total current out, because charge is conserved.
- Kirchhoff's second law says that round any closed loop the e.m.f.s add up to the p.d.s across the resistors, because energy is conserved.
- The e.m.f. of a battery is the energy it gives each coulomb, in volts, and it is not a force.
- A guessed current direction is never wrong in a way that matters, because a negative answer means the current flows the other way.
- A circuit needs as many independent equations as unknown currents, and one junction and one loop always repeat what the others say.
- The series and parallel rules are Kirchhoff's two laws applied to circuits simple enough to have shortcuts.