TExcelTAD
Home › School Probability & Statistics on Paper › Permutations and Factorials: Arranging Distinct Objects

Permutations and Factorials: Arranging Distinct Objects

When the order in which items are arranged matters, every new sequence creates a distinct outcome. In mathematics, an ordered arrangement of objects is called a permutation.

To count permutations rapidly on paper without listing every sequence, we rely on the factorial operator ( !\,!).


What Is a Factorial?

The factorial of a non-negative integer nn, written as n!n! (read "n factorial"), is the product of all positive integers less than or equal to nn:

n!=n×(n−1)×(n−2)×⋯×3×2×1\begin{aligned} n! = n \times (n - 1) \times (n - 2) \times \dots \times 3 \times 2 \times 1 \end{aligned}

Paper Reference Table: Factorials 0!0! through 7!7!

nn n!n! Calculation Value
00 By definition / empty arrangement 11
11 11 11
22 2×12 \times 1 22
33 3×2×13 \times 2 \times 1 66
44 4×3×2×14 \times 3 \times 2 \times 1 2424
55 5×245 \times 24 120120
66 6×1206 \times 120 720720
77 7×7207 \times 720 5,0405{,}040

Why Does 0!=10! = 1?

Students frequently wonder why zero factorial is not zero. There are two primary mathematical reasons:

  1. Combinatorial meaning: n!n! is the number of ways to arrange nn distinct objects in a row. How many ways can you arrange zero objects? Exactly one way: the empty arrangement.
  2. Algebraic consistency: Notice the recursive division pattern:
3!=4!4=244=62!=3!3=63=21!=2!2=22=10!=1!1=11=1\begin{aligned} 3! &= \frac{4!}{4} = \frac{24}{4} = 6 \\ 2! &= \frac{3!}{3} = \frac{6}{3} = 2 \\ 1! &= \frac{2!}{2} = \frac{2}{2} = 1 \\ 0! &= \frac{1!}{1} = \frac{1}{1} = 1 \end{aligned}

If 0!0! were equal to 00, dividing by factorials in formulas like permutations and combinations would break mathematics by dividing by zero.


Linear Permutations of nn Distinct Objects

If you have nn distinct objects and wish to arrange all nn of them in a straight line:

  • Slot 1 has nn choices.
  • Slot 2 has n−1n - 1 choices.
  • Slot 3 has n−2n - 2 choices.
  • …\dots
  • Slot nn has 11 choice remaining.

By the Multiplication Principle:

Pn=n×(n−1)×(n−2)×⋯×1=n!\begin{aligned} P_n = n \times (n - 1) \times (n - 2) \times \dots \times 1 = n! \end{aligned}

Formula Box

Linear Permutation of n distinct objects:Pn=n!Permutations with Repeated (Identical) Items:P=n!n1! n2!⋯nk!(where n1+n2+⋯+nk=n)Circular Permutations of n distinct objects:Pcirc=n!n=(n−1)!Circular Permutations with Flip Symmetry (Beads on a Ring):Pring=(n−1)!2\begin{aligned} &\textbf{Linear Permutation of } n \textbf{ distinct objects:} \\ &P_n = n! \\ &\textbf{Permutations with Repeated (Identical) Items:} \\ &P = \frac{n!}{n_1! \, n_2! \cdots n_k!} \quad (\text{where } n_1 + n_2 + \dots + n_k = n) \\ &\textbf{Circular Permutations of } n \textbf{ distinct objects:} \\ &P_{\text{circ}} = \frac{n!}{n} = (n - 1)! \\ &\textbf{Circular Permutations with Flip Symmetry (Beads on a Ring):} \\ &P_{\text{ring}} = \frac{(n - 1)!}{2} \end{aligned}

Step-by-Step Paper Notebook Methods

1. Factorial Fraction Simplification (Mental & Scratchwork)

Never evaluate large factorials before simplifying! Always cancel the largest common factorial in the denominator with the numerator:

10!7!=10×9×8×7!7!=10×9×8=720\begin{aligned} \frac{10!}{7!} = \frac{10 \times 9 \times 8 \times \cancel{7!}}{\cancel{7!}} = 10 \times 9 \times 8 = 720 \end{aligned}

2. The "Block Method" (Items Must Be Together)

When certain items must sit adjacent to each other:

  1. Glue the restricted items into a single "super-item" (block).
  2. Count the total items, treating the block as 11 item. Find the outer arrangements: Nouter=(total items)!N_{\text{outer}} = (\text{total items})!.
  3. Arrange the items inside the block: Ninner=(items in block)!N_{\text{inner}} = (\text{items in block})!.
  4. Multiply: N=Nouter×NinnerN = N_{\text{outer}} \times N_{\text{inner}}.

3. The "Gap Method" (Items Must NOT Be Together)

When certain items must be kept separated:

  1. Arrange the unrestricted items first in a line: k!k! ways.
  2. Mark the empty spaces (gaps) before, between, and after them. There will be k+1k + 1 gaps.
  3. Place the restricted items into these separate gaps.

Worked Examples

Example 1: Arranging Books on a Shelf (The Block Method)

Problem:
You have 44 different Mathematics books, 33 different Physics books, and 22 different Literature books to arrange on a single shelf.
How many arrangements are possible if:

  1. There are no restrictions?
  2. All 44 Mathematics books must be placed next to each other?
  3. Books of the same subject must stay grouped together?

Solution & Paper Work:

  • Part 1: No restrictions:
    Total books n=4+3+2=9n = 4 + 3 + 2 = 9.
N1=9!=362,880 arrangements\begin{aligned} N_1 = 9! = 362{,}880 \text{ arrangements} \end{aligned}
  • Part 2: All 4 Math books together:
    • Treat the 44 Math books as 11 block: [M1M2M3M4][M_1 M_2 M_3 M_4].
    • Now count items: 11 Math block +3+ 3 Physics books +2+ 2 Literature books =6= 6 items.
    • Outer arrangement of 66 items: 6!=7206! = 720.
    • Inner arrangement of the 44 Math books inside their block: 4!=244! = 24.
N2=6!×4!=720×24=17,280 arrangements\begin{aligned} N_2 = 6! \times 4! = 720 \times 24 = 17{,}280 \text{ arrangements} \end{aligned}
  • Part 3: Each subject grouped together:
    • We have 33 blocks: [Math],[Physics],[Literature][\text{Math}], [\text{Physics}], [\text{Literature}].
    • Arrange the 33 blocks on the shelf: 3!=63! = 6 ways.
    • Arrange within the blocks:
      • Math block: 4!=244! = 24 ways.
      • Physics block: 3!=63! = 6 ways.
      • Literature block: 2!=22! = 2 ways.
N3=3!×(4!×3!×2!)=6×(24×6×2)=6×288=1,728\begin{aligned} N_3 = 3! \times (4! \times 3! \times 2!) = 6 \times (24 \times 6 \times 2) = 6 \times 288 = 1{,}728 \end{aligned}
  • Final Answer:
    1. No restrictions: 362,880362{,}880
    2. Math books together: 17,28017{,}280
    3. Subjects grouped: 1,7281{,}728

Example 2: Permutations with Repetitions (Anagrams)

Problem:
How many distinct words (meaningful or not) can be formed by rearranging all the letters in the word PARALLEL\text{PARALLEL}?

Solution & Paper Work:

  • Step 1: Count total letters (nn):
    The word P-A-R-A-L-L-E-L\text{P-A-R-A-L-L-E-L} has n=8n = 8 letters.
  • Step 2: Identify frequencies of repeated letters:
    • P:1\text{P}: 1
    • A:2\text{A}: 2
    • R:1\text{R}: 1
    • L:3\text{L}: 3
    • E:1\text{E}: 1
    • Check: 1+2+1+3+1=81 + 2 + 1 + 3 + 1 = 8. Correct.
  • Step 3: Apply the repeated permutations formula:
N=n!nP! nA! nR! nL! nE!=8!1!×2!×1!×3!×1!=8!2!×3!\begin{aligned} N = \frac{n!}{n_P! \, n_A! \, n_R! \, n_L! \, n_E!} = \frac{8!}{1! \times 2! \times 1! \times 3! \times 1!} = \frac{8!}{2! \times 3!} \end{aligned}
  • Step 4: Systematic paper cancellation:
N=8×7×6×5×4×3!2×1×3!=8×7×6×5×42=8×7×6×5×2=56×60=3,360\begin{aligned} N &= \frac{8 \times 7 \times 6 \times 5 \times 4 \times \cancel{3!}}{2 \times 1 \times \cancel{3!}} \\ &= \frac{8 \times 7 \times 6 \times 5 \times 4}{2} \\ &= 8 \times 7 \times 6 \times 5 \times 2 \\ &= 56 \times 60 = 3{,}360 \end{aligned}
  • Final Answer: There are 3,3603{,}360 distinct anagrams.

Example 3: Items Must NOT Be Adjacent (The Gap Method)

Problem:
In how many ways can 55 boys and 33 girls stand in a straight line if no two girls may stand next to each other?

Solution & Paper Work:

Step 1: Seat the unrestricted boys (B)
        _ B _ B _ B _ B _ B _

Step 2: Identify the available gaps (_) for girls (G)
        Total boys = 5  ──►  Total gaps = 5 + 1 = 6 gaps
  1. Arrange the 55 boys:
    There are 5!5! ways to arrange the boys:
5!=120 ways\begin{aligned} 5! = 120 \text{ ways} \end{aligned}
  1. Find the gaps:
    55 boys create 66 possible locations for girls (one before the first boy, four between the boys, and one after the last boy).
  2. Seat the 33 girls into the 66 gaps:
    The first girl has 66 gap choices, the second girl has 55 choices, and the third girl has 44 choices:
6×5×4=120 ways\begin{aligned} 6 \times 5 \times 4 = 120 \text{ ways} \end{aligned}
  1. Combine using the Multiplication Principle:
N=5!×(6×5×4)=120×120=14,400\begin{aligned} N = 5! \times (6 \times 5 \times 4) = 120 \times 120 = 14{,}400 \end{aligned}
  • Final Answer: There are 14,40014{,}400 valid line arrangements.

Common Paper Traps

Trap Danger on Paper Corrective Technique
Forgetting Internal Arrangements Treating a block of 33 items as 11 item and forgetting to multiply by 3!3!. Always write the product on paper: Nouter×NinnerN_{\text{outer}} \times N_{\text{inner}}. Circle the block to remind yourself it has internal structure!
Double Counting Gaps Placing two restricted items into the same gap. Emphasize: each gap can receive at most one restricted item.
Circular Permutation Blindness Arranging nn people around a round table as n!n! instead of (n−1)!(n - 1)!. Because rotating everyone one seat produces an identical relative arrangement, divide by nn: n!n=(n−1)!\frac{n!}{n} = (n - 1)!.
Factorial Arithmetic Errors Writing (a+b)!=a!+b!(a + b)! = a! + b! or (ab)!=a! b!(ab)! = a! \, b!. Factorials never distribute across addition or multiplication! Always compute (a+b)(a+b) first, then take the factorial.

Pencil & Paper Practice

  1. Circular Seating: In how many distinct ways can 66 diplomats be seated around a circular conference table?
  2. Anagrams of SUCCESS: How many distinct 77-letter permutations can be formed using all the letters in the word SUCCESS\text{SUCCESS}?
  3. Alternating Row: In how many ways can 44 men and 44 women be arranged in a straight row such that men and women strictly alternate?

Worked Solutions

Solution 1

  • For a circle with n=6n = 6 positions:
Pcirc=(n−1)!=(6−1)!=5!=120\begin{aligned} P_{\text{circ}} = (n - 1)! = (6 - 1)! = 5! = 120 \end{aligned}

Result: 120120 seating arrangements.

Solution 2

  • Total letters n=7n = 7.
  • Frequencies: S:3\text{S}: 3, U:1\text{U}: 1, C:2\text{C}: 2, E:1\text{E}: 1.
  • Total permutations:
N=7!3!×2!=7×6×5×4×3!3!×(2×1)=7×6×5×42=7×6×10=420\begin{aligned} N = \frac{7!}{3! \times 2!} = \frac{7 \times 6 \times 5 \times 4 \times \cancel{3!}}{\cancel{3!} \times (2 \times 1)} = \frac{7 \times 6 \times 5 \times 4}{2} = 7 \times 6 \times 10 = 420 \end{aligned}

Result: 420420 distinct anagrams.

Solution 3

  • There are two possible alternating patterns:
    • Pattern 1: M1 W1 M2 W2 M3 W3 M4 W4M_1 \, W_1 \, M_2 \, W_2 \, M_3 \, W_3 \, M_4 \, W_4 (Men first)
    • Pattern 2: W1 M1 W2 M2 W3 M3 W4 M4W_1 \, M_1 \, W_2 \, M_2 \, W_3 \, M_3 \, W_4 \, M_4 (Women first)
  • In Pattern 1: 4!4! ways to arrange men AND 4!4! ways to arrange women:
N1=4!×4!=24×24=576\begin{aligned} N_1 = 4! \times 4! = 24 \times 24 = 576 \end{aligned}
  • In Pattern 2: symmetrically identical:
N2=4!×4!=24×24=576\begin{aligned} N_2 = 4! \times 4! = 24 \times 24 = 576 \end{aligned}
  • Total arrangements (Rule of Sum):
N=576+576=1,152\begin{aligned} N = 576 + 576 = 1{,}152 \end{aligned}

Result: 1,1521{,}152 ways.


Test yourself

What is the numerical value of the factorial expression 9!6!×3!\frac{9!}{6! \times 3!}?

  1. 8484
  2. 504504
  3. 126126
  4. 7272

Five family members sit at a round dining table. Two specific individuals insist on sitting next to each other. How many seating arrangements are possible?

  1. 1212
  2. 2424
  3. 4848
  4. 66

How many distinct 6-letter arrangements can be made from the letters in the word CHEESE\text{CHEESE}?

  1. 720720
  2. 120120
  3. 360360
  4. 240240