




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































You have read the “Message to Students” in the Preface. Now you can begin. The title of this book is Probability and Stochastic Processes. We say and hear and read the word probability and its relatives (possible, probable, probably) in many contexts. Within the realm of applied mathematics, the meaning of probability is a question that has occupied mathematicians, philosophers, scientists, and social scientists for hundreds of years. Everyone accepts that the probability of an event is a number between 0 and 1. Some people interpret probability as a physical property (like mass or volume or temperature) that can be measured. This is tempting when we talk about the probability that a coin flip will come up heads. This probability is closely related to the nature of the coin. Fiddling around with the coin can alter the probability of heads. Another interpretation of probability relates to the knowledge that we have about some- thing. We might assign a low probability to the truth of the statement, It is raining now in Phoenix, Arizona, because we know that Phoenix is in the desert. However, our knowledge changes if we learn that it was raining an hour ago in Phoenix. This knowledge would cause us to assign a higher probability to the truth of the statement, It is raining now in Phoenix. Both views are useful when we apply probability theory to practical problems. Whichever view we take, we will rely on the abstract mathematics of probability, which consists of definitions, axioms, and inferences (theorems) that follow from the axioms. While the structure of the subject conforms to principles of pure logic, the terminology is not entirely abstract. Instead, it reflects the practical origins of probability theory, which was developed to describe phenomena that cannot be predicted with certainty. The point of view is differ- ent from the one we took when we started studying physics. There we said that if we do the same thing in the same way over and over again – send a space shuttle into orbit, for example – the result will always be the same. To predict the result, we have to take account of all relevant facts. The mathematics of probability begins when the situation is so complex that we just can’t replicate everything important exactly – like when we fabricate and test an integrated circuit. In this case, repetitions of the same procedure yield different results. The situ- 1
2 CHAPTER 1 EXPERIMENTS, MODELS, AND PROBABILITIES ation is not totally chaotic, however. While each outcome may be unpredictable, there are consistent patterns to be observed when we repeat the procedure a large number of times. Understanding these patterns helps engineers establish test procedures to ensure that a factory meets quality objectives. In this repeatable procedure (making and testing a chip) with unpredictable outcomes (the quality of individual chips), the probability is a number between 0 and 1 that states the proportion of times we expect a certain thing to happen, such as the proportion of chips that pass a test. As an introduction to probability and stochastic processes, this book serves three pur- poses:
The mathematical basis of probability is the theory of sets. Most people who study proba- bility have already encountered set theory and are familiar with such terms as set, element,
4 CHAPTER 1 EXPERIMENTS, MODELS, AND PROBABILITIES The definition of set equality, A = B, (1.7) is A = B if and only if B ⊂ A and A ⊂ B. This is the mathematical way of stating that A and B are identical if and only if every element of A is an element of B and every element of B is an element of A. This definition implies that a set is unaffected by the order of the elements in a definition. For example, { 0 , 17 , 46 } = { 17 , 0 , 46 } = { 46 , 0 , 17 } are all the same set. To work with sets mathematically it is necessary to define a universal set. This is the set of all things that we could possibly consider in a given context. In any study, all set operations relate to the universal set for that study. The members of the universal set include all of the elements of all of the sets in the study. We will use the letter S to denote the universal set. For example, the universal set for A could be S = {all universities in New Jersey, all planets}. The universal set for C could be S = I = { 0 , 1 , 2 ,.. .}. By definition, every set is a subset of the universal set. That is, for any set X, X ⊂ S. The null set, which is also important, may seem like it is not a set at all. By definition it has no elements. The notation for the null set is φ. By definition φ is a subset of every set. For any set A, φ ⊂ A. It is customary to refer to Venn diagrams to display relationships among sets. By con- vention, the region enclosed by the large rectangle is the universal set S. Closed surfaces within this rectangle denote sets. A Venn diagram depicting the relationship A ⊂ B is A
When we do set algebra, we form new sets from existing sets. There are three operations for doing this: union, intersection, and complement. Union and intersection combine two existing sets to produce a third set. The complement operation forms a new set from one existing set. The notation and definitions are A B The union of sets A and B is the set of all elements that are either in A or in B, or in both. The union of A and B is denoted by A ∪ B. In this Venn diagram, A ∪ B is the complete shaded area. Formally, the definition states x ∈ A ∪ B if and only if x ∈ A or x ∈ B. The set operation union corresponds to the logical “or” operation.
1.1 SET THEORY 5 A B The intersection of two sets A and B is the set of all ele- ments which are contained both in A and B. The intersec- tion is denoted by A ∩ B. Another notation for intersection is AB. Formally, the definition is x ∈ A ∩ B if and only if x ∈ A and x ∈ B. The set operation intersection corresponds to the logical “and” function. A Ac The complement of a set A, denoted by A c, is the set of all elements in S that are not in A. The complement of S is the null set φ. Formally, x ∈ Ac^ if and only if x ̸∈ A. A - B A fourth set operation is called the^ difference. It is a com- bination of intersection and complement. The difference between A and B is a set A − B that contains all elements of A that are not elements of B. Formally, x ∈ A − B if and only if x ∈ A and x ̸∈ B Note that A − B = A ∩ Bc^ and Ac^ = S − A. In working with probability we will frequently refer to two important properties of collec- tions of sets. Here are the definitions. A B A collection of sets A 1 ,... , An is mutually exclusive if and only if Ai ∩ A (^) j = φ, i ̸= j. (1.8) When there are only two sets in the collection, we say that these sets are disjoint. Formally, A and B are disjoint if and only if A ∩ B = φ.
A collection of sets A 1 ,... , An is collectively exhaustive if and only if A 1 ∪ A 2 ∪ · · · ∪ An = S. (1.9) In the definition of collectively exhaustive, we used the somewhat cumbersome notation A 1 ∪ A 2 ∪· · ·∪ An for the union of N sets. Just as ∑n i= 1 xi^ is a shorthand for^ x^1 +x^2 +· · ·+xn^ ,
1.2 APPLYING SET THEORY TO PROBABILITY 7 a temperature. However, it is not necessary to think about probability in physical terms. We can do all the math abstractly, just as we defined sets and set operations in the previous paragraphs without any reference to physical phenomena. Fortunately for engineers, the language of probability (including the word probability itself) makes us think of things that we experience. The basic model is a repeatable exper- iment. An experiment consists of a procedure and observations. There is uncertainty in what will be observed; otherwise, performing the experiment would be unnecessary. Some examples of experiments include
8 CHAPTER 1 EXPERIMENTS, MODELS, AND PROBABILITIES Example 1.2 Flip a coin three times. Observe the sequence of heads and tails. Example 1.3 Flip a coin three times. Observe the number of heads. These two experiments have the same procedure: flip a coin three times. They are different experiments because they require different observations. We will describe models of exper- iments in terms of a set of possible experimental outcomes. In the context of probability, we give precise meaning to the word outcome. Definition 1.1 Outcome An outcome of an experiment is any possible observation of that experiment. Implicit in the definition of an outcome is the notion that each outcome is distinguishable from every other outcome. As a result, we define the universal set of all possible outcomes. In probability terms, we call this universal set the sample space. Definition 1.2 Sample Space The sample space of an experiment is the finest-grain, mutually exclusive, collectively ex- haustive set of all possible outcomes. The finest-grain property simply means that all possible distinguishable outcomes are iden- tified separately. The requirement that outcomes be mutually exclusive says that if one outcome occurs, then no other outcome also occurs. For the set of outcomes to be collec- tively exhaustive, every outcome of the experiment must be in the sample space. Example 1.
10 CHAPTER 1 EXPERIMENTS, MODELS, AND PROBABILITIES is not a sample space for the experiment because the elements of the set do not completely describe the set of possible outcomes of the experiment. The set {G 2 , R 2 } does not have the finest-grain property. Yet sets of this type are sufficiently useful to merit a name of their own. Definition 1.4 Event Space An event space is a collectively exhaustive, mutually exclusive set of events. An event space and a sample space have a lot in common. The members of both are mutually exclusive and collectively exhaustive. They differ in the finest-grain property that applies to a sample space but not to an event space. Because it possesses the finest-grain property, a sample space contains all the details of an experiment. The members of a sample space are outcomes. By contrast, the members of an event space are events. The event space is a set of events (sets), while the sample space is a set of outcomes (elements). Usually, a member of an event space contains many outcomes. Consider a simple example: Example 1.9 Flip four coins, a penny, a nickel, a dime, and a quarter. Examine the coins in order (penny, then nickel, then dime, then quarter) and observe whether each coin shows a head (h) or a tail (t). What is the sample space? How many elements are in the sample space?.................................................................................... The sample space consists of 16 four-letter words, with each letter either h or t. For example, the outcome tthh refers to the penny and the nickel showing tails and the dime and quarter showing heads. There are 16 members of the sample space. Example 1.10 Continuing Example 1.9, let B (^) i = {outcomes with i heads}. Each Bi is an event containing one or more outcomes. For example, B 1 = {ttth, ttht, thtt, httt} contains four outcomes. The set B = {B 0 , B 1 , B 2 , B 3 , B 4 } is an event space. Its members are mutually exclusive and collectively exhaustive. It is not a sample space because it lacks the finest-grain property. Learning that an experiment produces an event B (^1) tells you that one coin came up heads, but it doesn’t tell you which coin it was. The experiment in Example 1.9 and Example 1.10 refers to a “toy problem,” one that is easily visualized but isn’t something we would do in the course of our professional work. Mathematically, however, it is equivalent to many real engineering problems. For example, observe a pair of modems transmitting four bits from one computer to another. For each bit, observe whether the receiving modem detects the bit correctly (c), or makes an error (e). Or, test four integrated circuits. For each one, observe whether the circuit is acceptable (a), or a reject (r ). In all of these examples, the sample space contains 16 four-letter words formed with an alphabet containing two letters. If we are interested only in the number of times one of the letters occurs, it is sufficient to refer only to the event space B, which does not contain all of the information about the experiment but does contain all of the information we need. The event space is simpler to deal with than the sample space because it has fewer members (there are five events in the event space and 16 outcomes in the sample space). The simplification is much more significant when the complexity of the experiment is higher. For example, in testing 20 circuits the sample space has 2^20 = 1 , 048 ,576 members, while the corresponding event space has only 21 members.
1.2 APPLYING SET THEORY TO PROBABILITY 11 A B 1 B 2 B 3 B 4 C 1 C 2 C 3 C 4 Figure 1.1 In this example of Theorem 1.2, the event space is B = {B 1 , B 2 , B 3 , B 4 } and Ci = A ∩ Bi for i = 1 ,... , 4. It should be apparent that A = C 1 ∪ C 2 ∪ C 3 ∪ C 4. The concept of an event space is useful because it allows us to express any event as a union of mutually exclusive events. We will observe in the next section that the entire theory of probability is based on unions of mutually exclusive events. The following theorem shows how to use an event space to represent an event as a union of mutually exclusive events. Theorem 1.2 For an event space B = {B 1 , B 2 ,.. .} and any event A in the sample space, let Ci = A ∩ Bi. For i ̸= j , the events Ci and C (^) j are mutually exclusive and A = C 1 ∪ C 2 ∪ · · ·. Figure 1.1 is a picture of Theorem 1.2. Example 1.11 In the coin-tossing experiment of Example 1.9, let A equal the set of outcomes with less than three heads: A = {tttt, httt, thtt, ttht, ttth, hhtt, htht, htth, tthh, thth, thht}. (1.14) From Example 1.10, let Bi = {outcomes with i heads}. Since {B 0 ,... , B 4 } is an event space, Theorem 1.2 states that A = (A ∩ B 0 ) ∪ (A ∩ B 1 ) ∪ (A ∩ B 2 ) ∪ (A ∩ B 3 ) ∪ (A ∩ B 4 ) (1.15) In this example, Bi ⊂ A, for i = 0 , 1 , 2. Therefore A ∩ Bi = Bi for i = 0 , 1 , 2. Also, for i = 3 and i = 4 , A ∩ Bi = φ so that A = B 0 ∪ B 1 ∪ B 2 , a union of disjoint sets. In words, this example states that the event “less than three heads” is the union of events “zero heads,” “one head,” and “two heads.” We advise you to make sure you understand Theorem 1.2 and Example 1.11. Many practical problems use the mathematical technique contained in the theorem. For example, find the probability that there are three or more bad circuits in a batch that comes from a fabrication machine. Quiz 1.2 Monitor three consecutive phone calls going through a telephone switching office. Classify each one as a voice call (v) if someone is speaking, or a data call (d) if the call is carrying a modem or fax signal. Your observation is a sequence of three letters (each letter is either
1.3 PROBABILITY AXIOMS 13 Theorem 1.3 For mutually exclusive events A 1 and A 2 , P [A 1 ∪ A 2 ] = P [A 1 ] + P [A 2 ]. Although it may appear that Theorem 1.3 is a trivial special case of Axiom 3,this is not so. In fact, a simple proof of Theorem 1.3 may also use Axiom 2! If you are curious, Problem 1.4. gives the first steps toward a proof. It is a simple matter to extend Theorem 1.3 to any finite union of mutually exclusive sets. Theorem 1.4 If A = A 1 ∪ A 2 ∪ · · · ∪ Am and Ai ∩ A (^) j = φ for i ̸= j , then P [A] = ∑^ m i= 1 P [Ai ]. In Chapter 7, we show that the probability measure established by the axioms corre- sponds to the idea of relative frequency. The correspondence refers to a sequential exper- iment consisting of n repetitions of the basic experiment. We refer to each repetition of the experiment as a trial. In these n trials, N (^) A (n) is the number of times that event A occurs. The relative frequency of A is the fraction N (^) A (n)/n. Theorem 7.9 proves that limn→∞ NA (n)/n = P[A]. Another consequence of the axioms can be expressed as the following theorem: Theorem 1.5 The probability of an event B = {s 1 , s 2 ,... , sm } is the sum of the probabilities of the outcomes contained in the event: P [B] = ∑^ m i= 1 P [{si }]. Proof Each outcome si is an event (a set) with the single element si. Since outcomes by definition are mutually exclusive, B can be expressed as the union of m disjoint sets: B = {s 1 }^ ∪ {s 2 }^ ∪ · · · ∪ {sm }^ (1.16) with {si } ∩ {s (^) j } = φ for i ̸= j. Applying Theorem 1.4 with Bi = {si } yields P [B] = ∑^ m i= 1 P [ {si } ]
. (1.17) Comments on Notation We use the notation P[·] to indicate the probability of an event. The expression in the square brackets is an event. Within the context of one experiment, P[A] can be viewed as a function that transforms event A to a number between 0 and 1.
14 CHAPTER 1 EXPERIMENTS, MODELS, AND PROBABILITIES Note that {si } is the formal notation for a set with the single element si. For conve- nience, we will sometimes write P[si ] rather than the more complete P[{si }] to denote the probability of this outcome. We will also abbreviate the notation for the probability of the intersection of two events, P[A ∩ B]. Sometimes we will write it as P[A, B] and sometimes as P[AB]. Thus by definition, P[A ∩ B] = P[A, B] = P[AB]. Example 1.12 Let Ti denote the duration (in minutes) of the ith phone call you place today. The probability that your first phone call lasts less than five minutes and your second phone call lasts at least ten minutes is P[T 1 < 5 , T 2 ≥ 10 ]. Equally Likely Outcomes A large number of experiments have a sample space S = {s 1 ,... , sn } in which our knowl- edge of the practical situation leads us to believe that no one outcome is any more likely than any other. In these experiments we say that the n outcomes are equally likely. In such a case, the axioms of probability imply that every outcome has probability 1/n. Theorem 1.6 For an experiment with sample space S = {s 1 ,... , sn } in which each outcome si is equally likely, P [si ] = 1 /n 1 ≤ i ≤ n. Proof Since all outcomes have equal probability, there exists p such that P[si ] = p for i = 1 ,... , n. Theorem 1.5 implies P [S] = P [ s 1 ]
.................................................................................... The probability of each outcome is P [i] = 1 / 6 i = 1 , 2 ,... , 6. (1.19) The probabilities of the three events are