4.5.13 · D4Linear Algebra (Full)

Exercises — Null space (kernel) and column space (image) — basis, dimension

2,089 words9 min readBack to topic

Before the ladder, a one-screen refresher of the only five facts you need. Every solution below is just these facts applied carefully.

Recall The five load-bearing facts (cover and recite)
  • Pivot = a leading in RREF (reduced row echelon form). Count of pivots .
  • ; a basis of Col = the pivot-position columns taken from the original .
  • (the nullity); a basis of Null = the special solutions, one per free column.
  • (outputs), (inputs). Here is : rows, columns.
  • Rank–Nullity: = total number of columns.

Here is the map of the whole exercise flow, so you always know where you are:

row reduce

pivot positions

free variables

Original A

RREF R

pick from A = Col basis

special solutions = Null basis

dim Col = r

dim Null = n minus r

Rank Nullity check


L1 — Recognition

Goal: read structure off a matrix or its RREF, no heavy computation.

Recall Solution 1.1

There are pivots, so . (a) . (b) . (c) (the free columns are and ). (d) outputs have as many entries as there are rows.

Recall Solution 1.2

: leading 's sit in columns and pivot columns , free column . So , one free variable. : leading 's in columns and pivot columns , free column . So , one free variable.


L2 — Application

Goal: fully compute both bases from a concrete matrix.

Recall Solution 2.1

Step 1 — row reduce (WHAT): eliminate below the first pivot. , : Now , then clear above the second pivot with : Why RREF: it exposes pivots and hands us the pivot-in-terms-of-free formulas directly.

Step 2 — pivots in columns . Col basis = columns of the original : . . Why original columns: row operations moved the entries inside 's columns, so 's columns no longer point in the true output directions.

Step 3 — null space. Free variable . From : , . Set : special solution . Null basis , .

Step 4 — check: . ✓ Sanity: . ✓

Recall Solution 2.2

Row reduce: gives a zero second row: The first nonzero entry of row is in column 2 — so the single pivot is in column , not column . Pivot column: ; free columns: . . Col basis = column of original : . . Null space: free . Row : ; is unconstrained.

  • : .
  • : . Null basis , . Check: . ✓

L3 — Analysis

Goal: reason about dimension and structure, sometimes without a specific matrix.

Recall Solution 3.1

Here , . (a) Rank–Nullity: . (b) Injective nullity . Here nullity is , so not injective — different inputs can give the same output. (c) Surjective onto . Here , so yes, it is surjective — every output vector is reachable. Reading it: a wide matrix () at full row rank flattens the extra input directions (nullity ) while still covering all of output space.

Recall Solution 3.2

Here columns, so the rank satisfies . Nullity . The largest nullity occurs at the smallest rank, (the zero matrix), giving nullity . So nullity can reach , not just . The statement is FALSE. The tightest correct bound is .


L4 — Synthesis

Goal: combine null space, column space and solvability of .

Recall Solution 4.1

Recall , columns , , , and (from Ex 2.1). (a) Is reachable? (solvable iff $b\in\mathrm{Col}(A)$.) Try : From the first: . Sub into the second: , so . Check third: . ✓ So yes, . (b) Particular solution. We wrote , i.e. . So . (Verify: . ✓) (c) Full solution set = particular + null space: using the null-space basis from Ex 2.1. It is a line in : infinitely many solutions because the kernel is nontrivial.

The picture below shows the two flavours of solution set — a single point when the kernel is trivial, a whole line when it is not.

Figure — Null space (kernel) and column space (image) — basis, dimension
Recall Solution 4.2

The null-space basis has vector, so . Rank–Nullity: . Invertible full rank nullity . Here nullity is , so is NOT invertible — it collapses the direction to zero, so it cannot be undone.


L5 — Mastery

Goal: prove a general statement and design a matrix to specification.

Recall Solution 5.1

Read the requirements as column relations. means , i.e. . means , i.e. . So columns come in two equal pairs. For we need and independent. Pick , . Then: Verify rank: RREF is itself; pivots in columns . ✓ Verify kernel vectors: ✓; ✓. Consistency with Rank–Nullity: nullity , exactly the two independent kernel vectors we prescribed. ✓

Recall Solution 5.2

Setup. Rank counts pivots, and each pivot occupies its own row and its own column, so and ; in particular . Core step. By Rank–Nullity, . Since , Use the hypothesis. Given , we have , hence . A subspace of positive dimension contains a nonzero vector, so . Meaning: more inputs than outputs forces the machine to squash at least independent directions to zero — a wide map can never be injective.


Connections

  • Rank of a matrix — every "find " step above.
  • Rank–Nullity Theorem — the identity powering L3–L5.
  • Row reduction & RREF — the engine behind Ex 2.1, 2.2, 5.1.
  • Linear independence and basis — why pivot columns form a basis.
  • Injective and surjective linear maps — Ex 3.1, 4.2, 5.2.
  • Solving Ax=b — Ex 4.1's particular + kernel structure.
  • Four fundamental subspaces — the bigger picture these bases sit in.