Matrix addition/subtraction: add/subtract corresponding entries (matrices must have the same dimensions). Scalar multiplication: multiply every entry by the scalar. Matrix multiplication: the (i,j) entry of AB is the dot product of row i of A and column j of B. A is m x n and B is n x p, giving AB as m x p. Matrix multiplication is NOT commutative (AB != BA in general). The identity matrix I acts as a multiplicative identity: AI = IA = A.
Start with addition and scalar multiplication (straightforward). For matrix multiplication, practice the dot product of a row and column. Emphasize dimension compatibility: the number of columns of A must equal the number of rows of B. Show that AB != BA with a concrete example. Introduce the identity matrix. Optionally introduce determinants for 2x2 matrices.
You already know that a matrix is a rectangular grid of numbers with defined rows and columns. Matrix operations let you combine and transform these grids — and the rules differ meaningfully from ordinary arithmetic in ways that matter.
Matrix addition and scalar multiplication are the intuitive cases. To add two matrices, add corresponding entries — both must have identical dimensions. To multiply by a scalar, multiply every entry by that constant. These operations behave just like arithmetic on numbers, and there is little to misunderstand once you know matrices must have the same shape for addition.
Matrix multiplication is different. To compute the (i, j) entry of the product AB, take the dot product of row i from A and column j from B: multiply corresponding entries pair by pair and sum them up. This means the number of columns in A must equal the number of rows in B — if A is m×n and B is n×p, then AB is m×p. The most common error is treating matrix multiplication like addition (multiplying corresponding entries). That operation, called the element-wise or Hadamard product, is different and far less common. The dot-product rule exists because matrices represent linear transformations, and multiplying AB captures what happens when you apply A's transformation after B's.
The single most important fact about matrix multiplication is that it is not commutative: AB ≠ BA in general. This shocks students accustomed to arithmetic, where 3 × 5 = 5 × 3 always. Try any two 2×2 matrices and compute both orders — you will almost always get different results. Understanding why requires thinking about transformations: applying a rotation and then a reflection gives a different result than applying the reflection first, and matrices capture that asymmetry.
The identity matrix I is the exception to commutativity: for any compatible matrix A, AI = IA = A. The identity has 1s on the main diagonal and 0s everywhere else — not all 1s. The diagonal 1s ensure that each dot product in the multiplication returns exactly the entry it started from, while the off-diagonal 0s block any mixing of entries. Think of I as the matrix analog of the number 1 in multiplication.