ORIGINAL LESSON / NETWORK THEORY

Nodal analysis, solved step by step.

A complete original circuit exercise using Kirchhoff’s Current Law, node voltages and a numerical check.

Learning goal

After this lesson, you should be able to select a reference node, write correct KCL equations at unknown nodes, solve the simultaneous equations and verify that charge is conserved.

The practice circuit

Consider a resistive circuit with ground (0 V) as the reference node and two unknown node voltages, VA and VB:

Sign convention: Treat a current injected into a node as positive on the right side of the KCL equation, and a current leaving a node as negative. Consistency matters more than the particular convention.

Step 1: Write KCL at node A

Resistor current from node A to ground is VA/5. Current from A to B is (VA − VB)/4. Their total is the 3 A supplied to node A.

V_A / 5 + (V_A - V_B) / 4 = 3

Multiplying by 20 gives:

9 V_A - 5 V_B = 60

Step 2: Write KCL at node B

Current from B to ground through its 10 Ω resistor is VB/10. Current from B to A is (VB − VA)/4. The current source takes 1 A out of B, so the injected source current is −1 A.

V_B / 10 + (V_B - V_A) / 4 = -1

Multiplying by 20 gives:

-5 V_A + 7 V_B = -20

Step 3: Solve for the node voltages

The pair of equations is:

9 V_A - 5 V_B = 60
-5 V_A + 7 V_B = -20

Eliminate VA or VB using substitution or the matrix method.

QuantityValueInterpretation
VA8.4211 VVoltage at node A relative to ground
VB3.1579 VVoltage at node B relative to ground

Step 4: Verify the answer

At A, current through the 5 Ω resistor is 8.4211/5 ≈ 1.6842 A; current from A to B through 4 Ω is (8.4211 − 3.1579)/4 ≈ 1.3158 A. Their sum equals the injected 3 A.

At B, 1.3158 A arrives from A. The 10 Ω resistor draws 3.1579/10 ≈ 0.3158 A, and the current source draws 1 A. Total leaving B = 0.3158 + 1 = 1.3158 A, matching the arriving current.

Common mistakes in GATE EE nodal problems

  1. Mixing the directions of resistor currents in adjacent KCL equations.
  2. Forgetting that an outward-directed current source contributes a negative injected current.
  3. Using resistor conductance 1/R incorrectly when forming matrix coefficients.
  4. Skipping the KCL check after solving, allowing arithmetic mistakes to go unnoticed.

Try it yourself

Change the source at node B so that it injects +1 A into B instead of drawing 1 A out. Keeping all resistors and the source at A unchanged, calculate the new node voltages.

Show the solution

The revised nodal equations are 9VA − 5VB = 60 and −5VA + 7VB = 20. Solving gives VA = 13.6842 V and VB = 12.6316 V.