[ohm's law simulator]
One source drives a few resistors. Ohm's law says each resistor's voltage drop is its current times its resistance: V = I · R. In series (one loop) the resistors split the voltage. In parallel (two loops) they split the current. Series-parallel (two loops) does both: R₁ splits the voltage with the R₂∥R₃ pair, then R₂ and R₃ split the current. Switch between a voltage source and a current source to see which quantity each one fixes, and how Kirchhoff's voltage law (KVL) and current law (KCL) determine the rest. The bars under each KVL and KCL equation show the two sides balancing. The dots show conventional current flowing from + to −, moving faster as the current grows.
The voltage source fixes VS. KCL says the same current flows through both resistors, so each drops I·R, and KVL says those drops add up to VS. The resistors split the voltage in proportion to their resistance: the bigger resistor takes the bigger share.
Ohm's law (each resistor)
V1 = I1 · R1 = 40.0 mA × 100 Ω = 4.00 V
V2 = I2 · R2 = 40.0 mA × 200 Ω = 8.00 V
Equivalent resistance
Req = R1 + R2 = 100 Ω + 200 Ω = 300 Ω
IS = VS / Req = 12.0 V / 300 Ω = 40.0 mA
Voltage divider (series resistors split the voltage)
V1 = VS · R1 / (R1 + R2) = 12.0 V × 100 Ω / 300 Ω = 4.00 V
V2 = VS · R2 / (R1 + R2) = 12.0 V × 200 Ω / 300 Ω = 8.00 V
KVL (voltages around any closed loop sum to zero)
loop: VS − V1 − V2 = 0
12.0 V − 4.00 V − 8.00 V = 0 V
KCL (current into a node minus current out is zero)
node a: IS − I1 = 0
40.0 mA − 40.0 mA = 0 A
node c: I1 − I2 = 0
40.0 mA − 40.0 mA = 0 A
node b: I2 − IS = 0
40.0 mA − 40.0 mA = 0 A