Adjacency Matrices, Walks of Length k and Transition Matrices
IB DP Mathematics: Applications and InterpretationHLGeometry and Trigonometry — Graph TheoryTopic 3.15
Free previewRead the preview below. The full note is free with an account.
Unlock the full notes01
Real-World Introduction
Every time a search engine ranks a webpage, it is performing a calculation on a matrix that encodes which pages link to which other pages. The number of ways to navigate from one page to another in exactly clicks is precisely the entry in the -th power of that graph's adjacency matrix. This is not a coincidence — it is the mathematical foundation of Google's original PageRank algorithm.
Transition matrices extend this idea by attaching probabilities to each connection. A customer switching between mobile phone providers, a molecule moving between energy states, or a population migrating between cities can all be modelled by a transition matrix. Multiplying the matrix by itself repeatedly reveals where the system will settle in the long run — the steady state.
02
Core Concepts & Definitions
A graph is a collection of vertices (nodes) connected by edges. To perform algebraic operations on a graph — such as counting paths or modelling probabilities — the graph must first be translated into a matrix. This translation is called the adjacency matrix.
For an undirected graph, is symmetric: . For a directed graph (digraph), records an edge from to , and records the reverse direction separately.
The adjacency matrix is read row-by-row: row tells you which vertices vertex connects to. A 1 in position means "there is a direct edge from to ." A 0 means no direct edge. Self-loops (edges from a vertex to itself) appear on the main diagonal; in most IB problems, self-loops are absent so the diagonal is zero.
The preview ends here
Read the full note
- The complete note with worked examples
- Practice questions with mark schemes
- Help from an experienced tutor
