2.7.10 · D2 · HinglishStatistics & Probability — Intermediate

Visual walkthroughPermutations — nPr, arrangements with restrictions

1,758 words8 min read↑ Read in English

2.7.10 · D2 · Maths › Statistics & Probability — Intermediate › Permutations — nPr, arrangements with restrictions

Yeh page parent note ki central derivation ka slow-motion replay hai. Agar koi symbol aata hai, pehle hum usse define karte hain.


Step 1 — Hum actually count kar kya rahe hain?

KYA. Hamare paas distinct objects ka ek set hai. "Distinct" ka matlab sirf yeh hai ki aap unhe alag-alag pehchaan sako — jaise 5 alag letters , na ki 5 ek-jaisi marbles. Hum unhe ek row of positions mein kuch line up karna chahte hain, aur hum order ki parwah karte hain.

KYUN. Order hi permutation ka poora point hai. Row ek alag line-up hai se, chahe same do letters use hui hon. Agar hum order ki parwah nahi karte, toh hum ek group select kar rahe hote, jo ek alag subject hai (Combinations — nCr).

PICTURE. Figure dekhein: same do tiles ko do alag orders mein rakhne se do alag arrangements milte hain. Yeh "same tiles se do alag pictures" — exactly yahi reason hai ki order kyun matter karta hai.

Figure — Permutations — nPr, arrangements with restrictions

Step 2 — Har cheez ke neeche ek rule: choices ko multiply karo

KYA. Maano pehli position tareekon se fill ho sakti hai, aur in mein se har ek ke liye, doosri position tareekon se fill ho sakti hai. Toh complete rows ki sankhya hai.

KYUN. Yeh Fundamental Counting Principle hai: jab aap ek decision karte hain aur phir doosra, totals multiply hote hain (aap unhe add nahi karte). Ise ek branching tree ki tarah socho — har pehla choice apna poora set of second choices sprout karta hai.

PICTURE. Neeche ka tree branches se start hota hai. Har branch mein split hoti hai. Neeche leaves count karne par milta hai — har leaf ek finished arrangement hai.

Figure — Permutations — nPr, arrangements with restrictions

Step 3 — Choices ko position-by-position shrink hote dekhein

KYA. Ab distinct objects mein se positions fill karo, koi repeat nahi (ek baar letter use ho gaya, toh gaya). Left to right fill karo aur record karo ki har step par kitne available hain.

KYUN. "No repeats" yahi wajah hai ki count exactly ek baar har baar girta hai. Yeh single shrinking-by-one behaviour hi poore formula ka engine hai.

PICTURE. Neeche boxes ki row har box ke upar available count dikhati hai: , phir , phir , … Daayein taraf bache hue tiles ka pool physically har box par ek tile se shrink hota hai.

Figure — Permutations — nPr, arrangements with restrictions
Position Available choices Ek kam kyun?
1st abhi tak kuch use nahi hua
2nd ek object ab placed hai
3rd do placed hain
-th already placed hain

Step 4 — Boxes ko multiply karo: raw formula

KYA. Step 2 ka multiply-rule Step 3 ke saare boxes par apply karo:

KYUN. Har box ek independent decision hai pehle wale decisions ko given, isliye counting principle se unke choice-counts multiply hote hain. Symbol (padho " permute ") is product ka sirf ek naam hai.

PICTURE. Figure boxes ko stack karta hai aur unke beech ek bada draw karta hai, saath mein descending numbers likhe hain. Yeh product hai, visible banaya gaya.

Figure — Permutations — nPr, arrangements with restrictions

Step 5 — Factorials se compress karo (smart trick)

KYA. Ek factorial ka matlab hai " se tak har whole number ko multiply karo": . Hamara raw product jaldi ruk jaata hai — yeh par ruk jaata hai aur "tail" tak kabhi nahi pahunchta.

KYUN. Hum ek tidy closed form chahte hain. Trick: missing tail se multiply aur divide karo. Ek hi cheez se multiply aur divide karne par kuch nahi badalta, lekin yeh top ko ek poora factorial ban'ne deta hai.

PICTURE. Neeche, poora ladder top se bottom tak drawn hai. Coral part woh piece hai jo hum actually chahte hain (); mint part leftover tail hai. Divide karne par mint tail cut ho jaati hai.

Figure — Permutations — nPr, arrangements with restrictions

Apne running example par verify karte hain:


Step 6 — Edge case A: har position fill karna ()

KYA. Agar aap saare objects arrange karo, toh ? Formula deta hai

KYUN. Hume ko samajhna hoga. Rule hai (dekho Factorials and 0!). Is se, — saare objects arrange karne ke orders hain, jo exactly Step 4 predict karta hai (boxes tak count down karte hain).

PICTURE. Figure saare boxes fill karta hai; leftover pool empty ho jaata hai, aur descending numbers tak poore neeche pahunchte hain.

Figure — Permutations — nPr, arrangements with restrictions

Step 7 — Edge case B: koi bhi position fill nahi karna ()

KYA. Zero positions fill karo:

KYUN. Exactly ek empty arrangement hai — blank row. Zero nahi (woh matlab hota "impossible"); kuch nahi karna ek valid outcome hai. Formula agree karta hai: top aur bottom identical hain, isliye cancel hokar ho jaate hain.

PICTURE. Koi box nahi ki ek empty row, labelled "1 tarika: the empty line-up." Poora pool side mein untouched rakha hai.

Figure — Permutations — nPr, arrangements with restrictions
Recall Quick self-test

kyun hai aur kyun nahi? ::: Kyunki "kuch arrange nahi karna" exactly ek tarike se possible hai (empty arrangement); ka matlab hota impossible. kya hai? ::: , kyunki .


Ek-picture summary

Upar ki saari cheez ek single diagram mein compress ki gayi hai: row of boxes → shrinking choices → multiply → unused tail cancel → clean formula. Isse left to right trace karo.

Figure — Permutations — nPr, arrangements with restrictions
Recall Feynman retelling — poori walkthrough ek 12-saal ke bachche ko explain karo

Socho apne doston ko photo ke liye line up kar rahe ho lekin unke liye sirf thodi jagah hai. Row mein pehli jagah ke liye, koi bhi dost wahan khad ho sakta hai — yeh bahut saari choices hain, ise kaho. Ek baar koi khada ho gaya, woh use ho gaya, isliye agli jagah ke liye ek kam dost bachta hai, phir ek aur kam. Saari possible photos count karne ke liye bas har jagah "kitne bache hain" multiply karo — kyunki har pehla choice apna fresh set of second choices carry karta hai (yahi branching tree hai). Boxes multiply karo aur jaisi ek chain milti hai. Mathematicians ko tidy formulas pasand hain, isliye woh notice karte hain ki yeh chain sirf ka top part hai (poora countdown se tak) aur bottom part cut off hai. Ise cleanly cut karne ke liye woh "jo dost photo mein nahi aaye" unke factorial se divide karte hain, . Isse neat milta hai. Aur weird cases theek behave karte hain: sab ko photograph karo aur milta hai (kyunki se divide karna kuch nahi karta); kisi ko nahi photograph karo aur exactly ek tarika hai — empty photo.


Connections

  • Fundamental Counting Principle — Step 2 ka multiply-rule yahi principle hai.
  • Factorials and 0! — Steps 5–7 par rely karte hain.
  • Combinations — nCr — jab order matter karna band ho jaaye, se divide karo: .
  • Circular Permutations — same shrinking idea, ek ring mein bend ki gayi.
  • Permutations with Repetition — kya badalta hai jab saare objects distinct nahi hote.
  • Probability — Equally Likely Outcomes — yeh counts numerators aur denominators ban jaate hain.