Chapter 10 Matrices updated 2025

📚 Chapter 10 Matrices updated 2025 PDF

Brief overview

This document provides a comprehensive introduction to matrices, fundamental mathematical tools with broad applications. Understanding matrices is crucial for organizing data, solving systems of equations, and modeling various real-world scenarios across disciplines.

Key points

  • Introduction to matrices and their basic properties, including order and transpose.
  • Representing and interpreting information using matrices.
  • Performing basic matrix operations: addition, subtraction, and scalar multiplication.
  • Understanding matrix multiplication and its applications, including matrix powers.
  • Exploring matrix inverses, determinants, and their use in solving matrix equations.
  • Overview of special matrix types: binary, permutation, communication, and dominance matrices.

1. Introduction to matrices and their basic properties (part 1)

1.1 What is a matrix?

  • A matrix is a grid of numbers or symbols.
  • These numbers or symbols are arranged in neat rows and columns.
  • Matrices help organize data in a structured way.

Examples of matrices, showing different dimensions and arrangements of numbers.

1.2 Order of a matrix

  • The order of a matrix tells you its size.
  • It's written as rows × columns.
  • For example, a matrix with 2 rows and 3 columns has an order of 2×32 \times 3.

The order of a matrix is:

Matrix LabelOrder
A3×23 \times 2
B1×51 \times 5
C4×14 \times 1

Four matrices labeled A, B, C, and D are presented, each with different dimensions.

1.3 Row and column matrices

  • A row matrix has only one row.

  • It looks like a horizontal list of numbers.

  • Examples are [1 2 3][1 \ 2 \ 3] or [4 5][4 \ 5].

  • A column matrix has only one column.

  • It looks like a vertical list of numbers.

  • Examples are [12]\begin{bmatrix} 1 \\ 2 \end{bmatrix} or [345]\begin{bmatrix} 3 \\ 4 \\ 5 \end{bmatrix}.

Examples of column matrices, which are matrices with only one column.

1.4 Transpose of a matrix

  • The transpose of a matrix switches its rows and columns.
  • We show the transpose with a superscript 'T'.
  • So, if matrix A is AA, its transpose is ATA^T.

To find the transpose:

  • Rows of the original matrix become columns in the transpose.
  • Columns of the original matrix become rows in the transpose.

This diagram illustrates the concept of a matrix transpose by showing an example of a matrix and its transposed form.

Consider matrix AA.

A=[201]A = \begin{bmatrix} 2 & 0 & 1 \end{bmatrix}

Its transpose, ATA^T, will have the row [2 0 1][2 \ 0 \ 1] become a column.

AT=[201]A^T = \begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix}

This diagram shows an example of matrix transposition, where the rows of the original matrix become the columns of the transposed matrix.

1.5 Element notation

  • We can describe the position of each number in a matrix using notation.
  • We use aija_{ij} where 'i' is the row number and 'j' is the column number.
  • For example, a12a_{12} is the element in the 1st row and 2nd column.

Let's look at matrix AA:

A=[153−1042−26]A = \begin{bmatrix} 1 & 5 & 3 \\ -1 & 0 & 4 \\ 2 & -2 & 6 \end{bmatrix}

  • a12a_{12} is the element in row 1, column 2, which is 5.
  • a21a_{21} is the element in row 2, column 1, which is -1.
  • a33a_{33} is the element in row 3, column 3, which is 6.

For matrix BB:

B=[321]B = \begin{bmatrix} 3 \\ 2 \\ 1 \end{bmatrix}

  • b31b_{31} is the element in row 3, column 1, which is 1.

🔑 Important: Remember that the first number in aija_{ij} is always the row, and the second is always the column.

1.6 Special types of matrices

Some matrices have special names based on their contents.

A binary matrix contains only the numbers 0 and 1.

A matrix is presented as an example of a binary matrix, with options for other matrix types listed below.

🔑 Important: Understanding these basic definitions and notations is key to performing operations with matrices later on.

2. Introduction to matrices and their basic properties (part 2)

2.1 Constructing matrices from a rule

When you need to build a matrix, a rule tells you how to find each element. This rule usually involves the element's position, which is its row and column number.

We use indices to show this position. The first index is for the row, and the second is for the column.

A common way to define matrix elements is with a formula like aij=i+ja_{ij} = i + j. Here, aija_{ij} represents the element in the ii-th row and jj-th column.

For example, if a matrix is 3 rows by 2 columns, we need to calculate each of the six elements.

📝 Example: Construct a 3x2 matrix where the element aija_{ij} is i+ji+j. For the first row (i=1i=1), the elements are 1+1=21+1=2 (for j=1j=1) and 1+2=31+2=3 (for j=2j=2). For the second row (i=2i=2), the elements are 2+1=32+1=3 (for j=1j=1) and 2+2=42+2=4 (for j=2j=2). For the third row (i=3i=3), the elements are 3+1=43+1=4 (for j=1j=1) and 3+2=53+2=5 (for j=2j=2). This gives us the matrix:

A=(233445)A = \begin{pmatrix} 2 & 3 \\ 3 & 4 \\ 4 & 5 \end{pmatrix}

26.

We can represent this process in a table. This helps visualize how the row and column numbers combine to form the element's value.

Row Index (ii)Column Index (jj)Formula (aij=i+ja_{ij} = i+j)Element (aija_{ij})
111+11+12
121+21+23
212+12+13
222+22+24
313+13+14
323+23+25

25.

2.2 Element notation in matrices

Every number or symbol inside a matrix is called an element. We use a specific notation to refer to any element.

This notation includes the matrix name and the element's position. The position is given by its row number first, then its column number.

For a matrix named AA, the element in the third row and second column is written as a32a_{32}. If the matrix is larger, this system helps us pinpoint any specific value.

🔑 Important: Always remember that the first number in the subscript refers to the row, and the second refers to the column. 23.

2.3 Basic matrix operations (introduction)

While this section focuses on introducing matrices, it's important to know that operations like addition, subtraction, and multiplication are possible with matrices. These operations follow specific rules.

For example, matrix multiplication involves multiplying rows of the first matrix by columns of the second matrix.

When performing matrix operations, you often need to calculate individual elements of the resulting matrix. This calculation uses the elements from the original matrices.

The specific method depends on the operation being performed.

📝 Example: Calculating an element of a product matrix. If we have matrices AA and BB, and we want to find element q41q_{41} of the product matrix QQ, we would use the fourth row of AA and the first column of BB. The calculation involves multiplying corresponding elements and summing them up. For instance, if AA has elements a41,a42,a43a_{41}, a_{42}, a_{43} in its fourth row and BB has elements b11,b21,b31b_{11}, b_{21}, b_{31} in its first column, then q41q_{41} would be calculated as a41b11+a42b21+a43b31a_{41}b_{11} + a_{42}b_{21} + a_{43}b_{31}. 27.

🔑 Important: Understanding how to calculate individual elements is crucial for performing more complex matrix operations like multiplication. 28.

🔑 Important: The most common exam questions involve constructing matrices from rules and identifying specific elements using correct notation. 30.

3. Representing information with matrices

3.1 Representing networks with matrices

Matrices are useful for showing information like networks. A network can be a diagram with points and lines connecting them.

We can turn this into a matrix where each number tells us about the connection between two points.

  • Adjacency matrix: This type of matrix shows connections in a network.
  • Matrix elements are usually 0 or 1. A '1' means two points are connected by a line. A '0' means they are not connected.

A network diagram is represented as a 4x4 matrix where elements are 1 if points are joined by a line and 0 otherwise.

This matrix is square, meaning it has the same number of rows and columns. The number of rows and columns matches the number of points in the network.

For instance, a network with 4 towns will use a 4x4 matrix.

  • Rows and columns represent the towns or points in the network.
  • The number at the intersection of a row and column shows how many direct connections exist between those two points.

A graph representing roads connecting four towns (A, B, C, D) and its corresponding adjacency matrix M.

For example, if a matrix element m24m_{24} is 1, it means there is one road connecting town B (row 2) and town D (column 4). If m34m_{34} is 3, it means there are three roads between town C and town D.

If m41m_{41} is 0, there are no roads between town D and town A.

The sum of elements in a row tells you the total number of connections from that specific town to all other towns. The sum of all elements in the matrix gives the total number of connections across the entire network.

A diagram illustrating the road network between four towns (A, B, C, D) and its corresponding adjacency matrix representation.

3.2 Matrix arithmetic

Matrix arithmetic allows us to combine or scale information represented by matrices. This is useful when we have data from different sources or want to adjust quantities.

3.2.1 Matrix addition and subtraction

We can add or subtract matrices only if they have the exact same dimensions (same number of rows and columns). To add two matrices, we simply add the corresponding elements in each position.

Similarly, for subtraction, we subtract the corresponding elements.

  • Element-wise operation: Addition and subtraction happen one element at a time.
  • The resulting matrix has the same dimensions as the original matrices.

This diagram illustrates the process of adding two matrices, A and B, by summing their corresponding elements.

For instance, if matrix A is: A=(230142)A = \begin{pmatrix} 2 & 3 & 0 \\ 1 & 4 & 2 \end{pmatrix} and matrix B is: B=(1232−21)B = \begin{pmatrix} 1 & 2 & 3 \\ 2 & -2 & 1 \end{pmatrix}

Then, the sum A+BA+B is: A+B=(2+13+20+31+24+(−2)2+1)=(353323)A+B = \begin{pmatrix} 2+1 & 3+2 & 0+3 \\ 1+2 & 4+(-2) & 2+1 \end{pmatrix} = \begin{pmatrix} 3 & 5 & 3 \\ 3 & 2 & 3 \end{pmatrix}

This diagram illustrates the subtraction of two matrices, A and B, showing the element-wise subtraction process.

Similarly, the subtraction A−BA-B is: A−B=(2−13−20−31−24−(−2)2−1)=(11−3−161)A-B = \begin{pmatrix} 2-1 & 3-2 & 0-3 \\ 1-2 & 4-(-2) & 2-1 \end{pmatrix} = \begin{pmatrix} 1 & 1 & -3 \\ -1 & 6 & 1 \end{pmatrix}

3.2.2 Scalar multiplication

Scalar multiplication involves multiplying every element of a matrix by a single number, called a scalar. This operation changes the scale of the values within the matrix but keeps its dimensions the same.

If we have a matrix AA and a scalar kk, the scalar multiplication kAkA is found by multiplying each element of AA by kk.

Let's take matrix AA: A=(230142)A = \begin{pmatrix} 2 & 3 & 0 \\ 1 & 4 & 2 \end{pmatrix}

To find 3A3A, we multiply each element by 3: 3A=3×(230142)=(3×23×33×03×13×43×2)=(6903126)3A = 3 \times \begin{pmatrix} 2 & 3 & 0 \\ 1 & 4 & 2 \end{pmatrix} = \begin{pmatrix} 3 \times 2 & 3 \times 3 & 3 \times 0 \\ 3 \times 1 & 3 \times 4 & 3 \times 2 \end{pmatrix} = \begin{pmatrix} 6 & 9 & 0 \\ 3 & 12 & 6 \end{pmatrix}

Another example is scalar multiplication with matrix CC: C=(4−4−26)C = \begin{pmatrix} 4 & -4 \\ -2 & 6 \end{pmatrix}

To find 0.5C0.5C, we multiply each element by 0.5: 0.5C=0.5×(4−4−26)=(0.5×40.5×(−4)0.5×(−2)0.5×6)=(2−2−13)0.5C = 0.5 \times \begin{pmatrix} 4 & -4 \\ -2 & 6 \end{pmatrix} = \begin{pmatrix} 0.5 \times 4 & 0.5 \times (-4) \\ 0.5 \times (-2) & 0.5 \times 6 \end{pmatrix} = \begin{pmatrix} 2 & -2 \\ -1 & 3 \end{pmatrix}

3.2.3 The zero matrix

A zero matrix is a matrix where every single element is zero. It can be of any size (any order).

The zero matrix acts like zero in regular arithmetic; adding it to another matrix doesn't change that matrix.

  • A zero matrix of order 2×22 \times 2 is (0000)\begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}.
  • A zero matrix of order 3×23 \times 2 is (000000)\begin{pmatrix} 0 & 0 \\ 0 & 0 \\ 0 & 0 \end{pmatrix}.

For example, if GG is: G=(60−42)G = \begin{pmatrix} 6 & 0 \\ -4 & 2 \end{pmatrix} and HH is: H=(90−63)H = \begin{pmatrix} 9 & 0 \\ -6 & 3 \end{pmatrix}

We can show that 3G−2H3G - 2H results in a zero matrix. First, calculate 3G3G: 3G=3×(60−42)=(180−126)3G = 3 \times \begin{pmatrix} 6 & 0 \\ -4 & 2 \end{pmatrix} = \begin{pmatrix} 18 & 0 \\ -12 & 6 \end{pmatrix}

Next, calculate 2H2H: 2H=2×(90−63)=(180−126)2H = 2 \times \begin{pmatrix} 9 & 0 \\ -6 & 3 \end{pmatrix} = \begin{pmatrix} 18 & 0 \\ -12 & 6 \end{pmatrix}

Now, subtract 2H2H from 3G3G: 3G−2H=(180−126)−(180−126)=(18−180−0−12−(−12)6−6)=(0000)3G - 2H = \begin{pmatrix} 18 & 0 \\ -12 & 6 \end{pmatrix} - \begin{pmatrix} 18 & 0 \\ -12 & 6 \end{pmatrix} = \begin{pmatrix} 18-18 & 0-0 \\ -12-(-12) & 6-6 \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} This is a zero matrix.

🔑 Important: Matrices must have the same dimensions for addition and subtraction. Scalar multiplication applies to all elements of a matrix.

🔑 Important: Using matrices allows us to represent structured information like networks and perform calculations on that data.

4. Matrix multiplication and its applications

4.1 Matrix multiplication: conditions and order

Matrix multiplication is a way to combine two matrices. For matrix multiplication to be possible, a specific condition must be met.

The number of columns in the first matrix must exactly equal the number of rows in the second matrix. If this condition is not met, the matrices cannot be multiplied in that order.

![This visual presents an example of matrix multiplication, showing matrices A, B, and C with their dimensions and indicating which matrix products are defined.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/d854727e-368d-4805-b77c-61c503ffce53/courses/0e7a5dd5-5560-4016-b400-c20c5da460b7/figures/1fd67f19-dc9c-40fd-9a63-5ababcbb1887/fig_062_01_f2bccd9fda3d.jpg)

If matrix A has dimensions m×nm \times n and matrix B has dimensions n×rn \times r, their product AB will be defined. The resulting product matrix AB will have the dimensions m×rm \times r.

This means the new matrix will have the same number of rows as the first matrix and the same number of columns as the second matrix.

![This visual demonstrates the evaluation of a matrix product AB, showing the matrices A and B and their resulting product.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/d854727e-368d-4805-b77c-61c503ffce53/courses/0e7a5dd5-5560-4016-b400-c20c5da460b7/figures/1fd67f19-dc9c-40fd-9a63-5ababcbb1887/fig_069_01_df7dc59ea3b3.jpg)

4.2 Performing matrix multiplication

To calculate the element in a specific row and column of the product matrix, you multiply the corresponding elements of that row from the first matrix and that column from the second matrix. Then, you sum these products.

For example, to find the element in the first row and first column of AB, you would multiply each element in the first row of A by the corresponding element in the first column of B and add the results.

📝 Example: If A=(1324)A = \begin{pmatrix} 1 & 3 \\ 2 & 4 \end{pmatrix} and B=(21)B = \begin{pmatrix} 2 \\ 1 \end{pmatrix}, then AB=(1×2+3×12×2+4×1)=(58)AB = \begin{pmatrix} 1 \times 2 + 3 \times 1 \\ 2 \times 2 + 4 \times 1 \end{pmatrix} = \begin{pmatrix} 5 \\ 8 \end{pmatrix}.

4.3 Using summing matrices

A summing matrix is a special matrix where all entries are 1. These matrices are useful for calculating the sums of rows or columns within another matrix.

To find the sum of each row in a matrix, you can multiply the original matrix by a column summing matrix on the right. This process is called post-multiplication.

![This diagram illustrates the process of matrix multiplication to calculate column sums.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/d854727e-368d-4805-b77c-61c503ffce53/courses/0e7a5dd5-5560-4016-b400-c20c5da460b7/figures/1fd67f19-dc9c-40fd-9a63-5ababcbb1887/fig_073_01_9b2bbd8376d7.jpg)

Conversely, to find the sum of each column in a matrix, you can multiply a row summing matrix by the original matrix on the left. This is known as pre-multiplication.

The resulting matrix will contain the sums of the rows or columns from the original matrix.

![This diagram illustrates matrix multiplication used to calculate column sums.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/d854727e-368d-4805-b77c-61c503ffce53/courses/0e7a5dd5-5560-4016-b400-c20c5da460b7/figures/1fd67f19-dc9c-40fd-9a63-5ababcbb1887/fig_074_01_63a6d84f1ebe.jpg)

![Examples of summing matrices, which are rows or columns containing only ones.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/d854727e-368d-4805-b77c-61c503ffce53/courses/0e7a5dd5-5560-4016-b400-c20c5da460b7/figures/1fd67f19-dc9c-40fd-9a63-5ababcbb1887/fig_070_01_63b606181d24.jpg)

4.4 Powers of matrices

The power of a matrix is found by repeatedly multiplying the matrix by itself. For example, A2A^2 means matrix A multiplied by matrix A.

Similarly, A3A^3 means A multiplied by A, and then multiplied by A again. This operation is only possible if the matrix is square, meaning it has the same number of rows and columns.

![This diagram shows matrix operations and their results.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/d854727e-368d-4805-b77c-61c503ffce53/courses/0e7a5dd5-5560-4016-b400-c20c5da460b7/figures/1fd67f19-dc9c-40fd-9a63-5ababcbb1887/fig_077_01_35774a8f7e2c.jpg)

🔑 Important: Matrix multiplication is not commutative, meaning ABAB is not always equal to BABA. Always check the order of multiplication.

🔑 Important: Powers of matrices (AnA^n) are only defined for square matrices (where the number of rows equals the number of columns).

5. Matrix inverses, determinants, and solving matrix equations

5.1 Understanding inverse matrices

  • Inverse matrix: For a square matrix AA, its inverse is denoted as A−1A^{-1}.
  • Property: The product of a matrix and its inverse, in any order, results in the identity matrix (II). AA−1=A−1A=IA A^{-1} = A^{-1} A = I
  • Identity matrix (II): A square matrix with ones on the main diagonal and zeros elsewhere. For a 2x2 identity matrix, it looks like: I=[1001]I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}

This relationship can be shown through multiplication. If matrices AA and BB are inverses, then AB=IAB = I and BA=IBA = I.

This diagram illustrates the process of matrix multiplication to demonstrate that two matrices are inverses of each other.

5.2 Determinant of a 2x2 matrix

  • Definition: For a 2x2 matrix A=[anco]A = \begin{bmatrix} a & n \\ c & o \end{bmatrix}, the determinant is calculated as ao−ncao - nc.
  • Notation: The determinant of matrix AA is written as det⁡(A)\det(A) or ∣A∣|A|.

det⁡(A)=ao−nc\det(A) = ao - nc

The determinant is a scalar value that provides important information about the matrix. For example, if the determinant is zero, the matrix does not have an inverse.

This diagram illustrates the formula for calculating the determinant of a 2x2 matrix.

Here are some examples of determinant calculations:

  • Matrix A=[2235]A = \begin{bmatrix} 2 & 2 \\ 3 & 5 \end{bmatrix}: det⁡(A)=(2×5)−(2×3)=10−6=4\det(A) = (2 \times 5) - (2 \times 3) = 10 - 6 = 4.
  • Matrix B=[2323]B = \begin{bmatrix} 2 & 3 \\ 2 & 3 \end{bmatrix}: det⁡(B)=(2×3)−(3×2)=6−6=0\det(B) = (2 \times 3) - (3 \times 2) = 6 - 6 = 0.
  • Matrix C=[2423]C = \begin{bmatrix} 2 & 4 \\ 2 & 3 \end{bmatrix}: det⁡(C)=(2×3)−(4×2)=6−8=−2\det(C) = (2 \times 3) - (4 \times 2) = 6 - 8 = -2.

This diagram shows the calculation of the determinant for three different 2x2 matrices.

5.3 Inverse of a 2x2 matrix

  • Formula: For a 2x2 matrix A=[anco]A = \begin{bmatrix} a & n \\ c & o \end{bmatrix}, the inverse is given by: A−1=1det⁡(A)[o−n−ca]A^{-1} = \frac{1}{\det(A)} \begin{bmatrix} o & -n \\ -c & a \end{bmatrix}
  • Condition: The determinant of AA must not be zero (det⁡(A)≠0\det(A) \neq 0) for the inverse to exist.

This formula swaps the diagonal elements, negates the off-diagonal elements, and then scales the entire matrix by the reciprocal of its determinant.

This diagram illustrates the formula for finding the inverse of a 2x2 matrix.

Let's find the inverse of a matrix A=[2234]A = \begin{bmatrix} 2 & 2 \\ 3 & 4 \end{bmatrix}. First, calculate the determinant: det⁡(A)=(2×4)−(2×3)=8−6=2\det(A) = (2 \times 4) - (2 \times 3) = 8 - 6 = 2.

Then, apply the inverse formula: A−1=12[4−2−32]=[2−1−3/21]A^{-1} = \frac{1}{2} \begin{bmatrix} 4 & -2 \\ -3 & 2 \end{bmatrix} = \begin{bmatrix} 2 & -1 \\ -3/2 & 1 \end{bmatrix}

This diagram shows the process of finding the inverse of a 2x2 matrix.

If a matrix has a determinant of zero, it is called a singular matrix, and it does not have an inverse. For example, matrix B=[2323]B = \begin{bmatrix} 2 & 3 \\ 2 & 3 \end{bmatrix} has a determinant of 0, so its inverse is undefined.

5.4 Solving matrix equations

Matrix equations can be solved using addition, subtraction, and multiplication by inverse matrices. The order of operations is crucial, especially with matrix multiplication.

Here are the general rules for solving common matrix equations:

Equation TypeOperation to Isolate XResulting Equation for X
A+X=BA + X = BSubtract A from both sidesX=B−AX = B - A
A−X=BA - X = BRearrange and subtract BX=A−BX = A - B
AX=BAX = BMultiply by A−1A^{-1} on leftX=A−1BX = A^{-1}B
XA=BXA = BMultiply by A−1A^{-1} on rightX=BA−1X = BA^{-1}

Key takeaway: For equations involving AX=BAX=B or XA=BXA=B, always multiply by the inverse matrix on the correct side.

Let's solve the equation B+X=CB + X = C for matrix XX, where B=[2132]B = \begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} and C=[8−146]C = \begin{bmatrix} 8 & -1 \\ 4 & 6 \end{bmatrix}. To solve for XX, we subtract BB from both sides: X=C−BX = C - B X=[8−146]−[2132]=[8−2−1−14−36−2]=[6−214]X = \begin{bmatrix} 8 & -1 \\ 4 & 6 \end{bmatrix} - \begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} = \begin{bmatrix} 8-2 & -1-1 \\ 4-3 & 6-2 \end{bmatrix} = \begin{bmatrix} 6 & -2 \\ 1 & 4 \end{bmatrix}

This image displays matrix equations, defining matrices A, B, C, D, and E, and then solving for matrix X in the equation B + X = C.

Now consider solving BX=CBX = C, where B=[2132]B = \begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} and C=[8−146]C = \begin{bmatrix} 8 & -1 \\ 4 & 6 \end{bmatrix}. To solve for XX, we need the inverse of BB.

First, find det⁡(B)=(2×2)−(1×3)=4−3=1\det(B) = (2 \times 2) - (1 \times 3) = 4 - 3 = 1. Then, B−1=11[2−1−32]=[2−1−32]B^{-1} = \frac{1}{1} \begin{bmatrix} 2 & -1 \\ -3 & 2 \end{bmatrix} = \begin{bmatrix} 2 & -1 \\ -3 & 2 \end{bmatrix}.

Now, calculate X=B−1CX = B^{-1}C: X=[2−1−32][8−146]=[(2×8+(−1)×4)(2×−1+(−1)×6)(−3×8+2×4)(−3×−1+2×6)]=[16−4−2−6−24+83+12]=[12−8−1615]X = \begin{bmatrix} 2 & -1 \\ -3 & 2 \end{bmatrix} \begin{bmatrix} 8 & -1 \\ 4 & 6 \end{bmatrix} = \begin{bmatrix} (2 \times 8 + (-1) \times 4) & (2 \times -1 + (-1) \times 6) \\ (-3 \times 8 + 2 \times 4) & (-3 \times -1 + 2 \times 6) \end{bmatrix} = \begin{bmatrix} 16 - 4 & -2 - 6 \\ -24 + 8 & 3 + 12 \end{bmatrix} = \begin{bmatrix} 12 & -8 \\ -16 & 15 \end{bmatrix}.

🔑 Important: When solving AX=BAX = B, you must calculate X=A−1BX = A^{-1}B. If you calculate XA−1XA^{-1}, you will get a different, incorrect answer.

🔑 Important: The order of matrix multiplication matters significantly. ABAB is generally not the same as BABA.

🔑 Important: A matrix equation can only be solved if the required inverse matrices exist (i.e., their determinants are not zero).

🔑 Important: For solving matrix equations, ensure you are comfortable with matrix addition, subtraction, and multiplication, as well as finding determinants and inverses of 2x2 matrices.

🔑 Important: The most exam-relevant aspect of this topic is applying the correct inverse matrix operations to solve equations, especially AX=BAX=B and XA=BXA=B.

6. Special types of matrices: binary, permutation, communication, and dominance (part 1)

6.1 Binary matrices

  • Binary matrices are special matrices containing only the numbers 0 and 1.

    📝 Example: You might see a binary matrix representing yes/no answers or on/off states.

    Examples of binary matrices, which contain only elements 1 or 0.

6.2 Permutation matrices

  • A permutation matrix is a square binary matrix. It has exactly one '1' in each row and in each column.

    📝 Example: These matrices are used to rearrange the order of elements in a list or matrix.

    Examples of permutation matrices, which are square binary matrices with exactly one '1' in each row and column.

  • When you multiply a column matrix by a permutation matrix, it rearranges the elements in the column matrix. The position of the '1' in the permutation matrix determines how the elements are reordered.

  • Consider the column matrix X=(TAR)X = \begin{pmatrix} T \\ A \\ R \end{pmatrix} and the permutation matrix P=(001010100)P = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0 \end{pmatrix}. Pre-multiplying XX by PP results in Y=(RAT)Y = \begin{pmatrix} R \\ A \\ T \end{pmatrix}. This shows that PP moved the element from the third row of XX to the first row of YY.

  • If you multiply a permutation matrix by itself (e.g., P2P^2), the result can be the identity matrix, meaning the order is restored. For example, P2XP^2X applied to the matrix XX results in XX itself, leaving it unchanged.

    This diagram shows the multiplication of a permutation matrix P squared by a column matrix X, demonstrating that the result is unchanged.

  • A deduction from this is that P2P^2 acts as an identity matrix, meaning it does not change the matrix it multiplies.

6.2.1 Finding a permutation matrix for a specific rearrangement

  • You can find a permutation matrix that achieves a specific rearrangement of elements. Each row in the permutation matrix corresponds to a row in the resulting matrix.

  • The '1' in a row of the permutation matrix indicates which row from the original matrix will appear in that position in the new matrix. For instance, to move element A from row 1 to row 4, the permutation matrix will have a '1' in row 4, column 1.

  • Similarly, if element B moves from row 2 to row 3, the permutation matrix will have a '1' in row 3, column 2. This pattern helps construct the entire permutation matrix needed for the desired order.

    📝 Example: To rearrange (ABCD)\begin{pmatrix} A \\ B \\ C \\ D \end{pmatrix} to (DCBA)\begin{pmatrix} D \\ C \\ B \\ A \end{pmatrix}, you need to find the correct permutation matrix.

> Element A moves from row 1 to row 4.
> Element B moves from row 2 to row 3.
> Element C moves from row 3 to row 2.
> Element D moves from row 4 to row 1.
> This leads to the permutation matrix:
> $\begin{pmatrix} 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 0 \end{pmatrix}$

6.2.2 Inverse of a permutation matrix

  • The inverse of a permutation matrix (P−1P^{-1}) is equal to its transpose (PTP^T). This property is very useful.

  • If a permutation matrix PP rearranges a matrix AA into XX (so X=PAX = PA), you can find the original matrix AA by using the inverse. Multiplying XX by P−1P^{-1} will return AA.

  • This means you can determine the original matrix by multiplying the resulting matrix by the transpose of the permutation matrix.

    🔑 Important: Knowing P−1=PTP^{-1} = P^T allows you to reverse the rearrangement performed by a permutation matrix.

    This diagram illustrates the calculation of matrix A by multiplying the inverse of permutation matrix P with a column matrix.

    📝 Example: If matrix PP transforms matrix AA into XX, so X=PAX = PA, then A=P−1XA = P^{-1}X. Since P−1=PTP^{-1} = P^T, you can find AA by calculating A=PTXA = P^T X.

    Matrices P and Q are presented, with P being a permutation matrix and Q a column matrix.

    Matrices P and Q are presented, with P being a permutation matrix and Q a column matrix containing letters.

6.3 Communication matrices

  • Communication matrices are used to represent communication links between individuals or entities.

  • The entries in a communication matrix typically show whether a direct communication link exists (often represented by '1') or not (represented by '0').

  • A matrix CC might show direct communication links. C2C^2 would then show the number of ways to communicate in two steps. The sum of CC and C2C^2 (T=C+C2T = C + C^2) can represent the total number of communication links, including direct and two-step connections.

🔑 Important: Communication matrices help visualize and analyze network structures and potential connections between nodes.

7. Special types of matrices: binary, permutation, communication, and dominance (part 2)

7.1 Communication matrices

A communication matrix shows who can communicate directly with whom. Rows represent the sender, and columns represent the receiver.

A '1' in a cell means direct communication is possible, while a '0' means it's not.

This matrix is a binary matrix because it only contains 0s and 1s.

A communication matrix showing the direct communication links between four individuals: Eva (E), Wong (W), Yumi (Y), and Kim (K).

  • Rows show who is sending the message.
  • Columns show who is receiving the message.
  • A '1' indicates a direct link.
  • A '0' indicates no direct link.

This matrix helps understand direct communication pathways between people.

A communication matrix representing direct communication links between individuals, where rows indicate the speaker and columns indicate the receiver.

We can also combine matrices to see communication over multiple steps. For example, to find all people who can communicate within two steps, we can add the one-step communication matrix (CC) and the two-step communication matrix (C2C^2).

This gives a total communication matrix (TT).

T=C+C2T = C + C^2

This helps identify all possible direct and indirect communication routes.

A communication matrix representing communication links between five people.

7.2 Dominance matrices

Dominance matrices are used to show the results of competitions, like in a round-robin tournament. In these tournaments, each participant plays every other participant.

A one-step dominance matrix (DD) shows direct wins. If player A beats player B, there's a '1' in the row for A and the column for B.

A '0' means player A did not beat player B.

A two-step dominance matrix (D2D^2) shows wins that happen indirectly. This means player A might beat player C, and player C beats player B, so A has a two-step dominance over B.

We can combine these to see overall dominance.

T=D+D2T = D + D^2

This matrix TT summarizes the total number of one-step and two-step dominances for each participant.

PlayerOne-step DominanceTwo-step DominanceTotal Dominance
Anna224
Birgit336
Cas112
Di123
Emma314

Table A displays the one-step and two-step dominances for each player in the tournament.

The total dominance scores help rank the players. The player with the highest score is the top-ranked.

Table showing the number of one-step and two-step dominances accumulated by each player in the tournament.

🔑 Important: Dominance matrices help rank competitors by analyzing direct wins (one-step) and indirect wins (two-step).

8. Special types of matrices: binary, permutation, communication, and dominance (part 3)

8.1 Dominance matrices and tournament analysis

Dominance matrices show the results of competitions between players or teams. A "1" in the matrix means the player in the row won against the player in the column, and a "0" means they lost.

This helps us understand who is stronger in a tournament. We can also count how many times each player won directly against others, which is called their one-step dominance.

The matrix can be used to find rankings. By summing up wins, we get a total score for each player.

This gives a clear picture of performance.

A matrix representing dominance scores between players A, B, C, D, and E, with a total score column.

We can also look at two-step dominances. This means player A beat player B, and player B beat player C, so player A has a two-step dominance over player C.

Analyzing these multiple steps helps understand deeper relationships in the competition.

PlayerOne-step DominanceTwo-step Dominance
A32
B21
C10
D00
E10

The table above shows the number of one-step and two-step dominances for each player. This data helps summarize tournament outcomes.

Different options might present these results in slightly varied ways, but the core information remains the same.

Analyzing both one-step and two-step dominances provides a more complete understanding of player strengths in a tournament.

The table below presents similar data, listing players and their respective dominance counts. This offers another view of the tournament results.

🔑 Important: Dominance matrices help rank players by showing direct wins and indirect influence through multiple wins.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also