Solving equations using matrices — KCSE Mathematics

KCSE Mathematics · 106 practice questions · 3 syllabus objectives · 3 revision lessons

34 easy39 medium33 hard

Last updated · Aligned to the KNEC KCSE syllabus

What You'll Learn

Key learning outcomes for this topic, aligned to the KNEC KCSE syllabus.

Express a system of two simultaneous linear equations in matrix form AX = B

Solve the matrix equation AX = B using X = A⁻¹B when the inverse of A exists

Solving equations using matrices

Revision Notes

Concise lesson notes for Solving equations using matrices, written to the KCSE Mathematics marking standard. Read the first lesson free below.

Matrix Form of Simultaneous Equations

To express a system of two simultaneous linear equations in matrix form, we use the format AX = B. Here, A is the coefficient matrix, X is the variable matrix, and B is the constant matrix.

Consider the following equations:

  1. 2x + 3y = 5
  2. 4x - y = 1

Step 1: Identify the coefficients and constants.

  • Coefficients: 2, 3, 4, -1
  • Constants: 5, 1

Step 2: Construct matrix A, matrix X, and matrix B.

  • A = ( \begin{bmatrix} 2 & 3 \ 4 & -1 \end{bmatrix} )
  • X = ( \begin{bmatrix} x \ y \end{bmatrix} )
  • B = ( \begin{bmatrix} 5 \ 1 \end{bmatrix} )

Step 3: Write the equation in matrix form:

  • ( \begin{bmatrix} 2 & 3 \ 4 & -1 \end{bmatrix} \begin{bmatrix} x \ y \end{bmatrix} = \begin{bmatrix} 5 \ 1 \end{bmatrix} )

This expression clearly shows the relationship between the coefficients, variables, and constants.

Key points to remember

  • Identify coefficients and constants from the equations.
  • Construct the coefficient matrix A from these coefficients.
  • Create the variable matrix X with the unknowns.
  • Form the constant matrix B with the constants.
  • Write the system in the form AX = B.

Worked example

Express the system: 3x + 2y = 6 and x - y = 4 in matrix form. A = ( \begin{bmatrix} 3 & 2 \ 1 & -1 \end{bmatrix} ), X = ( \begin{bmatrix} x \ y \end{bmatrix} ), B = ( \begin{bmatrix} 6 \ 4 \end{bmatrix} ). Thus, AX = B.

Read all 3 Solving equations using matrices lessons free

Sign up free to unlock the full set of revision notes, all 106 practice questions with marking schemes, plus a personalised study plan that adapts to the topics you keep getting wrong.

More lessons in this topic

Lesson 2: Solving Matrix Equations with Inverses

Objective: Solve the matrix equation AX = B using X = A⁻¹B when the inverse of A exists

To solve the matrix equation AX = B, where A is a square matrix and B is a matrix of constants, we use the formula X = A⁻¹B. This approach is applicable only when the inverse of A exists.

Steps to solve:

  1. Calculate the inverse of A (denoted as A⁻¹).
  2. Multiply A⁻¹ by B to find X.

Example:
Given the matrix equation:
[ A = \begin{pmatrix} 2 & 1 \ 1 & 1 \end{pmatrix}, \quad B = \begin{pmatrix} 5 \ 3 \end{pmatrix} ]

  1. Find A⁻¹:
    • Determinant of A = (2)(1) - (1)(1) = 1
    • A⁻¹ = [ \frac{1}{1} \begin{pmatrix} 1 & -1 \ -1 & 2 \end{pmatrix} = \begin{pmatrix} 1 & -1 \ -1 & 2 \end{pmatrix} ]
  2. Calculate X:
    • X = A⁻¹B = [ \begin{pmatrix} 1 & -1 \ -1 & 2 \end{pmatrix} \begin{pmatrix} 5 \ 3 \end{pmatrix} = \begin{pmatrix} 1(5) + (-1)(3) \ -1(5) + 2(3) \end{pmatrix} = \begin{pmatrix} 2 \ 1 \end{pmatrix} ]
      Therefore, X = \begin{pmatrix} 2 \ 1 \end{pmatrix}.
  • Use X = A⁻¹B to solve AX = B.
  • Ensure A is a square matrix with an inverse.
  • Calculate the determinant to find A's invertibility.
  • Multiply the inverse of A by B to get X.

Solve for X in AX = B where A = \begin{pmatrix} 3 & 2 \ 1 & 4 \end{pmatrix}, B = \begin{pmatrix} 10 \ 5 \end{pmatrix}.

  1. Find A⁻¹: A⁻¹ = \begin{pmatrix} 4 & -2 \ -1 & 3 \end{pmatrix}.
  2. Calculate X: X = A⁻¹B = \begin{pmatrix} 4 & -2 \ -1 & 3 \end{pmatrix} \begin{pmatrix} 10 \ 5 \end{pmatrix} = \begin{pmatrix} 20 - 10 \ -10 + 15 \end{pmatrix} = \begin{pmatrix} 10 \ 5 \end{pmatrix}.
Lesson 3: Solving Equations with Matrices

Objective: Solving equations using matrices

To solve equations using matrices, we express the system of equations in matrix form. For example, consider the equations:

  1. 2x + 3y = 8
  2. 4x - y = 2

We can represent this system as:
[ A = \begin{bmatrix} 2 & 3 \ 4 & -1 \end{bmatrix}, \quad X = \begin{bmatrix} x \ y \end{bmatrix}, \quad B = \begin{bmatrix} 8 \ 2 \end{bmatrix} ]

Thus, the matrix equation is:
[ AX = B ]

To find ( X ), we need to compute ( A^{-1} ):
[ X = A^{-1}B ]

Steps to solve:

  1. Calculate the inverse of matrix A.
  2. Multiply the inverse by matrix B to find X.

This method is efficient for larger systems of equations, as it allows us to handle multiple variables systematically.

  • Express equations in matrix form using A, X, and B.
  • Calculate the inverse of the coefficient matrix A.
  • Multiply A inverse by B to find the solution vector X.
  • Use determinants to check if A is invertible.
  • Apply to systems of equations with two or more variables.

Solve the equations:

  1. x + 2y = 5
  2. 3x - y = 4

Model Answer:

  • Represent in matrix form: [ A = \begin{bmatrix} 1 & 2 \ 3 & -1 \end{bmatrix}, B = \begin{bmatrix} 5 \ 4 \end{bmatrix} ]
  • Find A inverse: [ A^{-1} = \begin{bmatrix} 1 & 2 \ 3 & -1 \end{bmatrix}^{-1} ]
  • Calculate X: [ X = A^{-1}B ]
  • The solution is x = 3, y = 1.

Sample Questions

Read 3 questions and answers free. Sign up to access all 106 questions with full KNEC-style marking schemes and a personalised study plan.

1
easySHORT ANSWER4 marks

State the steps to obtain the solution for the matrix equation AX = B where A = [[2, 1], [3, 4]] and B = [[5], [6]]. (4 marks)

Answer & marking scheme

Part (a) — 4 marks
Calculate the determinant of A (1 mk)
Find the inverse A⁻¹ of matrix A (1 mk)
Multiply A⁻¹ by B to find X (1 mk)
State the values of x and y from X (1 mk)
2
easySHORT ANSWER3 marks

Identify the inverse of the matrix A = [[1, 2], [3, 4]]. (3 marks)

Answer & marking scheme

Part (a) — 3 marks
det(A) = -2 (1 mk)
A⁻¹ = [[-2, 1], [1.5, -0.5]] (1 mk)
Correctly stated steps to find A⁻¹ (1 mk)
3
easySHORT ANSWER4 marks

Consider the equations 5x + 2y = 20 and 3x + 4y = 18. Express them in the matrix form AX = B and determine the inverse of A. (4 marks)

Answer & marking scheme

Part (a) — 2 marks
A = [[5, 2], [3, 4]] (1 mk)
X = [x, y]ᵀ (1 mk)
B = [20, 18]ᵀ (0 mks)
Part (b) — 2 marks
A⁻¹ = [[0.4, -0.2], [-0.3, 0.5]] (2 mks)
4

If A = [[1, 2], [3, 4]] and B = [5, 6]ᵀ, find A⁻¹ and use it to solve for X in the equation AX = B. (4 marks)

+103 More Questions

Sign up free to access all 106 questions with marking schemes, track your progress, and get personalised recommendations.

Frequently asked questions

What does the KCSE Mathematics topic "Solving equations using matrices" cover?

Solving equations using matrices covers Express a system of two simultaneous linear equations in matrix form AX = B; Solve the matrix equation AX = B using X = A⁻¹B when the inverse of A exists; Solving equations using matrices, all aligned to the official KNEC KCSE Mathematics syllabus.

How many practice questions are available for Solving equations using matrices?

HighMarks has 106 Solving equations using matrices practice questions for KCSE Mathematics, each with a full marking scheme. The first 3 are free; sign up to access the rest, plus all KCSE mock exams and past papers.

Are these aligned with the KNEC KCSE syllabus?

Yes. Every objective on this page is taken directly from the official KNEC KCSE Mathematics syllabus. Practice questions match the KCSE exam format and are graded against the standard KNEC marking scheme.

How should I revise Solving equations using matrices for the KCSE exam?

Start with the revision notes on this page to refresh the core concepts, then work through the practice questions in increasing difficulty. Sign up for HighMarks to get a personalised study plan that adapts to the topics you keep getting wrong, plus mock exams, subject-wide practice, and detailed performance tracking. See pricing.

Why Practise Solving equations using matrices?

KNEC Aligned

Questions match the KCSE syllabus objectives and exam format exactly.

Detailed Marking Schemes

Every answer shows exactly what examiners award marks for.

Track Your Mastery

See your score improve as you practise and identify remaining gaps.

Master Solving equations using matrices for KCSE

Sign up free to unlock all 106 questions, track your progress, and get a personalised study plan for Mathematics.