Worked examples — Matrix definition — rows, columns, order, elements
2.6.1 · D3· Maths › Matrices & Determinants — Introduction › Matrix definition — rows, columns, order, elements
Yeh page ek drill hall hai. Parent note ne tumhe chaar ideas sikhaye — rows, columns, order, elements. Yahan hum har tarah ke questions cover karenge jo in ideas se ban sakte hain, ek worked example har scenario ke liye, taaki koi bhi matrix problem tumhare liye naya na rahe.
Shuru karne se pehle, notation ke baare mein ek promise. Jo bhi hum use karte hain, yahan banaya gaya hai:
- Ek matrix numbers ka ek grid hai jo brackets ke andar hota hai.
- Order ka matlab hai " rows lambi, columns chaudi" — pehle rows padhte hain.
- ka matlab hai "row , column mein baitha number" — phir se row pehle, column doosra ("RC").
- aur hamesha 1 se start hote hain, kabhi 0 se nahi.
Agar inme se kuch shaky lagta hai, toh parent note inhe bilkul shuruaat se banata hai. Ab se hum inhe tezi se use karte hain.
The scenario matrix
Har matrix-reading ya matrix-building question jo tumse poocha ja sakta hai, in cells mein se kisi ek mein aata hai. Neeche ke worked examples mein us cell ka label diya gaya hai jo woh cover karta hai, taaki milke poori table fill ho jaye.
| Cell | Scenario | Covered by |
|---|---|---|
| A | Ek chhote square grid se ek element padhna | Example 1 |
| B | Rectangular (non-square) grid — order commutative nahi | Example 2 |
| C | Degenerate shapes: ek akela number, ek row vector, ek column vector | Example 3 |
| D | Empty / edge index — ek aisa element maangna jo exist nahi karta | Example 4 |
| E | Formula se matrix banana signs & ek twist ke saath | Example 5 |
| F | Sign-sensitive build: alternating pattern (har sign case) | Example 6 |
| G | Real-world word problem — data ki ek table ko matrix mein badalna aur use padhna | Example 7 |
| H | Exam twist — do matrices equal hain, unknowns ke liye solve karo (equality se link) | Example 8 |
Related ideas jinhe hum chhoote hain: Matrix Equality, Types of Matrices, Transpose of Matrix.

Upar wali figure dekho: wohi grid jisme red arrow pehle neeche jaata hai (woh row pick karta hai) aur blue arrow across jaata hai (woh column pick karta hai). Yeh akela picture ki poori grammar hai. Ise apne dimag mein har example ke liye rakhna.
[!example] Example 1 — Cell A: ek square grid padhna
Order nikalo, phir , aur diagonal element .
Step 1 — Rows count karo, phir columns. 3 horizontal lines, 3 vertical lines → order . Yeh step kyun? Shape, contents se pehle aati hai; tum ek 3-row matrix mein row 4 nahi maang sakte.
Step 2 — : row 1 tak neeche jao, column 3 tak across jao. Row 1 hai ; teesri entry hai. Toh . Yeh step kyun? Red arrow (neeche) row pick karta hai, blue arrow (across) column pick karta hai — bilkul wahi figure ki tarah.
Step 3 — : row 3 tak neeche jao, column 1 tak across jao. Row 3 hai ; pehli entry hai. Toh . Yeh step kyun? Subscripts swap karne se tum bilkul alag cell par pahunch jaate ho — , toh .
Step 4 — : row 2, column 2. Row 2 hai ; doosri entry hai. Toh .
[!example] Example 2 — Cell B: rectangle, order commutative nahi hai
Order nikalo, elements ki total sankhya, , , aur batao ki square hai ya nahi.
Step 1 — Order. 2 rows, 4 columns → order . Yeh step kyun? aur alag shapes hain; ordinary multiplication ki tarah jahan , matrix order commute nahi karta.
Step 2 — Total elements . Yeh step kyun? 2 rows mein se har ek mein 4 numbers hain, aur inhe bina overlap ke count karta hai.
Step 3 — : row 1, column 4. Row 1 hai ; 4th entry hai. Toh .
Step 4 — : row 2, column 3. Row 2 hai ; 3rd entry hai. Toh .
Step 5 — Square? Square ke liye rows columns chahiye. Yahan , toh square nahi (yeh rectangular hai).
[!example] Example 3 — Cell C: degenerate shapes
Sabse chhoti matrices idea ko uski buniyad tak le aati hain. Teen degenerate cases:
(a) Ek akela number as a matrix . Order . Sirf ek element . Yeh ek square matrix hai (rows columns ).
(b) Ek row vector . Order : ek row, chaar columns. Yahan pehla index 1 par stuck hai, sirf doosra move karta hai: .
(c) Ek column vector . Order : teen rows, ek column. Ab doosra index 1 par stuck hai: .
Yeh kyun important hai? Yeh poore topic ke limiting cases hain: ek row vector "ek aisi matrix hai jisme rows khatam ho gayi", column vector "columns khatam ho gayi", aur "dono ek saath khatam". Har general rule yahan bhi kaam karna chahiye, aur karta hai — frozen index bas kabhi change nahi hota.
[!example] Example 4 — Cell D: woh element jo exist nahi karta
Example 2 ke (order ) ko use karke, ek question aur maangta hai. Inhe dhundho.
Step 1 — test karo: row 3. Order hai, toh valid rows hain . Row out of range hai. Yeh step kyun? Index kabhi se zyada nahi ho sakta; ek 2-row matrix mein row 3 maangne ka koi jawab nahi — element undefined hai, zero nahi.
Step 2 — test karo: column 5. Valid columns hain . Column , se zyada hai. Yeh step kyun? Doosra index kabhi se zyada nahi ho sakta. undefined hai.
Step 3 — Allowed ranges batao. Kisi bhi order ke matrix ke liye: aur . Isse bahar kuch bhi ek non-existent element hai.
[!example] Example 5 — Cell E: ek twist wale formula se banana
matrix banao jisme ( ka matlab hai " aur mein se bada"; chhhota. Unka difference bas dono indices kitne door hain yeh hai.)
Step 1 — Diagonal, . . Toh . Yeh step kyun? Jab row aur column indices same hote hain, gap zero hota hai — ek poora diagonal free mein s ke saath.
Step 2 — Off-diagonal. Value hai, dono indices ke beech ki doori:
- , ,
- , ,
Yeh step kyun? Do numbers ka exactly unka absolute difference hota hai, jo negative nahi ho sakta — toh is build mein koi sign trap nahi hai.
Step 3 — Assemble karo.
[!example] Example 6 — Cell F: har sign, alternating pattern
matrix banao jisme Yahan ek sign switch hai: yeh hota hai jab even ho aur jab odd ho. Hume dono sign cases sahi se handle karne hain.
Step 1 — Sign rule padho. even factor ; odd factor . Yeh step kyun? Har cell mein parity sahi karna hi poori mushkil hai; magnitude easy hai.
Step 2 — Row 1 ():
- : even →
- : odd →
- : even →
Step 3 — Row 2 ():
- : odd →
- : even →
- : odd →
Step 4 — Row 3 ():
- : even →
- : odd →
- : even →
Step 5 — Assemble karo.
[!example] Example 7 — Cell G: ek real-world word problem
Ek snack stall 3 din ke liye 2 items (samosas, chai) ki bikri record karta hai:
- Monday: 40 samosas, 55 chai
- Tuesday: 30 samosas, 48 chai
- Wednesday: 52 samosas, 60 chai
Ise matrix ke roop mein likho jisme rows = days aur columns = items hoon. Phir aur padho, aur batao dono ka kya matlab hai.
Step 1 — Layout fix karo. Rows = days (3 hain), columns = items (2 hain) → order . Yeh step kyun? Rows aur columns ka matlab chunna modelling step hai; phir har element ka ek definite real-world reading hota hai.
Step 2 — Grid bharo (samosas column 1 mein, chai column 2 mein):
Step 3 — padho: row 3 (Wednesday), column 1 (samosas) . Matlab: Wednesday ko 52 samosas biki.
Step 4 — padho: row 1 (Monday), column 2 (chai) . Matlab: Monday ko 55 chai biki.
[!example] Example 8 — Cell H: exam twist, unknowns ke liye solve karo
Do matrices equal di gayi hain (yeh equal matrices hain, matlab same order aur har matching entry equal): aur nikalo.
Step 1 — Entry by entry match karo. Equal matrices har corresponding element ko equal force karti hain:
- top-left:
- top-right: (automatically true — koi info nahi)
- bottom-left: (automatically true)
- bottom-right:
Yeh step kyun? Matrix equality entry-wise hoti hai; do useful cells ordinary equations ki ek pair dete hain.
Step 2 — System solve karo. Dono equations add karo: Yeh step kyun? Add karne se cancel hota hai, aur seedha isolate ho jaata hai.
Step 3 — Back-substitute karo. se: .
[!mnemonic] Yeh yaad rakhke jao
- RC: Row pehle Column, hamesha. Pehle neeche, phir across (figure mein do arrows dekho).
- Order kabhi commute nahi karta: as a shape, chahe count same ho.
- Indices ek box mein rehte hain: , . Box ke bahar → element exist nahi karta.
- Build formulas: pehle blank grid likho, phir har feed karo — aur kisi bhi ke liye parity dekho.