Using Matrices to Model Road and Communication Networks (VCE SSCE General Mathematics): Revision Notes
Using Matrices to Model Road and Communication Networks
What is a network?
A network consists of objects that are connected together. Common examples include:
- Towns connected by roads
- People connected through friendships or communication
- Computer systems connected by cables or wireless links
Networks are represented visually using network diagrams, where objects are shown as points called vertices and connections between them are shown as lines called edges.
For example, in a road network, each town is a vertex and each road is an edge connecting two vertices.
Representing road connections using matrices
Matrices provide a powerful way to record and analyse connections in a network. Each element in the matrix shows the number of direct connections between two objects.
Building a connection matrix
Let's work through how to create a connection matrix for a road network.
Consider a network showing road connections between three towns: , , and .
To create a matrix representing these connections:
Step 1: Create a square matrix with rows and columns equal to the number of towns (or objects). For three towns, we need a matrix.
Step 2: Label the rows and columns with the names of the towns.
Step 3: Fill in the matrix elements by counting direct connections:
- Use if there is no direct connection between two towns
- Use if there is one direct road connection
- Use (or higher) if there are multiple direct roads
The diagonal elements (where row equals column) are typically because a town doesn't have a road to itself. If there were a loop road from a town back to itself, we would enter for that diagonal element.
Worked example: three towns
Worked Example: Building a Connection Matrix for Three Towns
Let's examine the complete process for towns , , and :
Starting with an empty matrix with zeros on the diagonal:
The diagonal contains zeros (town to , town to , town to ).
From the network diagram:
- There is one road connecting and , so we enter in row , column and in row , column
- There are no roads connecting and , so we enter in row , column and row , column
- There are two roads connecting and , so we enter in row , column and row , column
The completed matrix is:
Interpreting column and row sums
The sum of elements in a column (or row) tells us the total number of direct road connections to that town.
For example, summing column :
This means town has three direct road connections to other towns.
Practice example: four towns

For a network with four towns (, , , ), you would create a matrix following the same process. The sum of column would tell you how many roads connect directly to town .
Social networks and communication matrices
A social network models connections between people. In these networks:
- Vertices represent individuals
- Edges represent communication links between people
A line between two people in the diagram means they can communicate directly. This is represented by in the matrix. No line (and therefore in the matrix) means they cannot communicate directly.

One-step and two-step communication
One-step communication link: When two people communicate directly with each other. For example, if Vicki talks directly to Steven, this is a one-step link.
Two-step communication link: When two people communicate indirectly through a third person. For example, if Vicki wants to send a message to Paul but doesn't communicate with him directly, she could send it via Steven or Kathy.
Creating a communication matrix
Consider a social network with four people: Vicki, Steven, Kathy, and Paul.
To build the communication matrix:
- Create a square matrix
- Label rows and columns with the first letter of each name (, , , )
- Enter where two people communicate directly
- Enter where there is no direct communication
- Enter on the diagonal (people don't communicate with themselves in one step)
Symmetry in communication matrices
Communication matrices are symmetric. This happens because communication is typically two-way. If Vicki communicates with Steven, then Steven communicates with Vicki. The matrix reflects this symmetry: the value in row , column equals the value in row , column .
Finding multi-step communications
To find two-step communication paths, we multiply the matrix by itself (square the matrix).
If is the communication matrix, then shows all two-step communications.
Worked Example: Finding Two-Step Communications
For the Vicki, Steven, Kathy, Paul example:
Reading from column (Kathy) to row (Steven), the value tells us there are two different two-step ways for Kathy to communicate with Steven:
- Kathy Vicki Steven
- Kathy Paul Steven
Understanding diagonal elements in
In the matrix, diagonal elements show how many two-step ways a person can "communicate with themselves" through another person.
For example, if the value at row , column is , this means there are three two-step paths:
- Steven Vicki Steven
- Steven Kathy Steven
- Steven Paul Steven
A practical interpretation: Steven could ring Vicki and ask her to ring him back later to remind him of an appointment.
Higher-order communications
Following the same pattern:
- shows three-step communications (via two intermediaries)
- shows four-step communications (via three intermediaries)
This matrix method can be applied to analyse friendships, travel routes between towns, and other two-way connections.

Key properties of connection matrices
Connection matrices are always square: If you have objects (towns, people, etc.), you need an matrix.
Reading the matrix: To find connections from object to object , look at row , column .
Column/row sums: Adding all elements in a column (or row) gives the total number of direct connections for that object.
Symmetry: For two-way connections (like roads or mutual friendships), the matrix is symmetric - the value at row , column equals the value at row , column .
Remember!
Key Points to Remember:
- Networks consist of vertices (objects/points) and edges (connections/lines) that can be represented using matrices
- In a connection matrix, each element shows the number of direct connections between two objects
- For road networks, the matrix element indicates the number of direct roads between towns
- For social networks, indicates direct communication and indicates no direct communication
- Squaring the matrix () reveals all two-step connections through one intermediary
- Connection matrices are always square matrices with dimensions matching the number of objects
- Column or row sums tell you the total number of direct connections for a particular object