Adjacency Matrices, Walks of Length k and Transition Matrices

IB DP Mathematics: Applications and InterpretationHLGeometry and Trigonometry — Graph TheoryTopic 3.15

Free preview

Read the preview below. The full note is free with an account.

Unlock the full notes

01

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 kk clicks is precisely the entry in the kk-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.

Aij={1if there is an edge from vertex i to vertex j0otherwiseA_{ij} = \begin{cases} 1 & \text{if there is an edge from vertex } i \text{ to vertex } j \\ 0 & \text{otherwise} \end{cases}

For an undirected graph, AA is symmetric: Aij=AjiA_{ij} = A_{ji}. For a directed graph (digraph), AijA_{ij} records an edge from ii to jj, and AjiA_{ji} records the reverse direction separately.

The adjacency matrix is read row-by-row: row ii tells you which vertices vertex ii connects to. A 1 in position (i,j)(i,j) means "there is a direct edge from ii to jj." 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
Unlock the full notes

Get the full "Adjacency Matrices, Walks of Length k and Transition Matrices" notes

Full notes, practice questions and expert tutors are available to TYCHR students.