Maths4UBETA

Maths4U · Learning together

Repeated symbols, blocks and gap methods

← Distinct objects, factorials and position restrictionsCombinations, composition and named-member restrictions →

Notes

Objective

Count distinct visible patterns and use gaps to separate identical objects or enforce exactly one adjacent pair.

Before you start

Work with exact integer counts and identify what makes two outcomes different. Probability applications also use the conditional sample space from the preceding chapter. All arrangements here are in a line or in labelled rows; circular arrangements are excluded.

Key ideas

Identical symbols do not acquire hidden labels

If n symbols have repeated multiplicities a,b,…, the number of distinct full patterns is

n!a!b!⋯.\frac{n!}{a!b!\cdots}.

Swapping two identical A tiles does not create a new pattern. Physical tile selections may require a different model; the final lesson makes that distinction explicit.

Apply restrictions after deciding what is identical

If an A must be first, remove one A and recount the remaining multiplicities. A block AA has only one internal pattern; a block AB of distinct symbols has two if either order is allowed.

Arrange the ordinary objects, then choose gaps

n distinct ordinary objects leave n+1 gaps, including both ends. Place at most one identical special object in each chosen gap to prevent adjacency. If the ends must be ordinary, use only the n−1 internal gaps.

Four ordinary objects create five gaps including both ends

Exactly one adjacent pair is a separate event

With three identical red counters, a pair and a single red must occupy distinct gaps of the ordinary objects. Their gap roles differ, even though the red counters do not. Do not include a triple or count the same pair twice. If two pair-events overlap, remove their common arrangements with the correct multiplicity.

Method

  1. Decide whether order, object identity and group labels matter.
  2. Choose a disjoint case split or a staged construction.
  3. Count each allowed outcome once and restore internal orders if needed.
  4. Check restrictions, impossible cases and any overcounting factor.
  5. For a probability, use the same kind of equally likely outcome in numerator and denominator.

Common mistakes

  • Do not label identical tiles and then forget to remove overcounting.
  • Remove a fixed symbol before applying the repeated-factor denominator.
  • The end gaps count unless the ends are restricted.
  • Exactly one adjacent pair excludes both no pair and a triple.

Worked examples

Fix a repeated symbol, then recount

Arrange A,A,A,B,B,C in a line. Count all distinct patterns and those beginning with A.

Follow the solutionall=6!3!2!=60,first A=5!2!2!=30.\begin{aligned}\text{all}&=\frac{6!}{3!2!}=60,\\\text{first A}&=\frac{5!}{2!2!}=30.\end{aligned}

After fixing the first A, two As remain. Dividing the remaining patterns by 3! would remove too many orders.

Two pair-events overlap

Arrange A,A,B,B,C,D. Find the counts with both AA and BB together, with exactly one pair together, and the latter probability given at least one pair is together in a uniform random pattern.

Follow the solution

AA together gives 5!2!=60\frac{5!}{2!}=60; BB together also gives 60. Both together gives 4!=244!=24. Let E mean exactly one pair together and H mean at least one pair together.

N(E)=60+60−2(24)=72,N(H)=60+60−24=96,P(E∣H)=7296=34.\begin{aligned}N(E)&=60+60-2(24)\\&=72,\\N(H)&=60+60-24=96,\\\mathrm P(E\mid H)&=\frac{72}{96}=\frac{3}{4}.\end{aligned}

Separate two identical counters with ordinary objects

Arrange four different numbered counters and two identical red counters. Count arrangements with the reds separated and with the reds adjacent.

Follow the solution

Arrange the numbered counters in 4!4! ways. There are five gaps for two separated reds.

separated=4!(52)=240,adjacent=5!=120.\begin{aligned}\text{separated}&=4!\binom52=240,\\\text{adjacent}&=5!=120.\end{aligned}

The counts sum to 360=6!2!360=\frac{6!}{2!}, the total number of patterns.

A pair and a single need different gaps

Arrange three different ordinary counters and three identical red counters. Count no adjacent reds, exactly one red pair with the third red separate, and all three reds together.

Follow the solutionno pair=3!(43)=24,one pair=3!×4×3=72,triple=4!=24.\begin{aligned}\text{no pair}&=3!\binom43=24,\\\text{one pair}&=3!\times4\times3=72,\\\text{triple}&=4!=24.\end{aligned}

In the middle case choose the pair-gap, then a different single-gap. The three cases total 120=6!3!120=\frac{6!}{3!}.

Practise this topic