1.2.2 Combinations

Consider the selection of k objects from a set of n objects where order does not matter and repetition is not allowed.
Any such selection is called a k-combination. The total number of k-combinations of a set of n (distinct) objects is denoted by C(n,k) or (kn)n choose k

For integers k and n such that 0kn, the total number of k-combinations of a set of n objects is C(n,k)=n!k!(nk)!

Proof

Since a set of k elements (k-permutations) can be arranged into exactly k! sequences,
P(n,k)=C(n,k)k!
i.e.
In the k-combinations of n, order doesn’t matter
To ‘make order matter’ you can use the Multiplication Principle to order the set of k-combinations into the set of k-permutations


Example

How many subsets of three integers can be chosen from the set {1,2,,10}?

Subsets of 3 integers, k=3
From the set {1,2,,10}, n=10
nk=7
(103)=10!3!(103)!=10!3!7!
How many of these subsets contain 3?
Find sets that don’t contain 3
Remove 3 from the set n, n=9
k=3
nk=6
(93)=9!3!6!
Sets that do contain 3 = All sets - sets that don’t
:=10!3!7!9!3!6!

or just do (102) lol