<<

CHAPTER 1 Sets, Fields, and Events

B 1.1 DEFINITIONS

The concept of sets play an important role in probability. We will define a set in the following paragraph.

Definition of Set A set is a collection of objects called elements. The elements of a set can also be sets. Sets are usually represented by uppercase letters A, and elements are usually represented by lowercase letters a. Thus

A ¼ {a1;a2; ..., an}(1:1:1)

will mean that the set A contains the elements a1,a2, ..., an. Conversely, we can write that ak is an of A as

ak [ A (1:1:2)

and ak is not an element of A as

ak A (1:1:3) A finite set contains a finite number of elements, for example, S ¼ f2,4,6g. Infinite sets will have either countably infinite elements such as A ¼ fx : x is all positive integersg or uncountably infinite elements such as B ¼ fx : x is real number 20g.

Example 1.1.1 The set A of all positive integers less than 7 is written as A ¼ {x : x is a positive integer ,7}: :

Example 1.1.2 The set N of all positive integers is written as N ¼ {x : x is all positive integers}: countably :

Example 1.1.3 The set R of all real numbers is written as R ¼ {x : x is real}: uncountably infinite set:

Probability and Random Processes, by Venkatarama Krishnan Copyright # 2006 John Wiley & Sons, Inc. 1 2 Sets, Fields, and Events

Example 1.1.4 The set R2 of real numbers x, y is written as R2 ¼ {(x,y) : x is real, y is real}

Example 1.1.5 The set C of all real numbers x,y such that x þ y 10 is written as C ¼ {(x,y) : x þ y 10}: uncountably infinite set:

Venn Diagram Sets can be represented graphically by means of a . In this case we assume tacitly that S is a universal set under consideration. In Example 1.1.5, the universal set S ¼ fx : x is all positive integersg. We shall represent the set A in Example 1.1.1 by means of a Venn diagram of Fig. 1.1.1.

Empty Set An empty is a set that contains no element. It plays an important role in and is denoted by 1. The set A ¼ f0g is not an since it contains the element 0.

Cardinality The number of elements in the set A is called the of set A, and is denoted by jAj. If it is an infinite set, then the cardinality is 1.

Example 1.1.6 The cardinality of the set A ¼ f2,4,6g is 3, or jAj ¼ 3. The cardinality of set R ¼ fx : x is realg is 1.

Example 1.1.7 The cardinality of the set A ¼ fx : x is positive integer ,7g is jAj ¼ 6.

Example 1.1.8 The cardinality of the set B ¼ fx : x is a real number ,10g is infinity since there are infinite real numbers ,10.

Subset A set B is a of A if every element in B is an element of A and is written as B # A. B is a proper subset of A if every element of A is not in B and is written as B , A.

FIGURE 1.1.1 1.2 Set Operations 3

FIGURE 1.1.2

Equality of Sets Two sets A and B are equal if B # A and A # B, that is, if every element of A is con- tained in B and every element of B is contained in A. In other words, sets A and B contain exactly the same elements. Note that this is different from having the same cardinality, that is, containing the same number of elements.

Example 1.1.9 The set B ¼ f1,3,5g is a proper subset of A ¼ f1,2,3,4,5,6g, whereas the set C ¼ fx : x is a positive even integer 6g and the set D ¼ f2,4,6g are the same since they contain the same elements. The of B, C, and D are 3 and C ¼ D. We shall now represent the sets A and B and the sets C and D in Example 1.1.9 by means of the Venn diagram of Fig. 1.1.2 on a suitably defined universal set S.

Power Set The of any set A is the set of all possible of A and is denoted by PS(A). Every power set of any set A must contain the set A itself and the empty set 1. If n is the cardinality of the set A, then the cardinality of the power set jPS(A)j ¼ 2n. Example 1.1.10 If the set A ¼ f1,2,3g then PS(A) ¼ f1, (1,2,3), (1,2), (2,3), (3,1), (1), (2), (3)g. The cardinality jPS(A)j ¼ 8 ¼ 23.

B 1.2 SET OPERATIONS

Union Let A and B be sets belonging to the universal set S. The of sets A and B is another set C whose elements are those that are in either A or B, and is denoted by A < B. Where there is no confusion, it will also be represented as A þ B: A < B ¼ A þ B ¼ {x : x [ A or x [ B}(1:2:1) 4 Sets, Fields, and Events

FIGURE 1.2.1

Example 1.2.1 The union of sets A ¼ f1,2,3g and B ¼ f2,3,4,5g is the set C ¼ A < B ¼ f1,2,3,4,5g.

Intersection The intersection of the sets A and B is another set C whose elements are the same as those in both A and B and is denoted by A > B. Where there is no confusion, it will also be represented by AB. A > B ¼ AB ¼ {x : x [ A and x [ B}(1:2:2) Example 1.2.2 The intersection of the sets A and B in Example 1.2.1 is the set C ¼ f2,3g Examples 1.2.1 and 1.2.2 are shown in the Venn diagram of Fig. 1.2.1.

Mutually Exclusive Sets Two sets A and B are called mutually exclusive if their intersection is empty. Mutually exclusive sets are also called disjoint. A > B ¼ 1 (1:2:3) One way to determine whether two sets A and B are mutually exclusive is to check whether set B can occur when set A has already occurred and vice versa. If it cannot, then A and B are mutually exclusive. For example, if a single coin is tossed, the two sets, fheadsg and ftailsg, are mutually exclusive since ftailsg cannot occur when fheadsg has already occurred and vice versa.

Independence We will consider two types of independence. The first is known as functional independence [42]. Two sets A and B can be called functionally independent if the occur- rence of B does not in any way influence the occurrence of A and vice versa. The second one is statistical independence, which is a different concept that will be defined later. As an example, the tossing of a coin is functionally independent of the tossing of a die because they do not depend on each other. However, the tossing of a coin and a die are not mutually exclusive since any one can be tossed irrespective of the other. By the same token, pressure and temperature are not functionally independent because the physics of the problem, namely, Boyle’s law, connects these quantities. They are certainly not mutually exclusive.

Numbers in brackets refer to bibliographic entries in the References section at the end of the book. 1.2 Set Operations 5

Cardinality of Unions and Intersections We can now ascertain the cardinality of the union of two sets A and B that are not mutually exclusive. The cardinality of the union C ¼ A < B can be determined as follows. If we add the cardinality jAj to the cardinality jBj, we have added the cardinality of the intersection jA > Bj twice. Hence we have to subtract once the cardinality jA > Bj as shown in Fig. 1.2.2. Or, in other words jA < Bj¼jAjþjBjjA > Bj (1.2.4a) In Fig. 1.2.2 the cardinality jAj ¼ 9 and the cardinality jBj ¼ 11 and the cardinality jA < Bj is 11 þ 9 2 4 ¼ 16. As a corollary, if sets A and B are mutually exclusive, then the cardinality of the union is the sum of the cardinalities; or jA < Bj¼jAjþjBj (1.2.4b) The generalization of this result to an arbitrary union of n sets is called the inclusion– exclusion principle, given by [n Xn Xn Xn Ai ¼ jjA i Ai > A j þ A i > A j > Ak i¼1 i¼1 i, j¼1 i, j, k¼1 i=j i=j=k Xn n (+1) Ai > A j > Ak > An (1:2:5a) i, j, k¼1 i=j=k...=n

If the sets fAig are mutually exclusive, that is, Ai > Aj ¼ 1 for i = j, then we have [n Xn A i ¼ jjA i (1:2:5b) i¼1 i¼1 This equation is illustrated in the Venn diagram for n ¼ 3 in Fig. 1.2.3, where if jA < B < Cj equals, jAjþjBjþjCj then we have added twice the cardinalites of jA > Bj, jB > Cj and jC > Aj. However, if we subtract once jA > Bj, jB > Cj, and jC > Aj and write jA < B < Cj¼jAjþjBjþjCjjA > BjjB > CjjC > Aj then we have subtracted jA > B > Cj thrice instead of twice. Hence, adding jA > B > Cj we get the final result: jA < B < Cj¼jAjþjBjþjCjjA > BjjB > CjjC > AjjA > B > Cj (1:2:6)

FIGURE 1.2.2 6 Sets, Fields, and Events

FIGURE 1.2.3

Example 1.2.3 In a junior , the number of students in electrical engineering (EE) is 100, in math (MA) 50, and in computer science (CS) 150. Among these 20 are taking both EE and MA, 25 are taking EE and CS, and 10 are taking MA and CS. Five of them are taking EE, CS and MA. Find the total number of students in the junior class. From the problem we can identify the sets A ¼ EE students, B ¼ MA students, and C ¼ CS students, and the corresponding intersections are A > B, B > C, C > A, and A > B > C. Here, jAj ¼ 100, jBj ¼ 50, and jCj ¼ 150. We are also given jA > Bj ¼ 20, jB > Cj ¼ 10, and jC > Aj ¼ 25 and finally jA > B > Cj ¼ 5. Using Eq. (1.2.6) the total number of students are 100 þ 50 þ 150 2 20 2 10 2 25 þ 5 ¼ 250.

Complement If A is a subset of the universal set S, then the of A denoted by A is the elements in S not contained in A;or A ¼ S A ¼ {x : x A , S and x [ S}(1:2:7) Example 1.2.4 If the universal set S ¼ f1,2,3,4,5,6g and A ¼ f2,4,5g, then the comp- lement of A is given by A ¼ f1,3,6g.

Difference The complement of a subset A , S as given by Eq. (1.2.7) is the difference between the universal set S and the subset A. The difference between any two sets A and B denoted by A 2 B is the set C containing those elements that are in A but not in B and, B 2 A is the set D containing those elements in B but not in A: C ¼ A B ¼ {x : x [ A and x B} (1:2:8) D ¼ B A ¼ {x : x [ B and x A} A 2 B is also called the relative complement of B with respect to A and B 2 A is called the relative complement of A with respect to B. It can be verified that A 2 B = B 2 A.

Example 1.2.5 If the set A is given as A ¼ f2,4,5,6g and B is given as B ¼ f5,6,7,8g, then the difference A 2 B ¼ f2,4g and the difference B 2 A ¼ f7,8g. Clearly, A 2 B = B 2 A. 1.2 Set Operations 7

FIGURE 1.2.4

Symmetric Difference The between sets A and B is written as ADB and defined by ADB ¼ (A B) < (B A) ¼ {x : x [ A and x B)or{x : x [ B and x A)(1:2:9)

Example 1.2.6 The symmetric difference between the set A given by A ¼ f2,4,5,6g and B given by B ¼ f5,6,7,8g in Example 1.2.5 is ADB ¼ f2,4g < f7,8g ¼ f2,4,7,8g. The difference and symmetric difference for Examples 1.2.5 and 1.2.6 are shown in Fig. 1.2.4.

Cartesian Product This is a useful concept in set theory. If A and B are two sets, the A B is the set of ordered pairs (x,y) such that x [ A and y [ B and is defined by A B ¼ {(x,y) : x [ A, y [ B}(1:2:10) When ordering is considered the cartesian product A B = B A. The cardinality of a Cartesian product is the product of the individual cardinalities, or jA Bj ¼ jAj . jBj.

Example 1.2.7 If A ¼ f2,3,4g and B ¼ f5,6g, then C ¼ A B ¼ f(2,5), (2,6), (3,5), (3,6), (4,5), (4,6)g with cardinality 3 2 ¼ 6. Similarly, D ¼ B A ¼ f(5,2), (5,3), (5,4), (6,2), (6,3), (6,4)g with the same cardinality of 6. However, C and D do not contain the same ordered pairs.

Partition S A partition is a collectionT of disjoint sets fAi, i ¼ 1, ..., ng of a set S such that Ai over all i equals S and Ai Aj, with i = j empty. Partitions play a useful role in con- ditional probability and Bayes’ theorem. Figure 1.2.5 shows the concept of a partition.

FIGURE 1.2.5 8 Sets, Fields, and Events

FIGURE 1.2.6

TABLE 1.2.1 Table of set properties Property Equation

Identity A < 1 ¼ A A > S ¼ A Domination A > 1 ¼ 1 A < S ¼ S Idempotent A > A ¼ A A < A ¼ A ¼ Complementation A ¼ A Commutative A < B ¼ B < A A > B ¼ B > A Associative A < (B < C) ¼ (A < B) < C A > (B > C) ¼ (A > B) > C Distributive A > (B < C) ¼ (A > B) < (A > C) A < (B > C) ¼ (A < B) > (A < C) Noncommutative A 2 B = B 2 A De Morgan’s law A < B ¼ A > B A > B ¼ A < B

Example 1.2.8 If set S ¼ f1,2,3,4,5,6,7,8,9,10g, then the collections of sets fA1, A2, A3, A4g where A1 ¼ f1,3,5g, A2 ¼ f7,9g, A3 ¼ f2,4,6g, A4 ¼ f8,10g is a partition of S as shown in Fig. 1.2.6. A tabulation of set properties is shown on Table 1.2.1. Among the identities, De Morgan’s laws are quite useful in simplifying set algebra.

B 1.3 SET ALGEBRAS, FIELDS, AND EVENTS

Boolean Field We shall now consider a universal set S and a collection F of subsets of S consisting of the sets fAi: i ¼ 1,2, ..., n,n þ 1, ...g. The collection F is called a Boolean field if the 1.3 Set Algebras, Fields, and Events 9 following two conditions are satisfied:

1. If Ai [ F, then Ai [ F.

2. If A1 [ F and A2 [ F, then A1 < A2 [ F. n 3. If fgAi, i ¼ 1, ..., n [ F, then < i¼1 Ai [ F.

Let us see the consequences of these conditions being satisfied. If A1 [ F and A1F, then A1 < A1 ¼ S [ F.IfS [ F, then S ¼ 1 [ F.IfA1 < A2 [ F, then by condition 1 , and by De Morgan’s law, A1 < A2 [ F. Hence A > A [ F. Also A1 < A2 [ F 1 2 A1 2 A2 [ F and (A1 2 A2) < (A2 2 A1) [ F. Thus the conditions listed above are sufficient for any field F to be closed under all set operations.

Sigma Field The preceding definition of a field covers only finite set operations. Condition 3 for finite additivity may not hold for infinite additivity. For example, the sum of 1 þ 2 þ 22 þ 23 þ 24 ¼ (25 2 1)/(2 2 1) ¼ 31, but the infinite sum 1 þ 2 þ 22 þ 23 þ 24 þ ... diverges. Hence there is a need to extend finite additivity concept to infinite set operations. Thus, we have a s field if the following extra condition is imposed for infinite additivity: 1 4.IfA1, A2, ...An, ...[ F then

Many s fields may contain the subsets fAig of S, but the smallest s field containing the subsets fAig is called the Borel s field. The smallest s field for S by itself is F ¼ fS, 1g.

Example 1.3.1 We shall assume that S ¼ f1,2,3,4,5,6g. Then the collection of the fol- lowing subsets of S, F ¼ fS, 1, (1,2,3), (4,5,6)g is a field since it satisfies all the set oper- ations such as (1,2,3) < (4,5,6) ¼ S, ð 1,2,3 Þ¼(4,5,6). However, the collection of the following subsets of S, F1 ¼ {S, 1, (1,2,3), (4,5,6), ð2Þ} will not constitute a field because (2) < (4,5,6) ¼ (2,4,5,6) is not in the field. But we can adjoin the missing sets and make F1 into a field. This is known as completion. In the example above, if we adjoin the collection of sets F2 ¼ {(2,4,5,6), (1,3)} to F1, then the resulting collection F ¼ F1 < F2 ¼ {S, 1, (1,2,3), (4,5,6), {2}, (2,4,5,6), (1,3)} is a field.

Event Given the universal set S and the associated s field F, all subsets of S belonging to the field F are called events. All events are subsets of S and can be assigned a probability, but not all subsets of S are events unless they belong to an associated s field.