Probability
Probability
Basic definitions
Counting principles
Probability
Elementary theorem of probability
Examples of Probability
OBSERVATION AND VARIABLE
2
Toss a die
X=points showing on upper face of die
Test a light bulb
X=lifetime of bulb
Test 20 light bulbs
X=average lifetime of bulbs
Probablity Class Lecture
Types of Random variable
5
1) Discrete random variable: 2) Continuous random variable:
Event
An event is an individual outcome of random experiment. Or subset of sample
space
Let A be an event that dots on the upper face of the dice are even
A = { 2,4,6 }
Let B be an event that dots on the upper face of the dice are divisible by 3
B = { 3,6 }
Permutation
Choose r object out of n object with order (choice with replacement)
nP
r = n!/[n-r]!
Choose n Object out of n object with order
nP = n!
n
How many six letter words are possible from letter A, B, C, D, E, F if DEF are together in given order
How many six letter words are possible from letter A, B, C, D, E, F if DEF are together in any order
Combination
Choose r object out of n object without order (choice without replacement)
nC
r = n!/r![n-r]!
EXAMPLE 1
(Assuming a fair die) S = {1, 2, 3, 4, 5, 6}
P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = 1/6
Then:
P(EVEN) = P(2) + P(4) + P(6)
= 1/6 + 1/6 + 1/6
= 3/6
= 1/2
Solution (a) Let A be an event that all three selected are women.
3. If A,B and C are any three event. Then the probability of one of them
occur is
P(AUBUC) = P(A)+P(B)+P(C)-P(A∩B)-P(B∩C)-P(A∩C)+P(A∩B∩C)
4. If A1, A2, ...,Ak are any k event. Then the probability of one of them
occur is
P(A1 A2 ... Ak ) P(Ai ) P(Ai Aj ) P(Ai Aj Al ) ... (1)k1 P(A1 A2 ... Ak )
i i j i jl
By using Theorem 1
P(A)= 1-P(Ā)= 1- 1/16= 15/16
1 2 3 4 5 6
1 2 3 4 5 6 7
P(5) = 4/36 2 3 4 5 6 7 8
3 4 5 6 7 8 9
P(11) =2/36 4 5 6 7 8 9 10
5 6 7 8 9 10 11
6 7 8 9 10 11 12
P(A) = 0.07
P(B) = 0.12
(i)
P(C) = 0.17
P(D) = 0.32 P(AUBUCUD)=?
P(E) = 0.21
P(F) = 0.11
Probablity Class Lecture
26
P(DUEUF)=?
Since Events D, E & F are disjoint so by Theorem 2
P(DUEUF) = P(D)+P(E)+P(F)
= 0.32+ 0.21+0.11 = 0.64
Probablity Class Lecture
Example 7
27
A card is drawn randomly from a deck of playing card what is the probability
that it is a diamond card, a face card or card of king.
Information
Deck of card consist on
52 cards
13 Diamond card 4 Suit
Diamond, Spade, Club, Heart
13 Spade card Each suit contain one card of
Ace, King, Queen , Jack, 2, 3, 4, 5, 6, 7 , 8, 9, 10
13 Club card
13 Heart card
Probablity Class Lecture
Solution
28
P(AUBUC)=P(A)+P(B)+P(C)-P(A∩B)-P(A∩C)-P(B∩C)+P(A∩B∩C)
13 12 4 3 1 4 1 11
P ( AUBUC )
52 52 52 52 52 52 52 26
Two coins are tossed, what is the conditional probability that two head appear given
that there is at least one head?
Solution:
Sample space for two coin S= {HH,HT,TH,TT}
Let A be an event that 2 head appears
A= {HH}
P(A|B)= ?
Let B be the event at least 1 head appear P 1
( A )
B= {HH,HT,TH} 4
3
P ( B )
4
Probablity Class Lecture
31
P ( A B )
P ( A | B )
P ( B )
A ∩ B= {HH} P ( A B )
1
4
1
4 1
P ( A | B )
3 3
4
NOTE THAT (!)
P ( A | B ) P ( A )