LINEAR-ALGEBRA ยท Unit 12 ยท Video 3 ยท Interactive Practice

Three Laws, One Equation: The Hidden Symmetry Governing Every Network

IKey Formulas

Step Formula Name Description
1. Geometry e=Axe = Ax Potential differences AA = incidence matrix; each row has โˆ’1-1 (start) and +1+1 (end)
2. Physics y=Cey = Ce Ohm's law CC = diagonal matrix of conductances; yk=ckโ€‰eky_k = c_k \, e_k
3. Conservation AโŠคy=fA^\top y = f Kirchhoff's current law Net current at each node = external source
Combined AโŠคCAโ€‰x=fA^\top C A \, x = f Equilibrium equation Substitute steps 1 & 2 into step 3

Symmetry property: (AโŠคCA)โŠค=AโŠคCโŠค(AโŠค)โŠค=AโŠคCA(A^\top C A)^\top = A^\top C^\top (A^\top)^\top = A^\top C A, since CC is diagonal (so CโŠค=CC^\top = C) and (AโŠค)โŠค=A(A^\top)^\top = A.

IIVisualization 1 โ€” Building the Incidence Matrix

Each directed edge becomes one row of AA: โˆ’1-1 at its start node, +1+1 at its end node.

๐Ÿ’ก AA is pure topology โ€” the physics (conductances) enters only later, through CC.

IIIVisualization 2 โ€” The Three-Step Pipeline

Node potentials flow through e=Axโ†’y=Ceโ†’AโŠคy=fe = Ax \to y = Ce \to A^\top y = f, and the node forces always sum to zero.

๐Ÿ’ก Challenge: set all four potentials equal โ€” why does every drop ee, current yy, and force ff then vanish?

IVVisualization 3 โ€” The Symmetry of AโŠคCAA^\top C A

Whatever conductances you choose, K=AโŠคCAK = A^\top C A equals its own transpose.

๐Ÿ’ก Symmetry is structural: (AโŠคCA)โŠค=AโŠคCโŠค(AโŠค)โŠค=AโŠคCA(A^\top C A)^\top = A^\top C^\top (A^\top)^\top = A^\top C A, because CโŠค=CC^\top = C for any diagonal CC. That is exactly what guarantees real eigenvalues and a Cholesky factorization.

VQuiz Questions

Question 1

A directed edge runs from node 3 to node 1 in a network with 4 nodes. What does the corresponding row of the incidence matrix AA look like?

โœ… Correct! Start node 3 gets โˆ’1-1, end node 1 gets +1+1.

โŒ Not quite. Remember: โˆ’1-1 at the start node, +1+1 at the end node. The edge goes from 3 to 1.

Show solution

Solution:

The rule is: place โˆ’1-1 at the start node column and +1+1 at the end node column.

  • Start node = node 3 โ†’ column 3 gets โˆ’1-1
  • End node = node 1 โ†’ column 1 gets +1+1

Row=[+1โŸn1,โ€…โ€Š0โŸn2,โ€…โ€Šโˆ’1โŸn3,โ€…โ€Š0โŸn4]\text{Row} = [\underbrace{+1}_{\text{n}_1}, \; \underbrace{0}_{\text{n}_2}, \; \underbrace{-1}_{\text{n}_3}, \; \underbrace{0}_{\text{n}_4}]

Question 2

In the equilibrium equation AโŠคCAโ€‰x=fA^\top C A \, x = f, what does the diagonal matrix CC encode?

โœ… Correct! CC holds the material property (conductance, stiffness, etc.) for each edge, and it's diagonal because edges are independent.

โŒ Not quite. Think about which of the three steps โ€” geometry, physics, or conservation โ€” introduces material properties.

Show solution

Solution:

In AโŠคCAโ€‰x=fA^\top C A \, x = f, each symbol plays a distinct role:

Symbol Encodes
AA Connectivity โ€” which nodes each edge connects (geometry)
CC Material properties โ€” conductance, stiffness, or pipe conductance on each edge (physics)
ff External forcing โ€” current, force, or flow injected at each node
xx Unknowns โ€” potentials, displacements, or pressures at each node

CC is diagonal because each edge's material property is independent of the others. It enters in Step 2 (physics): y=Cey = Ce.

Question 3

Consider the 4-node network from the video. Edge 3 runs from node 1 to node 3, so its row in AA is [โˆ’1,โ€…โ€Š0,โ€…โ€Š+1,โ€…โ€Š0][-1, \; 0, \; +1, \; 0].

If the node potentials are x1=4x_1 = 4, x2=2x_2 = 2, x3=โˆ’1x_3 = -1, x4=0x_4 = 0, what is the voltage drop e3e_3 across edge 3?

โœ… Correct! e3=x3โˆ’x1=โˆ’1โˆ’4=โˆ’5e_3 = x_3 - x_1 = -1 - 4 = -5. The potential drops along this edge.

โŒ Not quite. Use the formula: e3=(+1)โ‹…x3+(โˆ’1)โ‹…x1=x3โˆ’x1e_3 = (+1) \cdot x_3 + (-1) \cdot x_1 = x_3 - x_1. Be careful with the sign!

Show solution

Solution:

Edge 3 goes from node 1 to node 3. Its row in AA is [โˆ’1,โ€…โ€Š0,โ€…โ€Š+1,โ€…โ€Š0][-1, \; 0, \; +1, \; 0].

The voltage drop is the dot product of this row with xx:

e3=(โˆ’1)(x1)+(0)(x2)+(+1)(x3)+(0)(x4)=x3โˆ’x1e_3 = (-1)(x_1) + (0)(x_2) + (+1)(x_3) + (0)(x_4) = x_3 - x_1

e3=(โˆ’1)โˆ’4=โˆ’5e_3 = (-1) - 4 = -5

The formula is always end node minus start node: ek=xendโˆ’xstarte_k = x_{\text{end}} - x_{\text{start}}.

The negative sign means potential decreases from node 1 to node 3.

Question 4

True or False: The matrix AโŠคCAA^\top C A is symmetric only when all edge conductances are equal (i.e., only when C=cIC = cI for some scalar cc).

โœ… Correct! Symmetry holds for any diagonal CC, not just scalar multiples of II. The proof only requires that CโŠค=CC^\top = C, which is true for every diagonal matrix.

โŒ Not quite. Look at the symmetry proof โ€” which property of CC does it actually use? Is that property limited to C=cIC = cI?

Show solution

Solution: False.

AโŠคCAA^\top C A is symmetric for any diagonal matrix CC with positive entries โ€” the conductances do not need to be equal.

Proof:

(AโŠคCA)โŠค=AโŠคโ‹…CโŠคโ‹…(AโŠค)โŠค(A^\top C A)^\top = A^\top \cdot C^\top \cdot (A^\top)^\top

Now simplify each piece:

  1. (AโŠค)โŠค=A(A^\top)^\top = A โ€” transposing twice returns the original
  2. CโŠค=CC^\top = C โ€” any diagonal matrix is symmetric (not just cIcI)

Substituting back:

=AโŠคโ‹…Cโ‹…A=AโŠคCAโœ“= A^\top \cdot C \cdot A = A^\top C A \quad\checkmark

The symmetry is a structural property guaranteed by the algebraic form AโŠคCAA^\top C A, not by any special relationship between the values in CC.

You can verify this in Visualization 3 above โ€” try any combination of conductances!

Solved: 0 / 4