Linear Algebra

The big picture

Most exam difficulty comes from not recognising that two questions are the same question. This page collects the places where the course loops back on itself — the equivalence chain, the rank table, and the three ideas that everything else is built from.

The equivalence chain

For a square matrix , all of the following say the same thing. If you prove one, you have them all — and exam questions constantly ask you to jump between distant entries on this list.

Ch 1
  • is nonsingular — exists
  • has only the trivial solution
  • is row equivalent to
  • is a product of elementary matrices
  • has a unique solution for every
Ch 2
Ch 3
  • The columns of are linearly independent
  • The columns of form a basis for
  • The rows of are linearly independent
  • , i.e.
  • — the column space is everything
Ch 4
  • is one-to-one and onto
Ch 6
  • is not an eigenvalue of
Only for square matrices
Every line above assumes is . For a rectangular , 'nonsingular' and '' are undefined, and independence of the columns no longer implies independence of the rows. Rectangular questions go through the rank table below instead.

The rank decision table

This is the rectangular replacement for the equivalence chain, and it answers the whole family of 'rank 5, six rows — how many solutions?' questions. You always need both and ; rank alone is never enough.

is , ExistenceUniquenessSolution count
alwaysuniqueexactly 1 for every
(tall, full column rank)only if unique0 or 1 — the least squares setting
(wide, full row rank)alwaysnever unique, with parameters
and only if never unique0 or
Compare with for existence, and with for uniqueness. That's the whole table.
is , . Consistent system — how many solutions?
, so infinitely many, with 3 free parameters. Never exactly one, because .
is , . How many solutions?
so the null space is trivial: 0 or 1. Since , the column space is a proper subspace of , so most give none.
is . Can ever have a unique solution?
No. , so there is always at least one free variable. Underdetermined systems have 0 or solutions.
is with . Is ?
Yes. Nullity 2 means , so is singular — every entry of the equivalence chain fails at once.

One question asked six ways

ChapterSame question, new vocabulary
§1.2 Echelon formIs there a row ? If not, consistent.
§1.3 ColumnsIs a linear combination of the columns of ?
§2.2 DeterminantFor square : ⟹ consistent for every , uniquely.
§3.6 Column spaceIs ? And .
§4.1 RangeIs in the range of the transformation ?
§5.2 OrthogonalityIs ? (Because .)
§5.3 When it's notGive up on equality — project onto and solve .
Six chapters, one question: is reachable from the columns of ?

Three ideas the whole course runs on

1
Elimination

Row reduce and read the pivots. It solves systems (§1.2), inverts matrices (§1.5), computes determinants (§2.2), tests independence (§3.3), produces bases for all three subspaces (§3.6), builds matrix representations (§4.2), finds null spaces of (§6.1), and solves the normal equations (§5.3). If you're stuck, row reduce something.

2
Projection

Decompose a vector into 'the part inside the subspace' plus 'the part orthogonal to it'. That's the vector projection (§5.1), the direct sum (§5.2), the least squares residual condition (§5.3), and each Gram–Schmidt step (§5.6). The residual being orthogonal is what makes the answer optimal.

3
Choosing a basis

The same object looks different in different coordinates. A vector becomes a coordinate list (§3.5); a transformation becomes a matrix (§4.2); changing basis conjugates it to (§6.1). Diagonalization (§6.3) is the punchline: pick the eigenvector basis and the matrix becomes diagonal, so powers and exponentials become scalar arithmetic.

Triage: what do I reach for?

Reading an exam problem

  1. ?
    'Solve / is it consistent / how many solutions'

    Row reduce , then use the rank table. §1.2, §3.6

  2. ?
    'Singular / invertible / does exist'

    Determinant if it's small, otherwise row reduce and count pivots. Then quote the equivalence chain. §1.5, §2.2

  3. ?
    'Independent / basis / dimension / span'

    Stack the vectors as columns and row reduce; pivots count the independent ones. Square ⟹ determinant shortcut. §3.3, §3.4, §3.6

  4. ?
    'Closest / best fit / minimise the error'

    Least squares. Build from the model and solve . §5.3

  5. ?
    'Orthonormal / orthogonal basis / QR'

    Gram–Schmidt, subtracting projections at each step. §5.5, §5.6

  6. ?
    ' / diagonalize / / / '

    Characteristic polynomial, then null space of for each root. §6.1–§6.3

When the wording is unfamiliar, translate it into one of these six buckets first.

The formulas worth memorising cold

Projection onto a vector
Normal equations
Projection matrix
Rank–Nullity
Complement dimensions
Fundamental subspaces
Characteristic polynomial ($2\times2$)
Trace and determinant
Diagonalization
Linear ODE system
Order reversal
Determinant scaling