4.5.6 · D2 · HinglishLinear Algebra (Full)

Visual walkthroughMatrices — review, operations, types

1,645 words7 min read↑ Read in English

4.5.6 · D2 · Maths › Linear Algebra (Full) › Matrices — review, operations, types

Hum sirf ek cheez assume karte hain: ek matrix ek machine hai jo arrows ko move karti hai. Baaki sab hum khud build karte hain.


Step 1 — Ek arrow bas do numbers hote hain

KYA. Graph paper draw karo. Ek vector ek arrow hai origin (beech wala cross) se ek point tak. Usse poori tarah do numbers se describe kiya ja sakta hai: kitna daayein () aur kitna upar ().

KYUN. Kisi machine ke arrow ko move karne se pehle, hume arrow ko numbers se naam dene ka tarika chahiye. Woh naming hi poora reason hai ki coordinates exist karte hain. Arrow-as-numbers idea ke liye Dot Product and Vectors dekho.

PICTURE. Neeche wala red arrow point tak pahunchta hai: teen steps daayein, ek step upar.

Figure — Matrices — review, operations, types


Step 2 — Ek matrix ek arrow ko move karti hai: "apply " ka matlab kya hai

KYA. Ek matrix arrow ko leta hai aur ek naya arrow banata hai. Naye arrow ke pehle number ka rule hai: ki row 1 ke saath chalo, har entry ko ki matching entry se multiply karo, unhe add karo. Row 2 ke liye bhi aisa hi.

Top slot mein term by term: kehta hai "purana right kitna naya right banta hai", kehta hai "purana up kitna naye right mein leak hota hai". Har entry ek mixing amount hai.

KYUN row-dot-vector? Kyunki ek matrix linear honi chahiye: input double karo toh output double ho, aur inputs add ho. Input se banane wala ek hi formula jo yeh satisfiy karta hai woh hai ka weighted sum — exactly ek row aur arrow ka dot product. Koi bhi curved rule linearity tod dega. Yeh machine Linear Transformations mein hai.

PICTURE. Neeche, pale-yellow arrow hai ; use shear karta hai (daayein jhukta hai) chalk-blue arrow mein.

Figure — Matrices — review, operations, types

Step 3 — Do machines ek line mein: woh sawaal jo multiplication ko force karta hai

KYA. Maano hum pehle apply karte hain, phir result par apply karte hain. Toh arrow ka safar hai

Sawaal: kya ek single matrix hai — ise kaho — jo dono jumps ek saath kare? Agar haan, toh uski entries choose karne ke liye free nahi hain; woh wही hain jo ko har arrow ke liye sach banayein.

KYUN yeh, entrywise nahi? Hum matching entries multiply karke ek product invent kar sakte the (woh "Hadamard" idea parent ke mistake box mein hai). Lekin woh product kisi useful sawaal ka jawab nahi deta — woh "do then " describe nahi karta. Hum woh product chahte hain jo machines ko chain kare, kyunki chaining wahi hai jo transformations, aur Systems of Linear Equations ke systems, actually karte hain.

PICTURE. Do-hop ka safar: pink arrow (after ) blue arrow (after ) yellow arrow. Hum ek aisi machine dhoondh rahe hain jo pink se seedha yellow tak jump kare.

Figure — Matrices — review, operations, types

Step 4 — Grind karo: row·column formula apne aap saamne aata hai

KYA. Aao honestly compute karein aur dekho ki ki definition khud nikli. likho, toh (Step 2 ka rule, jahan row index hai, input slots par sum hota hai).

Ab apply karo. ka -th number hai row of dotted with :

Do sums ka order swap karo (allowed hai — same numbers alag order mein add ho rahe hain):

Term by term: hai "slot kitna output ko feed karta hai"; hai "input kitna slot ko feed karta hai". Unka product middle index par summed karke har path count karta hai input se output tak. Woh total hai .

KYUN inner index match karna zaroori hai. Letter ke columns aur ke rows par simultaneously run karta hai. Agar ke columns hain lekin ke alag number of rows hain, toh sum ke terms mismatch ho jaate hain — yeh meaningless hai. Isliye inner dimensions agree karni chahiye.

PICTURE. Entry = ki highlighted row ke highlighted column ke saath slide karti hai; har aligned pair multiply hota hai, pile sum hota hai.

Figure — Matrices — review, operations, types

Step 5 — Ek real wala karo, entry by entry

KYA. Lo , . ek slot at a time banao.

KYUN inhe is tarah line up karo. Slot use karta hai row 2 of aur column 1 of row index se copy hota hai, column index se copy hota hai. Yahi bookkeeping poori skill hai.

PICTURE. Slot lit up: row 2 of column 1 of ke saamne, jo deta hai .

Figure — Matrices — review, operations, types

Step 6 — Order matters: compute karo aur dekho kaise disagree karta hai

KYA. Same , lekin ab doosre act karta hai:

Compare karo: .

KYUN yeh differ karte hain. matlab hai "do , then "; matlab hai "do , then ". Yeh alag-alag safar hain — pehle moje phir joote vs pehle joote phir moje. Algebra simply record karta hai ki geometry alag hai.

PICTURE. Same starting arrow ke do safar: ek path (shear-then-scale) kahin alag land karta hai doosre se (scale-then-shear).

Figure — Matrices — review, operations, types

Step 7 — Degenerate cases: zero, identity, aur vanishing products

KYA. Teen limiting machines jo tumhe kabhi surprise nahi karni chahiye.

  • Identity har arrow ko untouched chodti hai: . Row 1 pick karta hai, row 2 pick karta hai — pure "kuch nahi karo".
  • Zero matrix har arrow ko origin par crush karta hai: .
  • Zero divisors. Do nonzero machines compose ho kar zero machine ban sakti hain: Right machine arrow ka sirf "up" part rakhti hai; left machine sirf "right" part rakhti hai. Inhe sequence mein karo aur kuch nahi bachta.

KYUN ordinary numbers ke saath aisa nahi ho sakta. Plain numbers mein force karta hai ya . Matrices yeh todte hain kyunki ek machine poori ek direction throw away kar sakti hai (yeh singular hai, ; dekho Determinant and Inverse of a Matrix). Do machines jo complementary directions discard karti hain kuch nahi bachne deti.

PICTURE. Left machine saare arrows ko horizontal line par flatten karti hai; right machine vertical line par flatten karti hai. Pehle vertical squash, phir horizontal — arrow origin par pahunch jaata hai.

Figure — Matrices — review, operations, types

Ek-picture summary

Upar sab kuch ek single claim par collapse hota hai: row·column rule ek convention nahi hai, yeh "machines ko chain karne" ka unique fingerprint hai.

Figure — Matrices — review, operations, types
Recall Feynman retelling

Graph paper par arrows imagine karo. Ek matrix ek choti machine hai jo har arrow ko pakad ke uski tip move karti hai — lekin sirf "fair" tarike se: arrow double karo, move double ho; arrows add karo, moves add ho. Woh fairness force karti hai ki har output number input numbers ka weighted mix ho — ek row aur arrow ka dot.

Ab do machines ek line mein rakho: pehle , phir . Kya ek super-machine dono ke barabar hai? Haan — aur jab tum patiently ek arrow ko follow karte ho, us super-machine ke numbers nikle row of times column of , middle mein summed. Kisi ne woh formula choose nahi kiya; woh "inhe sequence mein karo" se khud gira.

Kyunki "do then " ek alag trip hai "do then " se — pehle moje phir joote vs pehle joote phir moje — aur usually agree nahi karte. Aur kyunki ek machine poori ek direction ko nothing par flatten kar sakti hai, do nonzero machines multiply ho kar do-nothing-but-crush zero machine ban sakti hain. Identity woh aalsee machine hai jo kuch nahi choota.

Connections