lec12
Graph
Graph : Node, Edge
nodes:n=4edges:m=5
e.g. An electrical network.
Incidence Matrix (关联矩阵)
A=−10−1−101−10000110−100011
1,2,3 is a loop. (loop means linear dependent)
A and N(A)
x=x1x2x3x4, the potential at nodes.
Ax=x2−x1x3−x2x3−x1x4−x1x4−x3 , the potential differences.
Ax=0⇒x=c1111
$rank(A)=n-1 (groundonenodetosettleallothernodes, rank(A)+rank(N(A))=n$).
AT and N(AT)
ATy=0dim (N(AT))=m − r = 5 − 3 = 2
ATy=−1−1000−110−1010−100100−11y1y2y3y4y5=0000
Implies KCL, with y being current :
first row :
[−10−1−10]y1y2y3y4y5=[0]
⟺ − y1 − y3 − y4 = 0
Basis for N(AT) : 11−100,001−11
pivot columns of AT ( r independent edges) is a tree (a graph with no loops).
dimN(AT)#loops=m−r=#edges−(#nodes−1)
Euler’s Law:
#nodes − #edges + #loops = 1
Summarize
e=Axy=CeAT=0⇒ATCAx=f
e: potential difference
c: constant
f: current source (0 if no source)
note: ATCA is symmetric.