ExamShortcut

Permutation, Combination & Probability

✨ Login to track
medium importance~1 Q in Tier 130 formulas⚡ 13 shortcuts6 subtopics
All subtopics·Subtopic 4 of 6

Distribution & Grouping

✨ Login to track
⏱ 4 min read🧩 6 question types🎯 13 practice Q
The idea in one minute

Distribution questions split items or people into groups. Identical items use the cut formulas; different items use powers and factorial divisions.

01

Splitting into groups

To split nn different people into groups of sizes aa, bb and cc:

ways=n!a! b! c!\text{ways} = \frac{n!}{a!\,b!\,c!}

Divide by the factorial of each group size, because order inside a group does not matter.

9 students into groups of 4, 3 and 2: 9!4! 3! 2!=1260\dfrac{9!}{4!\,3!\,2!} = 1260.

Two groups of the same size can swap with each other, so divide by 2!2! as well. 8 people into two teams of 4: 12!×8!4! 4!=35\dfrac{1}{2!} \times \dfrac{8!}{4!\,4!} = 35.

Watch: Groups of the same size are interchangeable. Divide by the number of equal groups.

02

Sharing with everyone at least one

Distribute nn identical items among rr people, each getting at least one.

ways= n−1Cr−1\text{ways} = \,^{n-1}C_{r-1}

8 identical chocolates, 3 children, each at least one: 7C2=21^{7}C_2 = 21.

Why it works: lay the 8 chocolates in a row and cut twice. There are 7 gaps between them and 2 cuts, so 7C2^{7}C_2.

Test the rule on a tiny case: 3 chocolates, 2 children, each at least one gives 2C1=2^{2}C_1 = 2 — the splits (1, 2) and (2, 1). Listing confirms it.

03

Sharing with zero allowed

Now empty hands are allowed — a child may get nothing.

ways= n+r−1Cr−1\text{ways} = \,^{n+r-1}C_{r-1}

5 identical sweets, 3 children, zeros allowed: 7C2=21^{7}C_2 = 21.

Rule: "Each at least one" gives n−1Cr−1^{n-1}C_{r-1}. "Zero allowed" gives n+r−1Cr−1^{n+r-1}C_{r-1}. One changed word changes the formula.

04

Different things to different people

When the items are different, each item chooses its person.

3 different letters into 2 letterboxes: each letter has 2 choices, so 23=82^3 = 8 ways.

Two letters, two boxes: 22=42^2 = 4 — both letters in one box (two ways) or split between the boxes (two ways).

rr different items to nn people give nrn^r ways. If each person may hold at most one item, the count becomes nPr^{n}P_r instead.

05

Identical things to different people

Identical items use the cut formulas of the last two sections. Watch the wording closely.

7 identical pens among 4 shops, zeros allowed: 10C3=120^{10}C_3 = 120.

The algebra version is the same idea. Positive solutions of x+y+z=12x + y + z = 12: 11C2=55^{11}C_2 = 55. Non-negative: 14C2=91^{14}C_2 = 91.

Example: "Each basket at least 2"? Put 2 into each basket first, then share what remains by the usual formula.

06

Making pairs

2n2n different people into nn unordered pairs:

ways=(2n)!2n n!\text{ways} = \frac{(2n)!}{2^n\,n!}

8 people into 4 pairs: 8!24×4!=105\dfrac{8!}{2^4 \times 4!} = 105.

The 242^4 removes the order inside each pair; the 4!4! removes the order of the pairs themselves.

07

Question types you will see

Each type: how to recognise it, the method step by step, and one question to try.

Type 1very common3 practice Q

Identical items, everyone at least one

How to spot it:

'Distribute n identical items among r people, each gets at least one' — or 'positive integer solutions'.

n−1Cr−1^{n-1}C_{r-1}
Method
  1. Lay the nn items in a row: there are n−1n-1 gaps.

  2. Choose r−1r-1 gaps to cut.

  3. Answer n−1Cr−1^{n-1}C_{r-1}.

Why it works:

Each set of cuts splits the row into rr non-empty heaps, one per person.

Try this

9 identical toffees are shared by 3 children, each getting at least one. In how many ways?

Show solution
  1. Gaps: 8; cuts: 2.

  2. 8C2=28^{8}C_2 = 28.

Answer

28

Type 2very common2 practice Q

Identical items, zero allowed

How to spot it:

'…a person may get none' or 'non-negative integer solutions of x + y + z = n'.

n+r−1Cr−1^{n+r-1}C_{r-1}
Method
  1. Note that empty hands are allowed now.

  2. Answer n+r−1Cr−1^{n+r-1}C_{r-1}.

  3. Check: 'at least one' would give n−1Cr−1^{n-1}C_{r-1} instead.

Why it works:

Allowing empty heaps adds the extra spots where cuts may fall.

Try this

5 identical sweets are given to 3 children; a child may get none. In how many ways?

Show solution
  1. 5+3−1C3−1=7C2^{5+3-1}C_{3-1} = ^{7}C_2.

  2. =21= 21.

Answer

21

Type 3common2 practice Q

Split n different people into groups

How to spot it:

'Divide 9 students into groups of 4, 3 and 2', or two teams of equal size.

n!a! b! c!\frac{n!}{a!\,b!\,c!}
Method
  1. Write n!n! over a! b! c!a!\,b!\,c! for the group sizes.

  2. Equal groups: divide further by the number of such groups (2!2! for a pair).

  3. Compute with cancellation.

Why it works:

Shuffling people inside a group changes nothing, and equal groups can swap with each other.

Try this

In how many ways can 10 people be divided into groups of 5, 3 and 2?

Show solution
  1. 10!5! 3! 2!\dfrac{10!}{5!\,3!\,2!}.

  2. =2520= 2520.

Answer

2520

Type 4common2 practice Q

Different items to different people

How to spot it:

'3 different letters into letterboxes', '4 different toys among children' — the items are different.

nrn^r
Method
  1. Each item picks its own person.

  2. With nn people and rr items the answer is nrn^r.

  3. At most one item per person? Use nPr^{n}P_r instead.

Why it works:

Independent choices for each item multiply into a power.

Try this

4 different toys are distributed among 3 children. In how many ways can this be done?

Show solution
  1. Each toy: 3 choices.

  2. 34=813^4 = 81.

Answer

81

Type 5common2 practice Q

Divide into pairs

How to spot it:

'8 people form 4 pairs', or doubles teams are made from a group.

(2n)!2n n!\frac{(2n)!}{2^n\,n!}
Method
  1. Arrange all 2n2n people in a row.

  2. Cut into nn pairs; divide by 2n2^n for the order inside each pair.

  3. Divide by n!n! for the order of the pairs themselves.

Why it works:

Swaps inside a pair and swaps of whole pairs do not create new pairings.

Try this

In how many ways can 6 people be divided into 3 pairs?

Show solution
  1. 6!23×3!\dfrac{6!}{2^3 \times 3!}.

  2. =72048=15= \dfrac{720}{48} = 15.

Answer

15

Type 6common2 practice Q

Buy or choose one or more

How to spot it:

'At least one item is bought' from several different designs, shops or menus.

2n−12^n - 1
Method
  1. Each of the nn different items is taken or left: 2n2^n.

  2. Remove the empty choice.

  3. Answer 2n−12^n - 1.

Why it works:

A take-or-leave decision per item doubles the outcomes, and only 'take nothing' is excluded.

Try this

A shop has 6 different designs. In how many ways can a customer buy one or more designs?

Show solution
  1. 26−12^6 - 1.

  2. =63= 63.

Answer

63

08

Formula sheet

Groups of sizes a, b, c
n!a! b! c!\frac{n!}{a!\,b!\,c!}

$n$ different people; divide again by $k!$ for $k$ equal groups.

Identical items, each at least one
n−1Cr−1^{n-1}C_{r-1}

$n$ items, $r$ people, no one empty.

Identical items, zeros allowed
n+r−1Cr−1^{n+r-1}C_{r-1}
Different items to n people
nrn^r

$r$ different items, each choosing a person.

2n people into n pairs
(2n)!2n n!\frac{(2n)!}{2^n\,n!}
One or more selections
2n−12^n - 1

$n$ different items, at least one taken.

09

Shortcuts that save time

⚡ Give everyone the minimum first

'Each gets at least 2'? Hand out 2 to each person, then share the rest with the usual formula.

Example

6 identical toffees go to 2 children, each getting at least 2. In how many ways?

Show solution
  1. Give 2 to each: 2 left.

  2. Share 2, zeros allowed: 3C1=3^{3}C_1 = 3.

Answer

3

⚡ Equal groups divide further

Two groups of the same size can swap without changing anything, so divide by 2!2!.

Example

6 people are divided into two groups of 3 each. In how many ways?

Show solution
  1. 12×6!3! 3!\dfrac{1}{2} \times \dfrac{6!}{3!\,3!}.

  2. =72072=10= \dfrac{720}{72} = 10.

Answer

10

10

Mistakes to avoid

Where most students lose marks on this subtopic.

Mistake 01

Using n−1Cr−1^{n-1}C_{r-1} when zeros are allowed — that formula is only for 'each gets at least one'.

Mistake 02

Skipping the extra division for equal groups — two teams of 4 need 12×8C4=35\frac{1}{2} \times ^{8}C_4 = 35, not 7070.

Mistake 03

Using nrn^r for identical items — powers count different items choosing their person.

Mistake 04

Dividing n!n! by the sum of the group sizes instead of the product of their factorials.

Mistake 05

Ignoring the minimum in 'each basket at least 2' — place the minimums first, then share the rest.

11

Quick revision

Read this the night before the exam.

  • Groups of sizes a,b,ca, b, c: n!a! b! c!\dfrac{n!}{a!\,b!\,c!}; equal groups: divide again.

  • Identical items, each at least one: n−1Cr−1^{n-1}C_{r-1}.

  • Identical items, zeros allowed: n+r−1Cr−1^{n+r-1}C_{r-1}.

  • Different items to nn people: nrn^r; at most one each: nPr^{n}P_r.

  • 2n2n people into nn pairs: (2n)!2nn!\dfrac{(2n)!}{2^n n!}.

  • One or more from nn different designs: 2n−12^n - 1.

12

Practice: 13 questions

Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.

Topic test · 13 questions

Suggested time 10 min · wrong answers go to your mistake notebook automatically.

Join Telegram