SlideShare a Scribd company logo
1 of 42
1
1. Basics
Probability theory deals with the study of random
phenomena, which under repeated experiments yield
different outcomes that have certain underlying patterns
about them. The notion of an experiment assumes a set of
repeatable conditions that allow any number of identical
repetitions. When an experiment is performed under these
conditions, certain elementary events occur in different
but completely uncertain ways. We can assign nonnegative
number as the probability of the event in various
ways:
),
( i
P 
i

i

PROBABILITY THEORY
2
Laplace’s Classical Definition: The Probability of an
event A is defined a priori without actual experimentation
as
provided all these outcomes are equally likely.
Consider a box with n white and m red balls. In this case,
there are two elementary outcomes: white ball or red ball.
Probability of “selecting a white ball”
We can use above classical definition to determine the
probability that a given number is divisible by a prime p.
,
outcomes
possible
of
number
Total
to
favorable
outcomes
of
Number
)
(
A
A
P 
.
m
n
n


(1-1)
3
If p is a prime number, then every pth number (starting
with p) is divisible by p. Thus among p consecutive integers
there is one favorable outcome, and hence
Relative Frequency Definition: The probability of an
event A is defined as
where nA is the number of occurrences of A and n is the
total number of trials.
We can use the relative frequency definition to derive
(1-2) as well. To do this we argue that among the integers
the numbers are divisible by p.
 
1
P a given number is divisible by a prime p
p
 (1-2)
n
n
A
P A
n
lim
)
(


 (1-3)
1, 2, 3, , ,
n 2
, ,
p p
4
Thus there are n/p such numbers between 1 and n. Hence
In a similar manner, it follows that
and
The axiomatic approach to probability, due to Kolmogorov,
developed through a set of axioms (below) is generally
recognized as superior to the above definitions, (1-1) and
(1-3), as it provides a solid foundation for complicated
applications.
 
/ 1
.
lim
n
n p
n p
P a given number N is divisible by a prime p


 (1-4)
 
2
2
1
P p divides any given number N
p

(1-6)
(1-5)
 
1
.
P pq divides any given number N
pq

5
The totality of all known a priori, constitutes a set ,
the set of all experimental outcomes.
 has subsets Recall that if A is a subset of
, then implies From A and B, we can
generate other related subsets etc.
,
i

 

 ,
,
,
, 2
1 k




 (1-7)
A

 .



.
,
,
, 
C
B
A
,
,
,
, B
A
B
A
B
A 

(1-8)
and
 
 
B
A
B
A
B
A
B
A














and
|
or
|
 
A
A 
 
 |
6
7
Example 2.1: Denote by fi the faces of a die. These faces are the
elements of a set S = {f1, f2, . . . , f6}. S has 2**6 = 64 subsets
including the empty set and the sample space S which is a set:
{φ}, {f1}, . . . , {f1, f2}, . . . , {f1, f2, f3}, . . . , S. How can be proved
that the number of subsets of S with n elements equals 2**n?
Example 2.2: Suppose that a coin is tossed twice, then S = {HH,
HT, TH, TT}. S has 2**4 = 16 subsets.
A = {heads at the first toss} = {HH, HT}, B = {only one head
showed} = {HT, TH}.
C = {heads show at least once} = {HH, HT, TH}
Example 2.3: S is the set of all points in the square, its elements are
all ordered pairs of numbers (x, y) with 0 ≤ x ≤ T and 0 ≤ y ≤ T.
A subset of S consisting of all points (x, y) such that –b ≤ x – y ≤ a
describes A in terms of the properties of x and y as in A, B, C above
8
Set Operations
- B is a subset of A: B ⊂ A
- Transitivity: if C ⊂ B and B ⊂ A then C ⊂ A
- Equality A = B if and only if A ⊂ B and B ⊂ A
- The unión A U B is conmutative A U B = B U A and associative
A U B U C = (A U B) U C = A U (B U C)
- The intersection AB is conmutative AB = BA , and associative
(AB)C = A(BC) and distributive A(B U C) = AB U AC
- Mutually exclusive sets or disjoints AB = {φ}
- Several sets A1, A2, ….., are called mutually exclusive if AiAj = {φ}
for every i, j i ≠ j
- Complement A´ of A consists of all elements of S that are not in A:
A U A´ = S, AA´ = {φ}, (A´)´ = A , S´ = {φ}, {φ}´ = S
- If B ⊂ A then A´ ⊂ B´, if A = B then A´ = B´
9
A B
B
A
A B A
B
A A
• If the empty set, then A and B are
said to be mutually exclusive (M.E).
• A partition of  is a collection of mutually exclusive
subsets of  such that their union is .
,


 B
A
.
and
,
1






i
i
j
i A
A
A 
B
A


 B
A
1
A
2
A
n
A
i
A
A
(1-9)
j
A
Fig. 1.2
Fig.1.1
10
De-Morgan’s Laws:
B
A
B
A
B
A
B
A 




 ;
A B
B
A
A B
B
A
A B
B
A
A B
• Often it is meaningful to talk about at least some of the
subsets of  as events, for which we must have mechanism
to compute their probabilities.
Example 1.1: Consider the experiment where two coins are
simultaneously tossed. The various elementary events are
Fig.1.3
(1-10)
11
 .
,
,
, 4
3
2
1 





)
,
(
),
,
(
),
,
(
),
,
( 4
3
2
1 T
T
H
T
T
H
H
H 


 



and
The subset is the same as “Head
has occurred at least once” and qualifies as an event.
Suppose two subsets A and B are both events, then
consider
“Does an outcome belong to A or B ”
“Does an outcome belong to A and B ”
“Does an outcome fall outside A”?
 
,
, 3
2
1 



A
B
A

B
A

12
- Probability Space.
- The space S or Ω is called the certain event. The elements of S are
called outcomes. The subsets of S are called events
- The set {φ} is called the imposible event. The event {ζ} consisting
of the single element ζ is an elementary event
- Trial. A single performance of an experiment will be called a trial.
At each trial we observe a single outcome. The certain
event occurs at every trial. The imposible event {φ} never occurs.
- The event A U B occurs whenever A or B or both occur.
The event AB occurs when both events A and B occur.
- If the events A and B are mutually exclusive and A occurs, then B
does not occur.
- If A ⊂ B and A occurs then B occurs.
- At each trial either A or A´ occurs
- Example. In the die experiment we observe the outcome f5 then the
event {f5}, the event {odd} and 30 other events occur
13
Thus the sets etc., also qualify as
events. We shall formalize this using the notion of a Field.
•Field: A collection of subsets of a nonempty set  forms
a field F if
Using (i) - (iii), it is easy to show that etc.,
also belong to F. For example, from (ii) we have
and using (iii) this gives
applying (ii) again we get where we
have used De Morgan’s theorem in (1-10).
,
,
,
, B
A
B
A
B
A 

.
then
,
and
If
(iii)
then
,
If
(ii)
(i)
F
B
A
F
B
F
A
F
A
F
A
F








,
, B
A
B
A 

,
, F
B
F
A 
 ;
F
B
A 

,
F
B
A
B
A 



(1-11)
14
Thus if then
From here on wards, we shall reserve the term ‘event’
only to members of F.
Assuming that the probability of elementary
outcomes of  are a priori defined, how does one
assign probabilities to more ‘complicated’ events such as
A, B, AB, etc., above?
The three axioms of probability defined below can be
used to achieve that goal.
,
, F
B
F
A 

 .
,
,
,
,
,
,
,
, 
B
A
B
A
B
A
B
A
B
A
F 




)
( i
i P
p 

i

(1-12)
15
Axioms of Probability
For any event A, we assign a number P(A), called the
probability of the event A. This number satisfies the
following three conditions that act as the axioms of
probability.
(Note that (iii) states that if A and B are mutually
exclusive (M.E.) events, the probability of their union
is the sum of their probabilities.)
).
(
)
(
)
(
then
,
If
(iii)
unity)
is
set
whole
the
of
ty
(Probabili
1
)
(
(ii)
number)
e
nonnegativ
a
is
ty
(Probabili
0
)
(
(i)
B
P
A
P
B
A
P
B
A
P
A
P









(1-13)
16
The following conclusions follow from these axioms:
a. Since we have using (ii)
But and using (iii),
b. Similarly, for any A,
Hence it follows that
But and thus
c. Suppose A and B are not mutually exclusive (M.E.)?
How does one compute
,


 A
A
.
1
)
(
)
P( 


 P
A
A
,


 A
A
).
(
1
)
or P(
1
)
P(
)
(
)
P( A
P
A
A
A
P
A
A 




 (1-14)
   .

 

A
 
  .
)
(
)
( 
 P
A
P
A
P 


  ,
A
A 
    .
0


P (1-15)
?
)
( 
 B
A
P
17
To compute the above probability, we should re-express
in terms of M.E. sets so that we can make use of
the probability axioms. From Fig.1.4 we have
where A and are clearly M.E. events.
Thus using axiom (1-13-iii)
To compute we can express B as
Thus
since and are M.E. events.
B
A 
,
B
A
A
B
A 

 (1-16)
).
(
)
(
)
(
)
( B
A
P
A
P
B
A
A
P
B
A
P 




),
( B
A
P
A
B
BA
A
B
A
B
A
A
B
B
B












)
(
)
(
)
(
),
(
)
(
)
( A
B
P
BA
P
B
P 

AB
BA  B
A
A
B 
B
A
(1-17)
(1-18)
(1-19)
A B
A
B
A 
Fig.1.4
18
From (1-19),
and using (1-20) in (1-17)
• Question: Suppose every member of a denumerably
infinite collection Ai of pair wise disjoint sets is an
event, then what can we say about their union
i.e., suppose all what about A? Does it
belong to F?
Further, if A also belongs to F, what about P(A)?
)
(
)
(
)
( AB
P
B
P
B
A
P 

).
(
)
(
)
(
)
( AB
P
B
P
A
P
B
A
P 



?
1




i
i
A
A
,
F
Ai 
(1-22)
(1-20)
(1-21)
(1-23)
(1-24)
19
The above questions involving infinite sets can only be
settled using our intuitive experience from plausible
experiments. For example, in a coin tossing experiment,
where the same coin is tossed indefinitely, define
A = “head eventually appears”.
Is A an event? Our intuitive experience surely tells us that
A is an event. Let
Clearly Moreover the above A is
 
}
{
th toss
on the
1st time
for the
appears
head
1
h
t
ttt
n
A
n
n






(1-26)
.


 j
i A
A
.
3
2
1 
 




 i
A
A
A
A
A (1-27)
(1-25)
20
We cannot use probability axiom (1-13-iii) to compute
P(A), since the axiom only deals with two (or a finite
number) of M.E. events.
To settle both questions above (1-23)-(1-24), extension of
these notions must be done based on our intuition as new
axioms.
-Field (Definition):
A field F is a -field if in addition to the three conditions
in (1-11), we have the following:
For every sequence of pair wise disjoint
events belonging to F, their union also belongs to F, i.e.,
,
1
, 


i
Ai
.
1
F
A
A
i
i 



 (1-28)
21
In view of (1-28), we can add yet another axiom to the
set of probability axioms in (1-13).
(iv) If Ai are pair wise mutually exclusive, then
Returning back to the coin tossing experiment, from
experience we know that if we keep tossing a coin,
eventually, a head must show up, i.e.,
But and using the fourth probability axiom
in (1-29),
).
(
1
1














n
n
n
n A
P
A
P  (1-29)
.
1
)
( 
A
P (1-30)




1
,
n
n
A
A
).
(
)
(
1
1















n
n
n
n A
P
A
P
A
P  (1-31)
22
From (1-26), for a fair coin since only one in 2n outcomes
is in favor of An , we have
which agrees with (1-30), thus justifying the
‘reasonableness’ of the fourth axiom in (1-29).
In summary, the triplet (, F, P) composed of a nonempty
set  of elementary events, a -field F of subsets of , and
a probability measure P on the sets in F subject the four
axioms ((1-13) and (1-29)) form a probability model.
The probability of more complicated events must follow
from this framework by deduction.
,
1
2
1
)
(
and
2
1
)
(
1
1


 




 n
n
n
n
n
n A
P
A
P (1-32)
23
24
Conditional Probability and Independence
In N independent trials, suppose NA, NB, NAB denote the
number of times events A, B and AB occur respectively.
According to the frequency interpretation of probability,
for large N
Among the NA occurrences of A, only NAB of them are also
found among the NB occurrences of B. Thus the ratio
.
)
(
,
)
(
,
)
(
N
N
AB
P
N
N
B
P
N
N
A
P AB
B
A


 (1-33)
)
(
)
(
/
/
B
P
AB
P
N
N
N
N
N
N
B
AB
B
AB

 (1-34)
25
is a measure of “the event A given that B has already
occurred”. We denote this conditional probability by
P(A|B) = Probability of “the event A given
that B has occurred”.
We define
provided As we show below, the above definition
satisfies all probability axioms discussed earlier.
,
)
(
)
(
)
|
(
B
P
AB
P
B
A
P 
.
0
)
( 
B
P
(1-35)
26
We have
(i)
(ii) since  B = B.
(iii) Suppose A ∩ C = {φ}, then
But AB ∩ CB = {φ}
hence
satisfying all probability axioms in (1-13). Thus (1-35) defines a
legitimate probability measure.
,
0
0
)
(
0
)
(
)
|
( 



B
P
AB
P
B
A
P
.
)
(
)
(
)
(
)
)
((
)
|
(
B
P
CB
AB
P
B
P
B
C
A
P
B
C
A
P






,
1
)
(
)
(
)
(
)
(
)
|
( 




B
P
B
P
B
P
B
P
B
P
),
|
(
)
|
(
)
(
)
(
)
(
)
(
)
|
( B
C
P
B
A
P
B
P
CB
P
B
P
AB
P
B
C
A
P 




).
(
)
(
)
( CB
P
AB
P
CB
AB
P 


(1-39)
(1-37)
(1-36)
(1-38)
27
- Example. In the fair die experiment, determine the
conditional probability of the event {f2} assuming that the
event {even} occurred:
A = {f2} B = {even} = {f2, f4, f6}
We have P(A) = 1/6 and P(B) = 3/6.
And since AB = A
P( {f2}|{even} ) = P( {f2} {even} )/P( {even} )
= P( {f2} )/P( {even} ) = (1/6)/(3/6) = 1/3
- This equals the relative frequency of the occurrence of the
event {two} in the subsequence whose outcomes are even.
28
29
• Example. A communication system can be modeled as follows:
• A user enters a 0 or a 1 into the system.
• A corresponding signal is transmitted.
• The receiver makes a decision about what was entered the system, based on the signal
received.
• Assume theat the user sends 1s with probability p and 0s with probability 1 – p.
• Assume that the receiver makes random decision errors with probability ε. P(A0|B0) =
P(A1|B1) = 1 – ε and P(A0|B1) = P(A1|B0) = ε
• For i = 1, 0: let Ai be the event input was i and let Bi be the event ¨receiver decision
was i¨
• Find the probabilities P(Ai Bj) for i = 0, 1 and j = 0, 1.
P(A0B0) = (1 – p)(1 – ε)
P(A0B1) = (1 – p)ε
P(A1B0) = pε
P(A1B1) = p(1 – ε)
0 1
p
1 - ε
0 1
1 - ε
Input into binary channel
Output from binary channel
1 - p
ε
ε
0
1
30
Properties of Conditional Probability:
a. If and
since if then occurrence of B implies automatic
occurrence of the event A. As an example, let
in a dice tossing experiment. Then and
b. If and
,
, B
AB
A
B 

1
)
(
)
(
)
(
)
(
)
|
( 


B
P
B
P
B
P
AB
P
B
A
P (1-40)
,
A
B 
).
(
)
(
)
(
)
(
)
(
)
|
( A
P
B
P
A
P
B
P
AB
P
B
A
P 


,
, A
AB
B
A 

(1-41)
,
A
B  .
1
)
|
( 
B
A
P
{outcome is even}, ={outcome is 2},
A B

31
(In a dice experiment,
so that The statement that B has occurred (outcome
is even) makes the odds for “outcome is 2” greater than
without that information).
c. We can use the conditional probability to express the
probability of a complicated event in terms of “simpler”
related events.
Let are pair wise disjoint and their union is .
Thus and
Thus
.
B
A
.
1




n
i
i
A
n
A
A
A ,
,
, 2
1 
,


j
i A
A
.
)
( 2
1
2
1 n
n BA
BA
BA
A
A
A
B
B 






 

(1-42)
(1-43)
{outcome is 2}, ={outcome is even},
A B

32
But so that from (1-43)
(1.44) is called the Total Probability Theorem.
With the notion of conditional probability, next we
introduce the notion of “independence” of events.
Independence: A and B are said to be independent events,
if
Notice that the above definition is a probabilistic statement,
not a set theoretic notion such as mutually exclusiveness.
).
(
)
(
)
( B
P
A
P
AB
P 
 (1-45)
,

 



 j
i
j
i BA
BA
A
A

 



n
i
i
i
n
i
i A
P
A
B
P
BA
P
B
P
1
1
).
(
)
|
(
)
(
)
( (1-44)
33
Suppose A and B are independent, then
Thus if A and B are independent, the event that B has
occurred does not shed any more light into the event A. It
makes no difference to A whether B has occurred or not.
An example will clarify the situation:
Example 1.2: A box contains 6 white and 4 black balls.
Remove two balls at random without replacement. What
is the probability that the first one is white and the second
one is black?
Let W1 = “first ball removed is white”
B2 = “second ball removed is black”
).
(
)
(
)
(
)
(
)
(
)
(
)
|
( A
P
B
P
B
P
A
P
B
P
AB
P
B
A
P 

 (1-46)
34
We need We have
Using the conditional probability rule,
But
and
and hence
?
)
( 2
1 
 B
W
P
).
(
)
|
(
)
(
)
( 1
1
2
1
2
2
1 W
P
W
B
P
W
B
P
B
W
P 

,
5
3
10
6
4
6
6
)
( 1 



W
P
,
9
4
4
5
4
)
|
( 1
2 


W
B
P
.
2666
.
0
45
12
5
3
.
9
4
)
( 2
1 


B
W
P
.
1
2
2
1
2
1 W
B
B
W
B
W 


(1-47)
35
Are the events W1 and B2 independent? Our common sense
says No. To verify this we need to compute P(B2). Of course
the fate of the second ball very much depends on that of the
first ball. The first ball has two options: W1 = “first ball is
white” or B1= “first ball is black”. Note that
and Hence W1 together with B1 form a partition.
Thus (see (1-42)-(1-44))
and
As expected, the events W1 and B2 are dependent.
,
1
1 

 B
W
.
1
1 

 B
W
,
5
2
15
2
4
5
2
3
1
5
3
9
4
10
4
3
6
3
5
3
4
5
4
)
(
)
|
(
)
(
)
|
(
)
( 1
1
2
1
1
2
2














 B
P
B
B
P
W
P
W
B
P
B
P
.
45
12
)
(
5
3
5
2
)
(
)
( 1
2
1
2 


 W
B
P
W
P
B
P
36
From (1-35),
Similarly, from (1-35)
or
From (1-48)-(1-49), we get
or
Equation (1-50) is known as Bayes’ theorem.
).
(
)
|
(
)
( B
P
B
A
P
AB
P 
,
)
(
)
(
)
(
)
(
)
|
(
A
P
AB
P
A
P
BA
P
A
B
P 

).
(
)
|
(
)
( A
P
A
B
P
AB
P 
(1-48)
(1-49)
).
(
)
|
(
)
(
)
|
( A
P
A
B
P
B
P
B
A
P 
(1-50)
)
(
)
(
)
|
(
)
|
( A
P
B
P
A
B
P
B
A
P 

37
Although simple enough, Bayes’ theorem has an interesting
interpretation: P(A) represents the a priori probability of the
event A. Suppose B has occurred, and assume that A and B
are not independent. How can this new information be used
to update our knowledge about A? Bayes’ rule in (1-50)
take into account the new information (“B has occurred”)
and gives out the a posteriori probability of A given B.
We can also view the event B as new knowledge obtained
from a fresh experiment. We know something about A as
P(A). The new information is available in terms of B. The
new information should be used to improve our
knowledge/understanding of A. Bayes’ theorem gives the
exact mechanism for incorporating such new information.
38
A more general version of Bayes’ theorem involves
partition of . From (1-50)
where we have made use of (1-44). In (1-51),
represent a set of mutually exclusive events with
associated a priori probabilities With the
new information “B has occurred”, the information about
Ai can be updated by the n conditional probabilities
,
)
(
)
|
(
)
(
)
|
(
)
(
)
(
)
|
(
)
|
(
1



 n
i
i
i
i
i
i
i
i
A
P
A
B
P
A
P
A
B
P
B
P
A
P
A
B
P
B
A
P (1-51)
,
1
, n
i
Ai 

47).
-
(1
using
,
1
),
|
( n
i
A
B
P i 

.
1
),
( n
i
A
P i 

39
40
Example 1.3: Two boxes B1 and B2 contain 100 and 200
light bulbs respectively. The first box (B1) has 15 defective
bulbs and the second 5. Suppose a box is selected at
random and one bulb is picked out.
(a) What is the probability that it is defective?
Solution: Note that box B1 has 85 good and 15 defective
bulbs. Similarly box B2 has 195 good and 5 defective
bulbs. Let D = “Defective bulb is picked out”.
Then
.
025
.
0
200
5
)
|
(
,
15
.
0
100
15
)
|
( 2
1 


 B
D
P
B
D
P
41
Since a box is selected at random, they are equally likely.
Thus B1 and B2 form a partition as in (1-43), and using
(1-44) we obtain
Thus, there is about 9% probability that a bulb picked at
random is defective.
.
2
1
)
(
)
( 2
1 
 B
P
B
P
.
0875
.
0
2
1
025
.
0
2
1
15
.
0
)
(
)
|
(
)
(
)
|
(
)
( 2
2
1
1






 B
P
B
D
P
B
P
B
D
P
D
P
42
(b) Suppose we test the bulb and it is found to be defective.
What is the probability that it came from box 1?
Notice that initially then we picked out a box
at random and tested a bulb that turned out to be defective.
Can this information shed some light about the fact that we
might have picked up box 1?
From (1-52), and indeed it is more
likely at this point that we must have chosen box 1 in favor
of box 2. (Recall box1 has six times more defective bulbs
compared to box2).
.
8571
.
0
0875
.
0
2
/
1
15
.
0
)
(
)
(
)
|
(
)
|
( 1
1
1 



D
P
B
P
B
D
P
D
B
P
?
)
|
( 1 
D
B
P
(1-52)
;
5
.
0
)
( 1 
B
P
,
5
.
0
857
.
0
)
|
( 1 

D
B
P

More Related Content

Similar to Basics of Probability Theory ; set definitions about the concepts

Similar to Basics of Probability Theory ; set definitions about the concepts (20)

Information Theory and coding - Lecture 1
Information Theory and coding - Lecture 1Information Theory and coding - Lecture 1
Information Theory and coding - Lecture 1
 
Probability theory
Probability theoryProbability theory
Probability theory
 
module 1Final flat FLAT Notes-1-101.pptx
module 1Final  flat FLAT Notes-1-101.pptxmodule 1Final  flat FLAT Notes-1-101.pptx
module 1Final flat FLAT Notes-1-101.pptx
 
R4 m.s. radhakrishnan, probability & statistics, dlpd notes.
R4 m.s. radhakrishnan, probability & statistics, dlpd notes.R4 m.s. radhakrishnan, probability & statistics, dlpd notes.
R4 m.s. radhakrishnan, probability & statistics, dlpd notes.
 
SETS
SETSSETS
SETS
 
Making probability easy!!!
Making probability easy!!!Making probability easy!!!
Making probability easy!!!
 
Answers Of Discrete Mathematics
Answers Of Discrete MathematicsAnswers Of Discrete Mathematics
Answers Of Discrete Mathematics
 
CS3491-Unit-2 BBN.pptx
CS3491-Unit-2 BBN.pptxCS3491-Unit-2 BBN.pptx
CS3491-Unit-2 BBN.pptx
 
An introduction to probability theory geiss
An introduction to probability theory   geissAn introduction to probability theory   geiss
An introduction to probability theory geiss
 
MATHS PRESENTATION OF STATISTICS AND PROBABILITY.pptx
MATHS PRESENTATION OF STATISTICS AND PROBABILITY.pptxMATHS PRESENTATION OF STATISTICS AND PROBABILITY.pptx
MATHS PRESENTATION OF STATISTICS AND PROBABILITY.pptx
 
Probability[1]
Probability[1]Probability[1]
Probability[1]
 
Chapter06
Chapter06Chapter06
Chapter06
 
1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf1-Probability-Conditional-Bayes.pdf
1-Probability-Conditional-Bayes.pdf
 
6300 solutionsmanual free
6300 solutionsmanual free6300 solutionsmanual free
6300 solutionsmanual free
 
Paper
PaperPaper
Paper
 
02 more on sets
02   more on sets02   more on sets
02 more on sets
 
Finite Maths Problems
Finite Maths ProblemsFinite Maths Problems
Finite Maths Problems
 
Chapter6
Chapter6Chapter6
Chapter6
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
PTSP PPT.pdf
PTSP PPT.pdfPTSP PPT.pdf
PTSP PPT.pdf
 

Recently uploaded

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

Basics of Probability Theory ; set definitions about the concepts

  • 1. 1 1. Basics Probability theory deals with the study of random phenomena, which under repeated experiments yield different outcomes that have certain underlying patterns about them. The notion of an experiment assumes a set of repeatable conditions that allow any number of identical repetitions. When an experiment is performed under these conditions, certain elementary events occur in different but completely uncertain ways. We can assign nonnegative number as the probability of the event in various ways: ), ( i P  i  i  PROBABILITY THEORY
  • 2. 2 Laplace’s Classical Definition: The Probability of an event A is defined a priori without actual experimentation as provided all these outcomes are equally likely. Consider a box with n white and m red balls. In this case, there are two elementary outcomes: white ball or red ball. Probability of “selecting a white ball” We can use above classical definition to determine the probability that a given number is divisible by a prime p. , outcomes possible of number Total to favorable outcomes of Number ) ( A A P  . m n n   (1-1)
  • 3. 3 If p is a prime number, then every pth number (starting with p) is divisible by p. Thus among p consecutive integers there is one favorable outcome, and hence Relative Frequency Definition: The probability of an event A is defined as where nA is the number of occurrences of A and n is the total number of trials. We can use the relative frequency definition to derive (1-2) as well. To do this we argue that among the integers the numbers are divisible by p.   1 P a given number is divisible by a prime p p  (1-2) n n A P A n lim ) (    (1-3) 1, 2, 3, , , n 2 , , p p
  • 4. 4 Thus there are n/p such numbers between 1 and n. Hence In a similar manner, it follows that and The axiomatic approach to probability, due to Kolmogorov, developed through a set of axioms (below) is generally recognized as superior to the above definitions, (1-1) and (1-3), as it provides a solid foundation for complicated applications.   / 1 . lim n n p n p P a given number N is divisible by a prime p    (1-4)   2 2 1 P p divides any given number N p  (1-6) (1-5)   1 . P pq divides any given number N pq 
  • 5. 5 The totality of all known a priori, constitutes a set , the set of all experimental outcomes.  has subsets Recall that if A is a subset of , then implies From A and B, we can generate other related subsets etc. , i      , , , , 2 1 k      (1-7) A   .    . , , ,  C B A , , , , B A B A B A   (1-8) and     B A B A B A B A               and | or |   A A     |
  • 6. 6
  • 7. 7 Example 2.1: Denote by fi the faces of a die. These faces are the elements of a set S = {f1, f2, . . . , f6}. S has 2**6 = 64 subsets including the empty set and the sample space S which is a set: {φ}, {f1}, . . . , {f1, f2}, . . . , {f1, f2, f3}, . . . , S. How can be proved that the number of subsets of S with n elements equals 2**n? Example 2.2: Suppose that a coin is tossed twice, then S = {HH, HT, TH, TT}. S has 2**4 = 16 subsets. A = {heads at the first toss} = {HH, HT}, B = {only one head showed} = {HT, TH}. C = {heads show at least once} = {HH, HT, TH} Example 2.3: S is the set of all points in the square, its elements are all ordered pairs of numbers (x, y) with 0 ≤ x ≤ T and 0 ≤ y ≤ T. A subset of S consisting of all points (x, y) such that –b ≤ x – y ≤ a describes A in terms of the properties of x and y as in A, B, C above
  • 8. 8 Set Operations - B is a subset of A: B ⊂ A - Transitivity: if C ⊂ B and B ⊂ A then C ⊂ A - Equality A = B if and only if A ⊂ B and B ⊂ A - The unión A U B is conmutative A U B = B U A and associative A U B U C = (A U B) U C = A U (B U C) - The intersection AB is conmutative AB = BA , and associative (AB)C = A(BC) and distributive A(B U C) = AB U AC - Mutually exclusive sets or disjoints AB = {φ} - Several sets A1, A2, ….., are called mutually exclusive if AiAj = {φ} for every i, j i ≠ j - Complement A´ of A consists of all elements of S that are not in A: A U A´ = S, AA´ = {φ}, (A´)´ = A , S´ = {φ}, {φ}´ = S - If B ⊂ A then A´ ⊂ B´, if A = B then A´ = B´
  • 9. 9 A B B A A B A B A A • If the empty set, then A and B are said to be mutually exclusive (M.E). • A partition of  is a collection of mutually exclusive subsets of  such that their union is . ,    B A . and , 1       i i j i A A A  B A    B A 1 A 2 A n A i A A (1-9) j A Fig. 1.2 Fig.1.1
  • 10. 10 De-Morgan’s Laws: B A B A B A B A       ; A B B A A B B A A B B A A B • Often it is meaningful to talk about at least some of the subsets of  as events, for which we must have mechanism to compute their probabilities. Example 1.1: Consider the experiment where two coins are simultaneously tossed. The various elementary events are Fig.1.3 (1-10)
  • 11. 11  . , , , 4 3 2 1       ) , ( ), , ( ), , ( ), , ( 4 3 2 1 T T H T T H H H         and The subset is the same as “Head has occurred at least once” and qualifies as an event. Suppose two subsets A and B are both events, then consider “Does an outcome belong to A or B ” “Does an outcome belong to A and B ” “Does an outcome fall outside A”?   , , 3 2 1     A B A  B A 
  • 12. 12 - Probability Space. - The space S or Ω is called the certain event. The elements of S are called outcomes. The subsets of S are called events - The set {φ} is called the imposible event. The event {ζ} consisting of the single element ζ is an elementary event - Trial. A single performance of an experiment will be called a trial. At each trial we observe a single outcome. The certain event occurs at every trial. The imposible event {φ} never occurs. - The event A U B occurs whenever A or B or both occur. The event AB occurs when both events A and B occur. - If the events A and B are mutually exclusive and A occurs, then B does not occur. - If A ⊂ B and A occurs then B occurs. - At each trial either A or A´ occurs - Example. In the die experiment we observe the outcome f5 then the event {f5}, the event {odd} and 30 other events occur
  • 13. 13 Thus the sets etc., also qualify as events. We shall formalize this using the notion of a Field. •Field: A collection of subsets of a nonempty set  forms a field F if Using (i) - (iii), it is easy to show that etc., also belong to F. For example, from (ii) we have and using (iii) this gives applying (ii) again we get where we have used De Morgan’s theorem in (1-10). , , , , B A B A B A   . then , and If (iii) then , If (ii) (i) F B A F B F A F A F A F         , , B A B A   , , F B F A   ; F B A   , F B A B A     (1-11)
  • 14. 14 Thus if then From here on wards, we shall reserve the term ‘event’ only to members of F. Assuming that the probability of elementary outcomes of  are a priori defined, how does one assign probabilities to more ‘complicated’ events such as A, B, AB, etc., above? The three axioms of probability defined below can be used to achieve that goal. , , F B F A    . , , , , , , , ,  B A B A B A B A B A F      ) ( i i P p   i  (1-12)
  • 15. 15 Axioms of Probability For any event A, we assign a number P(A), called the probability of the event A. This number satisfies the following three conditions that act as the axioms of probability. (Note that (iii) states that if A and B are mutually exclusive (M.E.) events, the probability of their union is the sum of their probabilities.) ). ( ) ( ) ( then , If (iii) unity) is set whole the of ty (Probabili 1 ) ( (ii) number) e nonnegativ a is ty (Probabili 0 ) ( (i) B P A P B A P B A P A P          (1-13)
  • 16. 16 The following conclusions follow from these axioms: a. Since we have using (ii) But and using (iii), b. Similarly, for any A, Hence it follows that But and thus c. Suppose A and B are not mutually exclusive (M.E.)? How does one compute ,    A A . 1 ) ( ) P(     P A A ,    A A ). ( 1 ) or P( 1 ) P( ) ( ) P( A P A A A P A A       (1-14)    .     A     . ) ( ) (   P A P A P      , A A      . 0   P (1-15) ? ) (   B A P
  • 17. 17 To compute the above probability, we should re-express in terms of M.E. sets so that we can make use of the probability axioms. From Fig.1.4 we have where A and are clearly M.E. events. Thus using axiom (1-13-iii) To compute we can express B as Thus since and are M.E. events. B A  , B A A B A    (1-16) ). ( ) ( ) ( ) ( B A P A P B A A P B A P      ), ( B A P A B BA A B A B A A B B B             ) ( ) ( ) ( ), ( ) ( ) ( A B P BA P B P   AB BA  B A A B  B A (1-17) (1-18) (1-19) A B A B A  Fig.1.4
  • 18. 18 From (1-19), and using (1-20) in (1-17) • Question: Suppose every member of a denumerably infinite collection Ai of pair wise disjoint sets is an event, then what can we say about their union i.e., suppose all what about A? Does it belong to F? Further, if A also belongs to F, what about P(A)? ) ( ) ( ) ( AB P B P B A P   ). ( ) ( ) ( ) ( AB P B P A P B A P     ? 1     i i A A , F Ai  (1-22) (1-20) (1-21) (1-23) (1-24)
  • 19. 19 The above questions involving infinite sets can only be settled using our intuitive experience from plausible experiments. For example, in a coin tossing experiment, where the same coin is tossed indefinitely, define A = “head eventually appears”. Is A an event? Our intuitive experience surely tells us that A is an event. Let Clearly Moreover the above A is   } { th toss on the 1st time for the appears head 1 h t ttt n A n n       (1-26) .    j i A A . 3 2 1         i A A A A A (1-27) (1-25)
  • 20. 20 We cannot use probability axiom (1-13-iii) to compute P(A), since the axiom only deals with two (or a finite number) of M.E. events. To settle both questions above (1-23)-(1-24), extension of these notions must be done based on our intuition as new axioms. -Field (Definition): A field F is a -field if in addition to the three conditions in (1-11), we have the following: For every sequence of pair wise disjoint events belonging to F, their union also belongs to F, i.e., , 1 ,    i Ai . 1 F A A i i      (1-28)
  • 21. 21 In view of (1-28), we can add yet another axiom to the set of probability axioms in (1-13). (iv) If Ai are pair wise mutually exclusive, then Returning back to the coin tossing experiment, from experience we know that if we keep tossing a coin, eventually, a head must show up, i.e., But and using the fourth probability axiom in (1-29), ). ( 1 1               n n n n A P A P  (1-29) . 1 ) (  A P (1-30)     1 , n n A A ). ( ) ( 1 1                n n n n A P A P A P  (1-31)
  • 22. 22 From (1-26), for a fair coin since only one in 2n outcomes is in favor of An , we have which agrees with (1-30), thus justifying the ‘reasonableness’ of the fourth axiom in (1-29). In summary, the triplet (, F, P) composed of a nonempty set  of elementary events, a -field F of subsets of , and a probability measure P on the sets in F subject the four axioms ((1-13) and (1-29)) form a probability model. The probability of more complicated events must follow from this framework by deduction. , 1 2 1 ) ( and 2 1 ) ( 1 1          n n n n n n A P A P (1-32)
  • 23. 23
  • 24. 24 Conditional Probability and Independence In N independent trials, suppose NA, NB, NAB denote the number of times events A, B and AB occur respectively. According to the frequency interpretation of probability, for large N Among the NA occurrences of A, only NAB of them are also found among the NB occurrences of B. Thus the ratio . ) ( , ) ( , ) ( N N AB P N N B P N N A P AB B A    (1-33) ) ( ) ( / / B P AB P N N N N N N B AB B AB   (1-34)
  • 25. 25 is a measure of “the event A given that B has already occurred”. We denote this conditional probability by P(A|B) = Probability of “the event A given that B has occurred”. We define provided As we show below, the above definition satisfies all probability axioms discussed earlier. , ) ( ) ( ) | ( B P AB P B A P  . 0 ) (  B P (1-35)
  • 26. 26 We have (i) (ii) since  B = B. (iii) Suppose A ∩ C = {φ}, then But AB ∩ CB = {φ} hence satisfying all probability axioms in (1-13). Thus (1-35) defines a legitimate probability measure. , 0 0 ) ( 0 ) ( ) | (     B P AB P B A P . ) ( ) ( ) ( ) ) (( ) | ( B P CB AB P B P B C A P B C A P       , 1 ) ( ) ( ) ( ) ( ) | (      B P B P B P B P B P ), | ( ) | ( ) ( ) ( ) ( ) ( ) | ( B C P B A P B P CB P B P AB P B C A P      ). ( ) ( ) ( CB P AB P CB AB P    (1-39) (1-37) (1-36) (1-38)
  • 27. 27 - Example. In the fair die experiment, determine the conditional probability of the event {f2} assuming that the event {even} occurred: A = {f2} B = {even} = {f2, f4, f6} We have P(A) = 1/6 and P(B) = 3/6. And since AB = A P( {f2}|{even} ) = P( {f2} {even} )/P( {even} ) = P( {f2} )/P( {even} ) = (1/6)/(3/6) = 1/3 - This equals the relative frequency of the occurrence of the event {two} in the subsequence whose outcomes are even.
  • 28. 28
  • 29. 29 • Example. A communication system can be modeled as follows: • A user enters a 0 or a 1 into the system. • A corresponding signal is transmitted. • The receiver makes a decision about what was entered the system, based on the signal received. • Assume theat the user sends 1s with probability p and 0s with probability 1 – p. • Assume that the receiver makes random decision errors with probability ε. P(A0|B0) = P(A1|B1) = 1 – ε and P(A0|B1) = P(A1|B0) = ε • For i = 1, 0: let Ai be the event input was i and let Bi be the event ¨receiver decision was i¨ • Find the probabilities P(Ai Bj) for i = 0, 1 and j = 0, 1. P(A0B0) = (1 – p)(1 – ε) P(A0B1) = (1 – p)ε P(A1B0) = pε P(A1B1) = p(1 – ε) 0 1 p 1 - ε 0 1 1 - ε Input into binary channel Output from binary channel 1 - p ε ε 0 1
  • 30. 30 Properties of Conditional Probability: a. If and since if then occurrence of B implies automatic occurrence of the event A. As an example, let in a dice tossing experiment. Then and b. If and , , B AB A B   1 ) ( ) ( ) ( ) ( ) | (    B P B P B P AB P B A P (1-40) , A B  ). ( ) ( ) ( ) ( ) ( ) | ( A P B P A P B P AB P B A P    , , A AB B A   (1-41) , A B  . 1 ) | (  B A P {outcome is even}, ={outcome is 2}, A B 
  • 31. 31 (In a dice experiment, so that The statement that B has occurred (outcome is even) makes the odds for “outcome is 2” greater than without that information). c. We can use the conditional probability to express the probability of a complicated event in terms of “simpler” related events. Let are pair wise disjoint and their union is . Thus and Thus . B A . 1     n i i A n A A A , , , 2 1  ,   j i A A . ) ( 2 1 2 1 n n BA BA BA A A A B B           (1-42) (1-43) {outcome is 2}, ={outcome is even}, A B 
  • 32. 32 But so that from (1-43) (1.44) is called the Total Probability Theorem. With the notion of conditional probability, next we introduce the notion of “independence” of events. Independence: A and B are said to be independent events, if Notice that the above definition is a probabilistic statement, not a set theoretic notion such as mutually exclusiveness. ). ( ) ( ) ( B P A P AB P   (1-45) ,        j i j i BA BA A A       n i i i n i i A P A B P BA P B P 1 1 ). ( ) | ( ) ( ) ( (1-44)
  • 33. 33 Suppose A and B are independent, then Thus if A and B are independent, the event that B has occurred does not shed any more light into the event A. It makes no difference to A whether B has occurred or not. An example will clarify the situation: Example 1.2: A box contains 6 white and 4 black balls. Remove two balls at random without replacement. What is the probability that the first one is white and the second one is black? Let W1 = “first ball removed is white” B2 = “second ball removed is black” ). ( ) ( ) ( ) ( ) ( ) ( ) | ( A P B P B P A P B P AB P B A P    (1-46)
  • 34. 34 We need We have Using the conditional probability rule, But and and hence ? ) ( 2 1   B W P ). ( ) | ( ) ( ) ( 1 1 2 1 2 2 1 W P W B P W B P B W P   , 5 3 10 6 4 6 6 ) ( 1     W P , 9 4 4 5 4 ) | ( 1 2    W B P . 2666 . 0 45 12 5 3 . 9 4 ) ( 2 1    B W P . 1 2 2 1 2 1 W B B W B W    (1-47)
  • 35. 35 Are the events W1 and B2 independent? Our common sense says No. To verify this we need to compute P(B2). Of course the fate of the second ball very much depends on that of the first ball. The first ball has two options: W1 = “first ball is white” or B1= “first ball is black”. Note that and Hence W1 together with B1 form a partition. Thus (see (1-42)-(1-44)) and As expected, the events W1 and B2 are dependent. , 1 1    B W . 1 1    B W , 5 2 15 2 4 5 2 3 1 5 3 9 4 10 4 3 6 3 5 3 4 5 4 ) ( ) | ( ) ( ) | ( ) ( 1 1 2 1 1 2 2                B P B B P W P W B P B P . 45 12 ) ( 5 3 5 2 ) ( ) ( 1 2 1 2     W B P W P B P
  • 36. 36 From (1-35), Similarly, from (1-35) or From (1-48)-(1-49), we get or Equation (1-50) is known as Bayes’ theorem. ). ( ) | ( ) ( B P B A P AB P  , ) ( ) ( ) ( ) ( ) | ( A P AB P A P BA P A B P   ). ( ) | ( ) ( A P A B P AB P  (1-48) (1-49) ). ( ) | ( ) ( ) | ( A P A B P B P B A P  (1-50) ) ( ) ( ) | ( ) | ( A P B P A B P B A P  
  • 37. 37 Although simple enough, Bayes’ theorem has an interesting interpretation: P(A) represents the a priori probability of the event A. Suppose B has occurred, and assume that A and B are not independent. How can this new information be used to update our knowledge about A? Bayes’ rule in (1-50) take into account the new information (“B has occurred”) and gives out the a posteriori probability of A given B. We can also view the event B as new knowledge obtained from a fresh experiment. We know something about A as P(A). The new information is available in terms of B. The new information should be used to improve our knowledge/understanding of A. Bayes’ theorem gives the exact mechanism for incorporating such new information.
  • 38. 38 A more general version of Bayes’ theorem involves partition of . From (1-50) where we have made use of (1-44). In (1-51), represent a set of mutually exclusive events with associated a priori probabilities With the new information “B has occurred”, the information about Ai can be updated by the n conditional probabilities , ) ( ) | ( ) ( ) | ( ) ( ) ( ) | ( ) | ( 1     n i i i i i i i i A P A B P A P A B P B P A P A B P B A P (1-51) , 1 , n i Ai   47). - (1 using , 1 ), | ( n i A B P i   . 1 ), ( n i A P i  
  • 39. 39
  • 40. 40 Example 1.3: Two boxes B1 and B2 contain 100 and 200 light bulbs respectively. The first box (B1) has 15 defective bulbs and the second 5. Suppose a box is selected at random and one bulb is picked out. (a) What is the probability that it is defective? Solution: Note that box B1 has 85 good and 15 defective bulbs. Similarly box B2 has 195 good and 5 defective bulbs. Let D = “Defective bulb is picked out”. Then . 025 . 0 200 5 ) | ( , 15 . 0 100 15 ) | ( 2 1     B D P B D P
  • 41. 41 Since a box is selected at random, they are equally likely. Thus B1 and B2 form a partition as in (1-43), and using (1-44) we obtain Thus, there is about 9% probability that a bulb picked at random is defective. . 2 1 ) ( ) ( 2 1   B P B P . 0875 . 0 2 1 025 . 0 2 1 15 . 0 ) ( ) | ( ) ( ) | ( ) ( 2 2 1 1        B P B D P B P B D P D P
  • 42. 42 (b) Suppose we test the bulb and it is found to be defective. What is the probability that it came from box 1? Notice that initially then we picked out a box at random and tested a bulb that turned out to be defective. Can this information shed some light about the fact that we might have picked up box 1? From (1-52), and indeed it is more likely at this point that we must have chosen box 1 in favor of box 2. (Recall box1 has six times more defective bulbs compared to box2). . 8571 . 0 0875 . 0 2 / 1 15 . 0 ) ( ) ( ) | ( ) | ( 1 1 1     D P B P B D P D B P ? ) | ( 1  D B P (1-52) ; 5 . 0 ) ( 1  B P , 5 . 0 857 . 0 ) | ( 1   D B P

Editor's Notes

  1. The theory of probability deals with averages of mass phenomena occurring sequentially or simultaneously. - Electron emission - System failure - Telephone calls - Games of chance - Radar detection - Statistical mechanics Quality control - Turbulence Noise - Birth and death rates Queueing theory It has been observed that in these and other fields certain averages approach a constant value as the number of observations increases
  2. Coin experiment. The percentage of heads approaches 0.5 or some other constant. Purpose of Probability Theory. Describe and predict these averages in terms of probabilities of events. The probability of an event A is a number P(A) assigned to this event. This number could be interpreted as: If the experiment is performed n times and the event A occurs nA times, then, with a high degree of certainty, the relative frequency nA/n of the occurrence of A is close to P(A): P(A) ≈ nA/n provided that n is sufficiently large. This interpretation is imprecise: ´with a high degree of certainty´, ´close´ and ´sufficiently large´ have no clear meaning. Conclusion: Probability like any physical theory is related to physical phenomena only in inexact terms. Nevertheless, the theory is an exact discipline developed from axioms and when applied to real problems, it works.
  3. ⊃ ⊄ ⊇ ∩ ∪
  4. If in a set identity we replace all sets by their complements, all unions by intersections and all intersections by unions, the identity is preserved. - Duality principle. If in a set identity we replace all unions by intersections and all intersections by unions and the sets S and {0} by the sets {0} and S the identity is preserved
  5. Probability Space. The space S or Omega is called the certain event. The elements of S are called outcomes. The subsets of S are called events The set {0} is ca the imposible event. The event {ζ} consisting of the single element ζ is an elementary event Trial. A single performance of an experiment will be called a trial. At each trial we observe a single outcome. The certain event occurs at every trial. The imposible event {0} never occurs. The event A U B occurs whenever A or B or both occur. The event AB occurs when both events A and B occur. If the events A and B are mutually exclusive and A occurs, then B does not occur. If A subset of B and A occurs then B occurs. At each trial either A or A´ occurs Example. In the die experiment we observe the outcome f5 then the event {f5}, the event {odd} and 30 other events occur
  6. - Will consider as events not all subsets of S but only a class F of subsets of S. One reason, according to the nature of the application, v. gr. {{0}, {even}, {odd}, S}. Main reaso, is of a mathematical nature, in certain cases involving infinitily many outcomes. A elemento de F entonces A U A´ = S elemento de F, AA´ = {0} elemento de F. All sets that can be written as unions or intersections of finitely many sets in F are also in F. This is not necessarily the case for infinitely many sets. Duppose A1, A2, . . . . , An, . . . Is an infinte sequence of sets in F. If the unions and intersections of these sets belong to F, then F is called a Borel field. Example 2.4:
  7. - In the development of probability theory, all conclusions are based directly or indirectly on the axioms and only on the axioms.
  8. 0< P(B) <1 then 1/P(B) > 1
  9. Partition