Tiber Tutor

notes

IB Maths AI 3.12 Notes

This page contains our IB Maths AI notes for 3.12. By reading each one of these notes, you will fully cover the content for IB Maths AI 'Adjacency matrices'.

Chapters

Loading progress...

Adjacency matrices

In this section, we represent graphs using matrices. This gives a neat algebraic way to describe connections in a network and allows us to answer questions about walks, weights, and transitions.

An adjacency matrix records which vertices are connected in a graph. Suppose a graph has vertices listed in the order AA, BB, CC, DD. The adjacency matrix AA is formed by letting the entry in row ii and column jj show whether vertex ii is joined to vertex jj.

For a simple unweighted graph:

  • put 11 if there is an edge
  • put 00 if there is no edge

For an undirected graph, the adjacency matrix is symmetric because connections work both ways. For example, suppose the graph has edges ABAB, ACAC, BCBC, and CDCD.

Using the order AA, BB, CC, DD, the adjacency matrix is A=(0110101011010010)A=\begin{pmatrix}0&&1&&1&&0\\1&&0&&1&&0\\1&&1&&0&&1\\0&&0&&1&&0\end{pmatrix}.

The diagonal entries are 00 because there are no loops.

Math Topic 3 subTopic 12 notes image 1

tibertutor.com

Next Up

You have completed the sub-topic 3.12 notes, covering "Adjacency matrices" for IB Maths AI - continue with related resources below or explore the full IB Maths AI course from the IBO.

Other Sub-topic 3.12 resources