Skip to main content

Matrices

  • Situation: One matrix for many vector transformations
  • Target: Shape · Columns · Composition
  • Convention: Right-handed orthonormal frame; column vectors; rightmost matrix first; angles in radians unless marked °; lengths in m · Overview

Core concepts​

  • Shape: m×n matrix mapping an n-component column vector to m components; matching inner dimensions for multiplication

  • Columns: images of basis vectors; row-by-column dot products for each output component

  • Composition: ABv applies B first; generally AB≠BA; identity I as unchanged mapping

  • Transpose and inverse: transpose swaps rows/columns; inverse reverses a square nonsingular mapping; transpose not generally inverse

  • Determinant: signed volume scale in 3D; zero for collapse and no inverse; determinant +1 alone insufficient for a rotation

Worked example​

Input A=(1,1,0) m: RSA=(−1,2,0) m, SRA=(−2,1,0) m; det S=2, det R=1; RᵀR=I

S=[200010001],R=[0−10100001],RSA=[−120]S=\begin{bmatrix}2&0&0\\0&1&0\\0&0&1\end{bmatrix},\qquad R=\begin{bmatrix}0&-1&0\\1&0&0\\0&0&1\end{bmatrix},\qquad R S\mathbf A=\begin{bmatrix}-1\\2\\0\end{bmatrix}
One matrix for many vector transformations
Figure 1. One matrix for many vector transformations

Practice​

  • Preparation → prediction → calculation: Calculator and previous A; predict order effect → multiply S then R and reverse order → recover A with the inverse; matrices retained
  • Record: Assumed exercise inputs; predictions before calculation; calculated answers and optional viewer output in separate columns; no physical measurements
CasePredictionCalculated resultViewer output (optional)
S−1S^{-1}
R(3,4,0)TR(3,4,0)^T
det⁡(RS)\det(RS)
  • Optional extension: Singular scale diag(0,1,1); loss of x information

Exercises​

  1. Problem: S−1S^{-1}
  2. Problem: R(3,4,0)TR(3,4,0)^T
  3. Problem: det⁡(RS)\det(RS)
  4. Problem: Condition for M⁻¹=Mᵀ
Answers and checks
  1. Answer: diag⁡(1/2,1,1)\operatorname{diag}(1/2,1,1)
  2. Answer: (−4,3,0)T(-4,3,0)^T
  3. Answer: 22
  4. Answer: Orthogonal square matrix: MᵀM=I

Connections​