← Back to the lesson

Probability & Statistics 1 (9709) · Permutations and combinations · Quick revision

Repeated symbols, blocks and gap methods

Count visible patterns once. Decide which objects and blocks are distinguishable before multiplying.

Repeated symbols and fixed positions

For multiplicities a,b,…a,b,\ldots totalling nn, all nonnegative integers,

N=n!a!b!⋯,0!=1.N=\frac{n!}{a!b!\cdots},\qquad0!=1.

Remove fixed symbols and recount remaining multiplicities. For numbers, subtract leading-zero strings. Exactly two copies of one symbol with gg objects between them use n−g−1n-g-1 position pairs, for 0≤g≤n−20\le g\le n-2, without an orientation factor. Arrange the remaining multiset.

Blocks and overlapping pair-events

Arrange outer units, then their distinct internal patterns. A block of kk distinct objects among nn distinct objects gives (n−k+1)!k!(n-k+1)!k!, for integers 1≤k≤n1\le k\le n. Identical-symbol blocks have one internal pattern; identical blocks are unlabelled.

For pair-events with counts e,fe,f and intersection count hh:

N(at least one)=e+f−h,N(exactly one)=e+f−2h.N(\text{at least one})=e+f-h,\qquad N(\text{exactly one})=e+f-2h.

“Not all together” complements the whole-block event; smaller adjacent groups remain allowed.

Choose gaps, then assign the inserted objects

Arrange qq distinct ordinary objects: q!q! ways and q+1q+1 gaps including the ends. For mm separated special objects:

Nidentical=q!(q+1m),Ndistinct=q!(q+1m)m!.N_{\text{identical}}=q!\binom{q+1}{m},\qquad N_{\text{distinct}}=q!\binom{q+1}{m}m!.

Require integers q≥0q\ge0, 0≤m≤q+10\le m\le q+1; excess objects cannot fit. Ordinary ends permit only q−1q-1 internal gaps, for q≥1q\ge1.

For three identical reds, exactly one pair uses a pair-gap and a different single-gap: q!(q+1)qq!(q+1)q. A triple is separate. Two identical RR blocks use an unordered pair of gaps. A run is a maximal consecutive group.

Partial displays and probabilities

Split shorter displays by retained multiplicities or omitted symbol types, then add disjoint counts. Do not label identical copies.

P(E∣F)=N(E∩F)N(F),N(F)>0.P(E\mid F)=\frac{N(E\cap F)}{N(F)},\qquad N(F)>0.

Shorter physical draws may weight visible strings unequally. This count ratio requires equally likely outcomes and matching sample spaces.