Matrices & Basic Operations
Matrix notation, addition, subtraction, scalar multiplication, and matrix multiplication.
Matrices organise numbers into rows and columns so that related calculations can be handled together. The position of each entry matters, which is why matrix operations have stricter rules than ordinary arithmetic.
In the CSEC optional Vectors and Matrices question, you may need to add, subtract, multiply, or interpret matrices. Always check dimensions first. This tells you whether the operation is allowed and what size the answer should be.
What is a Matrix?
A matrix is a rectangular array of numbers organized in rows (horizontal) and columns (vertical).
Example 2×3 Matrix (2 rows, 3 columns):
Notation: We write for rows and columns.
Why Matrices?
The point of a matrix is organisation. Instead of writing many separate values, you place them in a structure where position carries meaning.
Matrices are used to organize and manipulate data:
- Spreadsheets: Rows = records, columns = attributes
- Image Processing: Pixel colors stored in matrices
- Network Analysis: Connection patterns between nodes
- Economic Models: Input-output tables
Matrix Elements
Matrix entries are named by row first, then column. This row-column order is important because reversing it points to a different position.
Elements are referred to by position: means row , column
For :
- (row 1, column 1)
- (row 1, column 2)
- (row 2, column 3)
Special Matrix Types
Special matrices behave like familiar numbers in matrix arithmetic. The zero matrix acts like 0 for addition, and the identity matrix acts like 1 for multiplication.
Square Matrix: Same number of rows and columns
Identity Matrix : Square matrix with 1s on diagonal, 0s elsewhere
Zero Matrix: All elements are 0
Part 5: Matrix Addition and Subtraction
Rules
Addition and subtraction are position-by-position operations. This is why the matrices must have the same dimensions.
Can only add/subtract matrices of the same dimensions ()
Addition: Add corresponding elements
Subtraction: Subtract corresponding elements
Examples
You can only add or subtract matrices with same dimensions. A matrix cannot be added to a matrix.
Part 6: Scalar Multiplication of Matrices
Definition
Scalar multiplication changes the size of every entry by the same factor. It does not change the dimensions of the matrix.
Multiply every element by the scalar
Examples
Properties
- Associative:
- Distributive:
- Distributive:
Part 7: Matrix Multiplication
Why Matrix Multiplication is Different
Matrix multiplication combines rows from the first matrix with columns from the second. Because rows and columns play different roles, changing the order can change the result.
Key Idea: Matrix multiplication is NOT element-by-element. It represents combining transformations or composing operations.
Rule: Can only multiply if: (columns of first matrix) = (rows of second matrix)
How to Multiply: Step-by-Step
Work systematically across the answer matrix. Each blank entry has its own row-column calculation, so label positions if the matrix is large.
For matrices and to get product :
Each element in the product = (row of A) · (column of B)
2×2 Matrix Multiplication Example
Position (1,1): (Row 1 of first) · (Column 1 of second)
Position (1,2): (Row 1 of first) · (Column 2 of second)
Position (2,1): (Row 2 of first) · (Column 1 of second)
Position (2,2): (Row 2 of first) · (Column 2 of second)
Matrix multiplication is NOT commutative: . Order matters!
2×3 times 3×2 Example
Result is 2×2:
Position (1,1):
Position (1,2):
Position (2,1):
Position (2,2):
Always check dimensions first:
- Can I multiply? (columns of first = rows of second)
- What size is result? (rows of first × columns of second)
- Multiply systematically (row × column for each position)
Multiplying Matrix by Column Vector
Multiplying a matrix by a column vector is how transformations act on points. The input point goes in as a vector, and the output vector gives the transformed point.
Key Use: Transform a point or apply an operation
Rotation of point by 90° counterclockwise uses matrix :
Point rotated 90° becomes .
Part 8: Determinants
What is a Determinant?
For a matrix, the determinant is a single number that tells whether the matrix can be reversed. A determinant of zero means information has collapsed and no inverse exists.
The determinant of a square matrix is a special number that:
- Tells if a matrix is invertible
- Represents scaling factor in transformations
- Used in solving systems of equations
Notation: or
2×2 Determinant
Mnemonic: Multiply diagonal down-left, subtract diagonal down-right
2×2 Determinant Examples
Determinant 0 means the matrix is singular (not invertible).