4.5.42 · D1 · HinglishLinear Algebra (Full)

FoundationsPseudoinverse

2,841 words13 min read↑ Read in English

4.5.42 · D1 · Maths › Linear Algebra (Full) › Pseudoinverse

Yeh page kuch bhi assume nahi karta. parent page par pseudoinverse se milne se pehle, hum har woh symbol build karte hain jo woh use karta hai — ek ek brick, har brick pichle wale par tikee hoti hai. Hum pseudoinverse ka apna symbol §6 tak likhna hold karenge, jab tak ki woh plain inverse jise yeh copy karta hai table par na aa jaaye.


1. Matrix actually hai kya* (ek machine jo arrows move karti hai)

Hum ek matrix ko uski shape se maapte hain: ka matlab hai " rows, columns, saare real numbers". Ise padhein out-size in-size ke roop mein: yeh ek -number arrow khaati hai aur ek -number arrow produce karti hai.

Figure s01 — machine picture. Violet arrow aapka input hai; machine ise magenta output arrow par bhejta hai; dashed orange arrow woh move dikhata hai jo ne kiya. Yeh picture yaad rakho: is page par har cheez is baare mein hai ki woh move ho sakti hai ya nahi (aur kaise) reverse.

Figure — Pseudoinverse

2. Columns, aur output kahan land ho sakta hai (column space)

padhne ka yeh sabse useful tarika hai. Agar ke columns hain (har column khud ek arrow hai), toh

Yeh kya keh raha hai: output columns ka ek weighted sum hai, aur mein numbers weights hain. Toh sirf wahi arrows produce kar sakta hai jo aap apne columns mix karke bana sako.

Figure s02 — reachable sheet. Magenta aur violet arrows ke do columns hain. Pale orange cloud woh har arrow hai jo aap unhe mix karke bana sakte ho: woh cloud hai hi column space. Akela navy dot jisme likha hai sheet ke bahar hai — columns ka koi bhi mix use reach nahi karta, toh ka koi exact solution nahi hai.

Figure — Pseudoinverse

3. Ek arrow ki length, aur norm symbol

"Closest" kehne ke liye hume distance measure karni hogi. Ek arrow ke liye:

Symbol (length squared) square root drop karta hai: . Hum squared version prefer karte hain kyunki iska koi ugly root nahi hai, aur "smallest length" aur "smallest length-squared" ek hi jagah hote hain.


4. Dot product aur right angles ()

Ek row ko ek column ke saath stack karna matching entries ko multiply karta hai aur unhe add karta hai — yeh dot product hai:

Figure s03 — right-angle test. Magenta arrow aur violet arrow ek corner par milte hain jo chhote orange square se marked hai (standard "right angle" symbol). Unka dot product exactly hai. Picture padhein: dot product zero perpendicular.

Figure — Pseudoinverse

5. Projection: sheet par shadow

Inhe saath rakhne par aapko star player milta hai.

Parent page par aap padhenge " column space par orthogonal projection hai" (symbol §6 mein neeche naam diya gaya hai). Iska matlab: ko se aur phir fair-undo machine se feed karna khud return nahi karta; yeh reachable sheet par ka shadow return karta hai. Poori picture ke liye Orthogonal Projection dekho.

Recall "Closest" aur "perpendicular" ek hi cheez kyun hain

Sabse short error perpendicular kyun hai? ::: se sheet tak koi bhi tilted line ek right triangle ka hypotenuse hai jiska short leg perpendicular drop hai, aur hypotenuse hamesha leg se longer hota hai — toh perpendicular jeetta hai.


6. Plain inverse , aur uska fair sibling

do situations mein exist karna fail karta hai:

Situation Kya galat hota hai Picture
Square nahi () in-size out-size, toh koi "same-size undo" sahi shape ka bhi nahi ek rectangle, square grid nahi
Square lekin squishes do alag inputs ek hi output dete hain, toh aap unhe reverse karne ke liye alag nahi kar sakte machine plane ko line par flatten kar deti hai

7. Nullspace aur row space — ek hi output de sakte hain bahut saare inputs kyun

Jab machine "squishes" karti hai, kai alag input arrows ek hi output par collapse ho jaate hain. Jinhe zero mein squish kiya jaata hai unka naam hai.

Yeh bahut saare solutions kyun create karta hai. Maano aapka problem solve karta hai. Koi bhi nullspace arrow lo (toh ). Toh toh bhi solve karta hai. Solutions ki poori family, har nullspace arrow ke liye ek! Is case mein pseudoinverse ka kaam us family ka sabse short wala member chuna hai — §3 ka minimum-norm idea dekho.

Figure s04 — squish aur shortest choice. Machine poore plane ko magenta line (uska column space) par flatten kar deti hai; violet dashed line nullspace hai (arrows squished to zero). Saare navy dots woh inputs hain jo ek hi output dete hain; filled orange dot sabse short wala hai — yeh nullspace ke perpendicular baitha hai, exactly woh minimum-norm answer jo return karta hai.

Figure — Pseudoinverse

8. Rank — machine kitna flatten karti hai

Rank teen cases label karta hai jo parent solve karta hai:

  • Full column rank (rank , tall & thin): columns sab independent — andar jaate waqt kuch bhi waste nahi, aur nullspace bas zero arrow hai.
  • Full row rank (rank , short & fat): output sab kuch reach kar sakta hai — bahut saare inputs yeh karte hain, toh ek nontrivial nullspace minimum-norm choice force karta hai.
  • Rank-deficient: kuch directions zero par collapse hote hain; sirf Singular Value Decomposition bachti hai.

9. Singular values — stretch factors

Ek ka matlab hai ellipse ki ek direction ek point par squash ho gayi — information destroy ho gayi, aur woh squashed direction exactly §7 ki ek nullspace direction hai. se stretch ko se divide karke undo kar sakte ho… jab tak na ho, kyunki aap ek point ko wapas ek line mein un-squash nahi kar sakte (koi nahi hota). Yahi poora reason hai ki SVD pseudoinverse "zeros ko zeros rakhta hai". ke eigenvalues hain — Eigenvalues and Eigenvectors dekho.


Prerequisite map

Vector = arrow

Matrix = arrow-moving machine

Column space = reachable sheet

Norm = arrow length

Dot product = right-angle test

Projection = closest shadow

Inverse = perfect undo

Nullspace = squished directions

Row space and left nullspace

Rank = independent directions

Singular values = stretch factors

Pseudoinverse A plus


Equipment checklist

Neeche khud ko test karo. Har item prompt ::: answer ke roop mein likha hai — sirf left side padhein, apna jawab zor se bolo, phir right side se check karo.

Vector hai
numbers ki ek list jo origin se ek point tak arrow ke roop mein draw hoti hai.
mujhe batata hai
machine ek -number arrow khaati hai aur ek -number arrow output karti hai ( rows, columns).
columns ke through padha jaaye toh
ek weighted sum hai ke columns ka, se weights.
Column space hai
woh saare arrows jo ke columns ko mix (scale + add) karke reach kiye ja sakte hain.
matlab
arrow ki length, , Pythagoras se.
matlab
do arrows perpendicular hain (right angle par milte hain).
Normal equations aate hain
error ke har column se perpendicular hone se, yaani , jo deta hai.
ka ek sheet par orthogonal projection hai
sheet par woh point jo ke closest hai; bacha hua error sheet ke perpendicular hai.
sirf tab exist karta hai jab
square ho aur koi information lose na kare (do inputs ko saath squish na kare).
(pseudoinverse) hai
ka best-possible replacement jo har matrix ke liye exist karta hai; ke barabar hota hai jab woh exist karta hai.
ka nullspace hai
woh saare input arrows jiske liye — woh directions jinhe machine zero par squish kar deti hai.
Bahut saare solutions kyun aate hain?
agar aur , toh bhi — poori family, har nullspace arrow ke liye ek.
Row space hai
ki rows se sweep hone wali sheet ( ka column space); outputs ko isi mein wapas bhejta hai.
ka rank hai
uske columns ke independent directions ki sankhya = column space ki dimension.
Ek singular value hai
kitna ek natural direction ke along stretch karta hai; matlab woh direction squash ho gayi (ek nullspace direction).
Zero singular value ko invert kyun nahi kar sakte?
zero se divide karna undefined hai aur aap ek flattened direction ko un-squash nahi kar sakte — woh information chali gayi.

Connections