A73 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A7 · Lesson 3 · Circuits and simultaneous equations

Each node gives one equation, and the answer is where they meet

A voltage divider has one unknown voltage and one equation, so you solve it in a line. Add a second junction and the two unknown voltages depend on each other: you can't find one without the other. The way out is to write one equation per junction and solve them together. Each equation is a straight line, and the answer is where the lines cross.

Play

  • The circuit: 10 V drives node 1 through R1; R2 goes from node 1 to ground; R3 joins node 1 to node 2; R4 goes from node 2 to ground. All values in kΩ.
  • Each line is the set of (V1,V2) pairs that satisfy one node's current law. The dot is where both hold: the circuit's actual voltages.
  • Change the resistors and watch the lines move. Below, the same circuit is simulated: check that its meters read the dot's coordinates.

Predict

Two straight lines in a plane. How many points can satisfy both equations?

Name it

Kirchhoff's current law, one node at a time

At every junction, the currents leaving add to zero (charge doesn't pile up). Writing each current through a resistor as the voltage across it over its resistance gives, at node 1 and node 2:

V1−VsR1+V1R2+V1−V2R3=0V2−V1R3+V2R4=0

Both are linear: each unknown appears only multiplied by a constant. Collecting terms gives the standard form

(1R1+1R2+1R3)V1−1R3V2=VsR1−1R3V1+(1R3+1R4)V2=0

or, as a matrix equation, G𝐯=𝐢:

[1R1+1R2+1R3−1R3−1R31R3+1R4][V1V2]=[Vs/R10]

G is the conductance matrix. Notice its pattern: each diagonal entry is the total conductance touching that node, and each off-diagonal entry is minus the conductance joining two nodes. That pattern lets you write G for any resistor circuit by inspection, which is nodal analysis (C1), and it's exactly what a circuit simulator builds.

With two unknowns, each equation is a line and the solution is where they cross. With three nodes, each equation is a plane in 3D; with a thousand, a "hyperplane" you can't draw, but the algebra is the same, and the rest of this course is about solving G𝐯=𝐢 and understanding when it can't be solved.

Worked example

KCL gives 2v1−v2=10 and −v1+2v2=0. Solve for the node voltages.

Show the solution
  1. Solve the second equation for v1. It gives v1=2v2.
  2. Substitute into the first. 4v2−v2=10 v2=103=3.33V
  3. Back to v1. v1=203=6.67V
  4. Row picture. In the row picture, the two lines cross at (6.67,3.33).

Answer v1 = 6.67 V and v2 = 3.33 V.

Worked example

When would two KCL equations have no solution, or infinitely many?

Show the solution
  1. When it happens. Only if their lines are parallel: the left sides are multiples of each other.
  2. Real circuits. A real resistor circuit with a ground never does this.
  3. Where it comes from. It happens in a model with a mistake, such as a node with no path to ground, whose voltage the equations can't pin down.

Answer only when the two lines are parallel, which for a circuit means a mistake in the model, such as a node with no path to ground.

Worked example

A 10 V source feeds node 1 through 1 kΩ. Node 1 has 1 kΩ to ground and 1 kΩ to node 2, and node 2 has 1 kΩ to ground. Find both node voltages.

Show the solution
  1. KCL at node 1. Working in volts, milliamps and kilohms, the currents leaving sum to zero: (v1−10)+v1+(v1−v2)=0 or 3v1−v2=10.
  2. KCL at node 2. (v2−v1)+v2=0 or −v1+2v2=0.
  3. Solve. The second equation gives v1=2v2. Substituting: 6v2−v2=10 so v2 = 2 V and v1 = 4 V.
  4. Row picture. Two lines in the (v1,v2) plane, meeting at (4,2).

Answer v1 = 4 V and v2 = 2 V.

Check

In the circuit above, make all four resistors 2 kΩ, with Vs = 10 V.

(a)

What is G11, the total conductance touching node 1?

Write units the way you normally would: 1.5 S, 1500 mS and 0.0015 kS are the same answer.

(b)

What is G12, the entry joining node 1 to node 2?

(c)

Solve for V1.

(d)

And V2?

Check

Solve for x: 3x+1y=−11, 3x−6y=3.

Check

On the graph of the two node equations, what does the crossing point represent?

Check

A 10 V source feeds node 1 through 1 kΩ. Node 1 has 1 kΩ to ground and 1 kΩ to node 2; node 2 has 1 kΩ to ground.

(a)

What is v2?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What is v1?

Check

A node with conductance g to ground is fed from a source v through 1 S.

Step 1

KCL says (x−v)+gx=0. What is the node voltage x?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Node 1 is fed from 5 V through 1 kΩ and node 2 from 3 V through 1 kΩ. Each node also has 1 kΩ to ground, and 10 kΩ joins the two nodes. Write KCL at both nodes and solve.

(a)

What is v1?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What is v2?

Explain why

Why does a circuit with two unknown node voltages need two equations solved together?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.