Matrices · Grade 12

In Grade 12 you learn: matrix arithmetic.

A matrix is a rectangular array of numbers. Matrices store data neatly, but their real power is as transformations. Multiplying a vector by a 2 × 2 matrix rotates, reflects, stretches or shears it. Multiplying matrices combines transformations.

Key facts

  • Order m × n means m rows and n columns. Add or subtract only matrices of the same order, entry by entry.
  • AB exists when the number of columns of A equals the number of rows of B. Entry (i, j) is row i of A times column j of B.
  • Usually AB ≠ BA, but (AB)C = A(BC). The identity matrix I leaves everything unchanged.
  • Rotation by θ counterclockwise about O: [[cos θ, −sin θ], [sin θ, cos θ]].

Worked examples

Example 1

A = [[2, 1], [3, −1]] and B = [[4, 0], [−2, 5]]. Find AB.

Answer: AB = [[6, 5], [14, −5]]

Example 2

Find the image of the point (3, 1) after a rotation of 90° counterclockwise about the origin.

Answer: (−1, 3)

Example 3

Find the single matrix for a reflection in the y-axis followed by a rotation of 90° counterclockwise about O, and describe it.

Answer: [[0, −1], [−1, 0]]: a reflection in y = −x

Example 4

A = [[1, 2], [3, 4]]. Find 2A.

Answer: [[2, 4], [6, 8]]

Example 5

Work out [[1, 2], [0, 3]] × [[2], [1]].

Answer: [[4], [3]]