The problem
Mesh analysis gives each window of the circuit its own loop current. Mesh 1 is the left window with current i1; mesh 2 is the right window with i2. Both are drawn clockwise.
The middle branch is a 4 mA current source, and both meshes run through it. In that branch i1 flows down and i2 flows up, so the branch current is i1 − i2.
Try KVL round mesh 1 alone. It must include the voltage vx across the current source. A current source fixes its current, not its voltage, so vx is a new unknown. One loop, two unknowns.
The supermesh
The current source gives us an equation for free. Its branch carries i1 − i2, and the source says that is 4 mA. So i1 − i2 = 4 mA. This is the constraint equation.
Now remove the current-source branch from view and join the two meshes into one big loop round the outside. This loop is a supermesh. It avoids vx, because it never crosses the current source.
Walk clockwise round the supermesh. R1 carries i1; R2 and R3 carry i2. KVL: 20 = 2k·i1 + 1k·i2 + 3k·i2. One equation, the same two unknowns, and no vx.
Put i1 = i2 + 4 mA into the KVL equation: 20 = 2k(i2 + 4 mA) + 6k·i2. That gives i2 = 2 mA, so i1 = 6 mA.
Check and choose
Now the real currents. R1 carries 6 mA, R2 and R3 carry 2 mA, and the source branch carries 6 − 2 = 4 mA. Ohm's law gives node voltages vb = 8 V and vc = 6 V.
The source supplies 20 V × 6 mA = 120 mW. R1 absorbs 72, R2 4, R3 12 mW. The current source has 8 V across it and absorbs 32 mW. Total: 120 mW. It balances.
Count equations before you start. Nodal: 3 nodes besides ground, minus 1 voltage source, leaves 2 unknowns (vb, vc). Mesh: 2 meshes, minus 1 current source, leaves 1. Pick the smaller count.
Now turn Is from 0 to 10 mA. Both mesh currents change, but the gap i1 − i2 always equals Is. At 0 mA the meshes carry 3.33 mA each; at 10 mA, i1 = 10 and i2 = 0 mA.
What is happening
# step 1/11 · meshes
# about: Mesh 1, Mesh 2
mesh a loop with no other loop inside it
mesh current a current that circulates
round one mesh
mesh 1 Vs → R1 → middle branch
mesh 2 middle branch → R2 → R3
Branch currents are built from mesh currents:
a branch on one mesh carries that mesh's current.
The figure is an ideal DC circuit: a 20 V source, a 4 mA current source, 2, 1 and 3 kΩ resistors and wires with no resistance. Every current, voltage and power shown is computed from these values by the lesson's model. If a resistor sat in series with the current source, it would also be left out of the supermesh KVL: its current is fixed by the source, and its voltage only adds to the unknown vx.