← Back to the lesson

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

Distinct objects, factorials and position restrictions

Define what makes an outcome different. Fill restricted positions first, and count every permitted row once.

When do I multiply, add or subtract?

Multiply when each partial construction has the stated number of continuations. Otherwise split into disjoint cases and add. For forbidden events A and B:

N(neither)=N(all)−N(A)−N(B)+N(A∩B).N(\text{neither})=N(\text{all})-N(A)-N(B)+N(A\cap B).

A number cannot start with zero. For distinct-digit even numbers, separate final zero from other even endings. Check whether repetition is allowed.

Factorials and ordered selections

0!=1,n!=n(n−1)⋯1,nPr=n!(n−r)!.0!=1,\qquad n!=n(n-1)\cdots1,\qquad{}^{n}P_r=\frac{n!}{(n-r)!}.

Use nonnegative integers n,rn,r; the product applies for n≥1n\ge1. Full rows of distinct objects: n!n!. For rr ordered places without reuse, require 0≤r≤n0\le r\le n. To include a named object, choose its position then fill the rest: r⋅n−1Pr−1r\cdot{}^{n-1}P_{r-1}, for 1≤r≤n1\le r\le n.

Fixed places remove objects and slots. Cancel only nonzero factors; keep valid integer sizes.

Position restrictions, exact gaps and relative order

In a full row of nn distinct objects, exactly gg objects between two names means a position difference of g+1g+1:

N=2(n−g−1)(n−2)!,0≤g≤n−2.N=2(n-g-1)(n-2)!,\qquad0\le g\le n-2.

Use integers n≥2n\ge2 and gg. For a prescribed order, omit the factor 2. Adjacency gives 2(n−1)!2(n-1)!: one block with two internal orders.

A specified relative order of mm named objects in unrestricted rows gives n!m!\frac{n!}{m!}, for integers 1≤m≤n1\le m\le n. Extra restrictions may break the required equal counts for their relative orders.

Use the sample space named in the question

For equally likely elementary arrangements,

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

Use matching outcome types. Conditioning changes the denominator. Uniform choices at each local step need not give uniform final valid rows.