Quelpr

CSEC Mathematics · vectors and matrices

Matrix Operations

Add, subtract, and multiply matrices, multiply by a scalar, and solve matrix equations to find unknown values.
15 min Syllabus: perform matrix addition, subtraction, scalar multiplication, and matrix multiplication

Before you start

A matrix is a rectangular array of numbers arranged in rows and columns. Its order is written as m×n, where m is the number of rows and n is the number of columns.

Builds on: Concepts of Matrices

1. Adding and Subtracting Matrices

To add or subtract two matrices, they must have the exact same order (the same number of rows and the same number of columns). If their orders differ, the operation cannot be done—we say the sum or difference is undefined.

When the orders match, simply add or subtract the corresponding elements (the numbers in the matching positions):

  • If A=(ac​bd​) and B=(eg​fh​), then:
A+B=(a+ec+g​b+fd+h​)
A−B=(a−ec−g​b−fd−h​)

Pay close attention to directed numbers (negatives): subtracting a negative number becomes addition.

Worked example

Given P=(41​−25​) and Q=(−30​7−2​), calculate P−Q.

  1. Check the orders: both P and Q are 2×2, so subtraction is possible.
  2. Subtract corresponding entries: (4−(−3)1−0​−2−75−(−2)​).
  3. Simplify each position: 4−(−3)=7, −2−7=−9, 1−0=1, and 5−(−2)=7.

Answer: P−Q=(71​−97​)

Quick check

Why can you not calculate (34​12​)+(5−1​)?

2. Scalar Multiplication

In matrix algebra, a scalar is simply a single real number (such as 3, −5, or 21​).

To multiply a matrix by a scalar k, multiply every single element inside the matrix by k:

k(ac​bd​)=(kakc​kbkd​)

If you have a problem with both scalar multiplication and addition, apply standard order of operations: carry out the scalar multiplications first, then add or subtract the resulting matrices.

Worked example

Given M=(23​−14​) and N=(−41​50​), find the matrix 3M+2N.

  1. Multiply matrix M by scalar 3: 3M=(3(2)3(3)​3(−1)3(4)​)=(69​−312​).
  2. Multiply matrix N by scalar 2: 2N=(2(−4)2(1)​2(5)2(0)​)=(−82​100​).
  3. Add the resulting matrices: (6+(−8)9+2​−3+1012+0​)=(−211​712​).

Answer: 3M+2N=(−211​712​)

Quick check

If A=(−32​4−5​), what is the value of the top-right entry of the matrix −4A?

3. Matrix Multiplication (Row by Column)

Multiplying two matrices together is not done by multiplying corresponding elements. Instead, we use the row-by-column rule.

### Compatibility Rule
You can only calculate the product AB if:

number of columns in A=number of rows in B
  • If matrix A has order m×k and matrix B has order k×n, the product AB exists and will have order **m×n**.
  • If the inner dimensions do not match, the product cannot be calculated.

### How to Multiply
To find the entry in row i and column j of the answer, take **row i of the first matrix and column j** of the second matrix: multiply matching pairs across and down, then add their products:

(ac​bd​)(xz​yw​)=(ax+bzcx+dz​ay+bwcy+dw​)

Note: Matrix multiplication is generally not commutative: AB=BA. Order matters!

Worked example

Calculate the matrix product AB where A=(32​−14​) and B=(5−2​06​).

  1. Check order: A is 2×2, B is 2×2. The inner numbers match (2=2), and the answer will be 2×2.
  2. Top-left entry (Row 1 of A × Col 1 of B): (3×5)+(−1×−2)=15+2=17.
  3. Top-right entry (Row 1 of A × Col 2 of B): (3×0)+(−1×6)=0−6=−6.
  4. Bottom-left entry (Row 2 of A × Col 1 of B): (2×5)+(4×−2)=10−8=2.
  5. Bottom-right entry (Row 2 of A × Col 2 of B): (2×0)+(4×6)=0+24=24.

Answer: AB=(172​−624​)

Quick check

Matrix P has order 2×3 and matrix Q has order 3×1. What is the order of the product PQ?

4. Matrix Equations and Finding Unknowns

Two matrices are equal if and only if they have the exact same order and every corresponding element is equal.

A common CSEC question gives a matrix product or scalar expression set equal to another matrix, asking you to find unknown variables like a, b, x, or y.

To solve these problems:
1. Perform all required matrix multiplications and additions on one side so you have a single matrix.
2. Set corresponding entries equal to form simple algebraic equations.
3. Solve the equations for the unknown letters.

Worked example

Given that (3−1​25​)(x4​)=(17y​), determine the values of x and y.

  1. Multiply the matrices on the left-hand side (2×2 by 2×1 gives a 2×1 result):
  2. Row 1: (3)(x)+(2)(4)=3x+8.
  3. Row 2: (−1)(x)+(5)(4)=−x+20.
  4. Equate with the right-hand side: (3x+8−x+20​)=(17y​).
  5. Solve for x using Row 1: 3x+8=17⟹3x=9⟹x=3.
  6. Substitute x=3 into Row 2 to find y: y=−(3)+20=17.

Answer: x=3,y=17

Quick check

If (20​k3​)(4−1​)=(5−3​), find the value of k.

Common mistakes

  • Multiplying matrices element-by-element instead of using the row-by-column method. Remember: Row 1 goes across while Column 1 goes down, then add their products.
  • Trying to add or subtract matrices of different orders. Check that the row counts match and the column counts match before adding.
  • Multiplying matrices in the wrong order. Unlike ordinary numbers, AB is generally not equal to BA in matrix algebra.
  • Sign errors when subtracting negative numbers or multiplying by negative scalars. Write out the intermediate step with brackets, such as 4−(−2)=6.

In the exam

  • Always show your expansion step in matrix multiplication (e.g. (5)(2)+(4)(0)) before writing the final simplified value; CSEC awards method marks for this step even if you make an arithmetic slip.
  • Write out the dimensions beneath each matrix (e.g., (2×2)×(2×1)=2×1) before multiplying to ensure you set up the correct number of rows and columns in your answer.
  • When solving for unknown variables, clearly state which row gives each algebraic equation before solving it.

Key terms

Scalar
A single real number used to multiply every entry in a matrix.
Order (or Dimension)
The size of a matrix given as rows × columns (m×n).
Compatible Matrices
Matrices that can be multiplied together because the number of columns in the first equals the number of rows in the second.
Equal Matrices
Matrices of identical order whose corresponding elements are exactly equal.

Practice

Easier to harder. Use paper for your working.

Practice 1

Given A=(52​−13​) and B=(1−2​40​), calculate the matrix 2A−B.

Practice 2

Evaluate the matrix product:

(4−2​13​)(20​−51​)

Practice 3

The matrices P, Q, and R are given by P=(−21​34​), Q=(ab​), and R=(163​). Given that PQ=R, find the values of a and b.

Now try real past-paper questions

3 Paper 2 questions on this topic. Quelpr marks your working point by point, like an examiner.

  • CSEC Mathematics · 2021 · Paper 2 · Q10 10(a)(i) · 2 marksCalculate the matrix product (5−3​4−2​)(20​13​−46​).
  • Mathematics Q10 10(a)(ii) · 3 marksThree matrices are given: P = [[-1, 2], [0, 5]], Q = [[a], [b]], and R = [[11], [15]]. Given that PQ = R, determine the values of a and b.
  • Mathematics Q10 10(a)(i)a) · 2 marksThis section requires matrix operations. Find the matrix product [-1 3; 4 h] [k; 5].

Finished the lesson?

0 of 7 checks right on this device.

Read more

  • Mathematics for CSEC, pp. 255, 256
  • Collins - Concise Revision Course for CSEC Mathematics, pp. 464, 567
  • CSEC Maths Study Guide - Maths Crash Course, pp. 277, 280
  • algebra-and-trigonometry-2e_-_WEB, p. 1066
  • precalculus-2e_-_WEB, p. 960