In the classical scheme P(A) = m / n, where n is the total number of equally likely outcomes and m is the number of favorable ones. When "favorable" and "all" outcomes are samples from a set, their count is found by combinatorics formulas: combinations, arrangements, or permutations. The choice of formula depends on whether the order of elements matters and whether they can repeat.
P(A)=nm,m,ncombinatorial numbers
In plain words:
If "lucky" and "all" outcomes are samples (for example, we drew 2 balls out of 10), then their count is found combinatorially: divide the number of favorable samples by the number of all samples.
Example:
Out of 8 items, 3 are defective; we take 2
All samples of 2 out of 8: n=C82=28
Favorable (both defective): m=C32=3, so P=283
Main rule:
First count "all" combinatorially, then "favorable" — and divide one by the other: P=m/n.
Cnk=k!(n−k)!n!
In plain words:
A combination is choosing k elements out of n without regard to their order. For example, drawing "two balls from a bag" — the order does not matter, the set is the same no matter which ball is first and which is second.
Example:
n=8 items, we take k=2
C82=2!⋅(8−2)!8!=28⋅7=28
"Choose 2 out of 8" and "choose 6 out of 8" give the same number: C82=C86
Main rule:
The phrase "without regard to order" → combination Cnk: divide the arrangement by k! to remove extra permutations.
Ank=(n−k)!n!
In plain words:
An arrangement is choosing k elements out of n with regard to their order. For example, "take the first, second and third place" — who is on which place matters.
Example:
n=5 participants, k=3 prize places
A53=(5−3)!5!=2120=60
Being first and being third are different outcomes, so there are more arrangements than combinations
Main rule:
The phrase "with regard to order" or "by places" → arrangement Ank: multiply n,n−1,… up to k factors.
Pn=n!
In plain words:
A permutation is a special case of the arrangement when we take all n elements and arrange them in different orders. Order matters, nothing is discarded.
Example:
n=5 books on a shelf
P5=5!=5⋅4⋅3⋅2⋅1=120
Exactly one order out of 120 is "wanted" if the order is set in advance
Main rule:
Arrange all n elements in a row → Pn=n!. When there are many elements, the factorial grows very fast.
order matters→A or P,order does not matter→C
In plain words:
The main question when counting outcomes is whether the order matters. "First, second, third place" — the order matters (arrangements), "two balls from a bag" — the order does not matter (combinations).
Example:
"Take the 3 first places out of 10 athletes" → arrangements A103
"Draw 2 balls out of 10" → combinations C102
"Arrange 5 books on a shelf" → permutations P5
Main rule:
Ask the question "does the order matter?" — and the choice of formula becomes obvious: yes → A/P, no → C.