Skip to main content

Matrix Multiplication

  • Situation: Two transformations applied in order
  • Learning targets: Composition · Entry rule · Algebra
  • Convention: Declared field ℝ or ℂ; column vectors; rightmost matrix first; dimensionless data unless units stated

Core concepts​

  • Composition: ABx applies B first then A for column vectors; compatible intermediate basis and dimension
A vector transformed first by B and then by A, compared with the single product transformation AB
Figure 1. Two transformations applied in order
  • Entry rule: (AB)ᵢⱼ=ΣₖAᵢₖBₖⱼ; (m×n)(n×p)→m×p

  • Algebra: associative and distributive, generally not commutative; AB=0 not forcing A=0 or B=0

  • Transpose: (AB)ᵀ=BᵀAᵀ; adjoint and inverse also reversing product order when defined

Worked example​

u=(1,1,0)T,v=(1,0,1)T,U={(x,y,z)T:x−y−z=0},e3=(0,0,1)Tu=(1,1,0)^T,\quad v=(1,0,1)^T,\quad U=\{(x,y,z)^T:x-y-z=0\},\quad e_3=(0,0,1)^T T(x,y,z)=(x−y−z,y),A=[1−1−1010],B=(u,v,e3)T(x,y,z)=(x-y-z,y),\quad A=\begin{bmatrix}1&-1&-1\\0&1&0\end{bmatrix},\quad B=(u,v,e_3) S=[1201],SA=[11−1010],SA(3,2,1)T=(4,2)TS=\begin{bmatrix}1&2\\0&1\end{bmatrix},\quad SA=\begin{bmatrix}1&1&-1\\0&1&0\end{bmatrix},\quad SA(3,2,1)^T=(4,2)^T

Practice​

  • Preparation: Paper or calculator; example inputs and ordered bases; exercise cases below as the calculation dataset
  • Prediction: Result, dimensions and applicable conditions before calculation
  • Calculation: First two exercises by hand → substitution into defining equations → exact and rounded checks separately
  • Record: Assumed inputs and calculated results; no physical measurements; optional software output recorded separately
  • Next step: Inputs, basis order and checked identities retained for the next chapter
CasePredictionExact result and reasonSoftware check
SA: shapeSA:\ \text{shape}
ASAS
  • Optional extension: One changed input or removed hypothesis → recalculation → comparison of the conclusion

Exercises​

  1. Problem: SA: shapeSA:\ \text{shape}
  2. Problem: ASAS
  3. Problem: D=diag⁡(2,1): SD(1,1)T, DS(1,1)TD=\operatorname{diag}(2,1):\ SD(1,1)^T,\ DS(1,1)^T
Answers and checks
  1. Answer: 2×32\times3
  2. Answer: Undefined: inner dimensions 3 and 2
  3. Answer: (4,1)T, (6,1)T(4,1)^T,\ (6,1)^T

Connections​