Académique Documents
Professionnel Documents
Culture Documents
Dr. T. Landolsi
Lecture Objectives
▪ Random experiments
▪ Counting techniques
▪ Probability axioms and rules
▪ Probability, 𝑝𝐸 , of event 𝐸 as 𝑛 → ∞:
𝑛𝐸 ▪ Probability, 𝑝𝐸 , of event 𝐸 :
𝑝𝐸 ≈ 𝑓𝐸 =
𝑛
# of ways 𝐸 can occur 𝑛𝐸
𝑝𝐸 = =
# of possible outcomes 𝑛𝑆
▪ If a task consists of a sequence of choices in which there are 𝑝 selections for the first choice, 𝑞
selections for the second choice, 𝑟 selections for the third choice, and so on, then the task of
making these selections can be done in as many ways as:
𝑝×𝑞×𝑟×⋯
▪ Solution. Using the multiplication rule, there are as many ways to do this experiment as:
𝑝1 × 𝑝2 × 𝑝3 = 5 × 2 × 4 = 40
9
Counting using Permutations
▪ Permutation is ordered arrangement in which 𝑟 objects are chosen from 𝑛 distinct objects without repetition
▪ The symbol 𝑛𝑃𝑟 represents the number of permutations of 𝑟 objects selected from 𝑛 objects:
𝑛!
𝑃
𝑛 𝑟 =
𝑛−𝑟 !
▪ where 𝑛!, called “𝑛 factorial”, is given by: 𝑛! = 𝑛 × 𝑛 − 1 × ⋯ × 2 × 1
▪ 𝑛𝑃𝑟 is used to determine the number of arrangements of 𝑟 objects chosen from 𝑛 objects, in which:
▪ 𝑛 objects are distinct
▪ order is important
10
Counting using Combinations
𝑛
▪ The symbol 𝑛𝐶𝑟 , also noted as and pronounced “𝑛 choose 𝑟” represents the number of combinations of 𝑛 distinct
𝑟
objects taken 𝑟 at a time:
𝑛!
𝑛𝐶𝑟 =
𝑛 − 𝑟 ! 𝑟!
▪ 𝑛𝐶𝑟 is used to determine the number of combinations of 𝑟 objects chosen from 𝑛 objects, in which:
▪ 𝑛 objects are distinct
11
Permutations of Non-distinct Objects
▪ Number of permutations of 𝑛 objects of which 𝑛1 are of one kind, 𝑛2 are of a second kind,…, and 𝑛𝑘 are of a 𝑘-th
kind is given by:
𝑛!
𝑛1 ! 𝑛2 ! ⋯ 𝑛𝑘 !
▪ where: 𝑛 = 𝑛1 + 𝑛2 + ⋯ + 𝑛𝑘
▪ Example: How many different vertical arrangements are there of 10 flags if 5 are white, 3 are blue, and 2 are red?
▪ Solution: We seek the number of permutations of 10 objects, of which 5 are of one kind (white), 3 are of a second
kind (blue), and 2 are of a third kind (red)
12
Probability Axioms and Rules
Disjoint Events
15
Axioms of Probability
1. Probability of any event 𝐸 must be: 3. Addition rule for disjoint events:
0 ≤ 𝑃(𝐸) ≤ 1 𝐸 ∩ 𝐹 = 0 ⇒ 𝑃 𝐸 ∪ 𝐹 = 𝑃 𝐸 + 𝑃(𝐹)
▪ impossible event its probability is 0
▪ certain event its probability is 1 4. General addition rule:
𝑃 𝐸∪ 𝐹 =𝑃 𝐸 +𝑃 𝐹 −𝑃 𝐸∩𝐹
▪ Solution:
▪ 𝐸 = {(2,1); (2,2); (2,3); (2,4); (2,5); (2,6)}
▪ 𝐹 = {(1,1); (1,2); (1,3); (1,4); (2,1); (2,2); (2,3); (3,1); (3,2); (4,1)}
13
⇒ 𝑃 𝐸∪𝐹 = 𝑃 𝐸 +𝑃 𝐹 −𝑃 𝐸∩𝐹 =
36
ത complement of 𝐸
▪ 𝐸: Venn Diagram
Problem Solution
▪ Two PCs exchange file over Internet ▪ 1. Event “error-free file” is complementary to event
“erroneous file”
𝑃 𝐹ത = 1 − 𝑃 𝐹
▪ 1. Suppose that prob. that file is erroneous when it
reaches destination PC is: 𝑃 𝐹
▪ 2. error-free file means all its 𝑀 bits are error-free
▪ what is probability that file is received error-free?
▪ Prob. that one bit is error-free is: 1 − 𝑃 𝐵
▪ 2. suppose that prob. of bit error is 𝑃 𝐵 ▪ Prob. that all 𝑀 bits are error-free is: 𝑃 𝐹ത = 1 − 𝑃 𝐵 𝑀
𝑀
▪ Prob. that file is erroneous is: 𝑃 𝐹 = 1 − 1 − 𝑃 𝐵
▪ what is prob. that file with 𝑀 bits is received error-free?