Intuition: โRotate then reflectโ is not the same as โreflect then rotate.โ
Properties of Matrix Multiplication
(What DOES Hold)
For matrices of compatible sizes:
Associativity: (AB)C=A(BC)
Distributivity: A(B+C)=AB+AC and (A+B)C=AC+BC
Scalar compatibility: c(AB)=(cA)B=A(cB)
Identity: ImโA=A=AInโ for A of size mรn
Associativity is remarkable,it says we can chain transformations without worrying about grouping. This is why we can write ABC without parentheses.
(The Identity Matrix)
The identity matrixInโ is the nรn matrix with 1s on the diagonal and 0s elsewhere:
I3โ=โ100โ010โ001โโ
Property:Inโx=x for all xโRn.
The identity matrix is the โdo nothingโ transformation.
The Transpose
(Transpose)
The transpose of A, denoted AT, swaps rows and columns:
(AT)ijโ=Ajiโ
If A is mรn, then AT is nรm.
Example:
[14โ25โ36โ]T=โ123โ456โโ
(Properties of Transpose)
(AT)T=A
(A+B)T=AT+BT
(cA)T=cAT
(AB)T=BTAT (note the order reversal!)
The transpose reversal (AB)T=BTAT mirrors how function composition reverses: to undo โfirst B, then A,โ you undo A first, then B.
(Symmetric Matrices)
A matrix is symmetric if AT=A.
This means Aijโ=Ajiโ,the matrix equals its mirror across the diagonal.
Example:
โ123โ245โ356โโ
Symmetric matrices have special properties: their eigenvalues are real, and they can be orthogonally diagonalized.
Matrix Powers
(Powers of Square Matrices)
For a square matrix A and positive integer k:
Ak=kย timesAโ AโฏAโโ
By convention, A0=I.
Interpretation:Ak represents applying the transformation A a total of k times.
(Example: Powers Reveal Structure)
A=[00โ10โ]
Then A2=[00โ00โ].
This matrix is nilpotent,some power of it is zero. Geometrically, applying it twice collapses everything.
Matrix Inverses
(Inverse Matrix)
An nรn matrix A is invertible (or nonsingular) if there exists a matrix Aโ1 such that:
AAโ1=Aโ1A=Inโ
The matrix Aโ1 is called the inverse of A.
Interpretation: If A represents a transformation, then Aโ1 is the transformation that undoes it. Applying A then Aโ1 (or vice versa) returns you to where you started.
(Uniqueness)
If A is invertible, its inverse is unique.
Proof: Suppose B and C are both inverses of A. Then:
B=BI=B(AC)=(BA)C=IC=C
(2ร2 Inverse Formula)
For A=[acโbdโ] with det(A)=adโbc๎ =0:
Aโ1=adโbc1โ[dโcโโbaโ]
Swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant.
For an nรn matrix A, the following are equivalent:
A is invertible
det(A)๎ =0
rank(A)=n
rref(A)=Inโ
The columns of A are linearly independent
The columns of A span Rn
Ax=b has exactly one solution for every b
Ax=0 has only the trivial solution
ker(A)={0}
These are all ways of saying A doesnโt collapse any dimension.
(Properties of Inverses)
For invertible matrices A and B:
(Aโ1)โ1=A
(AB)โ1=Bโ1Aโ1 (note the order reversal!)
(AT)โ1=(Aโ1)T
(cA)โ1=c1โAโ1 for c๎ =0
(Ak)โ1=(Aโ1)k
The reversal in (AB)โ1=Bโ1Aโ1 makes sense: to undo โfirst B, then A,โ you must undo A first, then undo B.
(Solving Systems with Inverses)
If A is invertible, the system Ax=b has the unique solution:
x=Aโ1b
Proof: Multiply both sides of Ax=b by Aโ1:
Aโ1(Ax)=Aโ1bโนIx=Aโ1bโนx=Aโ1b
Note: In practice, row reduction is more efficient than computing Aโ1 explicitly.
(Singular Matrices)
A matrix that is not invertible is called singular.
Singular matrices have det(A)=0, meaning they collapse at least one dimension. Thereโs no way to โuncollapseโ,information is lost, so no inverse exists.
Example:
A=[12โ24โ]
The columns are linearly dependent (second is twice the first), det(A)=0, and A maps all of R2 onto a line. No inverse exists.
Why Matrix Multiplication Works This Way
The Deep Reason
The definition of matrix multiplication seems arbitrary until you realize itโs forced by the requirement that matrices represent linear transformations.
If we want (AB)x=A(Bx) to hold for all x, thereโs only one possible definition for AB.
The entry formula, the column view, and all the properties follow inevitably.
Matrix multiplication is function compositionโthe rest is just computing what that means entry-by-entry.