Lecture Notes Probability Theory (5thsem) 3
Lecture Notes Probability Theory (5thsem) 3
ON PROBABILITY THEORY
words of length k
(where k ≤ n ) ,
SOLUTION :
n (n − 1) (n − 2) · · · (n − (k − 1))
= n (n − 1) (n − 2) · · · (n − k + 1)
n!
= ( Why ? )
(n − k)!
17
E X A M P L E : Three-letter words are generated randomly from the
five characters a , b , c , d , e , where letters can be used at most
once.
(a) How many three-letter words are there in the sample space S ?
SOLUTION : 5 · 4 · 3 = 60 .
3 × 2 = 6 ways . ( Why ? )
There remains one position to be filled with a c , d or an e .
Therefore the number of words is 3 × 6 = 18 .
18
(c) Suppose the 60 solutions in the sample space are equally likely .
SOLUTION :
18
= 0.3 .
60
19
EXERCISE :
• How many ”special” words are in S for which only the second
and the fourth character are vowels, i.e., one of {a, e, i, o, u, y} ?
20
Co mb inat io n s
Then
a combination of k elements from S ,
is
any selection of k elements from S ,
21
EXAMPLE :
S = {a , b , c} ,
namely,
ab , ba , ac , ca , bc , cb .
22
In general, given
a set S of n elements ,
𝑛 n! .
≡
𝑘 k! (n − k)!
𝑛 n! n!
NOTE : = = = 1,
𝑘 n! (n − n)! n ! 0!
23
PROOF :
n!
n (n − 1) (n − 2) · · · (n − k + 1) =
(n − k)!
n! 𝑛
≡
k! (n − k)! 𝑘
24