Section 2.2 Sample Space and Events
Section 2.2 Sample Space and Events
EXAMPLE: If E = {(H, H), (H, T )} (Head on first toss) and F = {(T, T ), (H, T )} (tail
on the second toss). Then
EF = {(H, T )}
DEFINITION: The empty set {} = is the set consisting of nothing.
DEFINITION: Two sets are mutually exclusive if EF = . A set of sets, {E1 , E2 , . . . , } are
mutually exclusive if Ei Ej = for all i 6= j.
EXAMPLE: Let S = {(i, j) | i, j {1, . . . , 6}} be the outcome from two rolls of a die. Let
E be those such that i + j = 6 (i.e. E = {(1, 5), (2, 4), . . .}) and F be those such that i + j = 7
(i.e. F = {(1, 6), (2, 5), . . .}). Then EF = and they are mutually exclusive.
The definition for the union and intersection of a sequence of events E1 , E2 , . . . are similar:
[
1.
En is the event consisting of those outcomes that are in at least one En , for n = 1, 2, . . ..
n=1
2.
n=1
DEFINITION: The complement of E, denoted E c , consists of those outcomes that are not in
E. Note that S c = and that (E c )c = E.
DEFINITION: E is a subset of F if x E implies x F . Notation: E F .
DEFINITION: E and F are equal, denoted E = F , if E F and F E.
EF = F E
Associative laws:
E (F G) = (E F ) G,
E(F G) = (EF )G
Distributive laws:
(EF ) H = (E H)(F H),
De Morgans laws:
i=1
Ei
!c
c
(E F )H = (EH) (F H)
Eic
i=1
c
\
[
Ei =
Eic
i=1
i=1
Proof: Let x
that Ei and so
i=1
Ei
!c
. Then, x 6
i=1
Eic
i=1
Let x
Eic .
Then x
Eic
i=1
Ei
!c
Eic
i=1
i=1
Ei . Therefore
i=1
Ei
i=1
!c
and
Eic
i=1
Ei
i=1
!c
P (E) = lim
EXAMPLES:
2. Notions that do not have repeatability do not have meaning: for example, probability of
rain tomorrow or guilt/innocence in criminal cases.
We will take a different route. An axiomatic approach. We will eventually show that after
assuming three basic axioms, the limit above does exist (law of large numbers, chapter 8).
Axioms of Probability
Let S be a sample space for some experiment. For each event E S, we assume that a number
P (E) is defined and satisfies the following three axioms:
Axiom 1: 0 P (E) 1.
Axiom 2: P (S) = 1.
Axiom 3: If {Ei } are mutually exclusive ( Ei Ej = if i 6= j), then P
S
i=1
Ei
i=1
P (Ei ).
THEOREM: P () = 0.
Proof: We have S = S
i=2
P (S) = P
i=2
= P (S) +
P ()
i=2
Thus, P () = 0.
THEOREM: Let A1 , . . . , An be mutually exclusive (but finite). Then,
!
n
n
X
[
P
Ai =
P (Ai )
i=1
i=1
Proof: Use previous result and take sum to infinity with the rest being the empty set.
EXAMPLES:
1. Consider flipping a coin and recording the outcome. Then S = {H, T }. Need a probability.
Assume fair coin. Then
P ({H}) = 1/2
P ({T }) = 1/2
P ({H, T }) = 1
Note that
P ({H} {T }) = 1 = 1/2 + 1/2 = P ({H}) + P ({T })
This is not the only probability possible for this experiment/sample space. Could have an
unfair coin.
P ({H}) = p, P ({T }) = 1 p, P ({H, T }) = 1
2. Rolling a die. Assuming that the die is fair, P ({1}) = P ({2}) = . . . = P ({6}) = 1/6.
Probability of rolling an even number is
P ({2, 4, 6}) = P ({2}) + P ({4}) + P ({6}) = 1/6 + 1/6 + 1/6 = 1/2
EXAMPLE: You believe the following: with probability 0.5 it will snow today. With probability
0.3 it will snow tomorrow. With probability 0.2 it will snow both days. What is the probability
that it will not snow either day?
Solution: Let E, F be the events that it snows today/tomorrow, resp. Then,
P (E) = 0.5, P (F ) = 0.3,
We need P (E c F c ). Not snowing, is the complement of snowing at least once, E F , and so,
P (E c F c ) = 1 P (E F ) = 1 (P (E) + P (F ) P (EF )) = 1 (0.5 + 0.3 0.2) = 1 0.6 = 0.4
We can generalize the previous theorem:
THEOREM: For any three sets A, B, C, we have
P (A B C) = P (A) + P (B) + P (C) P (AB) P (BC) P (AC) + P (ABC)
Proof: Proof by Venn diagram.
THEOREM (inclusion-exclusion identity): Let E1 , E2 , . . . , En be a sequence of sets. Then
P (E1 E2 . . . En ) =
n
X
P (Ei )
i=1
i1 <i2
+(1)r+1
P (Ei1 Ei2 ) + . . .
P (Ei1 Ei2 . . . Eir )
i1 <i2 <...<ir
the summation
i1 <i2 <...<ir
+ . . . + (1)n+1 P (E1 E2 . . . En )
n
possible sets of size r of the
P (Ei1 Ei2 . . . Eir ) is taken over the
r
# elements of E
# elements in S
6
1
N
EXAMPLES:
1. A number is chosen at random from S = {1, . . . , 520}. What is the probability that it is
divisible by 5 or 7?
2. If 3 balls are randomly drawn from a bowl containing 6 white and 5 black balls, what is the
probability that one of the balls is white and the other two are black?
EXAMPLES:
1. A number is chosen at random from S = {1, . . . , 520}. What is the probability that it is
divisible by 5 or 7?
Solution: Assume each number has a probability of 1/520 of being chosen. Let A be the event
that it is divisible by 5. Let B be the event that it is divisible by 7. We have 520/5 = 104, so
P (A) = 104/520. Similarly, 520/7 = 74 + 2/7, so P (B) = 74/520. Want P (A B). So, by the
theorem, we need P (A B). x A B if and only if divisible by 35. 520/35 = 14 + 30/35. So
P (A B) = 14/520. Thus,
P (A B) = P (A) + P (B) P (A B) = 104/520 + 74/520 14/520 = 164/520
2. If 3 balls are randomly drawn from a bowl containing 6 white and 5 black balls, what is the
probability that one of the balls is white and the other two are black?
Solution 1: Think of order being relevant. There are 11 10 9 = 990 total possible choices of a
first, second, third ball. There are 6 (5 4) ways to first choose a white, then two black, there
are 5 6 4 ways to choose black, white, black, and 5 4 6 ways to choose two black, then white.
So there are a total of 3 6 5 4 = 360 ways to choose one white and two black. Thus, the
answer is
360
4
=
990
11
11
ways to choose three
Solution 2: Now suppose order is not important. There are now
3
5
6
ways to choose one white and two black balls, respectively.
and
balls. There are
2
1
Therefore, the probability is
6 5
5!
5!
6
54332
4
1 2
3!2! =
2!
=
=
=
11 10 9
11!
11
11 10 9
11
3!
8!3!
3
3. A committee of 6 is to be chosen from 15 people. There are 5 Americans, 3 Canadians, and 7
Europeans in the group. Assuming the committee is randomly chosen, what is the probability
that the committee will consist of 2 Americans, 1 Canadian, and 3 Europeans?
7
3
5
15
, and
,
possible committees. There are
Solution: There are a total of
3
1
2
6
ways to choose 2 Americans, 1 Canadian, and 3 Europeans, respectively. Therefore, by the
generalized counting process, the probability is
5 3 7
30
2 1 3
0.2097
=
15
143
6
8