Supernodes and dependent sources
About this lesson
Nodal analysis writes one KCL equation per node, but it stalls when a voltage source sits between two non-reference nodes: nobody can say what current that source carries. Follow one circuit, a 6 mA current source, R1 = 2 kΩ, R2 = 3 kΩ and a dependent voltage source 2vx between node 1 and node 2. Learn what a dependent source is, wrap the source and its two nodes in a supernode, write KCL on the boundary plus one constraint equation, and solve for v1 = 4 V and v2 = 12 V. Then recover the hidden source current and check the power balance. It continues the Nodal analysis lesson and builds on the Hardware lessons on Ohm's law, series and parallel circuits, and op-amps.
Two nodes and a reference
This circuit has three nodes. The bottom wire is the reference node, 0 V. Nodal analysis needs the other two voltages, v1 and v2, measured from it. Between node 1 and node 2 sits an unusual diamond-shaped source.
nodes 1, 2 and the reference (0 V) unknowns v1, v2 (node voltages) parts Is 6 mA current source, into node 1 R1 2 kΩ, node 1 to reference R2 3 kΩ, node 2 to reference ◇ voltage source between 1 and 2 nodal analysis: one KCL equation per non-reference node, here two.
Read the lesson step by step
Two nodes and a reference
This circuit has three nodes. The bottom wire is the reference node, 0 V. Nodal analysis needs the other two voltages, v1 and v2, measured from it. Between node 1 and node 2 sits an unusual diamond-shaped source.
nodes 1, 2 and the reference (0 V) unknowns v1, v2 (node voltages) parts Is 6 mA current source, into node 1 R1 2 kΩ, node 1 to reference R2 3 kΩ, node 2 to reference ◇ voltage source between 1 and 2 nodal analysis: one KCL equation per non-reference node, here two.A dependent source
The diamond is a dependent source. Its value is set by a voltage or current somewhere else in the circuit. This one is a voltage source whose voltage is 2vx: twice the voltage vx found elsewhere.
dependent (controlled) source: drawn as a diamond; value = gain × a circuit quantity. VCVS voltage set by a voltage VCCS current set by a voltage CCVS voltage set by a current CCCS current set by a current ours: VCVS, gain 2 (volts per volt). Op-amps and transistors are modelled with these.The controlling voltage
vx is the voltage across R1, plus at the top. R1 runs from node 1 to the reference node, so vx = v1 − 0 = v1. Write every controlling quantity in node voltages before you start.
controlling variable vx + end node 1 (v1) − end reference (0 V) vx = v1 − 0 = v1 The source's voltage is then 2vx = 2v1 so it adds no new unknown.Where plain nodal stalls
Try KCL at node 1 alone. It needs id, the current through the dependent source. A voltage source has no resistance, so Ohm's law cannot give its current: it carries whatever the rest of the circuit demands.
KCL at node 1 (leaving +) −Is + v1/R1 + id = 0 id = ? Ohm's law would need (v1 − v2) / 0 → no answer A voltage source fixes its voltage, not its current. id is a third unknown.Draw a supernode
Put one boundary round node 1, node 2 and the source between them. That region is a supernode. KCL holds for any closed boundary, so we can treat the whole region as one big node.
supernode: two non-reference nodes joined by a voltage source (dependent or independent), plus the source. wires crossing the boundary Is in from the left i1 out through R1 i2 out through R2 id stays inside: it never crosses.KCL on the supernode
Sum the currents crossing the boundary. 6 mA enters through Is; v1/R1 and v2/R2 leave. The source current id flows inside the boundary, so it drops out. One equation: 6 mA = v1/2k + v2/3k.
KCL on the supernode (leaving +) −Is + v1/R1 + v2/R2 = 0 v1/2k + v2/3k = 6 mA multiply by 6 kΩ: 3v1 + 2v2 = 36 V One equation, two unknowns: we still need one more.The constraint equation
The second equation comes from the source itself. It holds node 2 exactly 2vx above node 1: v2 − v1 = 2vx. A supernode always gives two equations: KCL on the boundary and the source's voltage.
constraint (KVL across the source) v2 − v1 = 2vx With a plain 5 V source it would read v2 − v1 = 5 V supernode = KCL on the boundary + one constraint equationSubstitute the control
Now replace vx with node voltages. vx = v1, so v2 − v1 = 2v1, which means v2 = 3v1. The dependent source added no new unknown: two equations, two unknowns.
v2 − v1 = 2vx vx = v1 v2 − v1 = 2v1 v2 = 3v1 equations 3v1 + 2v2 = 36 v2 = 3v1Solve the two equations
Put v2 = 3v1 into 3v1 + 2v2 = 36: 9v1 = 36, so v1 = 4 V and v2 = 12 V. Ohm's law then gives i1 = 2 mA and i2 = 4 mA. Check: 2 + 4 = 6 mA.
3v1 + 2(3v1) = 36 9v1 = 36 v1 = 4 V, v2 = 3 × 4 = 12 V i1 = v1/R1 = 4/2k = 2 mA i2 = v2/R2 = 12/3k = 4 mA boundary check: 2 + 4 = 6 mA = IsThe current inside
With v1 and v2 known, go back to one node. KCL at node 1: id = Is − i1 = 6 − 2 = 4 mA. At node 2 the same 4 mA flows on through R2. The source's voltage is 2vx = 8 V.
KCL at node 1 (entering = leaving) Is = i1 + id id = 6 − 2 = 4 mA KCL at node 2 id = i2 = 4 mA ✓ source voltage 2vx = 2 × 4 = 8 V = v2 − v1 = 12 − 4 ✓Who supplies the power
Use the passive sign convention. Is supplies 24 mW. The dependent source supplies 32 mW: id leaves its plus terminal. R1 absorbs 8 mW and R2 48 mW. Supplied 56 = absorbed 56 mW.
power absorbed p = v·i (i into +) Is −4 V × 6 mA = −24 mW 2vx −8 V × 4 mA = −32 mW R1 4 V × 2 mA = +8 mW R2 12 V × 4 mA = +48 mW sum 0 mW A dependent source is active: it can deliver power.Turn the gain
Now vary the gain from 0 to 4. At 0 the source is a short circuit and v1 = v2 = 7.2 V. At 4, v1 = 2.77 V and v2 = 13.85 V. The same two equations solve every case.
gain k v1 v2 0 7.2 V 7.2 V 2 4 V 12 V 4 2.77 V 13.85 V v1 = Is / (1/R1 + (1 + k)/R2) v2 = (1 + k)·v1 In every row the boundary KCL holds.
5 quick questions
Choose one answer per question. You can change your choices before checking them.
01Why can't you write a normal KCL equation at node 1 alone in the lesson's circuit?
A voltage source fixes the voltage across it, not the current through it. Its current depends on the rest of the circuit, so it is an extra unknown. The supernode puts that current inside a boundary, where it drops out.
02Which two equations describe a supernode?
KCL on the closed boundary gives one equation without the source current. The source gives the second: here v2 − v1 = 2vx.
03In the lesson's circuit the gain is changed to 4, so v2 − v1 = 4vx with vx = v1. KCL on the supernode is still 6 mA = v1/2 kΩ + v2/3 kΩ. What is v2?
v2 = 5v1. Multiply the KCL by 6 kΩ: 3v1 + 2(5v1) = 36, so 13v1 = 36, v1 = 2.77 V and v2 = 13.85 V.
04With the gain back at 2, v1 = 4 V, so i1 = 2 mA. How much current flows through the dependent source, and which way?
KCL at node 1: Is = i1 + id, so id = 6 − 2 = 4 mA, leaving node 1 toward node 2. At node 2 it flows on as i2 = 4 mA.
05In the same circuit the dependent source has 8 V across it and 4 mA leaving its + terminal. What power does it absorb?
With the passive sign convention p = v × i, where i enters the + terminal. Here −4 mA enters it, so p = 8 × (−4) = −32 mW: the source supplies 32 mW. With Is's 24 mW that matches the 56 mW absorbed by R1 and R2.
Glossary
- Dependent source
- A voltage or current source whose value is set by a voltage or current elsewhere in the circuit. Drawn as a diamond.
- VCVS, VCCS, CCVS, CCCS
- The four kinds of dependent source: voltage- or current-controlled, giving a voltage or a current. The lesson's 2vx source is a VCVS.
- Controlling variable
- The circuit quantity that sets a dependent source's value, here vx, the voltage across R1.
- Gain
- The factor between the controlling variable and the source's value. A VCVS gain is in volts per volt, here 2.
- Supernode
- A closed boundary round two non-reference nodes joined by a voltage source, together with the source. KCL is applied to the whole region.
- Constraint equation
- The equation a voltage source adds to a supernode: the difference between its two node voltages, here v2 − v1 = 2vx.
- Node voltage
- The voltage of a node measured from the reference node (0 V).
- Passive sign convention
- p = v × i, with i entering the part's + terminal, is the power the part absorbs. A negative value means the part supplies power.
Notes and sources
- The figure is an ideal DC circuit: a 6 mA current source, R1 = 2 kΩ, R2 = 3 kΩ and a voltage-controlled voltage source of gain 2. Every voltage, current and power shown is computed from these values by the lesson's model.
- Currents are conventional currents. Powers use the passive sign convention: a negative absorbed power means the part supplies power.
- If a voltage source connects a node to the reference node, no supernode is needed: that node's voltage is simply the source value.
- A dependent source cannot be switched off on its own the way an independent source can, because its value follows the circuit. That matters later, in superposition and Thévenin equivalents.
- Wikipedia, Nodal analysis (supernode step and its extra equation)
- CircuitBread, Special case of KCL: supernode analysis
- J. M. Fiore, AC Electrical Circuit Analysis, §6.4 Dependent Sources (LibreTexts)
- Wikipedia, Dependent source (four kinds; op-amps and transistors as dependent sources)
- Alexander & Sadiku, Fundamentals of Electric Circuits (7th ed.), ch. 3 Methods of Analysis
- MIT OpenCourseWare 6.002, lecture 2 (node method) and lecture 8 (dependent sources and amplifiers)
Quiz Unlocks after the last step.