+ learner first aid

Current Mathematics syllabus topic for Form IV.

First aid: read the overview, copy one worked example by hand, then try explaining the key rule without looking.

+ Math syllabus context

Current Mathematics path is the active Basic Mathematics syllabus. The 2023 Mathematics syllabus is a transition path expected to take effect from January 2027; this wiki will update the lead path in late 2026.

Matrices and Transformations

Syllabus Identity

This is a current Mathematics syllabus topic. It preserves the 2005 Basic Mathematics identity and order for exam-facing mapping. Do not merge it into the 2023 Mathematics transition topic page even when the learning idea overlaps.

Official Scope

Current Mathematics syllabus topic covering operations on matrices; inverse of a matrix; matrices and transformations.

Subtopics

Core Concepts

1. Operations on Matrices A matrix is a rectangular array of numbers arranged in rows and columns. In the Basic Mathematics CSEE syllabus, the primary focus is on $2 \times 2$ matrices and column vectors ($2 \times 1$ matrices).

  • Addition and Subtraction: Operations are performed element-by-element. Matrices must be of the exact same order to be added or subtracted.
  • $$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \pm \begin{pmatrix} e & f \\ g & h \end{pmatrix} = \begin{pmatrix} a \pm e & b \pm f \\ c \pm g & d \pm h \end{pmatrix} $$

  • Scalar Multiplication: When multiplying a matrix by a constant scalar, $k$, every individual element inside the matrix is multiplied by that scalar.
  • $$ k\begin{pmatrix} a & b \\ c & d \end{pmatrix} = \begin{pmatrix} ka & kb \\ kc & kd \end{pmatrix} $$

  • Matrix Multiplication: The product of two matrices is calculated using a "row-by-column" operation. The number of columns in the first matrix must equal the number of rows in the second. Matrix multiplication is generally non-commutative ($AB \neq BA$).
  • $$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} w & x \\ y & z \end{pmatrix} = \begin{pmatrix} aw + by & ax + bz \\ cw + dy & cx + dz \end{pmatrix} $$ When applying a $2 \times 2$ matrix to a $2 \times 1$ point or vector: $$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} ax + by \\ cx + dy \end{pmatrix} $$

2. The Determinant and Inverse of a Matrix

  • Determinant ($|A|$): A single scalar value that summarizes key properties of a matrix. For a $2 \times 2$ matrix $A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}$, the determinant is defined as the product of the leading diagonal minus the product of the non-leading diagonal.
  • $$ |A| = ad - bc $$

  • Singular Matrix: A matrix whose determinant is exactly equal to zero ($|A| = 0$). A singular matrix does not possess an inverse.
  • Inverse Matrix ($A^{-1}$): If a matrix $A$ is non-singular ($|A| \neq 0$), it has a unique inverse such that $A A^{-1} = A^{-1} A = I$, where $I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}$ is the identity matrix. The formula for the inverse is derived by swapping the elements on the leading diagonal, negating the elements on the other diagonal, and multiplying by the reciprocal of the determinant:
  • $$ A^{-1} = \frac{1}{ad - bc} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} $$

  • Solving Simultaneous Equations:
  • A system of linear equations: $$ \begin{cases} ax + by = e \\ cx + dy = f \end{cases} $$ Can be expressed in matrix form as $A X = B$: $$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} e \\ f \end{pmatrix} $$ To solve for $X$, we pre-multiply both sides by the inverse matrix $A^{-1}$: $$ X = A^{-1} B $$

3. Matrices and Transformations Transformations on a Cartesian plane—such as reflections, rotations, and enlargements—can be mapped perfectly using matrix multiplication. To transform a point $P(x,y)$ to an image $P'(x',y')$ using a transformation matrix $T$: $$ \begin{pmatrix} x' \\ y' \end{pmatrix} = T \begin{pmatrix} x \\ y \end{pmatrix} $$

  • Standard Reflection Matrices:
      • Reflection in the x-axis ($y = 0$): $\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}$
      • Reflection in the y-axis ($x = 0$): $\begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}$
      • Reflection in the line $y = x$: $\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}$
      • Reflection in the line $y = -x$: $\begin{pmatrix} 0 & -1 \\ -1 & 0 \end{pmatrix}$
  • Successive Transformations: If a point undergoes transformation $T_1$ followed by $T_2$, the single combined transformation matrix is $T_2 T_1$. Note the reverse order, because $T_2$ is applied to the result of $T_1$: $T_{combined}(P) = T_2(T_1(P))$.

Worked Examples

Example 1: Basic Matrix Arithmetic Given the matrices $P = \begin{pmatrix} 2 & -3 \\ 5 & 4 \end{pmatrix}$ and $Q = \begin{pmatrix} 9 & 12 \\ -15 & 3 \end{pmatrix}$. Find $2P - \frac{1}{3}Q$.

Solution: First, apply scalar multiplication to each matrix separately: $$ 2P = 2\begin{pmatrix} 2 & -3 \\ 5 & 4 \end{pmatrix} = \begin{pmatrix} 4 & -6 \\ 10 & 8 \end{pmatrix} $$ $$ \frac{1}{3}Q = \frac{1}{3}\begin{pmatrix} 9 & 12 \\ -15 & 3 \end{pmatrix} = \begin{pmatrix} 3 & 4 \\ -5 & 1 \end{pmatrix} $$ Now subtract the resulting matrices element-by-element: $$ 2P - \frac{1}{3}Q = \begin{pmatrix} 4 & -6 \\ 10 & 8 \end{pmatrix} - \begin{pmatrix} 3 & 4 \\ -5 & 1 \end{pmatrix} $$ $$ = \begin{pmatrix} 4 - 3 & -6 - 4 \\ 10 - (-5) & 8 - 1 \end{pmatrix} = \begin{pmatrix} 1 & -10 \\ 15 & 7 \end{pmatrix} $$

Example 2: Finding Unknowns in a Singular Matrix If the matrix $\begin{pmatrix} 4k & 8 \\ 2 & 9k \end{pmatrix}$ is singular, find the possible values of $k$.

Solution: A matrix is singular if its determinant equals zero. Let $M = \begin{pmatrix} 4k & 8 \\ 2 & 9k \end{pmatrix}$. $$ |M| = (4k \times 9k) - (8 \times 2) = 0 $$ $$ 36k^2 - 16 = 0 $$ $$ 36k^2 = 16 \implies k^2 = \frac{16}{36} = \frac{4}{9} $$ Take the square root of both sides: $$ k = \pm\frac{2}{3} $$ Therefore, the possible values of $k$ are $\frac{2}{3}$ or $-\frac{2}{3}$.

Example 3: Working Backwards with Inverses The inverse of a matrix $A$ is $\begin{pmatrix} 4 & 3 \\ 5 & 2 \end{pmatrix}$. Find the matrix $A$.

Solution: A crucial theoretical property of inverses is that the inverse of an inverse matrix returns the original matrix: $(A^{-1})^{-1} = A$. We need to find the inverse of $\begin{pmatrix} 4 & 3 \\ 5 & 2 \end{pmatrix}$. Step 1: Find the determinant. $$ \text{Determinant} = (4 \times 2) - (3 \times 5) = 8 - 15 = -7 $$ Step 2: Apply the inverse formula (swap the leading diagonal, change the signs of the other diagonal, multiply by $1/\text{det}$). $$ A = \frac{1}{-7} \begin{pmatrix} 2 & -3 \\ -5 & 4 \end{pmatrix} = \begin{pmatrix} -\frac{2}{7} & \frac{3}{7} \\ \frac{5}{7} & -\frac{4}{7} \end{pmatrix} $$

Example 4: Solving Simultaneous Equations Using Matrices Amani and Asha bought Coca-cola and Pepsi drinks for a farewell party. Amani spent Tshs. 9,950 to buy 12 bottles of Coca-cola and 5 bottles of Pepsi drinks. Asha spent Tshs. 8,150 to buy 9 bottles of Coca-cola and 5 bottles of Pepsi drinks. Formulate a system of linear equations and hence apply the matrix method to find the price of one bottle of each type of the drinks.

Solution: Let $c$ be the price of one bottle of Coca-cola and $p$ be the price of one bottle of Pepsi. Formulate the equations: $$ 12c + 5p = 9950 $$ $$ 9c + 5p = 8150 $$ Write in matrix form $A X = B$: $$ \begin{pmatrix} 12 & 5 \\ 9 & 5 \end{pmatrix} \begin{pmatrix} c \\ p \end{pmatrix} = \begin{pmatrix} 9950 \\ 8150 \end{pmatrix} $$ Find the inverse of the coefficient matrix $A$. $$ |A| = (12 \times 5) - (5 \times 9) = 60 - 45 = 15 $$ $$ A^{-1} = \frac{1}{15} \begin{pmatrix} 5 & -5 \\ -9 & 12 \end{pmatrix} $$ Pre-multiply both sides of the equation by $A^{-1}$: $$ \begin{pmatrix} c \\ p \end{pmatrix} = \frac{1}{15} \begin{pmatrix} 5 & -5 \\ -9 & 12 \end{pmatrix} \begin{pmatrix} 9950 \\ 8150 \end{pmatrix} $$ $$ \begin{pmatrix} c \\ p \end{pmatrix} = \frac{1}{15} \begin{pmatrix} (5 \times 9950) + (-5 \times 8150) \\ (-9 \times 9950) + (12 \times 8150) \end{pmatrix} $$ $$ \begin{pmatrix} c \\ p \end{pmatrix} = \frac{1}{15} \begin{pmatrix} 49750 - 40750 \\ -89550 + 97800 \end{pmatrix} $$ $$ \begin{pmatrix} c \\ p \end{pmatrix} = \frac{1}{15} \begin{pmatrix} 9000 \\ 8250 \end{pmatrix} = \begin{pmatrix} \frac{9000}{15} \\ \frac{8250}{15} \end{pmatrix} = \begin{pmatrix} 600 \\ 550 \end{pmatrix} $$ Therefore, one bottle of Coca-cola costs Tshs. 600 and one bottle of Pepsi costs Tshs. 550.

Example 5: Geometric Transformations via Matrices Triangle ABC has the vertices A (1, 1), B (2, 4) and C (5, 3). Find the vertices of its image under the transformation matrix $T = \begin{pmatrix} 2 & 1 \\ 1 & 3 \end{pmatrix}$.

Solution: We can place the vertices of the triangle into a single $2 \times 3$ coordinate matrix, where each column represents a point $(x, y)$. $$ P = \begin{pmatrix} 1 & 2 & 5 \\ 1 & 4 & 3 \end{pmatrix} $$ To find the image, multiply the transformation matrix by the coordinate matrix: $$ P' = T \times P = \begin{pmatrix} 2 & 1 \\ 1 & 3 \end{pmatrix} \begin{pmatrix} 1 & 2 & 5 \\ 1 & 4 & 3 \end{pmatrix} $$ $$ P' = \begin{pmatrix} (2\times1 + 1\times1) & (2\times2 + 1\times4) & (2\times5 + 1\times3) \\ (1\times1 + 3\times1) & (1\times2 + 3\times4) & (1\times5 + 3\times3) \end{pmatrix} $$ $$ P' = \begin{pmatrix} 3 & 8 & 13 \\ 4 & 14 & 14 \end{pmatrix} $$ The vertices of the image are $A'(3, 4)$, $B'(8, 14)$, and $C'(13, 14)$.

Example 6: Successive Reflection Transformations By using the matrix method, find the image of the point $(3, -2)$ after a reflection in the line $y = -x$ followed by another reflection in the line $x = 0$.

Solution: Let $T_1$ be the reflection in $y = -x$. The standard matrix is $T_1 = \begin{pmatrix} 0 & -1 \\ -1 & 0 \end{pmatrix}$. Let $T_2$ be the reflection in $x = 0$ (the y-axis). The standard matrix is $T_2 = \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}$. The combined transformation matrix $T$ is $T_2 T_1$ (Note the reverse order!). $$ T = \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} 0 & -1 \\ -1 & 0 \end{pmatrix} = \begin{pmatrix} (-1\times0 + 0\times-1) & (-1\times-1 + 0\times0) \\ (0\times0 + 1\times-1) & (0\times-1 + 1\times0) \end{pmatrix} $$ $$ T = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} $$ Now, multiply $T$ by the coordinate vector of the point to find its image: $$ \text{Image} = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} \begin{pmatrix} 3 \\ -2 \end{pmatrix} = \begin{pmatrix} 0\times3 + 1\times-2 \\ -1\times3 + 0\times-2 \end{pmatrix} = \begin{pmatrix} -2 \\ -3 \end{pmatrix} $$ The image of the point is $(-2, -3)$.

Common Pitfalls & Misconceptions

  1. Commutative Assumptions in Matrix Multiplication: A common and fatal error is assuming $AB = BA$. Matrix multiplication depends heavily on order. When solving $AX = B$, the only valid algebraic step is pre-multiplying by the inverse: $A^{-1}AX = A^{-1}B \implies X = A^{-1}B$. Writing $X = B A^{-1}$ is mathematically incorrect and usually impossible due to dimension mismatches.
  2. Incorrect Inverse Computation: Students frequently mix up the steps for the adjugate matrix. Remember: swap the elements on the leading diagonal, and change the signs (negate) of the elements on the other diagonal.
  3. Ignoring the Determinant: When asked to invert a matrix, some students immediately apply the formula without checking the determinant. If the determinant is $0$, the division $\frac{1}{0}$ is undefined, and the student should explicitly state that "the matrix is singular and has no inverse."
  4. Reverse Order in Successive Transformations: When a question states "Transformation $P$ followed by Transformation $Q$", the combined matrix is evaluated as $Q \times P$. Many students compute $P \times Q$, reading left to right, which yields the incorrect composite mapping.
  5. Equation Alignment: When extracting simultaneous equations from a word problem into matrix form, failing to neatly align variables into distinct columns (e.g., $x$ in column 1, $y$ in column 2) leads to incorrect coefficient matrices.

NECTA Exam Focus

Based on an analysis of recent NECTA CSEE papers (2018–2025), Matrices and Transformations consistently appears in both basic calculation and applied problem-solving contexts.

  • Direct Arithmetic & Algebra: Finding unknowns in matrix equations (e.g., scalar addition, multiplication, evaluating equality across matrices). Singular matrices are frequently tested—expect questions requiring you to equate a determinant expression to zero and solve for a variable (often involving quadratic equations).
  • Word Problems to Matrices: The "Matrix Method" for simultaneous linear equations is a heavily recurring theme. Questions frequently require translating a real-world scenario (like purchasing goods or scoring on tests) into two equations, forming $A X = B$, and explicitly finding the inverse to solve it. Using elimination/substitution will score zero marks if the "matrix method" is demanded.
  • Geometrical Transformations: You will routinely be asked to map points or polygons using given $2 \times 2$ matrices or standard reflection matrices. Mastery of successive transformations and deducing the axis of reflection from standard matrices is essential.

Practice Problems

Basic Operations & Properties

  1. Roza and Juma were asked to write the examples of a $2 \times 2$ matrix and they came up with $\begin{pmatrix} 2 & 3 \\ 5 & -6 \end{pmatrix}$ and $\begin{pmatrix} -6 & 2 \\ 4 & 3 \end{pmatrix}$ respectively. Find the sum of twice the Roza's matrix and thrice the Juma's matrix.
  2. Find the values of $x$ and $y$ given that $\begin{pmatrix} x & 4 \\ 3 & y \end{pmatrix} + \begin{pmatrix} 3x & 5 \\ -3 & 7 \end{pmatrix} = \begin{pmatrix} 8 & 9 \\ 0 & 9 \end{pmatrix}$.
  3. If $G = \begin{pmatrix} -1 & 11 \\ a & 3 \end{pmatrix}$ is a singular matrix, then find the value of $a$.
  4. Roza and Juma's matrices are $\begin{pmatrix} 2 & 3 \\ 5 & -6 \end{pmatrix}$ and $\begin{pmatrix} -6 & 2 \\ 4 & 3 \end{pmatrix}$ respectively. Show that the difference between the determinants of these matrices is $\pm 1$.

Matrix Multiplication & Equations

  1. Find the point $P(x, y)$ if $\begin{pmatrix} 2 & 3 \\ 4 & -1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} -23 \\ -11 \end{pmatrix}$.
  2. Find the values of $x$, $y$, $z$ and $w$ in the following matrix equation: $\begin{pmatrix} x & 4 \\ 4 & y \end{pmatrix} \begin{pmatrix} -5 & -7 \\ 2 & z \end{pmatrix} = \begin{pmatrix} 38 & 46 \\ -10 & w \end{pmatrix}$.

Inverse Matrix Method (Simultaneous Equations)

  1. By using the matrix method, solve the following system of simultaneous equations:
  2. $\begin{cases} 5x + 3y = 9 \\ 10x + 7y = 11 \end{cases}$

  3. Solve the following system of linear equations by using the inverse matrix method:
  4. $\begin{cases} 2x + 3y = 7 \\ y = \frac{1}{2}x \end{cases}$

  5. In a multiple choice test of 100 questions, a candidate scores 2 marks for each correct answer, loses 1 mark for each wrong answer, and scores 0 for each unanswered question. Anna answered 49 questions and scored 62 marks. Write the information in matrix form, letting $x$ be the number of correct answers and $y$ be the number of incorrect answers. Then, use the inverse matrix method to find the number of correct answers.

Transformations

  1. By using the transformation matrix $\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}$, find the image of the point $A(-2, 3)$. Hence, state the axis in which the point is reflected.

Crosswalk Notes

Cross-version relationships are drafted in data/curricula/crosswalks/csee-basic-mathematics-2005-to-mathematics-2023.json. Partial and 2005-only mappings remain reviewable.

+ Related Pages

Syllabus Sequence

Sibling Topics

Curriculum And Sources