Teacher Boen Resource Library · Kenya CBC/CBE
Grade 9 · Mathematics

2.1 Matrices

Strand 2 Algebra

1. Meaning of a matrix

A matrix is a rectangular arrangement of numbers or other mathematical elements organised in rows and columns.

A matrix is usually enclosed in square brackets.

For example:

A=[246135]

2. Order of a matrix

The order of a matrix is expressed as:

Rows×Columns

The matrix above has 2 rows and 3 columns.

Its order is therefore:

2×3

3. Examples of matrices

Row matrix

B=[357]

Order: 1×3

Column matrix

C=[246]

Order: 3×1

Square matrix

D=[1234]

Order: 2×2

4. Position of elements in a matrix

The position of an element is described using its row number and column number.

For:

A=[579246]

  • a11=5: row 1, column 1.
  • a12=7: row 1, column 2.
  • a23=6: row 2, column 3.

5. Addition of matrices

Matrices can be added only if they have the same order.

Worked example

A=[2537],B=[4162]

A+B=[2+45+13+67+2]

=[6699]

6. Subtraction of matrices

Subtract corresponding elements.

A-B=[2-45-13-67-2]

=[-24-35]

7. Compatibility of matrices

Two matrices are compatible for addition or subtraction if they have equal numbers of rows and columns.

For example:

  • A 2×3 matrix can be added to another 2×3 matrix.
  • A 2×3 matrix cannot be added to a 3×2 matrix.

8. Real-life applications

Matrices can be used to organise sales, marks, stock quantities and other numerical data.

A school can record the number of boys and girls in three classes as:

[202218252119]

Each row represents a class, while the first and second columns represent boys and girls, respectively.

Exercise 2.1

  1. Determine the order of [123456789].
  2. Identify the element in row 2, column 3.
  3. Add [3526]+[4172].
  4. Subtract [8653]-[2412].
  5. Explain why a 3×2 matrix cannot be added to a 2×3 matrix.