Professional Documents
Culture Documents
Chap 1 Introduction To Probability
Chap 1 Introduction To Probability
E-mail: khanhvanphan@hcmut.edu.vn
April 5, 2020
1 Set Theory
2 Counting techniques
Example
1 Ω = {1, 2, 3, 4, 5, 6}, A = {1, 3, 5}
⇒ Ac = {2, 4, 6}.
2 Ω = R, A = [2, 4]
⇒ Ac = (−∞, 2) ∪ (4, ∞).
Symmetric difference: A M B
A M B = {x|x ∈ A\B or x ∈ B\A}
Example
1 {1, 3, 4, 7}\{2, 3, 5} = {1, 4, 7}.
2 {1, 3, 4, 7} M {2, 3, 5} = {1, 2, 4, 5, 7}.
3 [1, 4)\[2, 7] = [1, 2).
4 [1, 4) M [2, 7] = [1, 2) ∪ [4, 7].
De Morgan’s Rules
1 A + B = A B.
2 AB = A + B
Difference laws
1 A\(B + C ) = (A\B)(A\C )
2 A\(BC ) = (A\B) + (A\C )
Example
Choose among a group of 3 boys and 4 girls to be one member of your
team, you have 7 options.
Example 1
Find the number of possible outfits to wear do 3 shirts, 2 pairs of pants:
3 × 2 = 6.
Example 2
Find the number of possible outcomes do 3 coin flips:
2 × 2 × 2 = 23 .
Example
1 Find the number of possible committees of three people that can be
formed from a group of ten people
10.9.8
3.2.1 = 120.
2 Find the number of ways of choosing two disjoint committees of three
people from a group of ten people. 10.9.8 7.6.5
3.2.1 3.2.1 = 4200.
Shepard’s Law
] of sheep = ] of legs /4: over-counting by a uniform multiplicative factor
can be corrected by dividing by this factor.
Examples
11!
1 distinct permutations of MISSISSIPPI. 4!4!2! = 34650.
2 distinct stacks of 6 red, green, and blue blocks with two of each color.
6!
2!2!2! = 90.
Mississippi Rule:
] of distinct permutations of a string of letters (repeat is allowed) = ] of
permutations as if the letters were distinct /] of equivalent permutations
that can be made by permuting identical letters.
Example
In a hospital, a operating room needs to schedule 3 knee surgeries (k) and
2 hip surgeries (h) in a day. How many sequences are there?
5!
C52 = 2!3! = 10
Example
A bin of 50 parts contains 3 defectives and 47 non-defective parts. A
sample of 6 parts is selected without replacement. How many samples of
size 6 contain 2 defective parts?
3! 47!
C32 .C47
4 =
2!.1! . 4!(47−4)!
(Phan Thi Khanh Van) Chap 1: Introduction to Probability April 5, 2020 13 / 37
Sample space, outcomes, events
Consider an experiment (or trial):
One possible result is called an outcome.
The sample space Ω of an experiment is the set of all possible
outcomes.
A subset of Ω is called an event.
Probability P ∈ [0, 1]
is the chance that a particular outcome (event) will occur.
Exhaustive Events
A set of events E1 , E2 ...Ek is called collectively exhaustive if there union is
Ω.
P : A → [0, 1]
such that
1 0 ≤ P(A) ≤ 1, ∀A ∈ A.
2 P(Ω) = 1.
3 For 2 disjoint events A, B:
P(A + B) = P(A) + P(B).
For any event A ∈ A, P(A) is called the probability of A
Addition Rule
For 2 events
P(A + B) = P(A) + P(B) − P(AB)
For 3 events
P(A + B + C )
= P(A) + P(B) + P(C ) − P(AB) − P(AC ) − P(BC ) + P(ABC )
Ω = {BB, BG , GB, GG }
1
A: Both are girls, P(A) = .
4
3
B: At least one child is a girl, P(B) = .
4
1
AB = A ⇒ P(AB) = P(A) = .
4
P(AB) 1/4 1
P(A|B) = = = .
P(B) 3/4 3
Ω = {BB, BG , GB, GG }
A: Both are girls, P(A) = 14 .
1
B = {GG , GB}: The older child is a girl, P(B) = .
2
1
AB = A ⇒ P(AB) = P(A) = .
4
P(AB) 1/4 1
P(A|B) = = = .
P(B) 1/2 2
Example
The probability that a part made in the 1st stage of a machining operation
meets specifications is 0.90. The probability that it meets specifications in
the 2nd stage, given that met specifications in the first stage is 0.95.What
is the probability that both stages meet specifications?
Theorem
[Total probability rule - Multiple events]
k
P k
P
P(B) = P(BEi ) = P(B|Ei )P(Ei ),
i=1 i=1
k
S
where Ei ∩ Ej = ∅ (disjoint), for i 6= j and Ω = Ei (exhaustive).
i=1
we have
P(B|A)P(A)
P(A|B) = P(B) , for P(B) > 0: Bayes formula
Bayes formula
If E1 , E2 , ..., Ek are k mutually exclusive and exhaustive events, then from
the total probability formula:
we have
P(B|E1 )P(E1 ) P(B|E1 )P(E1 )
P(E1 |B) = P(B) = P(B|E1 )P(E1 )+P(B|E2 )P(E2 )+···+P(B|Ek )P(Ek ) ,
B1 : The event that the candy is from the 1st bottle, B1 : The event that
1
the candy is from the 2nd bottle. We have: P(B1 ) = P(B1c ) = .
2
A: The event that the candy is blue.
The probability that the candy is blue, given that it is from 1st bottle:
2
P(A|B1 ) =
3
The probability that this candy is from the 1st bottle.
2 1 3 1 7
P(A) = P(A|B1 ).P(B1 ) + P(A|B1c ).P(B1c ) = . + . = .
3 2 6 2 12
P(A|B1 )P(B1 ) 2/3.1/2 4
⇒ P(B1 |A) = = = .
P(A) 7/12 7
(Phan Thi Khanh Van) Chap 1: Introduction to Probability April 5, 2020 36 / 37
Thank you for your attention!