Matrices · Topic 1 of 3
1. Matrix Algebra
Theory
A matrix is a rectangular array of numbers. Its order is written as (rows columns). You can add or subtract matrices of the same order (entry by entry), and multiply any matrix by a scalar.
Matrix multiplication combines rows of the first matrix with columns of the second. For the product to exist, the number of columns of must equal the number of rows of :
For a matrix , the determinant is , and provided the inverse is:
If the matrix is singular and has no inverse.
Two further pieces of notation are needed throughout the topic. The transpose is formed by swapping rows and columns:
It obeys and, importantly, — the order reverses. A matrix with is called symmetric.
The identity matrix has s on the leading diagonal and s elsewhere. It behaves like the number :
That last statement is the definition of the inverse, and it is what makes the row-reduction method for larger matrices work.
The Golden Rule: matrix multiplication is not commutative — in general . Check the inner dimensions match before multiplying, and the result takes the outer dimensions.
⚠️ Common Examiner Traps
- Assuming : order matters. If the question asks for , do not compute .
- Multiplying entry-by-entry: matrix multiplication is row-into-column, not element-wise.
- Inverse sign slips: in the inverse you swap and , and negate and — don't negate all four.
Worked examples
Example 1
Given and , find . Show that .
Step 1: Multiply row-into-column for :
Step 2: Now compute :
Step 3: Since , we have .
Example 2
Find the inverse of .
Step 1: Find the determinant:
Step 2: Since , apply the inverse formula (swap ; negate ):
Step 3: Check by confirming :
Example 3
Evaluate the determinant of .
Step 1: Expand along the first row, each entry times its minor, with the sign pattern :
Step 2: Evaluate each determinant:
Step 3: Simplify:
Example 4
Given and , verify that .
Step 1: Work out first, combining rows of with columns of :
Step 2: Transpose the result by swapping rows and columns:
Step 3: Now transpose and separately, and multiply them in the reversed order:
Step 4: The two results agree, confirming . Note that would not have worked — the reversal matters.