Matrices and Linear Systems
Matrices are the numerical engines of Linear Algebra. While a “Vector Space” is a theoretical playground, a Matrix is the specific blueprint that tells us how to manipulate that space.
1. The Matrix as a Map
A matrix of size is a grid of numbers that represents a mapping from to . Each column of the matrix tells us where one of the basis vectors of “lands” in .
Let’s visualize a Shear Transformation matrix: . This matrix leaves the -axis alone but shifts the -direction.
Interactive Lab
Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.
2. Linear Systems:
A system of linear equations asks: “Which vector lands on when we apply the transformation ?”
If the matrix squashes space into a lower dimension (i.e., it is Rank-Deficient or Singular), then might be unreachable, or there might be infinitely many paths to reach it.
Interactive Lab
Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.
3. Multiplication: Composition of Maps
Multiplying two matrices represents applying transformation first, then . Because the order of geometric transformations (like rotating then shifting) matters, matrix multiplication is not commutative ().
What geometric transformation is represented by the matrix [[0, -1], [1, 0]]?
4. Reduced Row Echelon Form (RREF)
RREF is the “simplest” version of a matrix that still represents the same linear system. It allows us to read off the solutions directly. In RREF, the leading entry of each row is 1, and all other entries in that column are 0.