How Many Ways Can Five Friends Sit in a Row? Counting Without Listing
Use the fundamental principle of counting, work with factorial notation, count arrangements of distinct objects with nPr with and without repetition, and count arrangements of letters that repeat.
How can you count possibilities without listing them all?
Listing every arrangement quickly becomes impossible: ten books on a shelf can be arranged in more than three million ways. Counting techniques find such totals in a few lines.
The key ideas are to break a task into stages and multiply, and to use factorials as a compact way of writing long products.
This part covers the fundamental principle of counting, factorials, permutations of distinct objects, and permutations when some objects are alike.
The key ideas are to break a task into stages and multiply, and to use factorials as a compact way of writing long products.
This part covers the fundamental principle of counting, factorials, permutations of distinct objects, and permutations when some objects are alike.
How do you apply the fundamental principle of counting to multi-stage problems?
**If one stage can be done in ways and, after it, the next can be done in ways, the two stages together can be done in ways; the rule extends to any number of stages.
Worked example 1.** With shirts and trousers, the number of outfits is .
Worked example 2. A -digit PIN uses digits to with repetition allowed:
Worked example 3. Three-digit numbers with distinct digits chosen from to :
Worked example 4. Signals are made by hanging of different flags one below the other:
An everyday example. **A dosa counter offering types of dosa and chutneys**, one of each, gives possible plates.
The substance. Multiply when choices happen together; add when they are alternatives — going by one of buses or one of trains gives ways.
Worked example 1.** With shirts and trousers, the number of outfits is .
Worked example 2. A -digit PIN uses digits to with repetition allowed:
Worked example 3. Three-digit numbers with distinct digits chosen from to :
Worked example 4. Signals are made by hanging of different flags one below the other:
An everyday example. **A dosa counter offering types of dosa and chutneys**, one of each, gives possible plates.
The substance. Multiply when choices happen together; add when they are alternatives — going by one of buses or one of trains gives ways.
How do you use factorial notation and simplify expressions with n!?
** for a natural number , with ; ratios of factorials simplify by cancelling the common tail.**
Worked example 1.
Worked example 2. Find if .
Worked example 3. Find if . Multiply by :
An everyday example. **Arranging different books on a shelf** can be done in ways.
The substance. ** is defined so that the formulas still work** when every object is used, such as .
Worked example 1.
Worked example 2. Find if .
Worked example 3. Find if . Multiply by :
An everyday example. **Arranging different books on a shelf** can be done in ways.
The substance. ** is defined so that the formulas still work** when every object is used, such as .
How do you derive and apply nPr = n!/(n - r)! for arrangements, with and without repetition?
**Arranging of distinct objects without repetition fills the first place in ways, the next in , and so on, giving ; with repetition allowed, the count is .
Worked example 1.** Five friends in a row: . Any of them in a row: .
Worked example 2. Four-digit numbers from digits to with no repeats:
Worked example 3 — with repetition. Three-letter strings from letters, repeats allowed: .
Worked example 4 — a condition. Three-digit even numbers from , no repetition. The units digit must be , or :
An everyday example. **At a school sports day with runners**, gold, silver and bronze can go to them in ways.
The substance. Fill the restricted place first — here the units digit — then count the rest.
Worked example 1.** Five friends in a row: . Any of them in a row: .
Worked example 2. Four-digit numbers from digits to with no repeats:
Worked example 3 — with repetition. Three-letter strings from letters, repeats allowed: .
Worked example 4 — a condition. Three-digit even numbers from , no repetition. The units digit must be , or :
An everyday example. **At a school sports day with runners**, gold, silver and bronze can go to them in ways.
The substance. Fill the restricted place first — here the units digit — then count the rest.
How do you count arrangements when some objects are alike?
**If objects include alike of one kind, alike of another, and so on, the number of distinct arrangements is .
Why.** Swapping identical objects produces no new arrangement, so each distinct arrangement has been counted times among the .
Worked example 1. INDIA has letters with twice:
Worked example 2. ALLAHABAD has letters: four times, twice.
Worked example 3. MISSISSIPPI has letters: four, four, two.
**With all four s together**, treat them as one block: objects with four and two, giving .
An everyday example. **Placing identical red diyas and identical white diyas in a row** gives different patterns.
The substance. Only identical objects are divided out; distinct letters such as , and contribute .
Why.** Swapping identical objects produces no new arrangement, so each distinct arrangement has been counted times among the .
Worked example 1. INDIA has letters with twice:
Worked example 2. ALLAHABAD has letters: four times, twice.
Worked example 3. MISSISSIPPI has letters: four, four, two.
**With all four s together**, treat them as one block: objects with four and two, giving .
An everyday example. **Placing identical red diyas and identical white diyas in a row** gives different patterns.
The substance. Only identical objects are divided out; distinct letters such as , and contribute .
Exam tip
What earns full marks on permutations?
Draw blanks for the places, write the number of choices in each, and state the formula before calculating.
- Stages together: multiply; alternatives: add
- **
- Without repetition**:
- With repetition:
- Alike objects: divide by the factorial of each repeat count
- Restrictions: fill restricted places first; treat grouped objects as one block
The trap. Forgetting repeated letters. **Counting BALLOON as overcounts**; it is .
- Stages together: multiply; alternatives: add
- **
- Without repetition**:
- With repetition:
- Alike objects: divide by the factorial of each repeat count
- Restrictions: fill restricted places first; treat grouped objects as one block
The trap. Forgetting repeated letters. **Counting BALLOON as overcounts**; it is .
Did you know
How many ways can a pack of 52 cards be shuffled?
Every different order of a pack of cards is a permutation of distinct objects, so the number of orders is .
That is an followed by more digits. It is so large that a properly shuffled pack is almost certainly in an order that has never existed before — a striking result from a formula as simple as .
That is an followed by more digits. It is so large that a properly shuffled pack is almost certainly in an order that has never existed before — a striking result from a formula as simple as .
Exam relevance
How are permutations tested in JEE Main and JEE Advanced?
Permutations and Combinations is a regular chapter for JEE Main and JEE Advanced, and its counting is essential for Probability and the Binomial Theorem.
What gets asked. Arrangements with restrictions — objects together or never together, digits with conditions, circular arrangements counted as , and the rank of a word among its dictionary arrangements.
Question types. Numerical-value and multiple-choice questions, often with several restrictions combined.
The trap that costs marks. Overcounting when objects repeat, or when a restriction is applied after counting instead of before.
What gets asked. Arrangements with restrictions — objects together or never together, digits with conditions, circular arrangements counted as , and the rank of a word among its dictionary arrangements.
Question types. Numerical-value and multiple-choice questions, often with several restrictions combined.
The trap that costs marks. Overcounting when objects repeat, or when a restriction is applied after counting instead of before.
Key takeaways
What must you be able to do from this part?
- Fundamental principle: multiply stages; shirts and trousers give outfits
- Factorials: , ,
- ****; ,
- With repetition:
- Alike objects: ; ALLAHABAD gives
- Restrictions: fill restricted places first; group objects that must stay together
Count the distinct arrangements of the letters of your own first name, then list a few to check the logic.
- Factorials: , ,
- ****; ,
- With repetition:
- Alike objects: ; ALLAHABAD gives
- Restrictions: fill restricted places first; group objects that must stay together
Count the distinct arrangements of the letters of your own first name, then list a few to check the logic.