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:     I=CdvdtI = C \frac{dv}{dt}

    • Faraday's Law of Induction:     V=LdidtV = L \frac{di}{dt}

    • Ohm's Law of Resistance:     V=R×IV = R \times I

  • Circuit analysis focuses on determining the voltages and currents across all interacting elements within a complete network.

Simple circuit with voltage source, resistors, capacitor, and inductor
  • 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 (V=constantV = \text{constant}), which implies:     I=Cdvdt=0(Open Circuit)I = C \frac{dv}{dt} = 0 \quad \text{(Open Circuit)}

    • Current through any component is constant (I=constantI = \text{constant}), which implies:     V=Ldidt=0(Short Circuit)V = L \frac{di}{dt} = 0 \quad \text{(Short Circuit)}

  • 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.

DC steady-state equivalent resistive circuit

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 KK nodes:     ∑k=1K−1Vnk→nk+1+VnK→n1=0\sum_{k=1}^{K-1} V_{n_k \rightarrow n_{k+1}} + V_{n_K \rightarrow n_1} = 0

First mesh of the resistive circuit
  • Application of KVL to a single-resistor loop (Mesh 1):   Vn1→n2+Vn2→n1=0  ⟹  R1⋅i1+(−V)=0  ⟹  i1=VR1V_{n_1 \rightarrow n_2} + V_{n_2 \rightarrow n_1} = 0 \implies R_1 \cdot i_1 + (-V) = 0 \implies i_1 = \frac{V}{R_1}   This directly yields Ohm's Law.

Second mesh of the resistive circuit
  • Application of KVL to Mesh 2 (containing R2R_2 and R3R_3 in series):   R2⋅i2+R3⋅i2−V=0  ⟹  i2=VR2+R3R_2 \cdot i_2 + R_3 \cdot i_2 - V = 0 \implies i_2 = \frac{V}{R_2 + R_3}

  • Rule for Resistors in Series:

    • The resistance of resistors connected in series adds up directly:     Rseries=∑iRiR_{\text{series}} = \sum_{i} R_i

    • For two resistors in series: R2′=R2+R3R'_2 = R_2 + R_3.

First node n1 of the resistive circuit
  • 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 (I=Cdvdt=0I = C \frac{dv}{dt} = 0).

    • Standard sign convention: Currents flowing out of a node are positive (++); currents flowing into a node are negative (−-).

    • Mathematical formulation for KK branches at a node:     ∑k=1Kik=0\sum_{k=1}^{K} i_k = 0

    • For node n1n_1:     i1+i2−i3=0  ⟹  i3=i1+i2i_1 + i_2 - i_3 = 0 \implies i_3 = i_1 + i_2

  • Equivalent Resistance and Resistors in Parallel Rule:

    • Combining KVL, KCL, and Ohm's Law for the total current i3i_3 drawn from the voltage source:     i3=i1+i2=VR1+VR2+R3i_3 = i_1 + i_2 = \frac{V}{R_1} + \frac{V}{R_2 + R_3}

    • Defining an equivalent load resistance RR seen by the source (i3=VRi_3 = \frac{V}{R}):     VR=VR1+VR2+R3  ⟹  1R=1R1+1R2′\frac{V}{R} = \frac{V}{R_1} + \frac{V}{R_2 + R_3} \implies \frac{1}{R} = \frac{1}{R_1} + \frac{1}{R'_2}     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![Graph representation of the 4-node resistive circuit](https://assets.knowt.com/pdf-flow-prod/d178d2a7-afc9-4dff-8b5b-eb22fa8f6bde-figures/13.png)\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 4primarynodes(primary nodes (n_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_ishowshowR'_iareexpressedinOhms(are expressed in Ohms (\Omega).\n - Parameters R'_1throughthroughR'_5 are trans-resistances relating current in one branch to source voltage measured across distinct nodes.\n - R'_0representsthetruetotalequivalentloadresistanceofthenetworkconnectedacrosssourcenodesrepresents the true total equivalent load resistance of the network connected across source nodesn_1andandn_3\n\n- Explicit Formulas for Equivalent Load Resistance (R'_0)andBridgeCurrent() and Bridge Current (i_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'0isis\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_4andandR_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 Vrepresent∗∗conductance∗∗(represent **conductance** (G = \frac{1}{R}),measuredinSiemens(), measured in Siemens (\text{S}).\n\n- Key Operational Properties:\n 1. Direction of bridge current i_5dependssolelyontherelativemagnitudesofdepends solely on the relative magnitudes ofR_1andandR_2,regardlessofthevalueof, regardless of the value ofR_5.Usedtodeterminetheconductivityofanunknownelementplacedat. Used to determine the conductivity of an unknown element placed atR_5\n 2. If R_1 = R_2,then, theni_5 = 0(zerocurrentthroughbridgebranch;opencircuitbehavior).Usedtomeasureanunknownresistanceat(zero current through bridge branch; open circuit behavior). Used to measure an unknown resistance atR_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 (\Delta)withresistors) with resistorsR_1, R_2, R_3betweennodesbetween nodesn_1, n_2, n_3:\n - Resistance between n_1andandn_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_1andandn_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_2andandn_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 (Y)withresistors) with resistorsR_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_5)intoWye() into Wye (R_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