Algebra 2 Advanced matricesdeterminantsystems

Matrices & Their Operations

Grids of numbers, and the surprisingly strict multiplication rule.

Video by The Organic Chemistry Tutor — “Scalar Multiplication of Matrices and Matrix Operations” Watch on YouTube

The explanation

Key idea To multiply, the first matrix's columns must equal the second's rows.

A matrix is a rectangular grid of numbers, described by its size: rows × columns.

Adding and subtracting: only for matrices of identical size, done entry by entry.

Scalar multiplication: multiply every entry.

Matrix multiplication is the odd one. To multiply A (m×n) by B (p×q), you need n = p, and the result is m×q. Each entry is a row of A paired with a column of B: multiply matching elements and add.

Order matters. AB and BA are usually different, and often only one of them is even defined.

Matrices are the compact way to store and solve systems of equations, and they are how graphics and machine learning represent transformations of data.

Worked example

Multiply [[1, 2], [3, 4]] by [[5], [6]], and find the determinant of the first.

  1. Sizes: 2×2 times 2×1 gives 2×1.
  2. Row 1: 1(5) + 2(6) = 17.
  3. Row 2: 3(5) + 4(6) = 39.
  4. Determinant: (1)(4) − (2)(3) = −2.

Answer: [[17], [39]], determinant −2

Common mistakes

  • Multiplying matrices entry by entry as if it were addition.
  • Assuming AB = BA.