Clear Notion Academy

Matrices and Determinants (Beyond Advanced) Practice: A weighted directed graph has vertices 1,2,3 and exactly three arcs: 1 2 of weight 1 , 2…

Question

A weighted directed graph has vertices 1,2,31,2,3 and exactly three arcs: 1→21\to2 of weight 11, 2→32\to3 of weight 33 and 1→31\to3 of weight 22 (see the figure). Let N=[nij]N=[n_{ij}] be the weight matrix, with nijn_{ij} the weight of the arc i→ji\to j and 00 if there is no such arc, and let A=I+NA=I+N. Find the sum of all nine entries of A−5A^{-5}.

Answer

Answer: 18

Hint

NN is strictly upper triangular. Find the smallest power of NN that vanishes, and expand (I+N)−5(I+N)^{-5} as a finite series in NN.

Solution

N=[012003000]N=\begin{bmatrix}0&1&2\\0&0&3\\0&0&0\end{bmatrix}. N2=[003000000]N^2=\begin{bmatrix}0&0&3\\0&0&0\\0&0&0\end{bmatrix} (the only product path is 1→2→31\to2\to3 with weight 1⋅3=31\cdot3=3) and N3=ON^3=O. Because N3=ON^3=O, (I+N)−1=I−N+N2(I+N)^{-1}=I-N+N^2 and in general (I+N)−m=I−mN+(m+12)N2(I+N)^{-m}=I-mN+\tbinom{m+1}{2}N^2 (the series ∑(−mj)Nj\sum\binom{-m}{j}N^j stops at j=2j=2). For m=5m=5: A−5=I−5N+15N2A^{-5}=I-5N+15N^2. The sum of all entries: sum⁡(I)=3\operatorname{sum}(I)=3, sum⁡(N)=1+2+3=6\operatorname{sum}(N)=1+2+3=6, sum⁡(N2)=3\operatorname{sum}(N^2)=3. So 3−5⋅6+15⋅3=3−30+45=183-5\cdot6+15\cdot3=3-30+45=18. The binomial series for a negative exponent is legitimate here because the series is finite; using (52)=10\binom{5}{2}=10 instead of (−52)=15\binom{-5}{2}=15 would give 3−30+30=33-30+30=3.

More questions from Matrices and Determinants (Beyond Advanced) Practice

Practise the full set: Matrices and Determinants — Beyond Advanced