Home / Electricity & Magnetism / Kirchhoff's Laws

Kirchhoff's Laws: Two-Battery Circuit

JEEWBJEE
Node voltage: 0 V I₁+I₂: 0 A I₃: 0 A KCL satisfied

The physics

This circuit has two batteries feeding a shared resistor between the same two nodes — a genuine two-loop problem that needs both of Kirchhoff's laws together, not just simple series/parallel reduction.

KCL (junction rule): I₁ + I₂ = I₃  (current in = current out at the node)
KVL (loop rule), applied via nodal analysis: V_A = (E₁/R₁ + E₂/R₂) / (1/R₁ + 1/R₂ + 1/R₃)
Branch currents: I₁ = (E₁ − V_A)/R₁  I₂ = (E₂ − V_A)/R₂  I₃ = V_A/R₃

This simulation solves the actual node voltage from your chosen E₁, E₂, R₁, R₂, R₃ — the KCL check readout isn't hardcoded to match, it's computed independently from I₁, I₂, I₃ and will only agree if the underlying physics is self-consistent (which it always is).

Exam tip: a common JEE/WBJEE mistake is assuming current always flows from the higher-EMF battery's positive terminal outward — but if that battery's resistance is much larger, the other battery can dominate the branch currents instead. Try equal EMFs with very different resistances to see this.

Sample data: branch currents for different values of the middle resistor

Two batteries (E₁ = 12 V, E₂ = 6 V, with R₁ = 2 Ω and R₂ = 3 Ω) feed a common resistor R₃. The node voltage is V_A = (E₁/R₁ + E₂/R₂)/(1/R₁ + 1/R₂ + 1/R₃).

R₃Node voltage V_AI₁I₂I₃I₁ + I₂ − I₃
2 Ω6.000 V3.000 A0.000 A3.000 A0.000
6 Ω8.000 V2.000 A−0.667 A1.333 A0.000
12 Ω8.727 V1.636 A−0.909 A0.727 A0.000

Conditions: ideal cells, E₁ = 12 V, E₂ = 6 V, R₁ = 2 Ω, R₂ = 3 Ω. A negative current flows opposite to the assumed direction.

Notice: the last column is 0 in every row, which is Kirchhoff's current law. The current I₂ is negative in the R₃ = 6 Ω case (−0.667 A), meaning the weaker 6 V cell is being pushed backwards, charged by the 12 V cell.

Quick answers

What is Kirchhoff's current law (KCL)?
The algebraic sum of the currents at a junction is zero: current in equals current out. It expresses conservation of charge.
What is Kirchhoff's voltage law (KVL)?
The algebraic sum of the potential differences around any closed loop is zero. It expresses conservation of energy.
What is the sign convention for KVL?
Going along the current through a resistor is a drop, −IR. Going through a battery from the negative to the positive terminal is a rise, +ε. Reverse the direction and the signs reverse.
When do we need Kirchhoff's laws?
When a network cannot be reduced by series and parallel rules alone, for example two batteries in different branches or a bridge circuit.

🎯 Practice Zone

Puzzle 1. ⚖️ Kirchhoff's Current Law (KCL) says current into a junction equals current out. Why must this always be true, for any circuit whatsoever?

This is a direct statement of charge conservation applied to a single point in the circuit. A junction itself cannot store charge (it's just a wire connection point, not a capacitor or battery) — so any charge flowing in during a given time interval must have somewhere to go, and the only place is out through the other connected wires. If current-in didn't equal current-out, charge would be either accumulating or vanishing at that single point, which never happens in a standard circuit.

Puzzle 2. 🔄 Kirchhoff's Voltage Law (KVL) says the sum of voltage changes around any closed loop equals zero. What's the deeper physical principle behind this rule?

KVL is a statement of energy conservation, applied to electric potential specifically. Voltage (electric potential) is a well-defined property of each point in the circuit — if you travel around any closed loop and return to your exact starting point, your potential must return to its original value too (potential is path-independent, like altitude on a map). Any net nonzero sum around a loop would mean you've gained or lost potential energy just by returning to where you started, which is physically impossible for a conservative field like the electrostatic field.

Puzzle 3. 🔋 In a circuit with two batteries of different EMFs connected in the same loop but opposing directions, can current actually flow "backward" through the weaker battery (from its positive terminal, through the battery, to its negative terminal)?

Yes — this genuinely happens, and it's an important, sometimes-overlooked case. If the stronger battery's EMF dominates the loop, it can force current to flow through the weaker battery in the "reverse" direction relative to that weaker battery's own polarity. Physically, this means the weaker battery is being charged (having current forced through it against its natural driving direction) rather than discharging — exactly what happens, for instance, when jump-starting a car with a stronger external battery.

Puzzle 4. 🧮 Why does solving a circuit with multiple loops and batteries typically require setting up and solving several simultaneous equations, rather than one simple formula?

Each unknown current (or mesh current) in a multi-loop circuit genuinely depends on ALL the other currents simultaneously, through the shared resistors and the interconnected KVL/KCL constraints — there's no way to solve for one current in isolation without knowing the others first. This mutual interdependency is exactly why systematic methods (mesh analysis, nodal analysis) that set up the FULL system of equations before solving are necessary for anything beyond the simplest series/parallel circuits.

Puzzle 5. ➕ If you had guessed the wrong direction for a current when setting up your KCL/KVL equations, would your final numerical answer for that current still be correct?

Yes — this is one of the most reassuring features of the systematic Kirchhoff's-law approach. If you assume the wrong direction for an unknown current, solving the equations correctly will simply produce a negative value for that current, which tells you unambiguously that the actual current flows opposite to your original assumed direction. The magnitude will still be exactly correct — you never need to guess directions correctly in advance, just be consistent throughout your equations.

Problem 1 (NEET level). 📘 A 12V battery drives current through R₁=2Ω in series with a parallel combination of R₂=4Ω and R₃=6Ω. Find the total current from the battery.

R_parallel = (R₂R₃)/(R₂+R₃) = (4×6)/10 = 2.4Ω
R_total = R₁+R_parallel = 2+2.4 = 4.4Ω
I_total = V/R_total = 12/4.4 = 2.727 A

Problem 2 (JEE Main level). 📗 For the same circuit, find the individual currents through R₂ and R₃, and verify KCL.

V_parallel = I_total × R_parallel = 2.727 × 2.4 = 6.545 V
I₂ = V_parallel/R₂ = 6.545/4 = 1.636 A,  I₃ = 6.545/6 = 1.091 A
KCL check: I₂+I₃ = 1.636+1.091 = 2.727 A ✓ exactly matches I_total

Problem 3 (WBJEE level). 📙 Verify KVL for the same circuit: confirm the voltage drop across R₁ plus the voltage drop across the parallel section equals the battery's 12V.

V_R1 = I_total × R₁ = 2.727 × 2 = 5.455 V
V_R1 + V_parallel = 5.455 + 6.545 = 12.00 V ✓ exactly matches the battery EMF, confirming KVL

Problem 4 (CBSE Class 12 level). 📕 A two-loop circuit has a 10V battery in loop 1 (with R₁=2Ω) and a 5V battery in loop 2 (with R₂=4Ω), sharing a common resistor R₃=3Ω between the loops. Using mesh analysis, set up and solve for the two mesh currents.

Mesh equations: 5I₁ − 3I₂ = 10   (loop 1: R₁+R₃=5, shared R₃=3)
−3I₁ + 7I₂ = 5   (loop 2: R₂+R₃=7, shared R₃=3)
Solving simultaneously: I₁ = 3.269 A, I₂ = 2.115 A

Problem 5 (JEE Advanced style). 📓 Using the mesh currents from Problem 4, find the actual current flowing through the shared resistor R₃, and state its direction.

Current through shared resistor = I₁ − I₂ = 3.269 − 2.115
I_R3 = 1.154 A, flowing in the direction of the larger mesh current (I₁'s loop direction)
This positive result confirms mesh 1's assumed direction was correct for this shared branch — a negative result would have indicated the opposite direction, per Puzzle 5's lesson.
🎓
1845

Gustav Kirchhoff, remarkably still a 21-year-old physics student at the time, formulates both his circuit laws while working on his diploma thesis, extending and generalizing Georg Ohm's earlier work on simple resistor circuits.

📡
Mid-to-late 1800s

Kirchhoff's laws become essential to the rapidly growing telegraph industry, where engineers needed rigorous tools to analyze complex networks of wires, batteries, and resistors spanning entire countries.

💡
Late 1800s – early 1900s

As electrical power distribution networks expand rapidly (driven by figures like Edison, Tesla, and Westinghouse), Kirchhoff's laws become the standard, indispensable analytical foundation for designing and troubleshooting increasingly complex electrical grids.

💻
20th century

Kirchhoff's laws extend seamlessly into modern electronics — from analog amplifier design to the millions of interconnected transistors on an integrated circuit chip, the same 1845 equations remain fundamentally unchanged and universally applicable.

🖥️
Present day

Modern circuit simulation software (SPICE and its many derivatives) is built directly on Kirchhoff's laws, automating the same mesh and nodal analysis techniques used throughout this Practice Zone to analyze circuits with thousands or millions of components.