Sample Spaces and Events |
Simulation of the dice experiment
Simulation of Buffon's coin experiment
Set theory is the foundation of probability, as it is for almost every branch of mathematics. In probability, set theory is used to provide a language for modeling and describing random experiments.
First, a set is simply a collection of objects; the objects are referred to as elements of the set. The statement that s is an element of set S is written
If A and B are sets then by definition, A is a subset of B if every element of A is also an element of B:
By definition, a set is completely determined be its elements. Thus sets A and B are equal if they have the same elements:
In most applications of set theory, all sets under discussion are subsets of a certain universal set. By contrast, the empty set, denoted Ø, is the set with no elements.
1. Use the formal definition of implication to show that the empty set is a subset of any set A.
For a random experiment, the set S of all possible outcomes of the experiment is called the sample space of the experiment. Thus, the sample space plays the role of the universal set when modeling the experiment.
Subsets of the sample space of an experiment are referred to as events. Thus, an event is a set of possible outcomes of the experiment. Each time the experiment is run, a given event A either occurs, if the outcome of the experiment is an element of A, or does not occur, if the outcome of the experiment is not an element of A. Intuitively, you should think of an event as a meaningful statement about the experiment.
Note that the sample space S itself is an event; by definition it always occurs. More generally, if A and B are events in the experiment and A is a subset of B, then the occurrence of A implies the occurrence of B. As an event in a random experiment, the empty set never occurs.
Usually, the outcome of a random experiment consists of one or more real measurements, and thus, the sample space consists of all possible measurement sequences. Thus, we need good notation for constructing sets of sequences. The Cartesian product of sets S1, S2, ..., Sn, denoted
S1 × S2 × ··· × Sn
is the set of all (ordered) sequences (s1, s2 , ..., sn) where si is an element of Si for each i. By definition, two ordered sequences are the same if and only if their corresponding coordinates agree:
(s1, s2 , ..., sn) = (t1, t2 , ..., tn) if and only if si = ti for i = 1, 2, ..., n.
If all the sets in the product are the same, then we denote the product by
Sn = S × S × ··· × S (n factors)
In particular, R will denote the set of real numbers so that Rn is n-dimensional Euclidean space. Thus, in most cases, the sample space of a random experiment, and hence the events of the experiment, are subsets of Rn for some n.
2. Recall that the dice experiment consists of rolling a pair of (distinct) dice and recording the number spots showing on each die.
3. Run the simulation of the dice experiment 100 times. Count the number of times each of the events in Exercise 2 occurred.
4. Recall that Buffon's coin experiment consists of tossing a coin with radius r < 1 on a floor covered with square tiles of side length 1. The coordinates of the center of the coin are recorded relative to axes through the center of the square, parallel to the sides.
5. Run the simulation of the Buffon's coin experiment 100 times. Count the number of times the event A in Exercise 4 occurred.
6. Suppose that we have n experiments E1, E2, ..., En with sample spaces S1, S2, ..., Sn, respectively. Give the sample space of the compound experiment that consists performing the n experiments in sequence.
7. Suppose that we have a basic experiment with sample space S. Give the sample space of the compound experiment that consists of n replications of the basic experiment.
We are now ready to review the basic operations of set theory. For a random experiment, these operations can be used to construct new events from given events. For the following definitions, suppose that A and B are subsets of the universal set, which we will denote by S.
The union of A and B is the set obtained by combining the elements of A and B.
If A and B are events in an experiment with sample space S, then the union of A and B is the event that occurs if and only if A occurs or B occurs.
The intersection of A and B is the set of elements common to both A and B:
If A and B are events in an experiment with sample space S, then the intersection of A and B is the event that occurs if and only if A occurs and B occurs.
If the intersection of sets A and B is empty, then A and B are said to be disjoint:
If A and B are disjoint events in an experiment, then they are mutually exclusive; they cannot both occur on the same run of the experiment.
The complement of A is the set of elements that are not in A and is denoted Ac.
If A is an event in an experiment with sample space S, then the complement of A is the event that occurs if and only if A does not occur.
8. In the dice experiment, consider the events A and B of Exercise 2. List the outcomes in the following events.
9. Run the simulation of the dice experiment 100 times. Count the number of times each of the events in Exercise 8 occurred.
10. In Buffon's coin experiment, consider the event A of Exercise 4. Describe mathematically the event Ac.
11. Run the simulation of Buffon's coin experiment 100 times. Count the number of times Ac occurred.
In the following problems, A, B, and C are subsets of a universal set S.
12. Show that
13. Prove the commutative laws:
14. Prove the associative laws:
15. Prove the distributive laws:
16. Prove DeMorgans laws:
A set is said to countable if it can be put into one-to-one correspondence with a subset of the integers. Thus, a countable set is either finite or an infinite sequence. By contrast, the set of real numbers is not countable. As we will see, countable sets play a special role in probability, because we often need to construct a new event from a countable collection of given events.
The operations of union and intersection can easily be extended to a finite or even an infinite collection of sets. Thus, suppose that we have a collection of subsets Ai of a universal set S, indexed by i in a countable set I:
The union of the collection is the set obtained by combining the elements of the given sets:
If the given sets are events in an experiment with sample space S, then the union is the event that occurs if and only if at least one event in the collection occurs.
The intersection of the collection is the set of elements common to all sets in the collection:
If the sets in the collection are events in an experiment with sample space S, then the intersection is the event that occurs if and only if every event in the collection occurs.
The collection of sets is pairwise disjoint if the intersection of any two sets in the collection is empty:
If the sets are events in a random experiment, this means that they are mutually exclusive; at most one of the events could occur on a given run of the experiment.
In the following problems, I is a countable index set, and sets A and Bi for i in I are subsets of a universal set S.
17. Prove the general distributive laws:
18. Prove the general De Morgans laws:
The sets in this text are assumed to be subsets of Rn for some n. We will also assume that the sets are measurable. This means that each set is either a product set of the form
A1 × A2 × ··· × An where Ai is an interval of R for each i
or a set that can be constructed from product sets with a countable number of set operations. This assumption rules out certain weird sets that would otherwise complicate the theory.
Probability Spaces |