Mathematics Revision Notes

Matrices & Determinants: Algebra, Inverse Matrices & Cramer’s Rule

Master the complete algebra of matrices, from order compatibility in addition and multiplication to evaluating 2x2 and 3x3 determinants. Learn how to identify singular matrices, construct multiplicative inverses, and solve systems of linear equations efficiently using matrix inversion and Cramer’s rule in both pure mathematics and applied resource allocation.

1. Core Concepts & Matrix Classifications

A matrix is a rectangular array of numbers, symbols, or expressions arranged in horizontal rows and vertical columns. A matrix with m rows and n columns is said to have order (or dimension) m × n, and each entry in row i and column j is denoted a_{ij}. Matrices are classified into several fundamental types based on their dimensions and entries: - Row and Column Matrices: A 1 × n matrix is a row vector, whereas an m × 1 matrix is a column vector. - Square Matrix: A matrix with an equal number of rows and columns (m = n). Only square matrices possess determinants and multiplicative inverses. - Zero (Null) Matrix (O): A matrix in which every entry is 0; it acts as the additive identity (A + O = A). - Diagonal and Identity Matrices: A diagonal matrix has non-zero entries only along the main diagonal (i = j). When every main-diagonal entry equals 1 and all off-diagonal entries are 0, it is the identity matrix (I_n), satisfying AI = IA = A. - Transpose (A^T): Formed by interchanging the rows and columns of A, so the (i, j) entry of A^T is a_{ji}. - Singular vs. Non-Singular Matrix: A square matrix A is singular if det(A) = 0 (meaning it has no inverse) and non-singular (invertible) if det(A) ne 0.

2. Operations, Determinants & Inversion Formulas

Matrix arithmetic follows strict dimensional rules that differ significantly from ordinary real-number algebra: | Operation / Concept | Condition / Formula | Key Algebraic Property | | :--- | :--- | :--- | | Addition & Subtraction (A ± B) | Both matrices must have identical order m × n | Commutative (A + B = B + A) and associative | | Scalar Multiplication (kA) | Multiply every entry a_{ij} by the scalar k | Distributive: k(A + B) = kA + kB | | Matrix Multiplication (AB) | Columns of A must equal rows of B: (m × n)(n × p) = m × p | Not commutative (AB ne BA in general) | | 2 × 2 Determinant | For A = begin{pmatrix} a & b \\ c & d end{pmatrix}, det(A) = lvert A rvert = ad - bc | Scalar value; det(AB) = det(A)det(B) | | 2 × 2 Inverse (A^{-1}) | A^{-1} = 1/ad - bc begin{pmatrix} d & -b \\ -c & a end{pmatrix} when ad - bc ne 0 | AA^{-1} = A^{-1}A = I_2 | | 3 × 3 Determinant | Expand along Row 1 with signs (+, -, +): a_{11}lvert M_{11} rvert - a_{12}lvert M_{12} rvert + a_{13}lvert M_{13} rvert | M_{ij} is the 2 × 2 minor formed by deleting row i and column j | Cramer’s Rule for Two Linear Equations: For the system a_1 x + b_1 y = c_1 and a_2 x + b_2 y = c_2, define the coefficient determinant Δ = begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 end{vmatrix}, along with Δ_x = begin{vmatrix} c_1 & b_1 \\ c_2 & b_2 end{vmatrix} and Δ_y = begin{vmatrix} a_1 & c_1 \\ a_2 & c_2 end{vmatrix}. Provided Δ ne 0, the unique solution is: x = Δ_x/Δ, qquad y = Δ_y/Δ Equivalently, writing the system in matrix form AX = B yields X = A^{-1}B.

3. Worked Examples & Real-World Application

Example 1 — Finding a Unknown Entry in a Singular Matrix Find the values of k for which the matrix P = begin{pmatrix} k - 1 & 2 \\ 3 & k end{pmatrix} is singular. 1. Set the determinant equal to zero: det(P) = (k - 1)(k) - (2)(3) = 0. 2. Expand and simplify: k^2 - k - 6 = 0. 3. Factorize: (k - 3)(k + 2) = 0, so k = 3 or k = -2. Example 2 — Applied Business Pricing via Cramer’s Rule A wholesale distributor in Accra sells two grades of cocoa sacks: Grade A (x cedis per sack) and Grade B (y cedis per sack). On Monday, 3 Grade A and 2 Grade B sacks cost 1{,}900 cedis; on Tuesday, 5 Grade A and 4 Grade B sacks cost 3{,}400 cedis. Determine the unit price of each grade. 1. Formulate the system: 3x + 2y = 1900 and 5x + 4y = 3400. 2. Compute the coefficient determinant: Δ = begin{vmatrix} 3 & 2 \\ 5 & 4 end{vmatrix} = (3)(4) - (2)(5) = 12 - 10 = 2 3. Compute Δ_x and Δ_y: Δ_x = begin{vmatrix} 1900 & 2 \\ 3400 & 4 end{vmatrix} = 7600 - 6800 = 800, qquad Δ_y = begin{vmatrix} 3 & 1900 \\ 5 & 3400 end{vmatrix} = 10200 - 9500 = 700 4. Solve for x and y: x = 800/2 = 400 cedis, qquad y = 700/2 = 350 cedis

4. Common Mistakes & Misconceptions

- Multiplying element-by-element: Students often compute AB by multiplying corresponding entries (a_{ij} × b_{ij}). Remember that matrix multiplication is a row-by-column dot product: each entry (i, j) in AB is the sum of products of row i of A with column j of B. - Assuming AB = BA: Matrix multiplication is not commutative. Even when both AB and BA are defined and have the same dimensions, they rarely produce the same matrix. Similarly, (A + B)^2 = A^2 + AB + BA + B^2, not A^2 + 2AB + B^2. - Incorrect 2 × 2 adjugate sign/swap: When finding A^{-1} for begin{pmatrix} a & b \\ c & d end{pmatrix}, swap the main diagonal (a leftrightarrow d) and negate the off-diagonal (b → -b, c → -c). Never swap b and c. - Right-multiplying instead of left-multiplying: To solve AX = B, multiply both sides on the left by A^{-1} to get X = A^{-1}B. Writing BA^{-1} is incorrect and often dimensionally undefined.