حساب · 8 منٹ
ترتیب اور انتخاب (پرمیوٹیشن اور کمبی نیشن)
Permutations and combinations: arrange or choose
سبق
گنتی کے سوال کو دو چیزیں طے کرتی ہیں: گنتی کا اصول، اور یہ کہ ترتیب اہم ہے یا نہیں۔ اگر ایک کام m طریقوں سے ہو سکے تو دوسرا کام n طریقوں سے ہو گا۔ دونوں مل کر m × n طریقوں سے ہوں گے، کیونکہ اور کا مطلب ضرب ہے۔ ایک یا دوسرا کرنا ہو تو m + n طریقے بنتے ہیں، کیونکہ یا کا مطلب جمع ہے۔ n! یعنی n × (n−1) × … × 1، اور 0! کو 1 مانا جاتا ہے۔
Two things settle every counting question: the counting rule and whether order matters. If one job can be done in m ways and a second job in n ways, doing both takes m × n ways, because AND multiplies. Doing one or the other takes m + n ways, because OR adds. The factorial n! is n × (n−1) × … × 1, and 0! is taken as 1.
ترتیب اہم ہو تو طریقہ بدل جاتا ہے۔ ترتیب دینا، درجہ بندی کرنا، اعداد یا الفاظ بنانا، ان سب میں ترتیب اہم ہوتی ہے۔ اس لیے یہاں پرمیوٹیشن لگتا ہے: nPr = n!/(n−r)!۔
Order decides the method. Arranging, ranking, forming numbers or forming words all care about order, so they use permutations: nPr = n!/(n−r)!.
ٹیم یا کمیٹی چننے میں ترتیب اہم نہیں ہوتی، اس لیے کمبی نیشن لگتا ہے: nCr = n!/(r!(n−r)!)۔ چونکہ nCr = nC(n−r) ہے، 10C8 اور 10C2 ایک ہی ہیں، یعنی 45۔ 7 میں سے 3 ارکان کی کمیٹی چننا 7C3 = 35 ہے۔ انہی 7 میں سے صدر، سیکریٹری اور خزانچی چننا 7P3 = 210 ہے۔
Choosing a team or a committee does not care about order, so it uses combinations: nCr = n!/(r!(n−r)!). Since nCr = nC(n−r), 10C8 is the same as 10C2, which is 45. Choosing 3 members of a committee from 7 gives 7C3 = 35, while choosing a president, a secretary and a treasurer from the same 7 gives 7P3 = 210.
تین خاص صورتوں میں ایک ایک سطر کافی ہے۔ دہرائے حروف والے لفظ میں تکرار سے تقسیم کیا جاتا ہے، جیسے LEVEL یعنی 5!/(2!·2!) = 30۔ گول میز کے گرد n افراد (n−1)! طریقوں سے بیٹھتے ہیں۔ جو حروف ساتھ رہیں، انہیں پہلے ایک گروہ مانا جاتا ہے، پھر گروہ کے اندر ترتیب دی جاتی ہے۔
Three special cases take one line each. A word with repeated letters divides out the repeats, so LEVEL gives 5!/(2!·2!) = 30. n people around a round table sit in (n−1)! ways. Letters that must stay together are first treated as one block, and the block is then arranged inside.
گروپ 4 پیپر II (2023ء) میں ذہنی قابلیت کے تحت گنتی کے کئی سوال آئے۔ ہر سوال میں ایک ہی فیصلہ کرنا ہوتا ہے: ترتیب دینی ہے یا انتخاب کرنا ہے۔
Group 4 Paper II in 2023 asked several counting questions under mental ability. Each one turns on a single decision, whether the question arranges or chooses.
بنیادی سبق AND/OR گننے کا قاعدہ، nPr اور nCr، دہرائے حروف والے الفاظ، اور گول ترتیب (n−1)! پہلے ہی طے کرتا ہے۔ بنیادی گننتی اصول اور فیکٹوریل کی پہچانوں پر رہیں، اور حساب خودکار ہونے تک مشق کریں۔ 0! کو 1 مانا جاتا ہے، اور 1! بھی 1 ہے۔ شناخت n! = n × (n−1)! ہر جزو لکھے بغیر فیکٹوریل کاٹنے دیتی ہے: 6! / 4! = 6 × 5 = 30، اور 7! / 5! = 7 × 6 = 42۔ n الگ چیزیں قطار میں n! طریقوں سے سجائی جا سکتی ہیں، اس لیے 4 الگ کتابیں 24 طریقوں سے۔ عدد بناتے وقت بنیادی اصول ترتیب میں انتخاب ضرب کرتا ہے، اور 3 رقمی عدد میں پہلا ہندسہ صفر نہیں: پہلے ہندسے کے 9 انتخاب (1 سے 9)، اگلے کے 9 اگر ہندسے الگ ہوں (0 اب کھلا ہے، مگر پہلا ہندسہ استعمال ہو چکا)، آخری کے 8، اس لیے 9 × 9 × 8 = 648۔ دو آزاد کام m اور n طریقوں سے ہوں تو دونوں m × n طریقوں سے: 3 قمیضیں اور 2 پتلون 6 جوڑے۔ عام جال 0! کو 0 لکھنا، 6! کو 4! سے 6/4 کی طرح تقسیم کرنا، یا 3 رقمی عدد کے پہلے ہندسے کے طور پر 0 دینا ہے۔
The base lesson already settles the AND/OR counting rule, nPr and nCr, words with repeated letters, and a circular arrangement as (n−1)!. Stay with the fundamental counting principle and with factorial identities, and practise them until the arithmetic is automatic. 0! is taken as 1, and 1! is also 1. The identity n! = n × (n−1)! lets you cancel factorials without writing every factor: 6! / 4! = 6 × 5 = 30, and 7! / 5! = 7 × 6 = 42. n distinct objects can be arranged in a line in n! ways, so 4 distinct books can be arranged in 24 ways. When you form numbers, the fundamental counting principle multiplies the choices in order, and a leading zero is not allowed in a 3-digit number: the first digit has 9 choices (1 to 9), the next has 9 if the digits must be distinct (0 is now free, but the first digit is used), and the last has 8, so 9 × 9 × 8 = 648. If two independent jobs can be done in m and n ways, both can be done in m × n ways: 3 shirts and 2 pairs of trousers give 6 outfits. The usual trap is to write 0! as 0, or to divide 6! by 4! as if it were 6/4, or to allow 0 as a first digit of a 3-digit number.
جوڑوں کے طور پر مصافحوں کی گنتی
Counting handshakes as pairs
بنیاد پہلے nCr اور عام ترکیب کی گنتی سکھا چکی ہے۔ وہ نشان پڑاؤ رہتے ہیں۔ یہ کٹ مصافحے کا مسئلہ ہے، جوڑوں کی گنتی۔ اگر کمرے میں n لوگ ہوں اور ہر شخص باقی ہر ایک سے ایک بار مصافحہ کرے، تو ہر مصافحہ ایک جوڑا ہے، اس لیے گنتی C(n,2) = n(n-1)/2 ہے۔ 10 لوگوں کے لیے 10×9/2 = 45۔ 8 کے لیے 8×7/2 = 28۔ 7 کے لیے 21، 12 کے لیے 66۔ اگر مصافحے 15 ہوں تو n(n-1)/2 = 15، اس لیے n(n-1) = 30، n = 6۔ ایک متعلقہ نشان، سب کا سب سے مصافحہ نہیں: ایک گروپ کے رکن دوسرے گروپ کے ہر رکن سے مصافحہ کریں اور اپنے گروپ میں نہیں، تو دو 5 رکنی ٹیمیں 5×5 = 25 دیتی ہیں۔ 2 سے تقسیم کیے بغیر n یا n(n-1) لکھنا پھندا ہے، کیونکہ تب ہر مصافحہ دو بار گنا جائے گا، یا پہلے پڑھے nCr فارمولے کو یہ مصافحہ کٹ بنا کر پھر بیان کرنا۔
The base already teaches nCr and ordinary combination counts. Those marks stay waypoints. This cut is the handshake problem as a count of pairs. If n people are in a room and each person shakes hands with every other person exactly once, each handshake is a pair, so the number of handshakes is C(n,2) = n(n-1)/2. For 10 people that is 10×9/2 = 45. For 8 people it is 8×7/2 = 28. For 7 people it is 21, and for 12 people it is 66. If the number of handshakes is 15, then n(n-1)/2 = 15, so n(n-1) = 30, and n = 6. A related mark, not the same as everyone shaking with everyone, is when each member of one group shakes hands with each member of another group and not within the group: two teams of 5 then give 5×5 = 25 handshakes. The trap is to write n or n(n-1) without dividing by 2, because each handshake would then be counted twice, or to retell the already-taught nCr formula as if it were this handshake cut.
شرطوں کے ساتھ کمیٹی بنانا
Forming a committee with conditions
بنیاد پہلے بغیر ترتیب ٹیم کے لیے nCr سکھا چکی ہے، اور بعد کا کٹ مصافحے کی گنتی C(n,2) پہلے دیکھ چکا ہے۔ قریبی سبق جوڑے اور دو گروہ کی تقسیم پہلے دیکھ چکا ہے۔ وہ پڑاؤ رہتے ہیں۔ یہ کٹ شرط والی کمیٹی ہے: کم از کم ایک خاتون، ایک گروہ سے ٹھیک k، یا کسی خاص شخص کا شامل یا خارج ہونا۔ عام طریقہ اجازت والے کیس گننا، یا کل سے منع کیس نکالنا ہے۔ جہاں کمیٹی بغیر ترتیب ہو وہاں ترتیب والی گنتی استعمال کرنا، یا صرف مصافحے کا فارمولا یہ پورا کٹ بنا کر پھر بیان کرنا، پھندا ہے۔
The base already teaches nCr for an unordered team, and a later cut already treats the handshake count C(n,2). A neighbouring lesson already treats pairing and two-group division. Those stay waypoints. This cut is a committee with a condition: at least one woman, exactly k from one group, or a particular person included or excluded. The usual method is to count the allowed cases, or to take the total and subtract the forbidden cases. The trap is to use a permutation where the committee is unordered, or to retell only the handshake formula as this whole cut.
حروف کی ترتیب: سر مل کر یا جفت مقاموں پر، اور لغت کا رینک
Arranging letters: vowels together or in even places, and dictionary rank
بنیاد پہلے فیصلہ کرتی ہے کہ ترتیب اہم ہے یا نہیں، ترتیب کے لیے nPr اور انتخاب کے لیے nCr استعمال کرتی ہے، گروہ سے کمیٹی بھی۔ بعد کا کٹ شرطوں کے ساتھ کمیٹی بنانا پہلے دیکھ چکا ہے۔ وہ پڑاؤ رہتے ہیں۔ یہ کٹ یہ ہے کہ لفظ کے حروف کیسے ترتیب دیے جائیں۔ اگر تمام سر اکٹھے رہیں تو انہیں ایک یونٹ باندھ کر اس یونٹ کو بے سروں کے ساتھ ترتیب دیتے ہیں، پھر یونٹ کے اندر سر ترتیب دیتے ہیں۔ اگر سر صرف جفت مقاموں پر ہوں تو پہلے جفت جگہیں بھرتے ہیں، باقی جگہیں بے سروں کی۔ لفظ کا لغت رینک یہ ہے کہ الگ الگ ترتیبوں کو حروف تہجی میں رکھیں تو اس سے پہلے آنے والے لفظوں کی تعداد جمع ایک۔ حروف کو کمیٹی کی طرح گننا، جہاں ترتیب کام نہ دے، یا سر باندھتے وقت ایک قدم بھول جانا، پھندا ہے۔
The base already decides whether order matters, and uses nPr for arrangements and nCr for choices, including a committee from a group. A later cut already treats committee formation with conditions. Those stay waypoints. This cut is how the letters of a word are arranged. If all the vowels must stay together, they are tied as one unit, and that unit is arranged with the consonants, then the vowels are arranged inside the unit. If the vowels must occupy only the even positions, the even places are filled first, and the consonants take the places that remain. The dictionary rank of a word is one plus the number of words that would come before it, when all distinct arrangements are listed in alphabetical order. The trap is to count as if the letters were a committee, where order does not matter, or to forget a repeated step when the vowels are tied.
پابندیوں کے ساتھ ترتیب: ساتھ نہ آنا، باری باری، دائرے کی اضافہ
Arrangement with restrictions: never together, alternate, circular extras
بنیاد پہلے گنتی کا قاعدہ، nPr اور nCr، دہرائے حروف والے الفاظ، دائرے کی ترتیب (n-1)!، اور ساتھ رہنے والے حروف یا لوگوں کو ایک بلاک ماننے کا طریقہ سکھا چکی ہے۔ وہ پڑاؤ رہتے ہیں۔ یہ کٹ وہ پابندی ہے کہ دو لوگ کبھی ساتھ نہ بیٹھیں، وہ پابندی کہ دو گروہ باری باری سیٹوں پر بیٹھیں، اور دو دائرے کی اضافہ جو سادہ (n-1)! نہیں: میز کے گرد دو جو کبھی ساتھ نہ بیٹھیں، اور دو جو آمنے سامنے بیٹھیں۔ قطار میں ساتھ نہ آنا پہلے پڑھا کل n! ہے، منہا پہلے پڑھی ساتھ-بلاک گنتی 2(n-1)!۔ میز کے گرد وہی خیال پڑاؤ (n-1)! سے 2(n-2)! گھٹاتا ہے۔ برابر دو گروہوں کی باری قطار میں عام طور پر 2 × n! × n! ہے، 2 اس لیے کہ کون سا گروہ سرے سے شروع ہو۔ ساتھ-بلاک پر رک جانا، یا پابندی نہ ہو جیسے صرف (n-1)! دینا، پھندا ہے۔
The base already treats the counting rule, nPr and nCr, words with repeated letters, a circular arrangement as (n-1)!, and the method of treating letters or people who must stay together as one block. Those stay waypoints. This cut is the restriction that two people must never sit together, the restriction that two groups sit in alternate seats, and two circular extras that are not the plain (n-1)! mark: two people who must never sit together around a table, and two people who sit opposite each other. Never together in a row is the already-taught total, n!, minus the already-taught together-block count, 2(n-1)!. Around a table the same idea uses the waypoint (n-1)! minus 2(n-2)!. Alternate seating of two equal groups in a row is usually 2 × n! × n!, the 2 for which group starts at the end. The trap is to stop at the together-block, or to give only (n-1)! as if no restriction had been named.
یاد رکھیں
دو کام ساتھ ہوں تو طریقے m × n ہو جاتے ہیں، اور ایک یا دوسرا ہو تو m + n۔ ترتیب دینے، درجہ بندی کرنے، اعداد یا الفاظ بنانے میں ترتیب اہم ہے، وہاں nPr = n!/(n−r)!۔ ٹیم یا کمیٹی میں ترتیب اہم نہیں، وہاں nCr = n!/(r!(n−r)!)۔
When two jobs are done together the ways multiply as m × n, and when one or the other is done they add as m + n. Order matters in arrangements, rankings, numbers and words, and there the count is nPr = n!/(n−r)!. Where order does not matter, as in a team or a committee, the count is nCr = n!/(r!(n−r)!).
دہرائے حروف والے لفظ کو p!·q!… سے تقسیم کیا جاتا ہے۔ گول میز کے گرد n افراد (n−1)! طریقوں سے بیٹھتے ہیں۔
A word with repeated letters is divided by p!·q!…, and n people around a round table sit in (n−1)! ways.
پیپر یہ کیوں پوچھتا ہے
گروپ 4 پیپر II (2023ء) میں ذہنی قابلیت کے تحت گنتی کے کئی سوال آئے۔ ہر سوال میں ایک ہی فیصلہ کرنا ہوتا ہے، یعنی ترتیب دینی ہے یا انتخاب کرنا ہے۔ یہ فیصلہ ہو جائے تو فارمولا خود سامنے آ جاتا ہے۔
Group 4 Paper II in 2023 asked several counting questions under mental ability. Each of them is settled by one decision, whether the question arranges or chooses. Once that decision is made, the formula follows.
حل شدہ مثال
BANANA میں کل 6 حروف ہیں۔ A تین بار اور N دو بار آتا ہے۔ یہ تکرار ہار میں جاتی ہے، سو ترتیبوں کی تعداد 6!/(3!·2!) ہے۔ اس کا حساب 720/12 = 60 بنتا ہے۔
The letters of BANANA number 6 in all. A appears three times and N appears twice. The repeat counts go into the denominator, so the number of arrangements is 6!/(3!·2!). That works out to 720/12 = 60.
عام غلطی
کمیٹی کے لیے nPr لگانا ایک غلطی ہے، حالانکہ وہاں ترتیب اہم نہیں ہوتی۔ دوسری غلطی یہ ہے کہ لفظ میں حروف دہرے ہوں تو تکرار سے تقسیم نہ کی جائے۔ دونوں صورتوں میں پہلا سوال چھوٹ جاتا ہے: ترتیب اہم ہے یا نہیں، اور حروف دہرے ہیں یا نہیں۔The mix-up is using nPr for a committee, where order does not matter. Another is forgetting to divide by the repeated letters when a word has doubled letters. In both cases the first check is skipped, whether order matters and whether letters repeat.
ماخذ: پرجا پریپ کا اپنا مشقی نوٹ۔ عوامی امتحانات کے انداز پر مبنی (سرکاری وابستگی نہیں)۔
سائن اپ کر کے پڑھائی جاری رکھیں
یہ سبق پڑھنا مفت ہے۔ مفت سائن اپ کریں، ایپ میں اگلا سبق کھولیں، اپنی پیش رفت رکھیں، اور اسی موضوع پر سوال کی پریکٹس کریں۔
سائن اپ کر کے پڑھائی جاری رکھیں