Dependent sources
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.
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.
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.
The supernode
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.
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.
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.
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.
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.
Solve and check
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.
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.
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.
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.
What is happening
# step 1/12 · setup # about: Node 1, Node 2, Reference node (0 V) 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.
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.