Professional Documents
Culture Documents
= + =
r-Permutations
Justification:
Arranging r of n objects into order requires r tasks.
Task 1 Pick first object (n choices)
Task 2 Pick second object (n-1 choices)
Task r Pick rth object (n - r + 1 choices)
Thus, by the product rule, the number of ways to
arrange n objects is:
)! (
!
) 1 ( ) 1 (
r n
n
n-r ... n- n
= +
r-Permutations
Consider a horse race with 8 horses.
If a spectator were select three different
horses at random to bet on for first, second
and third places, how likely is he to be
completely correct?
P(8,3) = 8 - 7 - 6 = 336 permutations possible
Thus he has a 1 in 336 chance.
Combinations
Combination - an unordered selection of
objects.
Definition:
Consider a set S with n objects. Every
k sized subset of those objects (0<rsn)
is a combination of size r, or a r-
combination taken from S.
Combinations
Consider the set A = {a, b, c}.
What are the 2-combinations of A?
{a, b} {a, c} {b, c}
What are the 3-combinations of A?
{a, b, c}
What are the 1-combinations of A?
{a} {b} {c}
Combinations
Consider the set B = {a, b, c, d}.
What are the 2- combinations of B?
{a, b} {a, c} {a,d} {b, c} {b, d} {c, d}
What are the 3-combinations of B?
{a, b, c} {a, c, d} {b, c, d} {a, b, d}
Combinations
Notice the comparison of 3-combinations of
B with 3-permutations:
3-permutations 3-combinations
abc acb bac bca cba cab {a, b, c}
abd adb bad bda dba dab {a, b, d}
adc acd dac dca cda cad {a, c, d}
dbc dcb bdc bcd cbd cdb {b, c, d}
Combinations
This shows that each r-combination has
r-permutations possible. Thus the following
theorem:
Theorem: The number of r -combinations of a
set of n distinct objects is:
)! ( !
!
!
) , (
) , (
r n r
n
r
r n P
k n C
= =
Combinations
Justification: We find the number of
permutations, then divide by a factor which we
have overcounted. Since each r-combination of
the n objects can be ordered P(r,r) = r! ways, we
divide the number of r-permutations from n
objects by the number of r-permutations of r
objects.
)! ( !
!
!
) , (
) , (
r n r
n
r
r n P
k n C
= =
Combinations
The number C(n,r) is also written:
And is be read n choose r objects.
|
|
.
|
\
|
=
r
n
r n C ) , (