• Foundation
  • About 14 min
  • 5 practice questions

Arrangements with conditions and repeated letters

Count arrangements when some objects are fixed in place or must stay together, and count arrangements of words with repeated letters using n!/(p! q! ...).

If something looks wrong, please tell us.

Real counting questions rarely ask for a plain arrangement. Usually something is fixed (a word must begin with a certain letter), something must stay together (two friends insist on sitting side by side), or some objects are identical (the three A's in BANANA). This lesson shows a simple method for each of these situations.

Fixed positions

If a condition fixes an object in a place, put it there first and arrange the rest. How many arrangements of the letters of MOTHER begin with M? Fix M in the first place; the other 5 letters fill the remaining 5 places in 5! = 120 ways. If the word must begin with M and end with R, fix both, and arrange the remaining 4 letters in 4! = 24 ways.

Objects that must be together

Tie the objects that must be together into one bundle and treat the bundle as a single object. Then arrange the bundle with the other objects, and finally multiply by the number of ways to arrange the objects inside the bundle.

Worked example 1: two friends together

Five people sit in a row, and two particular friends must sit next to each other. Bundle the two friends. Now there are 4 units (the bundle and 3 other people), arranged in 4! = 24 ways. Inside the bundle the friends can sit in 2! = 2 orders. Total 24 × 2 = 48. Forgetting the inside arrangement, and giving 24, is the most common mistake.

Repeated objects

If some objects are identical, swapping them does not create a new arrangement, so the count n! includes each different arrangement several times. Suppose there are n objects of which p are alike of one kind, q are alike of another kind, and so on. The number of different arrangements is n!/(p! q! ...). We divide by p! because the p identical objects could be swapped among themselves in p! ways without changing anything.

Fixed object: place it first. Objects together: bundle them, arrange, then multiply by the arrangements inside the bundle. n objects with p alike, q alike, ...: n!/(p! q! ...).

Worked example 2: LETTER

How many arrangements of the letters of LETTER are there? There are 6 letters: L, E, T, T, E, R. T appears 2 times and E appears 2 times. So the number of arrangements is 6!/(2! × 2!) = 720/4 = 180.

Worked example 3: BANANA

BANANA has 6 letters: A three times, N twice and B once. Arrangements: 6!/(3! × 2!) = 720/12 = 60. How many of these begin with B? Fix B first; the remaining letters A, A, A, N, N give 5!/(3! × 2!) = 120/12 = 10 arrangements.

Worked example 4: a longer word

How many arrangements of the letters of ALLAHABAD are there? Count the letters carefully: A appears 4 times, L 2 times, and H, B, D once each, a total of 9 letters. The answer is 9!/(4! × 2!) = 362880/48 = 7560. Writing a small tally of letters before using the formula prevents most errors.

Words with repeated letters
WordLettersRepeatsArrangements
LETTER6T 2, E 2180
BANANA6A 3, N 260
APPLE5P 260
ALLAHABAD9A 4, L 27560

Key takeaways

Handle a fixed object by placing it first. Handle objects that must be together by bundling them and multiplying by their inside arrangements. For identical objects, divide n! by the factorial of each repeat count. Always tally the letters before applying the formula. The next lesson moves from arrangements, where order matters, to selections, where it does not.

Check your understanding

  1. 1. How many different arrangements of the letters of APPLE are there?

    1. 120
    2. 30
    3. 24
    4. 60
    Show answer

    Answer: D. 5 letters with P twice: 5!/2! = 120/2 = 60.

  2. 2. How many different arrangements of the letters of BANANA are there?

    1. 720
    2. 60
    3. 120
    4. 36
    Show answer

    Answer: B. A appears 3 times and N twice: 6!/(3! × 2!) = 720/12 = 60.

  3. 3. How many arrangements of the letters of MOTHER begin with M and end with R?

    1. 24
    2. 120
    3. 720
    4. 48
    Show answer

    Answer: A. Fix M and R; arrange the other 4 letters in 4! = 24 ways.

  4. 4. Six people sit in a row. In how many arrangements do two particular people sit together?

    1. 120
    2. 240
    3. 720
    4. 480
    Show answer

    Answer: B. Bundle the two: 5 units in 5! = 120 ways, times 2! inside the bundle: 240.

  5. 5. How many different arrangements of the letters of ALLAHABAD are there?

    1. 362880
    2. 15120
    3. 7560
    4. 3780
    Show answer

    Answer: C. 9 letters with A four times and L twice: 9!/(4! × 2!) = 362880/48 = 7560.

Sign in to keep track of the lessons you finish.

Next lesson → Combinations: counting selections

Privacy · Terms · Refunds · Delivery