Sample Space and Events
Sample Space and Events
Sample Space and Events
Example 2 Tossing a die. The sample space is S = {1, 2, 3, 4, 5, 6}. E = {2, 4, 6} is an event,
which can be described in words as ”the number is even”.
Example 3 Tossing a coin twice. The sample space is S = {HH, HT, T H, T T }. E = {HH, HT }
is an event, which can be described in words as ”the first toss results in a Heads.
Example 4 Tossing a die twice. The sample space is S = {(i, j) : i, j = 1, 2, . . . , 6}, which contains
36 elements. ”The sum of the results of the two toss is equal to 10” is an event.
Example 5 Choosing a point from the interval (0, 1). The sample space is S = (0, 1). E =
(1/3, 1/2) is an event.
Example 6 Measuring the lifetime of a lightbulb. The sample space is S = [0, ∞). E = [90, ∞) is
an event.
Example 7 Keeping on tossing a coin until one gets a Heads. The sample space of this experiment
is S = {H, T H, T T H, T T T H, . . . }. E = {H, T H} is an event.
Suppose that E is an event. We say that the event E ”occurs” if the outcome of the experiment
is contained in E.
Since events are simply subsets of the sample space, we can talk about various set theoretic
operations on events. In the following, E, F , G, Ei , = 1, 2, . . . are events.
E ∪ F denotes the union of E and F . E ∩ F denotes the intersection of E and F . E c stands
for the complement of E, that is E = S \ E. E ⊂ F means that E is a subset of F . If E ∩ F = ∅,
we say that E and F are disjoint.
Similarly, we can talk about the union and intersection of more than two events:
∪ni=1 Ei , ∪∞
i=1 Ei , ∩ni=1 Ei , ∩∞
i=1 Ei .
1
Now we recall some properties of set theoretic operations:
Commutativity:
E ∪ F = F ∪ E, E ∩ F = F ∩ E.
Associativity:
(E ∪ F ) ∪ G = E ∪ (F ∪ G), (E ∩ F ) ∩ G = E ∩ (F ∩ G).
Distributivity:
(E ∪ F ) ∩ G = (E ∩ G) ∪ (F ∩ G), (E ∩ F ) ∪ G = (E ∪ G) ∩ (F ∪ G).
De Morgan’s law:
Axioms of Probability
Consider an experiment with sample space S. A real-valued function P on the space of all events
of the experiment is called a probability measure if
(ii) P(S) = 1;
Example 8 Tossing a fair coin. In this case, the probability measure is given by P(H) = P(T ) = 12 .
If the coin is not fair, the probability measure will be different.
Example 9 Tossing a fair die. In this case, the probability measure is given by P(1) = P(2) =
· · · = P(6) = 16 . If the die is not fair, the probability measure will be different.
Example 10 Tossing a fair coin twice. In this case, the probability measure is given by P(HH) =
P(HT ) = P(T H) = P(T T ) = 14 .
Example 11 Tossing a fair die twice. In this case, the probability measure is given by
1
P((i, j)) = , i, j = 1, . . . , 6.
36
2
Example 12 Tossing a point from {1, . . . , n} at random, that is each point is equally likely to be
chosen. In this case, the probability measure is given by
1
P(i) = , i = 1, . . . , n.
n
Example 13 Choosing a point from the interval (a, b) at random, that is each point is equally
likely to be chosen. In this case, the probability measure is given by
d−c
P((c, d)) = , for all interval (c, d) ⊂ (a, b).
b−a
Example 14 Measuring the lifetime of a lightbulb. Depending on the manufacturer, the probability
measure will be different. One possible probability measure is given by
Z
P(E) = e−t dt, for any E ⊂ [0, ∞).
E
Example 15 Keeping on tossing a fair coin until one gets a Heads. In this case, the probability
measure is given by P(H) = 21 , P(T H) = 41 , P(T T H) = 18 , . . . .
Theorem 16 Suppose that P is a probability measure. Then it satisfies the following properties.
(i) P(∅) = 0.
Pn
(ii) For any n ≥ 2, if E1 , . . . , En are disjoint events, then P(∪ni=1 Ei ) = i=1 P(Ei ).
Proof. We are only going to prove (i), (ii), (v). (vi) follows from (v) and the induction.
To prove (i), take E1 = S, E2 = E3 = · · · = ∅. Then E1 , E2 , . . . is a sequence of disjoint events,
so we have
X∞
1 = P(S) = P(En ) = 1 + P(∅) + P(∅) + · · · .
n=1
3
To prove (ii), take En+1 = En+2 = · · · = ∅, then E1 , E2 , . . . is a sequence of disjoint events, so
we have
∞
X Xn
P(∪ni=1 Ei ) = P(∪∞ E
i=1 i ) = P(E i ) = P(Ei ).
i=1 i=1
Example 17 A fair die is tossed twice. Find the probability that the sum of the two results is even.
Solution. Let E be the event that the sum of the two results is even. For i = 2, 4, · · · , 12, let
Ei be the event that the sum of the two results is i. Then E2 , E4 , · · · , E12 are disjoint and E is the
union of E2 , E4 , · · · , E12 . One can easily find the probability of each Ei , adding them up, we get
P(E) = 21 .
Example 18 A fair die is tossed 100 times. Find the probability that there is at least one 5.
Solution. Let E be the event that there is at least one 5. Then E c is the event that there is no
5 and P(E c ) = ( 65 )100 . Thus P(E) = 1 − ( 56 )100 .
Example 19 Suppose that E and F are two events. If we know the probabilities of E, F and
E ∩ F , we can find the probability of any set theoretic combination of E and F . For instance, if
P(E) = 12 , P(F ) = 31 and P(E ∩ F ) = 14 , then
1 1 1
P(E ∪ F ) = P(E) + P(F ) − P(E ∩ F ) = + −
2 3 4
and
1 1
P(E ∩ F c ) = P(E) − P(E ∩ F ) = − .
3 4