Introduction To Probability
Introduction To Probability
Introduction To Probability
Introduction to
Probability
Probability is the study of random or nondeterministic
experiments.
If a die is tossed in the air, then it is certain that the die will
come down, but it is not certain that, say, a 6 will appear.
However, suppose we repeat this experiment of tossing a die;
let be the number of successes, i.e. the number of times a 6
appears, and let be the number of tosses. Then it has been
empirically observed that the ratio , called the relative
frequency, becomes stable in the long run, i.e. approaches a
limit. This stability is the basis of probability theory.
Historically, probability theory began with the study of
Example
set operations:
i. is the event that occurs iff occurs or occurs (or both);
ii. is the event that occurs iff occurs and occurs;
iii. is the complement of , is the event that occurs iff does
not occur.
Two events and are called mutually exclusive if they are
Toss a die and observe the number that appears on top. Then
the sample space consists of the six possible numbers:
- the event that an even or a prime number occurs;
- the event that an odd prime number occurs;
- the event that a prime number does not occur.
, Thus and are mutually exclusive. in other words, an even number and
an odd number cannot occur simultaneously.
Example 3.2
Toss a coin until a head appears and then count the number of
times the coin was tossed. The sample space of this
experiment is
Here refers to the case when a head never appears and so the
coin is tossed an infinite number of times. This is an example of
a sample space which is countably infinite.
Example 3.4
Proof:
by []
Theorem 3.2: If is the complement of an event , then .
Proof:
by []
by []
Theorem 3.3: If , then .
Proof:
Proof:
by []
or
Theorem 3.5: If
Proof:
by []
by T 3.4
Let A be the event that at least one head appears and let B be
the event that all heads or all tails appear:
Example 3.6: Three horses A, B and C are in a race; A is twice as
likely to win as B and B is twice as likely to win as C. What are
their respective probabilities of winning, i.e. P(A),P(B) and P(C)?
Solution:
Answers:
Example 3.8: Let 2 items be chosen at random from a lot containing
12 items of which 4 are defective. Let A = {both items are defective}
and B = {both items are non-defective}. Find P(A) and P(B).
Solution:
Thus, the odds that that at least one item is defective is or 19:14.
Example 3.9: (Classical Birthday Problem.) We seek the probability p
that n people have distinct birthdays.
(In solving this problem, we ignore leap years and assume that a
person’s birthday can fall on any day with the same probability)
Since there are n people and 365 different days, there are ways in
which the n people can have their birthdays. On the other hand, if the n
persons are to have distinct birthdays, then the first person can be born
on any of the 365 days, the second person can be born on the
remaining 364 days, the third person can be born on the remaining 363
days, etc. Thus, there are
ways the n persons can have distinct birthdays.
Example 3.9: (Classical Birthday Problem.) We seek the probability p
that n people have distinct birthdays.
Accordingly,
people, it is more likely that at least two of them have the same
birthday than that they all have distinct birthdays.
INFINITE SAMPLE SPACES
tossing a coin till a head appears; here denotes the number of times
the coin is tossed. A probability space is obtained by setting
, ,…, ,…,
The only uncountable sample spaces which we will consider here
are those with some finite geometrical measurement such as length,
area or volume, and in which a point is selected a t random. The
probability of an event , i.e. that the selected point belongs
to , is then the ratio of to ; that is,
or or
Such a probability space is said t o be uniform.
Example 3.11: On the real line , points and are selected at random
such that and , as shown below. Find the probability that the distance
between and is greater than 3.
End of Chapter 3 discussion
Conditional
Probability and
Independence
CONDITIONAL PROBABILITY
That is
Or
Example 4.1: Let a pair of f a i r dice be tossed. If the sum is 6, find
both children are boys if (i) we are given that the younger child is a
boy, (ii) we are given that (at least) one of the children is a boy.
The sample space for the sex of two children is with probability for
each point. (Here the sequence of each point corresponds to the
sequence of births.)
PROBABILITY
If we cross multiply the above equation defining conditional
probability and use the fact that , we obtain the following useful
formula.
Theorem 4.2:
items are drawn at random from the lot one after the other. Find the
probability p that all three are nondefective.
The probability that the first item is nondefective is since 8 of 12
items are nondefective. If the first item is nondefective, then the
probability that the next item is nondefective is since only 7 of the
remaining 11 items are nondefective.
If the first two items are nondefective, then the probability that the
last item is nondefective is since only 6 of the remaining 10 items are
now nondefective. Thus by the multiplication theorem,
FINITE STOCHASTIC PROCESSES AND TREE DIAGRAMS
A (finite) sequence of experiments in which each experiment has a
finite number of outcomes with given probabilities is called a (finite)
stochastic process.
A convenient way of describing such a process and computing the
probability of any event is by a tree diagram; the multiplication
theorem of the previous section is used to compute the probability that
the result represented by any given path of the tree does occur.
Example 4.4: We are given three boxes as follows: Box I has 10 light
bulbs of which 4 are defective. Box II has 6 light bulbs of which 1 is
defective. Box III has 8 light bulbs of which 3 are defective. We select
a box at random and then draw a bulb at random. What is the
probability p that the bulb is defective?
Example 4.4: We are given three boxes as follows: Box I has 10 light
bulbs of which 4 are defective. Box II has 6 light bulbs of which 1 is
defective. Box III has 8 light bulbs of which 3 are defective. We select
a box at random and then draw a bulb at random. What is the
probability p that the bulb is defective?
1 2 1 1 1 3
𝑝= ∙ + ∙ + ∙
3 5 3 6 3 8
2 1 1
𝑝= + +
15 18 8
48+20+45 113
𝑝= =
360 360
Example 4.5: A coin, weighted so that P(H) = 2/8 and P(T) = 1/8, is
tossed. If heads appears, then a number is selected at random from
the numbers 1 through 9; if tails appears, then a number is selected
at random from the numbers 1 through 5. Find the probability p that
an even number is selected.
2 4 1 2
𝑝=𝑃 ( 𝐸 )= ∙ + ∙
3 9 3 5
8 2
𝑝= +
27 15
40 +18 58
𝑝= =
135 135
PARTITIONS AND BAYES' THEOREM
Suppose the events , form a partition of a sample space ; that is, the
events are mutually exclusive and their union is . Now let be any
other event. Then
defined by
By Bayes’ theorem
. 5(.03) 0.015 1000 15
𝑃 ( 𝐴|𝐵 ) = = ∙ =
.5 ( .03 ) +.3 ( .04 )+.2(.05) 0.037 1000 37
INDEPENDENCE
Definition:
,
,
,
Then ,
,
Example 4.8: Let a fair coin be tossed three times; we obtain the
, ,
, ,
probability that B hits it is 2/5. What is the probability that the target
will be hit if A and B each shoot at the target?
; and , and .
A = {HH, HT}
B = {HH, TH}
C = {HT, TH}
and
, ,
, ,
, 1st condition is satisfied.
. 2nd condition is not satisfied. Thus, events A, B and C are not
independent.
INDEPENDENT OR REPEATED TRIALS
We have previously discussed probability spaces which were
associated with an experiment repeated a finite number of times, as the
tossing of a coin three times. This concept of repetition is formalized
as follows:
Definition:
For notational convenience, we have written ac for the ordered pair (a,
c). The probability of each point in T is
, , , , , , , ,
Thus, the probability of c winning the 1st race and a winning the 2nd
race is P(ca)=1/12
From another point of view, a
repeated trials process is a
stochastic process whose tree
diagram has the following
properties: (i) every branch point
has the same outcomes; (ii) the
probability is the same for each
branch leading to the same
outcome. For example, the tree
diagram of the repeated trials
process of the preceding
experiment is as shown in the
adjoining figure.
End of Chapter 4 discussion