---
title: Kirchhoff's voltage law (KVL)
heading: Around any loop, the voltages add to zero
eyebrow: C1 · Lesson 4 · Kirchhoff's voltage law
xp: 40
---

::: hook
Think of voltage as height (B3.1). Walk around any closed loop of a circuit, up through the battery, down through each resistor, and you must end at the height you started from. So the rises and drops around a loop add to zero. That's Kirchhoff's voltage law: the twin of the current law, and the reason a series circuit's voltages always add up to the source.

::: play
- A 12 V source drives three resistors in series. The meters read the voltage across each.
- Add the three voltages. Compare with 12 V.
- Change one resistor. How does the 12 V redistribute? Does the total change?
:::
:::

```sim circuit
V1 in 0 12          @ 0,0 down
R1 in a 1k          @ 0,0 right
R2 a b 2k           @ 2,0 right
R3 b 0 3k           @ 4,0 down
slider: R1 100..10k log
slider: R2 100..10k log
scope: v(in), v(a), v(b)
time: 0..1m s
meter: v(in, a), v(a, b), v(b)
```

::: predict
## A 9 V battery drives two resistors in series. One has 4 V across it. What's across the other?

- [ ] 4 V
- [x] 5 V
- [ ] 9 V
- [ ] 13 V

::: reveal
5 V. Around the loop, the battery's 9 V rise must be matched by the drops: 4 V plus whatever's across the second, so 5 V. No resistances needed. KVL is a statement about the voltage being a well-defined height, which holds for any components.
:::
:::

::: nameit
## Kirchhoff's voltage law

**The law.** Around any closed loop in a circuit, the sum of the voltage changes is zero:

$$\sum_k v_k = 0$$

counting rises as positive and drops as negative (or the other way round, consistently).

**Why.** In a circuit with static or slowly changing fields, voltage is a well-defined potential at each node (B3.3), so going around a loop and returning to the start gives zero net change. It fails only when changing magnetic flux threads the loop (Faraday's law, B6.1), which is why the leads of a scope probe should be kept short in fast circuits.

**Using it.**

1. Choose a direction to walk around the loop.
2. For each component, add its voltage with a sign: + if you go from − to + (a rise), − if from + to − (a drop).
3. Set the sum to zero.

A circuit with $b$ branches and $n$ nodes has $b - n + 1$ independent loops, each giving one KVL equation.

**Series circuits.** In a single loop the same current flows through everything, so each resistor's voltage is $iR_k$ and KVL gives

$$V_s = i(R_1 + R_2 + R_3) \qquad v_k = V_s\frac{R_k}{R_1 + R_2 + R_3}$$

Each resistor takes a share of the source in proportion to its resistance: the **voltage divider** of lesson 5.

**Parallel branches** share the same two nodes, so by KVL around the loop they form, they all have the same voltage.
:::

::: example
## A 9 V battery drives three resistors in series. Two of them drop 2 V and 3 V. What does the third drop?

::: solution
1. **Write KVL.** Around the loop, the rises equal the drops:
   $$9 = 2 + 3 + V_3$$
2. **Solve.**
   $$\begin{aligned} V_3 &= 9 - 5 \\ &= 4\ \text{V} \end{aligned}$$

**Answer:** the third resistor drops 4 V.
:::
:::

::: example
## A 12 V supply drives 1 kΩ, 2 kΩ and 3 kΩ in series. What are the node voltages, measured from the supply's − terminal?

::: solution
1. **Current.** The three resistors add to 6 kΩ:
   $$\begin{aligned} I &= \frac{12\ \text{V}}{6\ \text{k}\Omega} \\ &= 2\ \text{mA} \end{aligned}$$
2. **Drops.** At 2 mA the drops are 2, 4 and 6 V.
3. **Walk down from 12 V.**
   $$\begin{aligned} 12 - 2 &= 10\ \text{V} \\ 10 - 4 &= 6\ \text{V} \\ 6 - 6 &= 0\ \text{V} \end{aligned}$$
   after the 1 kΩ, the 2 kΩ and the 3 kΩ.

**Answer:** from the top at 12 V, the nodes sit at 10 V after the 1 kΩ, 6 V after the 2 kΩ, and 0 V after the 3 kΩ.
:::
:::

::: example
## A car's headlights draw 10 A from a 12.6 V battery through wiring of 0.05 Ω each way. What voltage do the lamps actually get, and what fraction of the battery's power is lost in the wires?

::: solution
1. **Drop in each wire.**
   $$\begin{aligned} V_\text{wire} &= 10 \times 0.05 \\ &= 0.5\ \text{V} \end{aligned}$$
2. **KVL around the loop.** The battery's 12.6 V is shared by the outgoing wire, the lamps and the return wire, so the lamps get
   $$\begin{aligned} V_\text{lamps} &= 12.6 - 1.0 \\ &= 11.6\ \text{V} \end{aligned}$$
3. **Power lost in the wires.**
   $$\begin{aligned} P &= 2I^2R \\ &= 2 \times 10^2 \times 0.05 \\ &= 10\ \text{W} \end{aligned}$$
4. **Fraction lost.** The battery delivers 12.6 × 10 = 126 W, so the wires take
   $$\frac{10}{126} = 7.9\%$$
5. **Why it matters.** Halogen lamps' light output falls steeply with voltage, which is why headlight relays are mounted near the lamps, shortening the high-current wiring.

**Answer:** the lamps get 11.6 V, and 7.9% of the battery's power is lost in the wires.
:::
:::

::: check
given: Vs = 9 | 15 | 24; v1 = 1..5 int; v2 = 1..3 int
answer: Vs - v1 - v2
unit: V
tolerance: 0.5%

## A {Vs} V source drives three resistors in series. Two have {v1} V and {v2} V across them. What's across the third?

::: right
Right. KVL: $\given{Vs} - \given{v1} - \given{v2}$ = {answer}.
:::

::: misses
- [v1 + v2] That's what the first two take. The third gets the rest.
- [Vs - v1] Subtract both known drops.
- [any] Not yet. The drops add up to the source.
:::
:::

::: check
given: Vs = 6 | 12 | 24; R1 = 1 | 2 | 5; R2 = 2 | 7 | 8; R3 = 4 | 6
answer: Vs*R2/(R1 + R2 + R3)
unit: V
tolerance: 0.5%

## A {Vs} V source drives {R1} kΩ, {R2} kΩ and {R3} kΩ in series. What voltage is across the {R2} kΩ resistor?

::: right
Right. Its share is $V_s\frac{R_2}{R_1 + R_2 + R_3}$ = {answer}.
:::

::: misses
- [Vs/3] Only if they're all equal. Each takes a share in proportion to its resistance.
- [Vs*R2/R1] Divide by the total resistance.
- [any] Not yet. Find the series current, then $iR_2$.
:::
:::

::: check
given: Vs = 5 | 10 | 15; R = 1 | 2 | 5; n = 2 | 3 | 5
answer: Vs/(n*R)
unit: mA
tolerance: 0.5%

## {n} equal {R} kΩ resistors in series sit across a {Vs} V source. What current flows?

::: right
Right. Total resistance {n} × {R} kΩ, so $I = V_s/(nR)$ = {answer}.
:::

::: misses
- [Vs/R] The current passes through all {n} in turn: add their resistances.
- [n*Vs/R] In series, resistances add, so the current is smaller.
- [any] Not yet. Series resistances add.
:::
:::

::: check
given: V1 = 10 | 12; V2 = 3 | 5; R = 1 | 2 | 5
answer: (V1 - V2)/R
unit: mA
tolerance: 0.5%

## A {V1} V source and a {V2} V source face each other (+ to +) through a {R} kΩ resistor. What current flows?

::: right
Right. Around the loop the net EMF is $V_1 - V_2$, all across R: {answer}.
:::

::: misses
- [(V1 + V2)/R] Facing + to +, the sources oppose each other: subtract.
- [any] Not yet. Walk the loop: $V_1 - iR - V_2 = 0$.
:::
:::

::: check
kind: choice

## Three resistors are connected in parallel across a 5 V supply. What's the voltage across each?

- [x] 5 V
- [ ] 5/3 V
- [ ] It depends on their values
- [ ] 15 V

::: right
Right. Parallel parts share the same two nodes, so they all have the supply's voltage.
:::

::: misses
- [2] That's for three equal resistors in series.
- [3] In parallel the voltage is the same for each; the currents depend on the values.
- [4] Voltages don't add in parallel.
:::
:::

::: check
kind: parts
given: V = 12.6 | 13.8; I = 5 | 15; R = 0.02 | 0.05

## A {V} V battery feeds a {I} A load through wiring of {R} Ω each way.

::: part
answer: V - 2*I*R
unit: V
tolerance: 0.5%

### What voltage does the load get?

::: misses
- [V - I*R] Both the outgoing and return wires drop voltage.
- [any] KVL: $V - 2IR$.
:::
:::

::: part
answer: 2*I*R/V*100
unit: %
tolerance: 0.5%

### What percentage of the battery's power is lost in the wiring?

::: misses
- [any] $\frac{2I^2R}{VI}$.
:::
:::
:::

::: check
kind: derivation
vars: V = 1..50, a = 0.1..10, b = 0.1..10, c = 0.1..10

## V drives a, b and c (kΩ) in series, a at the top.

::: step
answer: V/(a + b + c)

### What current flows, in mA?
:::

::: step
answer: V*b/(a + b + c)

### What's across b?
:::

::: step
answer: V*(b + c)/(a + b + c)

### What's the voltage at the junction of a and b, from the bottom?
:::

::: right
Right. Each node voltage is the drop across everything below it.
:::
:::

::: explain
## Why does KVL hold around every loop of an ordinary circuit?

::: model
In a circuit with no significant changing magnetic flux, each node has a single, well-defined voltage, like a height above ground. Walking around a closed loop, every rise and drop takes you from one node's voltage to the next, and you end at the node you started from. The net change in voltage around the loop must therefore be zero, whatever components are in the loop.
:::
:::

::: practice

::: check
given: Vs = 5 | 9 | 12; v = 1..4 int
answer: Vs - v
unit: V
tolerance: 0.5%

## A {Vs} V source drives two series resistors; one has {v} V. The other?

::: misses
- [any] The drops add up to the source.
:::
:::

::: check
given: Vs = 10 | 20; R1 = 1 | 3; R2 = 4 | 6
answer: Vs*R1/(R1 + R2)
unit: V
tolerance: 0.5%

## {R1} kΩ and {R2} kΩ in series across {Vs} V. Voltage across the {R1} kΩ?

::: misses
- [Vs*R2/(R1 + R2)] That's the other resistor's share.
- [any] Share in proportion to resistance.
:::
:::

::: check
given: b = 5..8 int; n = 3..4 int
answer: b - n + 1
tolerance: 0.5%

## A circuit has {b} branches and {n} nodes. How many independent KVL loop equations does it have?

::: misses
- [b - n] Add one: $b - n + 1$.
- [any] $b - n + 1$.
:::
:::
:::
