Linear Algebra
1.1410 min read

Matrix Formulation and Forward Look

A linear system of mm equations in nn unknowns can be compactly written as Ax=bA\mathbf{x} = \mathbf{b}, where AA is an m×nm \times n matrix (the coefficient matrix), x\mathbf{x} is a column vector of unknowns, and b\mathbf{b} is the right-hand side vector.

Gaussian elimination corresponds to multiplying AA on the left by elementary matrices — one for each row operation. The sequence of operations can be packaged into an LU decomposition: A=LUA = LU, where LL is lower triangular and UU is upper triangular (echelon form).

This matrix perspective opens the door to the deep theory of linear algebra: column spaces, null spaces, rank, invertibility. We've been doing linear algebra all along — now we have the language to say it precisely.

In upcoming chapters we will study: vectors and linear combinations, the geometry of column and null spaces, rank and nullity, matrix multiplication, and invertibility. Everything connects back to the solution structure we've seen here.

Formal View

Definition 1.14 — Matrix Form
A linear system jaijxj=bi\sum_j a_{ij} x_j = b_i for i=1,,mi = 1, \ldots, m is equivalently written as
Ax=bA\mathbf{x} = \mathbf{b}
where A=(aij)A = (a_{ij}) is an m×nm \times n matrix, x=(x1,,xn)T\mathbf{x} = (x_1, \ldots, x_n)^T, and b=(b1,,bm)T\mathbf{b} = (b_1, \ldots, b_m)^T.
Remark 1.14 — LU Decomposition Preview
Gaussian elimination factors A=PA1LUA = PA^{-1}LU where PP is a permutation matrix, LL is unit lower triangular (from the elimination multipliers), and UU is upper triangular (the echelon form). This factorization allows solving Ax=bA\mathbf{x} = \mathbf{b} in O(n2)O(n^2) after O(n3)O(n^3) preprocessing.

Why This Matters

Matrix notation is the compact language that unlocks all of linear algebra's power.

  • Scientific computing uses matrix algebra for everything from weather simulation to genome analysis
  • Deep learning represents neural networks as sequences of matrix multiplications
  • Quantum mechanics uses matrix algebra (Hermitian operators, eigenvalues) as its mathematical language
  • Computer graphics transforms scene geometry via 4×4 matrix multiplications per vertex

Quiz

Question 1

A linear system of 3 equations in 4 unknowns can be written as Ax=bA\mathbf{x} = \mathbf{b} where AA has size:

Question 2

The matrix AA in Ax=bA\mathbf{x} = \mathbf{b} completely encodes all information about the linear system.

Common Mistakes

  • Writing AA with dimensions transposed — rows = equations (mm), columns = unknowns (nn).
  • Forgetting that Ax=bA\mathbf{x} = \mathbf{b} is shorthand for the full system, not just one equation.