14.4 KB · commit a9602da
← Previous: NM-3.5 Gauss-Seidel Iteration | 🏠 Index | Next: NM-3 Lower Tier →
Section: A (Numerical Methods) | Priority: 🔴 | Exam Frequency: 5/8 years Sources: Topicwise NM-3.8, NM-3.5, Fahad Notes §01, Shishir Notes §02
In ECE 2213, linear algebraic equations are rarely presented as abstract textbook systems. In 5 out of 8 exam years (2018, 2019, 2020, 2021, and 2024), the question gives a physical DC circuit diagram. The examiner asks you to derive the governing equations and solve for unknown currents or voltages numerically. The taxonomy lists this under NM-3.8, while the numerical solutions are filed under NM-3.5. This note provides the complete circuit analysis toolkit: how to formulate mesh and nodal systems, handle current sources and dependent sources, and ensure diagonal dominance.
Mesh Analysis (Loop Analysis): A systematic circuit analysis technique based on Kirchhoff's Voltage Law (KVL) around closed planar loops, yielding a linear system RI=V where R is the loop resistance matrix and I is the vector of clockwise mesh currents.
Nodal Analysis: A systematic circuit analysis technique based on Kirchhoff's Current Law (KCL) at non-reference junctions, yielding a linear system GV=Iin where G is the node conductance matrix and V is the vector of node voltages with respect to reference ground.
Constraint Equation (Current Source Branch): When an ideal current source of value Is sits in an exterior branch of mesh k, it directly fixes that mesh current: Ik=±Is. This removes Ik as an unknown variable from the system of equations.
For planar resistive circuits, choose clockwise loop currents I1,I2,…,Im. Along loop k, KVL states that the algebraic sum of voltage drops equals the sum of voltage rises:
∑Vdrops=∑VrisesIn matrix form RI=V:
If an ideal current source sits in an external branch of mesh k, the branch current equals Ik:
Ik=Isource(or −Isource if opposing)Do not write a KVL equation around mesh k. The voltage across an ideal current source is unknown. Simply substitute the fixed value of Ik directly into the equations of the adjacent meshes.
Choose a convenient common node as the reference ground (0 V). Label the potentials of all remaining independent nodes as V1,V2,…,Vn. At each non-reference node k, KCL states:
∑Ileaving=∑IenteringIn matrix form GV=Inet:
When a circuit contains a dependent source (such as a current-controlled voltage source kI0):
Passive resistor networks naturally yield diagonally dominant matrices:
This natural diagonal dominance guarantees that the Gauss-Seidel method converges smoothly when the equations are ordered correctly.
Obtain the nodal equations from the circuit below. Hence solve for the unknowns using the Gauss-Seidel iterative method. Show two iterations only.

Source: 2019 Q.3(c) [Marks: 04]
The bottom rail is chosen as the reference ground (0 V). Two non-reference nodes exist:
Summing currents leaving Node 1:
Multiply both sides by 4:
2V1+(V1−V2)=20⟹3V1−V2=20Summing currents leaving Node 2:
Multiply both sides by 12:
2V2+3(V2−V1)=60⟹−3V1+5V2=60The system matrix is:
[3−3−15][V1V2]=[2060]Both rows are strictly diagonally dominant. The iterative update formulas are:
V1(k+1)=320+V2(k),V2(k+1)=560+3V1(k+1)Starting from V1(0)=0, V2(0)=0:
Exact solution by elimination:
4V2=80⟹V2=20 V,3V1=40⟹V1=13.3333 V V1=13.3333 V,V2=20 V| Year | Circuit Topology | Source Types | Unknowns to Iterate | Elimination Check |
|---|---|---|---|---|
| 2018 Q.4(b) | Planar 4-mesh DC network (2×2) | 100 V indep voltage, 10 A indep current | I1,I3,I4 (I2=−10 A fixed) | I1=−4.1103 A,I3=−6.8695 A,I4=−1.0426 A |
| 2019 Q.3(c) | 2 non-reference nodes | 5 A and 10 A indep current sources | V1,V2 | V1=13.3333 V,V2=20 V |
| 2020 Q.4(b) | Planar 3-mesh DC network | 400 V indep voltage, 10 A indep current | I1,I2 (I3=10 A fixed) | I1=13.5135 A,I2=10.2703 A |
| 2024 Q.2(b) | Different planar 3-mesh network | 500 V indep voltage, 5 A indep current | I1,I2 (I3=5 A fixed) | I1≈21.875 A,I2≈7.8125 A |
| 2021 Q.7(b) | 2 non-reference nodes | 30 V indep voltage, 5I0 dependent voltage | VC,VR (then I0) | I0=1.6235 A,VC=13.7648 V,VR=8.1176 V |
Appeared: 2020 Q.4(b) — (06 marks)

2024 Q.2(b) is a different network with a 500 V source, a 5 A source, and 10, 20, 100 Ω resistors. It is solved in full under NM-3.5, which owns that question. The numbers below apply to the 2020 circuit only.
Full Answer:
Step 1: Account for the current source. Mesh 3 is bounded on the right by an ideal 10 A current source directed downward. Since no other mesh shares this branch, the clockwise mesh current is fixed:
I3=10 AStep 2: Mesh 1 KVL. Traversing clockwise around loop 1:
−400+20I1+40(I1−I2)=0⟹60I1−40I2=400Step 3: Mesh 2 KVL. Traversing clockwise around loop 2:
40(I2−I1)+10I2+100(I2−I3)=0Substitute I3=10 A:
−40I1+150I2−1000=0⟹−40I1+150I2=1000Step 4: Check diagonal dominance and set up iterations. In row 1, ∣60∣>∣−40∣=40. In row 2, ∣150∣>∣−40∣=40. Both rows are strictly dominant.
I1(k+1)=60400+40I2(k),I2(k+1)=1501000+40I1(k+1)Starting from I1(0)=I2(0)=0, the iterations converge to:
I1=37500≈13.5135 A,I2=37380≈10.2703 A I1=13.5135 A,I2=10.2703 A,I3=10.0000 A(For the full 10-iteration sweep table, see NM-3.5: Gauss-Seidel Iteration.)
Appeared: 2021 Q.7(b) — (06 marks, CO: 2)

Full Answer:
Step 1: Set reference and label node voltages. Ground reference is the bottom rail (0 V). Top rail is held at VT=30 V. Centre node potential is VC, right node potential is VR.
Step 2: Express the controlling current I0. Current through the 10 Ω branch:
I0=10VT−VC=1030−VCStep 3: Relate dependent voltage source. The right node is driven by the dependent voltage source 5I0:
VR=5I0=5(1030−VC)=15−0.5VC⟹VC+2VR=30Step 4: KCL at centre node VC.
10VC−30+15VC−0+8VC−VR=0Multiply through by 120:
12(VC−30)+8VC+15(VC−VR)=0⟹35VC−15VR=360Step 5: Diagonally dominant arrangement and solution. Order the equations to maintain diagonal dominance:
Converged node potentials:
VC=17234≈13.7648 V,VR=17138≈8.1176 VCalculating branch current I0:
I0=1030−13.764778=1.6235 A I0=1.6235 A,VC=13.7648 V,VR=8.1176 V(For the complete 8-iteration table, see NM-3.5: Gauss-Seidel Iteration.)
Appeared: 2018 Q.4(b) — (05 marks)

Full Answer:
Step 1: Constraint equation. The 10 A source in the outer branch of mesh 2 directly fixes I2:
I2=−10 AStep 2: KVL around meshes 1, 3, and 4.
Step 3: Gauss-Seidel updates.
I1(k+1)=55−200+25I4(k),I3(k+1)=37−250+4I4(k),I4(k+1)=29100+25I1(k+1)+4I3(k+1)Starting from (0,0,0), the iteration reaches the exact currents:
I1=−4.1103 A,I2=−10 A,I3=−6.8695 A,I4=−1.0426 A(For the complete 8-iteration table, see NM-3.5: Gauss-Seidel Iteration.)
← Previous: NM-3.5 Gauss-Seidel Iteration | 🏠 Index | Next: NM-3 Lower Tier →