Analyse a relation matrix
Fix rows as sources and columns as targets before interpreting a directed relation matrix. The direct matrix records one-step relations, while a power of the matrix counts routes of the corresponding exact length
- Read rows as sources An entry in row i and column j describes a direct relation from i to j \(\displaystyle R_{23}=1\)
- Use zero for no direct self-relation A diagonal entry is 1 only when the relation from a vertex to itself is direct \(\displaystyle R_{11}=0\)
- Use powers for exact routes The ij entry of R squared counts routes from i to j using exactly two direct steps \(\displaystyle R^{2}_{13}=r_{11}r_{13}+r_{12}r_{23}+r_{13}r_{33}\)
- Score a dominance relation by row For a dominance relation, add the direct and two-step entries across each source row \(\displaystyle s_i=\sum_j(D_{ij}+D^{2}_{ij})\)
Worked example
A directed relation on vertices 1, 2 and 3 has matrix C below. Find the number of routes from vertex 2 to vertex 1 using exactly two steps
- \(\displaystyle C_{2\bullet}=[0\quad0\quad1],\quad C_{\bullet1}=\begin{bmatrix}0\\0\\1\end{bmatrix}\)Use row 2 as the source row and column 1 as the target column
- \(\displaystyle 0\times0=0,\quad0\times0=0,\quad1\times1=1\)These products count the possible intermediate vertices 1, 2 and 3
- \(\displaystyle C^{2}_{21}=0+0+1=1\)There is one route of exactly two steps from vertex 2 to vertex 1
Common mistakes
Difficulty levels
Questions about this topic
What does an entry of R to the power k count?+
In a binary relation matrix, the entry in row i and column j of R to the power k counts routes from i to j using exactly k direct steps
Why can a power have a non-zero diagonal entry?+
A non-zero diagonal entry in a power records a route that returns to its starting vertex in that exact number of steps. It does not imply a direct self-relation
How is a dominance score formed?+
For each source row, add the direct and two-step entries across the row of D plus D squared. Equal row totals produce a tie
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 10: Matrices