Circuits, Graphs, and Matrices: DC Steady-State and Resistive Circuit Analysis
Fundamental Element Characteristics and DC Steady-State Analysis
Every electrical element (capacitors, inductors, resistors) possesses a characteristic equation describing how voltage and current relate to one another:
Volta's Law of Capacitance:
Faraday's Law of Induction:
Ohm's Law of Resistance:
Circuit analysis focuses on determining the voltages and currents across all interacting elements within a complete network.

Constant sources produce Direct Current (DC). The DC steady-state regime refers to the operating condition where voltage-current relationships over all elements have stabilized and become constant over time.
In the DC steady-state regime:
Voltage across any component is constant (), which implies:
Current through any component is constant (), which implies:
Capacitors behave as open circuits and inductors behave as short circuits in the DC steady-state.
Consequently, circuits driven by DC sources in the steady state reduce fundamentally to purely resistive circuits.

Kirchhoff's Circuit Laws and Basic Combination Rules
Formulated in 1845 by German physicist Gustav Kirchhoff (1824–1887), combining Georg Ohm's findings on Galvanic circuits with general physical principles.
Kirchhoff's Voltage Law (KVL):
Definition: The direct sum of the electrical potential differences over a complete loop of each mesh in a circuit is zero.
Mathematical formulation for a closed loop of nodes:

Application of KVL to a single-resistor loop (Mesh 1): This directly yields Ohm's Law.

Application of KVL to Mesh 2 (containing and in series):
Rule for Resistors in Series:
The resistance of resistors connected in series adds up directly:
For two resistors in series: .

Kirchhoff's Current Law (KCL):
Definition: The sum of the currents at any node in a circuit is zero.
Physical basis: A node acts as an infinitely small wire segment. At stationary regime, absolute nodal potential is constant, so zero charge accumulates ().
Standard sign convention: Currents flowing out of a node are positive (); currents flowing into a node are negative ().
Mathematical formulation for branches at a node:
For node :
Equivalent Resistance and Resistors in Parallel Rule:
Combining KVL, KCL, and Ohm's Law for the total current drawn from the voltage source:
Defining an equivalent load resistance seen by the source (): where R'_2 = R_2 + R_3$.\n - **Rule for Resistors in Parallel**: The reciprocals of resistors connected in parallel add up:\n \frac{1}{R_{\text{parallel}}} = \sum_{i} \frac{1}{R_i}\n\n# Graph Representation and Matrix Formulation of Linear Circuits\n\n- Circuits that cannot be solved sequentially or reduced to a single loop require simultaneous solution of KVL, KCL, and Ohm's Law using linear algebra.\n- Such systems are categorized as **linear circuits**.\n\n\n\n- Topological Graph Construction:\n - Identify all nodes connecting two or more non-combinable elements.\n - Combine trivial series elements (e.g., R_3 = R_{3a} + R_{3b}).\n - Combine trivial parallel elements (e.g., R_2 = \frac{R_{2a} \cdot R_{2b}}{R_{2a} + R_{2b}}).\n - Reduces the circuit to a graph with 4n_1, n_2, n_3, n_4).\n\n- KVL System of Equations (Voltage Analysis):\n - Considering all independent loops in the graph yields the system:\n - a) v_1 + v_3 = V\n - b) v_2 + v_4 = V\n - c) v_1 + v_4 + v_5 = V\n - d) v_2 + v_3 - v_5 = V\n - e) v_1 - v_2 + v_5 = 0\n - f) v_1 - v_2 + v_3 - v_4 = 0\n - g) v_3 - v_4 - v_5 = 0\n\n- Matrix equation form for KVL:\n \begin{pmatrix} 1 & 0 & 1 & 0 & 0 \ 0 & 1 & 0 & 1 & 0 \ 1 & 0 & 0 & 1 & 1 \ 0 & 1 & 1 & 0 & -1 \ 1 & -1 & 0 & 0 & 1 \ 1 & -1 & 1 & -1 & 0 \ 0 & 0 & 1 & -1 & -1 \end{pmatrix} \cdot \begin{pmatrix} v_1 \ v_2 \ v_3 \ v_4 \ v_5 \end{pmatrix} = \begin{pmatrix} V \ V \ V \ V \ 0 \ 0 \ 0 \end{pmatrix}\n\n- **Gaussian Elimination and Row-Echelon Form**:\n - Gaussian elimination operates on two fundamental ideas:\n 1. Two equations can be linearly combined (added or subtracted after scalar multiplication).\n 2. Variables are systematically eliminated through linear combinations.\n - Eliminating redundant equations from KVL yields the irreducible system:\n - a') v_1 + v_4 + v_5 = V\n - b) v_2 + v_4 = V\n - c') v_3 - v_4 - v_5 = 0\n\n- Row Echelon Form Matrix Representation for KVL:\n \begin{pmatrix} 1 & 0 & 0 & 1 & 1 \ 0 & 1 & 0 & 1 & 0 \ 0 & 0 & 1 & -1 & -1 \ 0 & 0 & 0 & 0 & 0 \ 0 & 0 & 0 & 0 & 0 \ 0 & 0 & 0 & 0 & 0 \ 0 & 0 & 0 & 0 & 0 \end{pmatrix} \cdot \begin{pmatrix} v_1 \ v_2 \ v_3 \ v_4 \ v_5 \end{pmatrix} = \begin{pmatrix} V \ V \ -V \ 0 \ 0 \ 0 \ 0 \end{pmatrix}\n\n- KVL alone produces an **under-determined system** (more variables than independent equations) and is insufficient to solve the circuit completely.\n\n# Simultaneous Solution using KVL, KCL, and Ohm's Law\n\n- KCL Nodal Equations:\n - A) i_0 - i_1 - i_2 = 0\n - B) i_1 - i_3 - i_5 = 0\n - C) i_2 - i_4 + i_5 = 0\n - D) -i_0 + i_3 + i_4 = 0\n\n- KCL Row Echelon Form:\n \begin{pmatrix} 1 & 0 & 0 & -1 & -1 & 0 \ 0 & 1 & 0 & -1 & 0 & -1 \ 0 & 0 & 1 & 0 & -1 & 1 \ 0 & 0 & 0 & 0 & 0 & 0 \end{pmatrix} \cdot \begin{pmatrix} i_0 \ i_1 \ i_2 \ i_3 \ i_4 \ i_5 \end{pmatrix} = \begin{pmatrix} 0 \ 0 \ 0 \ 0 \end{pmatrix}\n This is also under-determined when taken in isolation.\n\n- Substituting Ohm's Law (v_k = R_k \cdot i_k) into KVL equations yields:\n - a') R_1 \cdot i_1 + R_4 \cdot i_4 + R_5 \cdot i_5 = V\n - b) R_2 \cdot i_2 + R_4 \cdot i_4 = V\n - c') R_3 \cdot i_3 - R_4 \cdot i_4 - R_5 \cdot i_5 = 0\n\n- Combining KCL and Ohm-modified KVL equations yields a **determined system** of 6 independent linear equations for 6 unknown currents:\n - A') i_0 - i_3 - i_4 = 0\n - B) i_1 - i_3 - i_5 = 0\n - C) i_2 - i_4 + i_5 = 0\n - a') i_1 + \frac{R_4}{R_1} \cdot i_4 + \frac{R_5}{R_1} \cdot i_5 = \frac{V}{R_1}\n - b) i_2 + \frac{R_4}{R_2} \cdot i_4 = \frac{V}{R_2}\n - c') i_3 - \frac{R_4}{R_3} \cdot i_4 - \frac{R_5}{R_3} \cdot i_5 = 0\n\n- Matrix Generalization of Ohm's Law (\mathbf{R} \cdot \mathbf{i} = \mathbf{v}):\n \begin{pmatrix} 1 & 0 & 0 & -1 & -1 & 0 \ 0 & 1 & 0 & -1 & 0 & -1 \ 0 & 0 & 1 & 0 & -1 & 1 \ 0 & R_1 & 0 & 0 & R_4 & R_5 \ 0 & 0 & R_2 & 0 & R_4 & 0 \ 0 & 0 & 0 & R_3 & -R_4 & -R_5 \end{pmatrix} \cdot \begin{pmatrix} i_0 \ i_1 \ i_2 \ i_3 \ i_4 \ i_5 \end{pmatrix} = \begin{pmatrix} 0 \ 0 \ 0 \ V \ V \ 0 \end{pmatrix}\n\n# MATLAB Symbolic Solution and Circuit Parameters\n\n- Augmented System Matrix Definition:\n \mathbf{S} \triangleq [\mathbf{R} \mid \mathbf{v}] = \begin{pmatrix} 1 & 0 & 0 & -1 & -1 & 0 & 0 \ 0 & 1 & 0 & -1 & 0 & -1 & 0 \ 0 & 0 & 1 & 0 & -1 & 1 & 0 \ 0 & R_1 & 0 & 0 & R_4 & R_5 & V \ 0 & 0 & R_2 & 0 & R_4 & 0 & V \ 0 & 0 & 0 & R_3 & -R_4 & -R_5 & 0 \end{pmatrix}\n\n- MATLAB Execution Code:\n ```matlab\n syms R1 R2 R3 R4 R5 V\n S = [1, 0, 0, -1, -1, 0, 0];\n S = [S; [0, 1, 0, -1, 0, -1, 0]];\n S = [S; [0, 0, 1, 0, -1, 1, 0]];\n S = [S; [0, R1, 0, 0, R4, R5, V]];\n S = [S; [0, 0, R2, 0, R4, 0, V]];\n S = [S; [0, 0, 0, R3, -R4, -R5, 0]];\n rref(S)\n ```\n\n- Reduced Row Echelon Form Result E(\mathbf{S}):\n E(\mathbf{S}) = \begin{pmatrix} 1 & 0 & 0 & 0 & 0 & 0 & \frac{V}{R'0} \ 0 & 1 & 0 & 0 & 0 & 0 & \frac{V}{R'_1} \ 0 & 0 & 1 & 0 & 0 & 0 & \frac{V}{R'_2} \ 0 & 0 & 0 & 1 & 0 & 0 & \frac{V}{R'_3} \ 0 & 0 & 0 & 0 & 1 & 0 & \frac{V}{R'_4} \ 0 & 0 & 0 & 0 & 0 & 1 & \frac{V}{R'_5} \end{pmatrix}\n\n- Analytical Interpretation of R'_i:\n - Relations V = R'_i \cdot i_iR'_i\Omega).\n - Parameters R'_1R'_5 are trans-resistances relating current in one branch to source voltage measured across distinct nodes.\n - R'_0n_1n_3\n\n- Explicit Formulas for Equivalent Load Resistance (R'_0i_5):\n R'_0 = \frac{\sum{i<j<k} R_i \cdot R_j \cdot R_k - (R_1 \cdot R_3 \cdot R_5 + R_2 \cdot R_4 \cdot R_5)}{\sum_{i<j} R_i \cdot R_j - (R_1 \cdot R_2 + R_3 \cdot R_4)}\n i_5 = \frac{R_2 \cdot R_3 - R_1 \cdot R_4}{\sum_{i<j<k} R_i \cdot R_j \cdot R_k - (R_1 \cdot R_3 \cdot R_5 + R_2 \cdot R_4 \cdot R_5)} \cdot V\n\n- Dimensional Verification: Unit of R'0\frac{\text{Ohm}^3}{\text{Ohm}^2} = \text{Ohm}.\n\n# The Purely Resistive Wheatstone Bridge\n\n- The 5-resistor mesh circuit analyzed above is a purely resistive variation of the **Wheatstone Bridge**, widely popularized by Sir Charles Wheatstone for precision measurement of electrical parameters.\n\n- **Perfectly Balanced Wheatstone Bridge**:\n - Condition: R_1 = R_4R_2 = R_3\n - Matrix equation reduces to:\n \mathbf{I} \cdot \begin{pmatrix} i_0 \ i_1 \ i_2 \ i_3 \ i_4 \ i_5 \end{pmatrix} = \begin{pmatrix} \frac{R_1 + R_2 + 2 R_5}{2 R_1 R_2 + R_1 R_5 + R_2 R_5} \ \frac{R_2 + R_5}{R_2 R_5 + R_1 (2 R_2 + R_5)} \ \frac{R_1 + R_5}{R_1 R_5 + R_2 (2 R_1 + R_5)} \ \frac{R_1 + R_5}{R_1 R_5 + R_2 (2 R_1 + R_5)} \ \frac{R_2 + R_5}{R_2 R_5 + R_1 (2 R_2 + R_5)} \ -\frac{R_1 - R_2}{2 R_1 R_2 + R_5 (R_1 + R_2)} \end{pmatrix} \cdot V\n - Multipliers of VG = \frac{1}{R}\text{S}).\n\n- Key Operational Properties:\n 1. Direction of bridge current i_5R_1R_2R_5R_5\n 2. If R_1 = R_2i_5 = 0R_2 relative to a calibrated reference.\n\n# The Delta-Wye (\Delta \iff Y) Transformation\n\n- Provides an algebraic method to simplify triangular network topologies into star networks without solving complete linear systems.\n\n- Delta Configuration (\DeltaR_1, R_2, R_3n_1, n_2, n_3:\n - Resistance between n_1n_2:\n R{1,3 \parallel 2} = (R_1 + R_3) \parallel R_2 = \frac{R_1 \cdot R_2 + R_2 \cdot R_3}{R_1 + R_2 + R_3}\n - Resistance between n_1n_3:\n R_{2,3 \parallel 1} = (R_2 + R_3) \parallel R_1 = \frac{R_1 \cdot R_2 + R_1 \cdot R_3}{R_1 + R_2 + R_3}\n - Resistance between n_2n_3:\n R_{1,2 \parallel 3} = (R_1 + R_2) \parallel R_3 = \frac{R_1 \cdot R_3 + R_2 \cdot R_3}{R_1 + R_2 + R_3}\n\n- Equivalent Wye Configuration (YR_a, R_b, R_c connected at a central node:\n - R_{n_1 \rightarrow n_2} = R_a + R_c\n - R_{n_1 \rightarrow n_3} = R_a + R_b\n - R_{n_2 \rightarrow n_3} = R_b + R_c\n\n- Transformation Formulas (Delta to Wye):\n R_a = \frac{R_1 \cdot R_2}{R_1 + R_2 + R_3}\n R_b = \frac{R_1 \cdot R_3}{R_1 + R_2 + R_3}\n R_c = \frac{R_2 \cdot R_3}{R_1 + R_2 + R_3}\n\n- Application to Wheatstone Bridge Load Calculation:\n - Transform top Delta formation (R_1, R_2, R_5R_a, R_b, R_c):\n R_a = \frac{R_1 \cdot R_2}{R_1 + R_2 + R_5}\n R_b = \frac{R_1 \cdot R_5}{R_1 + R_2 + R_5}\n R_c = \frac{R_2 \cdot R_5}{R_1 + R_2 + R_5}\n - Reduced circuit equivalent load equation:\n R'0 = R_a + \left[ (R_3 + R_b) \parallel (R_4 + R_c) \right]\n - Expanding terms:\n R'_0 = \frac{R_1 \cdot R_2}{R_1 + R_2 + R_5} + \frac{\left( \frac{R_1 R_3 + R_1 R_5 + R_2 R_3 + R_3 R_5}{R_1 + R_2 + R_5} \right) \cdot \left( \frac{R_1 R_4 + R_2 R_4 + R_2 R_5 + R_4 R_5}{R_1 + R_2 + R_5} \right)}{\frac{\sum{i<j} R_i R_j - (R_1 R_2 + R_3 R_4)}{R_1 + R_2 + R_5}}\n - Numerator simplifies to:\n (R_1 + R_2 + R_5) \cdot \left( \sum_{i<j<k} R_i R_j R_k - (R_1 R_3 R_5 + R_2 R_4 R_5) \right)\n - Canceling (R_1 + R_2 + R_5) directly yields the exact matrix-derived load equation:\n R'0 = \frac{\sum{i<j<k} R_i R_j R_k - (R_1 R_3 R_5 + R_2 R_4 R_5)}{\sum_{i<j} R_i R_j - (R_1 R_2 + R_3 R_4)}$$
Homework Assignments and Reading Requirements
Homework 4 Assignment:
Obtain the row echelon form associated with the system of linear equations shown in equation (23).
Subsequently determine all currents and voltages in the Wheatstone bridge circuit.
Mandatory Textbook Reading:
C. K. Alexander and M. M. O. Sadiku, Fundamentals of Electric Circuits, 3rd ed., McGraw-Hill, 2007: Chapters 2 and 3 (all).
J. D. Irwin and R. M. Nelms, Basic Engineering Circuit Analysis, 10th ed., John Wiley & Sons, 2011: Chapters 2 and 3 (all).
Core Study Topics:
Kirchhoff's Voltage and Current Laws
Resistors in Series and Parallel
Delta-Wye Transformations
Mesh/Loop and Nodal Analysis
Learning Assessment Examples and Chapter Problems