4.5.13Linear Algebra (Full)

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

1,994 words9 min readdifficulty · medium

WHAT are these spaces?


HOW to find them (the algorithm)

Everything comes from row reduction to RREF. Reducing AA to RR does not change the null space (row operations don't change solution sets of Ax=0Ax=0), but it does change the column space — so we read columns from the original AA.

Basis of the column space

WHY the original columns? Row reduction mixes rows, distorting column entries, so Col(R)Col(A)\mathrm{Col}(R)\neq\mathrm{Col}(A) in general. But RREF correctly tells you which columns are independent — those dependence relations are exactly preserved (they live in the null space, which is unchanged). So we keep the indices, but take the columns from AA.

Basis of the null space

Solve Rx=0Rx=0. Express pivot variables in terms of free variables; set one free variable to 11 and the rest to 00 at a time. Each free variable gives one special solution.


The Rank–Nullity Theorem (derived)

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

Worked Examples


Common Mistakes (steel-manned)


Active Recall

Recall Quick self-test (cover the answers)
  • Dimension of Col(A)? → rank rr.
  • Dimension of Null(A)? → nrn-r.
  • Which space lives in Rm\mathbb{R}^m? → Col(A).
  • Where do you take Col(A) basis columns from? → original AA, at pivot positions.
  • How many special solutions? → one per free variable.
Recall Feynman: explain to a 12-year-old

Imagine a vending machine. You press buttons (that's your input xx).

  • The column space is all the snacks the machine can ever give you — maybe it stocks only chips and soda, so you can't get chocolate no matter what you press.
  • The null space is button combos that give you nothing — press these and the machine just eats your effort and hands back empty. Counting rule: every button you press is either useful (gives a new snack) or wasted (does nothing new). Total buttons = useful + wasted. That's rank + nullity = nn.

Connections

  • Rank of a matrix — rank is dimCol(A)\dim\mathrm{Col}(A).
  • Rank–Nullity Theorem — the counting identity used here.
  • Row reduction & RREF — the engine for both bases.
  • Linear independence and basis — pivots ⇔ independent columns.
  • Injective and surjective linear maps — trivial kernel ⇔ injective; full row rank ⇔ surjective.
  • Four fundamental subspaces — Col(A), Null(A), Row(A), Null(Aᵀ).
  • Solving Ax=b — solvable iff bCol(A)b\in\mathrm{Col}(A); solution set = particular + Null(A).

Definition of Col(A)?
The span of the columns of AA; the set {Ax}\{Ax\}, living in output space Rm\mathbb{R}^m.
Definition of Null(A)?
{x:Ax=0}\{x : Ax=0\}, the set of inputs crushed to zero, living in input space Rn\mathbb{R}^n.
Basis of Col(A)?
The pivot columns taken from the ORIGINAL matrix AA (pivot positions found via RREF).
Basis of Null(A)?
The special solutions — one per free variable, found by solving Rx=0Rx=0.
Dimension of Col(A)?
The rank rr = number of pivots.
Dimension of Null(A) (nullity)?
nrn-r = number of free variables.
State Rank–Nullity.
dimCol(A)+dimNull(A)=n\dim\mathrm{Col}(A)+\dim\mathrm{Null}(A)=n, i.e. r+(nr)=nr+(n-r)=n.
Why derive Rank–Nullity?
Each of the nn columns is either pivot (counts in rank) or free (counts in nullity); count columns two ways.
Why use original columns, not RREF columns, for Col(A)?
Row ops change column values; RREF only tells you WHICH columns are independent, not their actual output directions.
When is Null(A)={0}?
When there are no free variables, i.e. full column rank r=nr=n; the map is injective.
Why is Null(A) a subspace?
If Ax=0,Ay=0Ax=0,Ay=0 then A(αx+βy)=0A(\alpha x+\beta y)=0; contains 0 and closed under linear combos.
Row reduction effect on the two spaces?
Preserves Null(A) (same solution set of Ax=0Ax=0); changes Col(A).

Concept Map

maps inputs to outputs

span of columns

inputs sent to zero

lives in

lives in

row reduce

count leading 1s

preserves solutions

pivot columns of original A

dim Col A

free variables give special solutions

dim Null A

r plus n-r = n

sums to n

Matrix A m x n

Linear map

Column space Col A

Null space Null A

Output space R^m

Input space R^n

RREF R

rank r = pivots

nullity = n - r

Rank-Nullity Theorem

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, ek matrix AA ko ek machine ki tarah socho jo input vector xx leke output AxAx deti hai. Ab do important sawaal hote hain. Pehla: machine kaunse outputs de sakti hai — yeh hai column space, yaani AA ke columns ka span, aur yeh output wali jagah Rm\mathbb{R}^m mein rehta hai. Doosra: kaunse inputs ko machine zero bana deti hai — yeh hai null space (kernel), jo Ax=0Ax=0 ko satisfy karne wale saare xx ka set hai, aur input wali jagah Rn\mathbb{R}^n mein rehta hai.

Inko nikalne ka tareeka simple hai: matrix ko RREF tak row-reduce karo. Jitne pivots milte hain, utna rank rr — yahi dim\dim Col(A). Important baat: column space ki basis ke liye pivot wale columns original AA se uthao, RREF se nahi, kyunki row operations columns ki values badal dete hain (sirf yeh batate hain kaunse columns independent hain). Null space ke liye free variables count karo; har free variable ek "special solution" deta hai, aur yeh sab milke null space ki basis bante hain. Nullity =nr=n-r.

Sabse pyaari baat hai Rank–Nullity: r+(nr)=nr+(n-r)=n. Iska derivation rattana mat — bas socho, har column ya toh pivot hai (rank mein gina) ya free hai (nullity mein gina), koi column do baar nahi ginta. Toh total columns nn = rank + nullity. Bas counting hai, jaadu nahi!

Exam tip (80/20): agar koi obvious row/column dependence dikh jaaye (jaise ek row doosri ka multiple), turant rank kam ho jaata hai — full reduction ki zaroorat nahi. Aur yaad rakho: Null trivial ({0}\{0\}) tabhi hota hai jab full column rank ho, matlab map injective hai.

Go deeper — visual, from zero

Test yourself — Linear Algebra (Full)

Connections