Docsity

ProbabilityRandomProcessesBook, Cheat Sheet of Stochastic Processes

Toggle sidebar
bg1
Preface
This book is intended to be used as a text for either undergraduate level
(junior/senior) courses in probability or introductory graduate level courses in
random processes that are commonly found in Electrical Engineering curricula.
While the subject matter is primarily mathematical, it is presented for engineers.
Mathematics is much like a well-crafted hammer. We can hang the tool on our wall
and step back and admire the fine craftmanship used to construct the hammer, or
we can pick it up and use it to pound a nail into the wall. Likewise, mathematics
can be viewed as an art form or a tool. We can marvel at the elegance and rigor, or
we can use it to solve problems. It is for this latter purpose that the mathematics is
presented in this book. Instructors will note that there is no discussion of algebras,
Borel fields, or measure theory in this text. It is our belief that the vast majority of
engineering problems regarding probability and random processes do not require
this level of rigor. Rather, we focus on providing the student with the tools and
skills needed to solve problems. Throughout the text we have gone to great effort
to strike a balance between readability and sophistication. While the book provides
enough depth to equip students with the necessary tools to study modern commu-
nication systems, control systems, signal processing techniques, and many other
applications, concepts are explained in a clear and simple manner that makes the
text accessible as well.
It has been our experience that most engineering students need to see how the
mathematics they are learning relates to engineering practice. Toward that end, we
have included numerous engineering application sections throughout the text to
help the instructor tie the probability theory to engineering practice. Many of these
application sections focus on various aspects of telecommunications since this com-
munity is one of the major users of probability theory, but there are applications to
xi
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download ProbabilityRandomProcessesBook and more Cheat Sheet Stochastic Processes in PDF only on Docsity!

Preface

This book is intended to be used as a text for either undergraduate level (junior/senior) courses in probability or introductory graduate level courses in random processes that are commonly found in Electrical Engineering curricula. While the subject matter is primarily mathematical, it is presented for engineers. Mathematics is much like a well-crafted hammer. We can hang the tool on our wall and step back and admire the fine craftmanship used to construct the hammer, or we can pick it up and use it to pound a nail into the wall. Likewise, mathematics can be viewed as an art form or a tool. We can marvel at the elegance and rigor, or we can use it to solve problems. It is for this latter purpose that the mathematics is presented in this book. Instructors will note that there is no discussion of algebras, Borel fields, or measure theory in this text. It is our belief that the vast majority of engineering problems regarding probability and random processes do not require this level of rigor. Rather, we focus on providing the student with the tools and skills needed to solve problems. Throughout the text we have gone to great effort to strike a balance between readability and sophistication. While the book provides enough depth to equip students with the necessary tools to study modern commu- nication systems, control systems, signal processing techniques, and many other applications, concepts are explained in a clear and simple manner that makes the text accessible as well. It has been our experience that most engineering students need to see how the mathematics they are learning relates to engineering practice. Toward that end, we have included numerous engineering application sections throughout the text to help the instructor tie the probability theory to engineering practice. Many of these application sections focus on various aspects of telecommunications since this com- munity is one of the major users of probability theory, but there are applications to

xi

xii Preface

other fields as well. We feel that this aspect of the text can be very useful for accred- itation purposes for many institutions. The Accreditation Board for Engineering and Technology (ABET) has stated that all electrical engineering programs should provide their graduates with a knowledge of probability and statistics including applications to electrical engineering. This text provides not only the probability theory, but also the applications to electrical engineering and a modest amount of statistics as applied to engineering. A key feature of this text, not found in most texts on probability and random processes, is an entire chapter devoted to simulation techniques. With the advent of powerful, low-cost, computational facilities, simulations have become an integral part of both academic and industrial research and development. Yet, many stu- dents have major misconceptions about how to run simulations. Armed with the material presented in our chapter on simulation, we believe students can perform simulations with confidence. It is assumed that the readers of this text have a background consistent with typical junior level electrical engineering curricula. In particular, the reader should have a knowledge of differential and integral calculus, differential equations, lin- ear algebra, complex variables, discrete math (set theory), linear time-invariant systems, and Fourier transform theory. In addition, there are a few sections in the text that require the reader to have a background in analytic function the- ory (e.g., parts of Section 4.10), but these sections can be skipped without loss of continuity. While some appendices have been provided with a review of some of these topics, these presentations are intended to provide a refresher for those who need to “brush up” and are not meant to be a substitute for a good course. For undergraduate courses in probability and random variables, we recommend instructors cover the following sections:

Chapters 1–3: all sections, Chapter 4: sections 1–6, Chapter 5: sections 1–7 and 9, Chapter 6: sections 1–3, Chapter 7: sections 1–5.

These sections, along with selected application sections, could easily be covered in a one semester course with a comfortable pace. For those using this text in grad- uate courses in random processes, we recommend that instructors briefly review Chapters 1–7 focussing on those concepts not typically taught in an undergraduate course (e.g., Sections 4.7–4.10, 5.8, 5.10, 6.4, and 7.6) and then cover selected topics of interest from Chapters 8–12.

Introduction 1

The study of probability, random variables, and random processes is fundamental to a wide range of disciplines. For example, many concepts of basic probability can be motivated through the study of games of chance. Indeed, the foundations of probability theory were originally built by a mathematical study of games of chance. Today, a huge gambling industry is built on a foundation of probability. Casinos have carefully designed games that allow players to win just enough to keep them hooked, while keeping the odds balanced slightly in favor of the “house.” By nature, the outcomes of these games are random, but the casino owners fully understand that as long as the players keep playing, the theory of probabil- ity guarantees—with very high probability—that the casino will always come out ahead. Likewise, those playing the games may be able to increase their chances of winning by understanding and using probability. In another application of probability theory, stock investors spend a great deal of time and effort trying to predict the random fluctuations in the market. Day traders try to take advantage of the random fluctuations that occur on a daily basis, whereas long-term investors try to benefit from the gradual trends that unfold over a much longer time period. These trends and fluctuations are random in nature and hence can be described only in a probabilistic fashion. Another business built on managing random occurrences is the insurance industry. Insurance premiums are calculated based on a careful study of the probabilities of various events happening. For example, the car insurance salesman has carefully evaluated the inherent risk of various classes of drivers and will adjust the premiums of each class according to the probabilities that those drivers will have an accident. In yet another application, a meteorologist tries to predict future weather events based on current and past meteorological conditions. Since these events are random, the weather forecast will often be presented in terms of probabilities (e.g., there is a 40 percent chance, or probability, of rain on Tuesday).

1

2 Chapter 1 Introduction

Since the theory of probability and random processes finds such a wide range of applications, students require various levels of understanding depending on the particular field they are preparing to enter. For those who wish to improve their proficiency at card games, a firm understanding of discrete probability may be sufficient. Those going into operations management need to understand queueing theory and therefore Markov and related random processes. A telecommunications engineer needs to have a firm understanding of models of noise and the design of systems to minimize the effects of noise. This book is not intended to serve the needs of all disciplines, but rather is focused on preparing students entering the fields of electrical and computer engineering. One of the main goals of the text is to prepare the student to study random signals and systems. This material is fundamental to the study of digital signal processing (voice, image, video, etc.), communications sys- tems and networks, radar systems, power systems, and many other applications within the engineering community. With this readership in mind, a background consistent with most electrical and computer engineering curricula is assumed. That is, in addition to fundamental mathematics including calculus, differen- tial equations, linear algebra, and complex variables, the student is assumed to be familiar with the study of deterministic signals and systems. We understand that some readers may be very strong in these areas, while others may need to “brush up.” Accordingly, we have included a few appendices that may help those who need a refresher and also provide a quick reference for significant results. Throughout the text, the reader will find many examples and exercises that utilize MATLAB. MATLAB is a registered trademark of the MathWorks, Inc.; it is a technical software computing environment. Our purpose for introducing computer-based examples and problems is to expand our capabilities so that we may solve problems too tedious or complex to do via hand calculations. Furthermore, MATLAB has nice plotting capabilities that can greatly assist the visualization of data. MATLAB is used extensively in practice throughout the engineering community; therefore, we feel it is useful for engineering students to gain exposure to this important software package. Examples in the text that use MATLAB are clearly marked with a small computer logo. Before diving into the theory of discrete probability in the next chapter, we first provide a few illustrations of how the theory of probability and random processes is used in several engineering applications. At the end of each subsequent chapter, the reader will find engineering application sections that illustrate how the material presented in that chapter is used in the real world. These sections can be skipped without losing any continuity, but we recommend that the reader at least skim through the material.

4 Chapter 1 Introduction

Templates

Vocabulary hello

Speaker 1 (male)

Speaker 2 (male)

Speaker 3 (female)

Speaker 4 (child)

yes

no

bye

Figure 1.2 Variations in speech templates for different speakers.

1.2 A Radar System

A classical problem drawing heavily on the theory of probability and random processes is that of signal detection and estimation. One example of such a problem is a simple radar system, such as might be used at an airport to track local air traffic. A known signal is converted to an electromagnetic wave and propagated via an antenna. This wave will reflect off an aircraft and return back to the antenna, where the signal is processed to gather information about the aircraft. In addition to being corrupted by a random noise and interference process, the returning signal itself may exhibit randomness. First, we must determine if there is a reflected signal present. Usually, we attempt to maximize the probability of correctly detecting an aircraft subject to a certain level of false alarms. Once we decide that the aircraft is there, we attempt to estimate various random parameters of the reflected signal to obtain information about the aircraft. From the time of arrival of the reflected signal, we can estimate the distance of the aircraft from the radar site. The fre- quency of the returned signal will indicate the speed of the aircraft. Since the desired signal is corrupted by noise and interference, we can never estimate these various parameters exactly. Given sufficiently accurate models for these random

1.3 A Communication Network 5

Figure 1.3 A radar system.

disturbances, however, we can devise procedures for providing the most accurate estimates possible. We can also use the theory of probability and random processes to analyze the performance of our system.

1.3 A Communication Network

Consider a node in a computer communication network, such as that depicted in Figure 1.4, that receives packets of information from various sources and must forward them along toward their ultimate destinations. Typically, the node has a

Figure 1.4 Nodes and links in a communications network.

Introduction to Probability

Theory^2

Many electrical engineering students have studied, analyzed, and designed systems from the point of view of steady-state and transient signals using time domain or frequency domain techniques. However, these techniques do not provide a method for accounting for variability in the signal nor for unwanted disturbances such as interference and noise. We will see that the theory of prob- ability and random processes is useful for modeling the uncertainty of various events (e.g., the arrival of telephone calls and the failure of electronic components). We also know that the performance of many systems is adversely affected by noise, which may often be present in the form of an undesired signal that degrades the performance of the system. Thus, it becomes necessary to design systems that can discriminate against noise and enhance a desired signal. How do we distinguish between a deterministic signal or function and a stochas- tic or random phenomenon such as noise? Usually, noise is defined to be any undesired signal, which often occurs in the presence of a desired signal. This def- inition includes deterministic as well as nondeterministic signals. A deterministic signal is one that may be represented by parameter values, such as a sinusoid, which may be perfectly reconstructed given an amplitude, frequency, and phase. Stochastic signals, such as noise, do not have this property. While they may be approximately represented by several parameters, stochastic signals have an ele- ment of randomness that prevents them from being perfectly reconstructed from a past history. As we saw in Chapter 1 (Figure 1.2), even the same word spoken by different speakers is not deterministic; there is variability, which can be modeled as a random fluctuation. Likewise, the amplitude and/or phase of a stochastic signal cannot be calculated for any specified future time instant, even though the entire past history of the signal may be known. However, the amplitude and/or phase of a random signal can be predicted to occur with a specified probability, provided

7

8 Chapter 2 Introduction to Probability Theory

certain factors are known. The theory of probability provides a tool to model and analyze phenomena that occur in many diverse fields, such as communications, signal processing, control, and computers. Perhaps the major reason for study- ing probability and random processes is to be able to model complex systems and phenomena.

2.1 Experiments, Sample Spaces, and

Events

The relationship between probability and gambling has been known for some time. Over the years, some famous scientists and mathematicians have devoted time to probability: Galileo wrote on dice games; Laplace worked out the probabilities of some gambling games; and Pascal and Bernoulli, while studying games of chance, contributed to the basic theory of probability. Since the time of this early work, the theory of probability has become a highly developed branch of mathematics. Throughout these beginning sections on basic probability theory, we will often use games of chance to illustrate basic ideas that will form the foundation for more advanced concepts. To start with, we will consider a few simple definitions.

DEFINITION 2.1: An experiment is a procedure we perform (quite often hypothe- tical) that produces some result. Often the letter E is used to designate an experiment (e.g., the experiment E 5 might consist of tossing a coin five times).

DEFINITION 2.2: An outcome is a possible result of an experiment. The Greek letter xi (ξ ) is often used to represent outcomes (e.g., the outcome ξ 1 of experiment E 5 might represent the sequence of tosses heads-heads-tails-heads-tails; however, the more concise HHTHT might also be used).

DEFINITION 2.3: An event is a certain set of outcomes of an experiment (e.g., the event C associated with experiment E 5 might be C = {all outcomes consisting of an even number of heads}).

DEFINITION 2.4: The sample space is the collection or set of “all possible” distinct (collectively exhaustive and mutually exclusive) outcomes of an experiment. The letter S is used to designate the sample space, which is the universal set of outcomes of an experiment. A sample space is called discrete if it is a finite or a countably infinite set. It is called continuous or a continuum otherwise.

10 Chapter 2 Introduction to Probability Theory

identical, namely, the same as Example 2.2. We may now consider the sample space, S , of the original experiment to be the combination of the sample spaces, S 1 and S 2 , which consists of all possible combinations of the elements of both S 1 and S 2. This is an example of a combined sample space.

EXAMPLE 2.4: For our fourth experiment, let us flip a coin until a tails occurs. The experiment is then terminated. The sample space consists of a collection of sequences of coin tosses. Label these outcomes as ξ n , n = 1, 2, 3,.... The final toss in any particular sequence is a tail and terminates the sequence. The preceding tosses prior to the occurrence of the tail must be heads. The possible outcomes that may occur are

ξ 1 = ( T ), ξ 2 = ( H , T ), ξ 3 = ( H , H , T ),....

Note that in this case, n can extend to infinity. This is another example of a combined sample space resulting from conducting independent but identical experiments. In this example, the sample space is countably infinite, while the previous sample spaces were finite.

EXAMPLE 2.5: As a last example, consider a random number genera- tor that selects a number in an arbitrary manner from the semi-closed interval [0, 1). The sample space consists of all real numbers, x , for which 0 ≤ x < 1. This is an example of an experiment with a continuous sample space. We can define events on a continuous space as well, such as A = { x < 1/2}, B = {| x − 1/2| < 1/4}, C = { x = 1/2}. Other examples of experiments with continuous sample spaces include the measurement of the voltage of thermal noise in a resistor or the measurement of the ( x , y , z ) position of an oxygen molecule in the atmosphere. Examples 2.1 to 2.4 illustrate discrete sample spaces.

There are also infinite sets that are uncountable and that are not continuous, but these sets are beyond the scope of this book. So for our purposes, we will consider only the preceding two types of sample spaces. It is also possible to have a sample

2.2 Axioms of Probability 11

space that is a mixture of discrete and continuous sample spaces. For the remainder of this chapter, we shall restrict ourselves to the study of discrete sample spaces. A particular experiment can often be represented by more than one sample space. The choice of a particular sample space depends upon the questions that are to be answered concerning the experiment. This is perhaps best explained by recalling Example 2.3 in which a pair of dice was rolled. Suppose we were asked to record after each roll the sum of the numbers shown on the two faces. Then, the sample space could be represented by only eleven outcomes, ξ 1 = 2, ξ 2 = 3, ξ 3 = 4,... , ξ 11 = 12. However, the original sample space is in some way more fundamental, since the sum of the die faces can be determined from the numbers on the die faces. If the second representation is used, it is not sufficient to specify the sequence of numbers that occurred from the sum of the numbers.

2.2 Axioms of Probability

Now that the concepts of experiments, outcomes, and events have been introduced, the next step is to assign probabilities to various outcomes and events. This requires a careful definition of probability. The words probability and probable are commonly used in everyday language. The meteorologist on the evening news may say that rain is probable for tomorrow or he may be more specific and state that the chance (or probability) of rain is 70 percent. Although this sounds like a precise statement, we could interpret it in several ways. Perhaps it means that about 70 percent of the listening audience will experience rain. Or, maybe if tomorrow could be repeated many times, 70 percent of the tomorrows would have rain while the other 30 percent would not. Of course, tomorrow cannot be repeated and this experiment can be run only once. The outcome will be either rain or no rain. The meteorologist may like this interpretation since there is no way to repeat the experiment enough times to test the accuracy of the prediction. However, there is a similar interpretation that can be tested. We might say that any time a day with similar meteorological conditions presents itself, the following day will have rain 70 percent of the time. In fact, it may be his or her past experience with the given meteorological conditions that led the meteorologist to the prediction of a 70 percent chance of rain. It should be clear from our everyday usage of the word probability that it is a measure of the likelihood of various events. So, in general terms, probability is a function of an event that produces a numerical quantity that measures the like- lihood of that event. There are many ways to define such a function, which we could then call probability. In fact, we will find several ways to assign probabilities

2.2 Axioms of Probability 13

AXIOM 2.3b: For an infinite number of mutually exclusive sets, A (^) i , i = 1, 2, 3,... , Ai ∩ A (^) j = Ø for all i = j ,

Pr

i = 1

A (^) i

i = 1

Pr( A (^) i ). (2.2)

It should be noted that Axiom 2.3a and Corollary 2.1 could be viewed as special cases of Axiom 2.3b. So, a more concise development could be obtained by starting with Axioms 2.1, 2.2, and 2.3b. This may be more pleasing to some, but we believe the approach given here is a little easier to follow for the student learning the material for the first time. The preceding axioms do not tell us directly how to deal with the probability of the union of two sets that are not mutually exclusive. This can be determined from these axioms as follows.

THEOREM 2.1: For any sets A and B (not necessarily mutually exclusive),

Pr( A ∪ B ) = Pr( A ) + Pr( B ) − Pr( A ∩ B ). (2.3)

PROOF: We give a visual proof of this important result using the Venn diagram shown in Figure 2.1. To aid the student in the type of reasoning needed to complete proofs of this type, it is helpful to think of a pile of sand lying in the sample space shown in Figure 2.1. The probability of the event A would then be analogous to the mass of that subset of the sand pile that is above the region A and likewise for the probability of the event B. For the union of the two events, if we simply added the mass of the sand above A to the mass of the sand above B , we would double count that region that is common to both sets. Hence, it is necessary to subtract the

S

A ∩ B

A

B

Figure 2.1 Venn diagram for proof of Theorem 2.1.

14 Chapter 2 Introduction to Probability Theory

probability of A ∩ B. We freely admit that this proof is not rigorous. It is possible to prove Theorem 2.1 without having to call on our sand analogy or even the use of Venn diagrams. The logic of the proof will closely follow what we have done here. The reader is led through that proof in Exercise 2.2. 

Many other fundamental results can also be obtained from the basic axioms of probability. A few simple ones are presented here. More will be developed later in this chapter and in subsequent chapters. As with Theorem 2.1, it might help the student to visualize these proofs by drawing a Venn diagram.

THEOREM 2.2: Pr( A ) = 1 − Pr( A ).

PROOF:^1 =^ Pr( S )^ =^ Pr( A^ ∪^ A )^ (by Axiom 2.2) = Pr( A ) + Pr( A ) (by Axiom 2.3a)

∴ Pr( A ) = 1 − Pr( A ). 

THEOREM 2.3: If A ⊂ B , then Pr( A ) ≤ Pr( B ).

PROOF: See Exercise 2.4. 

2.3 Assigning Probabilities

In the previous section, probability was defined as a measure of the likelihood of an event or events that satisfy the three Axioms 2.1–2.3. How probabilities are assigned to particular events was not specified. Mathematically, any assignment that satisfies the given axioms is acceptable. Practically speaking, we would like to assign probabilities to events in such a way that the probability assignment actually represents the likelihood of occurrence of that event. Two techniques are typically used for this purpose and are described in the following paragraphs. In many experiments, it is possible to specify all of the outcomes of the exper- iment in terms of some fundamental outcomes, which we refer to as atomic outcomes. These are the most basic events that cannot be decomposed into simpler events. From these atomic outcomes, we can build more complicated and more interesting events. Quite often we can justify assigning equal probabilities to all atomic outcomes in an experiment. In that case, if there are M mutually exclusive exhaustive atomic events, then each one should be assigned a probability of 1/ M. Not only does this make perfect common sense, it also satisfies the mathematical

16 Chapter 2 Introduction to Probability Theory

EXAMPLE 2.8: In Example 2.3, a pair of dice were rolled. In this exper- iment, the most basic outcomes are the 36 different combinations of the six atomic outcomes of the previous example. Again, each of these atomic outcomes is assigned a probability of 1/36. Next, suppose we want to find the probability of the event A = {sum of two dice = 5}. Then,

Pr( A ) = Pr((1, 4) ∪ (2, 3) ∪ (3, 2) ∪ (4, 1)) = Pr(1, 4) + Pr(2, 3) + Pr(3, 2) + Pr(4, 1) (by Corollary 2.1) = 1/36 + 1/36 + 1/36 + 1/36 (by probability assignment) = 1/9.

EXAMPLE 2.9: In this example we will use the MATLAB com- mand rand to simulate the flipping of coins and the rolling of dice. The command rand(m,n) creates a matrix of m rows and n columns, where each element of the matrix is a randomly selected number equally likely to fall anywhere in the interval (0,1). By rounding this number to the nearest integer, we can create a randomly selected number equally likely to be 0 or 1. This can be used to simulate the flipping of a coin if we interpret 0 as “tails” and 1 as “heads” or vice versa. Similarly, if we multiply rand(1) by 6 and round up to the nearest integer, we will get one of the numbers 1, 2,... , 6 with equal probability. This can be used to simulate the rolling of a die. Try running the following script in MATLAB.

% Simulation of coin flipping and die tossing. coin_flip=round(rand(1)) % Simulate flip of a coin. die_toss=ceil(6rand(1)) % Simulate toss of one die. dice_toss=ceil(6rand(1,2)) % Simulate toss of two dice.

You should find that each time you run this script, you get different (random) looking results. With any MATLAB command, if you want more information on what the command does, type help followed by the command name at the MATLAB prompt for detailed information on that command. For example, to get help on the rand command, type help rand.

Care must be taken when using the classical approach to assigning probabil- ities. If we define the set of atomic outcomes incorrectly, unsatisfactory results

2.3 Assigning Probabilities 17

may occur. In Example 2.8, we may be tempted to define the set of atomic outcomes as the different sums that can occur on the two die faces. If we assign equally likely probability to each of these outcomes, then we arrive at the assignment

Pr(sum = 2) = Pr(sum = 3) = · · · = Pr(sum = 12) = 1/11. (2.5)

Anyone with experience in games involving dice knows that the likelihood of rolling a 2 is much lower than the likelihood of rolling a 7. The problem here is that the atomic events we have assigned are not the most basic outcomes and can be decomposed into simpler outcomes, as demonstrated in Example 2.8. This is not the only problem encountered in the classical approach. Suppose we consider an experiment that consists of measuring the height of an arbitrarily chosen student in your class and rounding that measurement to the nearest inch. The atomic outcomes of this experiment would consist of all the heights of the students in your class. However, it would not be reasonable to assign an equal probability to each height. Those heights corresponding to very tall or very short students would be expected to be less probable than those heights corresponding to a medium height. So, how then do we assign probabilities to these events? The problems associated with the classical approach to assigning probabilities can be overcome by using the relative frequency approach. The relative frequency approach requires that the experiment we are concerned with be repeatable, in which case, the probability of an event, A , can be assigned by repeating the experiment a large number of times and observing how many times the event A actually occurs. If we let n be the number of times the experiment is repeated and nA be the number of times the event A is observed, then the probability of the event A can be assigned according to

Pr( A ) = (^) n lim→∞

n (^) A n

This approach to assigning probability is based on experimental results and thus has a more practical flavor to it. It is left as an exercise for the reader (see Exercise 2.6) to confirm that this method does indeed satisfy the axioms of probability and is thereby mathematically correct as well.

EXAMPLE 2.10: Consider the dice rolling experiment of Exam- ples 2.3 and 2.8. We will use the relative frequency approach to assign the probability of the event, A = {sum of two dice = 5}. We simulated the tossing of two dice using the following MATLAB code. The results of this dice tossing simulation are shown in Table 2.1.