Professional Documents
Culture Documents
Introduction To
Probability
AIMST University
Probability Theory
• Experiment :
any process or procedure for which more than one
outcome is possible
Ex : Toss a coin
Two possible outcomes : a head or a tail
and both are equally likely
• Sample Space :
The sample space S of an experiment is a set
consisting of all of the possible experimental outcomes
Ex : A six-sided die is thrown
There are 6 possible outcomes : 1,2,3,4,5,6
and they are all equally likely
Probability Theory
• Experiment : toss a coin once
• Sample space : all possible outcomes of an experiment
S = { H, T }
• Experiment : toss a coin twice
• Sample space : possible outcomes of an experiment
S = { HH, HT, TH, TT }
• Event : a subset of possible outcomes
A={ HH }, B={ HT, TH }
Experiment : toss a six-sided die once
Sample space S = { 1,2,3,4,5,6 }
Event A = { prime numbers } = { 2,3,5 }
i.e. 0 P( A) 1
P( A' ) 1 P( A)
Sample space
A’
A
Ex : A six-sided fair die is thrown. Find the probability
that the result will be
(i) an even number (ii) a number greater than 4 (iii) a multiple of 3
(i) Let E = { even numbers } = { 2,4,6 }
n( E ) 3 1
n(E)= 3, n(S) = 6 P( E ) P(even number )
n( S ) 6 2
(ii) Let F = { number > 4} = { 5, 6 }
n( F ) 2 1
n(F)= 2, n(S) = 6 P( F ) P( greater than 4)
n( S ) 6 3
(iii) Let M = { multiples of 3} = { 3, 6 }
n( M ) 2 1
n(M)= 2, n(S) = 6 P( M ) P(multiples of 3)
n( S ) 6 3
(iv) not a multiple of 3
1 2
P(not a multiple of 3) P(M ' ) 1 P( M ) 1
3 3
Card Symbols :
Heart Spade
Club Diamond
There are 52 cards in a deck
There are 52 cards in a
deck. So what are my
chances of picking an ace?
How many aces are in a deck? 4
How many cards are in a deck? 52
So I have a
4/52 or 1/13
chance of
drawing an
ace!
Ex: One card is drawn from a pack of 52 cards.
Calculate the probability that the card will be
(i) a spade (ii) not a spade (iii) a red card (iv) a court card
n( A) 13 1
(i) P( A) P( spade)
n( S ) 52 4
1 3
(ii ) P(not a spade) P( A' ) 1 P( A) 1
4 4
B = card drawn is red , there are 26 red cards, i.e. n(B) = 26
n( B) 26 1
(iii ) P( B) P(red )
n( S ) 52 2
(iv) A court card is a king, a queen, or a jack
12 3
P(C ) P(court card )
52 13
(v) the card will be an ace
4 1
P( D) P(ace)
52 13
Ex : One element is randomly selected from a universal set of
20 elements.
Sets A and B are subsets of the universal set and n(A) = 15,
n(B)= 10 and n( A B) 7
n( A) 15 3
(i) P( A) ( S is the universal set )
n( S ) 20 4
n( A B ) 7
(ii ) P( A B)
n( S ) 20
3 1
(iii ) P( A' ) 1 P( A) 1
4 4
Find : (iv) P( A B) (v) P( A B)'
S
A B
8 3
7
8 7 3 18 9
(iv ) P( A B)
20 20 10
Or P( A B)' 1 P( A B)
2 1
(v) P( A B)' 9 1
20 10 1
10 10
Composite Events
Ex : A die and a coin are tossed together.
The sample space, S = { (1,H), (1,T), (2,H), (2,T), (3,H), (3,T),
(4,H), (4,T), (5,H), (5, T), (6,H). (6,T) }
coin
H
T
Note: n(S) = 12 = 2x6
die
1 2 3 4 5 6
P( A B) P( A).P( B)
Independent Events Ex : A die and a coin are tossed together
coin
H
Note: n(S) = 12 = 2x6
T
die
1 2 3 4 5 6
S A B
For example, when you toss a single coin either it will land on
heads or it will land on tails. There are two mutually exclusive
outcomes.
Outcome A: Head
Outcome B: Tail
13
P(a c lub)
52
2
P(a red ace)
52
Note : the card selected cannot be a club and a red ace at the same time
13 2 15
P( a c lub or a red ace) P( a c lub) P( a red ace)
52 52 52
Events that are not mutually exclusive
Ex: A card is drawn from a pack of 52 cards. What is the probability
that the card is either a diamond or a king ?
13 4
Let D = {diamonds} K = {kings} P ( D) , P ( K )
52 52
D and K are NOT mutually exclusive events
16 4 17
P( D or K ) P( D K ) P( D) P( K )
52 13 52
In general , for any two events, A and B
P( A or B) P( A B) P( A) P( B) P( A B)
P( A or B) P( A B) P( A) P( B) sin ce P( A B) 0
Ex : A die and a coin are tossed together.
coin
Note: n(S) = 12 = 2x6
H
T 1 4
P( A) P( B)
die 2 6
1 2 3 4 5 6
A and B independent
Find the probability of obtaining
(i) a head on the coin and a number greater than 2 on the die
2nd
H HH
1st
H
T HT Possible
Outcomes
H TH
T
T TT
Next, attach probabilities
2nd
1st ½ H HH P(H,H)= ½x½=¼
½ H
½
T HT P(H,T)= ½x½=¼
½ H TH P(T,H)= ½x½=¼
½ T
½ T TT P(T,T)= ½x½=¼
2nd
1st ½ H HH P(H,H) = ½x½=¼
½ H
½
T HT P(H,T) = ½x½=¼
½ H TH P(T,H) = ½x½=¼
½ T
½ T P(T,T) = ½x½=¼
TT
(i) P( exactly one Head)
1 1 1 3
1 1 1
(ii) P( at least one Head) =
4 4 2 4 4 4 4
Ex : There are 10 coloured beads in a bag – 3 Red, 2 Blue, 5 Green.
One bead is taken, colour noted, returned to bag, then a second taken.
2nd
1st P( R )= 3/10 = 0.3
R RR
B RB P( B )= 2/10 = 0.2
R
G RG P( G )= 5/10 = 0.5
R BR
6 R
10 4
9
B
6
4 9 R
10 B
3
9 B
(ii) Find the probability of selecting both red beads 6 red
(iii) Find the probability of picking one of each colour. 4 blue
R
B
For dependent events
B
P( R B) P( R).P( B / R) P( R B)
P( B / R)
5 3 15 P( R)
.
8 7 56
From the last example, we note that for dependent events, A and B
P( A B) P( A).P( B / A) ***
P( A B)
P( B / A) Remember !
P( A)
Let A be the event the card is an ace and B the event the ball is blue
1 60 187
(i) P( B) P( A B) P( A'B) 4 . 2 48 . 5
52 6 52 7 39 91 273
P( A B) 1 187 7
(ii ) P( A / B)
P( B) 39 273 187
Alternative solution ( using tree diagram)
Let H be the event a head is thrown and R the event the ball is red
2 3 1 1 29
(i) P( R) P( H R) P( H 'R) . .
3 5 3 4 60
P( H R) 2 29 24
(ii ) P( H / R)
P( R) 5 60 29
Alternative solution ( using tree diagram)
1 3 3 1 11
(i) P( L) P( R L) P( R'L) . .
4 5 4 6 40
P( R'L) 1 11 5
(ii ) P( R' / L)
P ( L) 8 40 11
Alternative solution ( using tree diagram)
Permutations : ( Arrangements)
Since Bob and Heather are to be in the team, split the children into
2 sets : {B, H} and { A, C, D, E, F, G }
Choose 2 from the first set and the remaining
3 from the second set of children i.e. number
of ways with B and H in the team
20 5
C2 . C3 1.20 20
2 6
P( B and H included )
56 14
Ex : Find the probability that when a hand of 5 cards is dealt from a
shuffled pack of 52 cards, it contains
(i) all 4 aces (ii) exactly 3 aces (iii) at least 3 aces
(i) Total number of possible hands 52C5
Number of hands with 4 aces
Number of hands with 4 aces and 1 not ace 4C4 .48C1 48C1
P(all 4 aces )48C1 / 52C5 1 / 54145
(ii ) Number of hands with exactly 3 aces
Number of hands with 3 aces and 2 not aces 4C3 .48C2
P(exactly 3 aces )4C3 .48C2 / 52C5 94 / 54145
(iii ) P( A B) P( A) P( B) P( A B)
A'B A B
= 0.4 + 0.58 − 0 .28 = 0.7
P( A B) 0.28
(iv ) P( A / B) 0.483 A and B are NOT
P( B) 0.58 independent (why ?)
Summary :
S = sample space : all possible outcomes of an experiment
A = an event ( a subset of S ) S
n( A) A’
(i) P( A) 0 ≤ P(A) ≤ 1 A
n( S )
(ii ) P( A' ) 1 P( A)
S
(iii ) P( A B) P( A).P( B) A B
(iv) P( A or B) P( A B) P( A) P( B) P( A B)
--- A and B non mutually exclusive events
If A a and B are mutually exclusive events, then S
(v) P( A B) P( A) P( B) A B
[ P( A B) 0]
P( A B)
(vii) P( B / A)
P( A)
P( A B)
Similarly P( A / B)
P( B)
Q1(a) : Two events A and B occur with probabilit ies
3 1
P( A) and P( B)
5 6
Find the value of P( A B) if the events
(i) A and B are mutually exclusive, (i) 23/30
(ii ) A and B are independen t. (ii) 2/3
(b) : Two events A and B occur with probabilit ies
1 3 4
P( A) , P( B) and P( A B) .
4 5 5
Determine, giving reasons, whether the events A and B are
(i) mutually exclusive (ii) independent
(i) Not mutually exclusive (ii) Not independent
Q2(a) : Two events A and B occur with probabilit ies
3 1
P( A) and P( B)
4 5
Find the value of P( A B) if the events
(i) A and B are mutually exclusive, (i) 19/20
(ii ) A and B are independen t. (ii) 3/20
(b) : Two events A and B occur with probabilit ies
2 1 11
P( A) , P( B) and P( A B) .
5 3 15
Determine, giving reasons, whether the events A and B are
(i) mutually exclusive (ii) independent
(i) Yes mutually exclusive (ii) Not independent
Q3 : Two beads are selected at random from a bag containing 9 red
beads and 12 blue beads without replacement.
2nd
8 Q : Find the probability that
1st
20 R RR (i) the first bead is red
9 (ii) the second bead is blue
R if the first bead is red
21 (iii) the two beads are of
12 B RB
the same colour
20
(iv) the two beads are of
9 different colour
R BR (v) the second bead is blue
12 20
21 B
(i) 9/21 (ii) 12/20 (iii) 17/35
11 B BB
20 (iv) 18/35 (v) 4/7
Q: A multiple choice question has 4 answers, of which 1 is correct. A
student answers 3 questions by guessing randomly. Find the
probability of getting (i) the first question correct, (ii) exactly 2
questions correct, (iii) at least 1 question correct.
(iii) Given that the pupil chosen is not a boy, find the
probability that the pupil came from group B.
(i) 1/3 x 4/6 = 2/9 (ii) 1/3 x 2/6 + 2/3 x 5/8 = 19/36
(ii) Given that the marble chosen is not green, find the
probability that the it came from box B.