Sub topic 12
KVL, KCL and Dividers in Phasor Form
This chapter assumes you know DC circuit analysis (Ohm's law, KVL, KCL, dividers), complex numbers in polar and rectangular form, and the impedances of R, L and C. Here you apply the DC laws to phasors.
Why the laws carry over
In the time domain, KVL says the voltages around a loop sum to zero at every instant. Every voltage in a steady-state AC circuit is a sinusoid at the same frequency. Summing sinusoids of one frequency is the same as summing their phasors, so the laws hold for phasors.
- KVL: the sum of the phasor voltages around any closed loop is zero.
- KCL: the sum of the phasor currents entering any node is zero.
The sums are complex. You add magnitudes and angles together, not magnitudes alone. For example, 3 V at 0° and 4 V at 90° add to 5 V at 53.13°, not to 7 V.
KVL example
A source V_s = 10∠0° V drives a series resistor R = 6 Ω and an inductor with impedance j8 Ω. The loop current is:
I = Vs / (R + jXL) = 10∠0° / (6 + j8) = 10∠0° / 10∠53.13° = 1∠−53.13° A
The element voltages are VR = 6 × I = 6∠−53.13° V and VL = j8 × I = 8∠36.87° V. Their magnitudes (6 V and 8 V) add up to 14 V, which is more than the 10 V source. The phasors still satisfy KVL, because VR + VL = 10∠0° V.
import cmath
import math
Vs = cmath.rect(10, 0)
Z = 6 + 8j
I = Vs / Z
VR = 6 * I
VL = 8j * I
print(abs(I), math.degrees(cmath.phase(I)))
print(abs(VR), abs(VL))
print(abs(VR + VL - Vs)) # KVL residual, about 0Voltage divider
For impedances in series, the same current flows through each one. The voltage across Z_k is:
Vk = Vtotal × Zk / (Z1 + Z2 + … + Zn)
Take the voltage across the inductor above. V_L = 10∠0° × j8 / (6 + j8) = 8∠36.87° V. This matches the KVL result.
Current divider
For two impedances in parallel, the current through Z_1 is:
I1 = Itotal × Z2 / (Z1 + Z_2)
Note that the other impedance appears in the numerator. For more than two branches, use admittances: Ik = Itotal × Yk / (Y1 + … + Y_n).
import cmath
import math
I_total = cmath.rect(2, 0)
Z1 = 10 + 0j # resistor
Z2 = -5j # capacitor, 5 ohms of reactance
I1 = I_total * Z2 / (Z1 + Z2)
I2 = I_total * Z1 / (Z1 + Z2)
print(abs(I1), math.degrees(cmath.phase(I1)))
print(abs(I2), math.degrees(cmath.phase(I2)))
print(abs(I1 + I2 - I_total)) # KCL residual, about 0The branch currents are about 0.894 A at −26.57° and 1.789 A at 63.43°. Their phasor sum is 2 A at 0°.
Common errors
- Adding magnitudes. KVL and KCL hold only for complex phasors. Branch magnitudes can exceed the total.
- Mixing forms. Convert to rectangular form to add or subtract, and to polar form to multiply or divide.
- Swapping the divider numerator. In a current divider, the numerator is the opposite branch's impedance.
- Mixing frequencies. Phasors at different frequencies cannot be added. Handle each frequency separately and combine the results in the time domain.
Exercise
A source of 12∠0° V drives a 4 Ω resistor in series with a capacitor of reactance 3 Ω. Find the capacitor voltage phasor with the voltage divider.
Show answer
The capacitor impedance is −j3 Ω. The total impedance is 4 − j3 = 5∠−36.87° Ω. V_C = 12∠0° × (−j3) / (4 − j3) = 12 × 3∠−90° / 5∠−36.87° = 7.2∠−53.13° V.