Search Knowledge

© 2026 LIBREUNI PROJECT

Linear Algebra / Linear Algebra

Matrices and Linear Systems

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 AA of size m×nm \times n is a grid of numbers that represents a mapping from Rn\mathbb{R}^n to Rm\mathbb{R}^m. Each column of the matrix tells us where one of the basis vectors of Rn\mathbb{R}^n “lands” in Rm\mathbb{R}^m.

Let’s visualize a Shear Transformation matrix: A=(1101)A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}. This matrix leaves the xx-axis alone but shifts the yy-direction.

python

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.

Step 1
Inspect the idea
Step 2
Edit the program
Step 3
Run and compare

2. Linear Systems: Ax=bAx = b

A system of linear equations asks: “Which vector xx lands on bb when we apply the transformation AA?”

If the matrix AA squashes space into a lower dimension (i.e., it is Rank-Deficient or Singular), then bb might be unreachable, or there might be infinitely many paths to reach it.

python

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.

Step 1
Inspect the idea
Step 2
Edit the program
Step 3
Run and compare

3. Multiplication: Composition of Maps

Multiplying two matrices ABAB represents applying transformation BB first, then AA. Because the order of geometric transformations (like rotating then shifting) matters, matrix multiplication is not commutative (ABBAAB \neq BA).

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.

If the RREF of a matrix has a row of zeros [0, 0, 0] but the constant vector b is [0, 0, 1], what can we conclude?

5. Summary Check

If A is an n x n matrix and Rank(A) = n, which of the following is true?

Previous Module Basis and Dimension