1.1.10 · HinglishLinear Algebra Essentials

Rank, column space, null space

1,509 words7 min readRead in English

1.1.10 · AI-ML › Linear Algebra Essentials


YE OBJECTS KYA HAIN?

YE SPAN KYU BARABAR HAI: . Toh koi bhi output sirf columns ka linear combination hai. chunna = weights chunna. Isliye reachable outputs bilkul columns ke span ke barabar hain.


INHE KAISE COMPUTE KAREIN (elimination se derivation)

Procedure:

  1. ko RREF tak row-reduce karo. Pivot columns = leading 1's ki positions.
  2. pivots ki sankhya.
  3. original ke pivot columns ka span (na ki ke!).
  4. : har free variable ko ek parameter do, back-substitute karke special solutions nikalo; yeh ek basis banate hain.

Rank–Nullity Theorem (derive kiya, memorize nahi kiya)

Scratch se Derivation. ko ( columns ke saath) row-reduce karo. Har column ya toh pivot column hai ya free column.

  • Pivot columns ki sankhya .
  • Har free column ek free variable deta hai, aur har free variable bilkul ek special solution produce karta hai — ka ek basis vector. Yeh special solutions independent hain (har ek ke apne free slot mein akela hota hai).
  • Isliye free columns ki sankhya.

Kyunki har column ya pivot ya free hai, bilkul ek baar:

Figure — Rank, column space, null space

Worked examples


Forecast-then-Verify


Flashcards

ka column space kya hai?
ke columns ka span; equivalently woh sab jinke liye solvable ho. mein rehta hai.
ka null space kya hai?
Woh sab jisme ; woh inputs jo zero par map hote hain. mein rehta hai.
Rank ko teen equivalent tareekon se define karo.
(1) , (2) independent columns ki sankhya, (3) pivots ki sankhya (= independent rows ki sankhya).
Rank–nullity theorem batao.
(columns ki sankhya).
Rank–nullity kyu hold karta hai?
Har column ya toh pivot (→rank) ya free (→ek null-space basis vector) hai; yeh sab columns ko partition karte hain.
Col(A) ke liye basis dhundhne ke liye kaun se columns lete ho?
ORIGINAL ke pivot columns, RREF ke nahi.
Col(R), Col(A) ke barabar kyun nahi hota?
Row operations columns ko entry-wise badal dete hain; yeh dependence relations preserve karte hain lekin column space khud nahi.
Ek matrix hai jisme hai. Uske null space ke baare mein kya keh sakte ho?
rank , isliye nullity : usmein hamesha nonzero null space hota hai.
Kya row operations null space badlate hain?
Nahi: invertible ke liye.
kab solvable hai?
Tab hi jab .
Ek square matrix rank/null space ke terms mein kab invertible hoti hai?
Full rank aur .
ML: design matrix ka nontrivial null space kya imply karta hai?
Multicollinearity → non-unique least-squares weights ( directions jisme ).

Recall Feynman: 12 saal ke bachche ko samjhao

Ek photocopier imagine karo jo sirf do ink colors mila ke copies bana sakti hai. Column space woh har woh color hai jo woh print kar sakti hai — uski poori palette. Rank kitni sachchi alag alag inks hain (agar red aur pink basically same hain, toh yeh actually ek ink hai, do nahi). Null space woh ink amounts ki secret recipe hai jo bilkul blank page print kari — tune ek ki positive aur doosre ki negative mili toh woh cancel ho gayi. Agar machine ke paas knobs se kam real inks hain, toh hamesha blank-page recipes hongi: kaafi alag alag knob settings same picture deti hain.


Connections

Concept Map

maps x to Ax

columns span

reachable set

solvability of Ax=b

inputs crushed to zero

blind spot directions

dimension is

equals pivots

row reduce to

reveals

free variables give

basis of

rank + nullity = n

dim contributes to

Matrix A as transform

Outputs Ax

Column space

Ax=b has solution

Null space

Forgotten inputs

Rank

Pivot columns

RREF R

Special solutions

Rank-Nullity