WHY this equals a span:Ax=x1a1+x2a2+⋯+xnan. So any output is just a linear combination of the columns. Choosing x = choosing weights. Hence the reachable outputs are exactly the span of the columns.
Derivation from scratch. Row-reduce A (with n columns). Every column is either a pivot column or a free column.
Number of pivot columns =rank(A).
Each free column gives exactly one free variable, and each free variable produces exactly one special solution — a basis vector of Null(A). These special solutions are independent (each has a lone 1 in its own free slot).
So dim(Null(A))= number of free columns.
Since every column is pivot or free, exactly once:
rank(#pivots)+dimNull(#free)=total columnsn.■
The span of A's columns; equivalently all b for which Ax=b is solvable. Lives in Rm.
What is the null space of A?
All x with Ax=0; the inputs mapped to zero. Lives in Rn.
Define rank three equivalent ways.
(1) dimCol(A), (2) number of independent columns, (3) number of pivots (= number of independent rows).
State the rank–nullity theorem.
rank(A)+dimNull(A)=n (number of columns).
Why does rank–nullity hold?
Each column is either a pivot (→rank) or free (→one null-space basis vector); they partition all n columns.
To find a basis for Col(A), which columns do you take?
The pivot columns of the ORIGINAL A, not of the RREF.
Why doesn't Col(R) equal Col(A)?
Row operations change columns entrywise; they preserve dependence relations but not the column space itself.
A matrix is m×n with n>m. What can you say about its null space?
rank ≤m<n, so nullity ≥n−m>0: it always has a nonzero null space.
Do row operations change the null space?
No: EAx=0⟺Ax=0 for invertible E.
When is Ax=b solvable?
Exactly when b∈Col(A).
When is a square n×n matrix invertible in terms of rank/null space?
Full rank n and Null(A)={0}.
ML: what does a nontrivial null space of the design matrix X imply?
Multicollinearity → non-unique least-squares weights (directions w with Xw=0).
Recall Feynman: explain to a 12-year-old
Imagine a photocopier that can only make copies using two ink colors mixed together. The column space is every color it can possibly print — its whole palette. The rank is how many truly different inks it has (if red and pink are basically the same, that's really one ink, not two). The null space is the secret recipe of ink amounts that prints a totally blank page — you mixed positive of one and negative of another so they cancel. If the machine has fewer real inks than knobs, there are always blank-page recipes: many different knob settings give the same picture.
Socho ek matrix A ek machine hai jo input vector x ko Ax me convert karti hai. Do sabse important sawaal: machine kya-kya output bana sakti hai (yeh hai column space — saare columns ka span), aur kaunse input ko zero bana deti hai (yeh hai null space). Rank batata hai ki machine ke paas asli me kitni alag-alag independent directions hain — agar do columns basically same hain (ek doosre ke multiple), to woh rank me count nahi hote.
Nikalna simple hai: matrix ko RREF tak row-reduce karo. Jitne pivots milenge, utna hi rank. Column space ke liye — pivot wale columns dekho, par original A ke columns lena, RREF ke nahi (yeh sabse common galti hai). Null space ke liye — free variables ko parameter do aur back-substitute karke special solutions nikaalo.
Sabse pyaari cheez hai Rank–Nullity theorem: rank+nullity=n (number of columns). Reason bilkul seedha — har column ya to pivot hai ya free; pivots rank dete hain, free columns null space ke basis vectors dete hain, aur inn dono ka total n hi hoga.
ML me yeh kyun matter karta hai? Agar tumhare data matrix X ka null space non-zero hai, matlab multicollinearity hai — kuch feature doosre features ka combination hain. Tab least-squares weights unique nahi rehte, kyunki Xw=0 wale directions prediction ko change hi nahi karte. Isliye rank samajhna model ke stability ke liye zaroori hai.