CHAPTER - 01&2-Basic Probability Theory-Merged
CHAPTER - 01&2-Basic Probability Theory-Merged
2020 1
2020 2
2020 3
2020 4
2020 5
2020 6
2020 7
2020 8
2020 9
OR Properties of Probability
2020 10
Factorial, Permutation and Combination
Factorial: The notation n! or represents the product of first n natural numbers, i.e., the
product 1 × 2 × 3 × . . . × (n – 1) × n is denoted as n!. We read this symbol as ‘n factorial’.
We define 0 ! = 1
We can write 5 ! = 5 × 4 ! = 5 × 4 × 3 ! = 5 × 4 × 3 × 2 !
= 5 × 4 × 3 × 2 × 1!
2020 11
Permutation OR Arrangements
Distinctly ordered sets are called arrangements or permutations.
2020 12
2020 13
2020 14
2020 15
2020 16
2020 17
2020 18
2020 19
2020 20
2020 21
Combinations
2020 22
2020 23
2020 24
2020 25
2020 26
Introduction: Sample Space and Events
Events can in general be classified as:
• Random-the event may or may not occur
• Certain- the occurrence of the event is inevitable
• Impossible-the event will never occur
2020 28
Sample Space and Events Cont’d….
The sample space is denoted by Ω and the possible outcomes
are represented by
i
{1 , 2 , ......n }
iii. Event
An event is any subset of the sample of the sample space, Ω
Events can be represented by A, B, C, ……
Examples of Discrete Sample Space
Example-1:
Consider a random experiment of rolling a die once.
i. Sample Space {1, 2, 3, 4, 5, 6}
2020 29
Sample Space and Events Cont’d….
ii. Some possible events
An event of obtaining even numbers
A {2, 4, 6}
An event of obtaining numbers less than 4
B {1, 2, 3}
Example-2:
Consider a random experiment of flipping a fair coin twice.
i. Sample space
{HH , HT, TH, TT}
2020 30
Sample Space and Events Cont’d….
2020 31
2020 32
Axioms and Properties of Probability
Probability is a rule that assigns a number to each event A in the
sample space, Ω.
In short , the probability of any event A is given by
n( A)
P( A)
n ( )
where
n( A) - is the number of elements in the event A
n() - is the number of elements in the sample space
2020 33
Axioms and Properties of Probability Cont’d…..
2020 34
Axioms and Properties of Probability Cont’d…..
n n
P Ai P( Ai )
i 1 i 1
2020 35
Axioms and Properties of Probability Cont’d…..
By using the above probability axioms, other useful
properties of probability can be obtained.
1. P( A) 1 P( A)
Proof:
A A P( A A) P( A) P( A), but A A
P() P( A) P( A), P() P( A A)
1 P( A) P( A), P() 1
P( A) 1 P( A)
2020 36
2020 37
Axioms and Properties of Probability Cont’d…..
P( A) P( A B) P( A B) P( B) P( A B) P( A B)
P( A B) P( B) P( A B)
P( A B) P( A) P( A B)
iv. A B B ( A B)
iii. A B A ( A B)
P( A B) P( B) P( A B)
P ( A B ) P ( A) P ( A B )
v. A B ( A B) ( A B) ( A B)
P( A B) P( A B) P( A B) P( A B)
2020 38
Axioms and Properties of Probability Cont’d…..
2. P( A B) P( A) P( B) P( A B)
Proof:
P ( A B) P( A) P ( A B)
But, P ( A B) P( B) P ( A B)
P( A B ) P( A) P( B) P ( A B)
2020 39
2020 40
Axioms and Properties of Probability Cont’d…..
3. P( A B) P( A) P( B)
Proof:
P ( A B ) P ( A) P( B ) P ( A B )
But, P ( A B ) 0
P ( A B ) P ( A) P ( B)
2020 41
Axioms and Properties of Probability Cont’d…..
Example-1:
A box contains 10 identical balls numbered 0, 1, 2,…,9. A single
ball is selected from the box at random. Consider the following
events.
A: number of ball selected is odd
B: number of ball selected is multiple of 3
C: number of ball selected is less than 5
Find the following probabilities.
a. P( A) d. P( A B)
b. P( B) e. P( A B C )
c. P(C )
2020 42
Axioms and Properties of Probability Cont’d…..
Solution:
The sample space and the events are given by:
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} C {0, 1, 2, 3, 4}
A {1, 3, 5, 7, 9} A B {3, 9}
B {3, 6, 9} A B C {0, 1, 2, 3, 4, 5, 6, 7, 9}
n() 10 n(C ) 5
n( A) 5 n( A B ) 2
n( B ) 3 n( A B C ) 9
2020 43
Axioms and Properties of Probability Cont’d…..
Thus, probabilities of the given events are given by:
n( A) 5 1 n( A B ) 2 1
a. P( A) d . P( A B)
n() 10 2 n () 10 5
n( B ) 3 n( A B C ) 9
b. P( B) e. P( A B C )
n() 10 n () 10
n(C ) 5 1
c. P(C )
Example-2: n() 10 2
2020 44
2020 45
Axioms and Properties of Probability Cont’d…..
Exercise:
1. If A B , then show that P( A) P( B).
2. If P( A) P( B) P( A B), then show that
P[( A B) ( A B)] 0.
3. If P( A) P( B) 1, then show that P( A B) 1.
4. If P( A) 0.9 and P( B) 0.8, then show that P( A B) 0.7
2020 46
2020 47
Conditional Probability Cont’d…….
Then using equation (3), we will get
We know that
P( B / A) P( A) P( A / B) P( B)
P( A / B) OR P( B / A) (4)
P( B) P( A)
Substituting equation (5) into equation (4), we will get
P( B) P( A B) P( A B)
P( B) P( B / A) P( A) P( B / A) P( A) (5)
P( B / A) P( A)
P( A / B) (6)
P( B / A) P( A) P( B / A) P( A)
2020 48
Conditional Probability Cont’d…….
Similarly,
Equations (6) and (7) are known as Baye’s Rule.
Baye’s Rule can be extended for n events as follows.
Let events A1, A2, A3, …, An be pairwise mutually exclusive (disjoint ) events and their union be the
sample space Ω, i.e.
P( A / B) P( B)
P( B / A) (7)
P( A / B) P( B) P( A / B) P( B)
n
Ai A j and A i
i 1
n n
P Ai P( Ai )
i 1 i 1
2020 49
Conditional Probability Cont’d…….
Let B be any event in Ω as shown below.
A2 .....
A1 An1
B
A3 ..... An
B B ( A1 A2 .... An )
B ( B A1 ) ( B A2 ) ... ( B An )
But, Ai A j ( B Ai ) ( B A j )
2020 50
Total Probability
2020 51
Conditional Probability Cont’d…..
Example-1:
Show that P( A / B) 1 P( A / B)
Solution:
P( B) P( A B) P( A B)
P( B) P( A / B) P( B) P( A / B) P( B)
Dividing both sides by P( B), we obtain
1 P( A / B) P( A/B)
P( A/B) 1 P( A / B)
2020 52
Conditional Probability Cont’d…..
Example-2:
Let A and B be two events such that P(A)=x, P(B)=y and
P(B/A)=z. Find the following probabilities in terms of x, y and z.
a. P ( A / B )
b. P ( A B )
c. P ( A / B )
Solution:
P( A B) P( B / A) P( A) xz
P( A B) xz
a. P( A / B)
P( B) y
b. P( A B) P( A B) 1 P( A B) 1 xz
P( A B) P( B) P( A B) xz
c. P( A / B) 1
P( B) P( B) y
2020 53
Conditional Probability Cont’d…..
Example-3:
A box contains two black and three white balls. In succession, two balls are
selected at random from the box without replacement. Find the probability that
Solution:
2020 54
Conditional Probability Cont’d…..
a. P ( B1 B2 ) P ( B2 / B1 ) P ( B1 ) (1 / 4)(2 / 5)
P( B1 B2 ) 1 / 10
b. P(W2 ) P (W2 B1 ) P(W2 W1 )
P(W2 / B1 ) P( B1 ) P(W2 / W1 ) P(W1 )
(3 / 4)(2 / 5) (2 / 4)(3 / 5)
P(W2 ) 3 / 5
2020 55
Conditional Probability Cont’d…..
Example-4:
2020 56
Conditional Probability Cont’d…..
Solution:
First let us define the events as follows.
A : Box A is selected
P ( A) P ( B ) 1 / 2
B : Box B is selected P ( D / A) 1 / 10
D : Bulb is defective P ( D / B ) 1 / 20
a. P( D) P( D / A) P( A) P( D / B) P( B)
(1 / 10)(1 / 2) (1 / 20)(1 / 20)
P( D) 3 / 40
P( D / A) P( A) 1 / 20
b. P( A / D) (1 / 20)(40 / 3)
P( D) 3 / 40
P( A / D) 2 / 3
2020 57
Conditional Probability Cont’d…..
Example-5:
One bag contains 4 white and 3 black balls and a second bag
contains 3 white and 5 black balls. One ball is drawn from the
first bag and placed in the second bag unseen and then one ball
is drawn from the second bag. What is the probability that it is
a black ball?
Solution:
2020 58
Conditional Probability Cont’d…..
B2 : black ball is drawn from the second bag
W2 : white ball is drawn from the second bag
P( B2 ) P( B2 B1 ) P( B2 W1 )
P( B2 ) P( B2 / B1 ) P( B1 ) P( B2 / W1 ) P(W1 )
P( B2 ) (6 / 9)(3 / 7) (5 / 9)(4 / 7)
P( B2 ) 28 / 63
2020 59
Conditional Probability Cont’d…..
Exercise:
1. For three events A, B and C, show that:
a. P[( A B) / C ] P[ A /( B C )]P( B / C )
b. P( A B C ) P[ A /( B C )]P( B / C ) P(C )
2. Box A contains 3 white and 2 red balls while another box B contains 2 red and 5 white balls. A
ball drawn at random from one of the boxes turns out to be red. What is the probability that it
came from box A?
3. Box I contains 2 white and 3 red balls and box II contains 4 white and 5 red balls. One
ball is drawn at random from one of the boxes and is found to be red. Then, the
probability that it was from box II, is?
2020 60
Conditional Probability Cont’d…..
2020 61
2020 62
2020 63
Independence of Events
Two events A and B are said to be statistically independent if
and only if
P( A B) P( A) P( B)
2020 64
Independence of Events Cont’d……
If A and B are independent, then we have
P( A B) P( A) P( B)
i. P( A / B) P( A)
P( B) P( B)
P( A / B) P( A)
P( A B) P( A) P( B)
ii. P( B / A) P( B)
P( A) P( A)
P( B / A) P( B)
Example-1:
2020 65
Independence of Events Cont’d……
Solution:
P( A) P( A B) P( A B)
P( A B) P( A) P( A B) P( A) P( A) P( B)
P( A B) P( A)[1 P( B)] P( A) P( B)
By the definition of independent events, A and B are independent.
Example-2:
The probability that a husband and a wife will be alive 20 years
from now are given by 0.8 and 0.9 respectively. Find the
probability that in 20 years
2020 67
Independence of Events Cont’d……
Solution:
a. P(both ) P( H W ) P( H ) P(W )
P(both ) P( H W ) (0.8)(0.9)
P(both ) P( H W ) 0.72
b. P(neither ) P( H W ) P( H ) P(W )
P(neither ) P( H W ) (0.2)(0.1)
P(neither ) P( H B) 0.02
c. P(at least one) 1 P(neither )
P(at least one) 1 0.02
P(at leat one) 0.98
2020 68
Assignment-1
1. A fair die is tossed twice, and events A represents even number outcome on the first
roll, and B represents an even number outcome on the second roll. Determine P(A),
P(B), and P(AB).
2. We have four urns containing a number of red or green balls, according to the
distribution shown below:
Urn Number of Number of
Number green balls red balls
1 19 1
2 3 2
3 9 1
4 9 1
• The idea is to randomly select one of the urns and then randomly select one ball
from the chosen urn. Determine:
• A) The probability that the selected ball is red.
• B) The probability that the selected ball is red, given that it comes from urn 2.
2020 69
1. A computer manufacturer uses chips from three sources. Chips from sources A, B, and C
are defective with probabilities .005, .001, and .010, respectively. If a randomly selected
chip is found to be defective, assume that the proportions of chips from A, B, and C are
0.5, 0.1, and 0.4 respectively;
a. Find the probability that the manufacturer was A;
b. Find the probability that the manufacturer was C.
P(A)=0.5
P(B)=0.1
P(C)=0.4
P(D|A)=0.005
P(D|B)=0.001
P(D|C)=0.010
Total Probability
P(D)= P(D|A)P(A)+P(D|B)P(B)+P(D|C)P(C)=0.005×0.5+0.001×0.1+0.01×0.4
P (D) =6.6x10-3
2. In a binary communication system a zero and a one is transmitted with probability 0.6
and 0.4 respectively. Due to error in the communication system a zero becomes a one
with a probability 0.1 and a one becomes a zero with a probability 0.8. Determine the
probability of
a) Receiving a zero
b) That a one was transmitted when the received message is one
0 P(R0/T0)=0.9
P (T0)=0.6 0 P (R0)
P(R1/T0)=0.1 P(R0/T1)=0.8
P (T1) =0.4 1 1
P (R1)
P(R1/T1)=0.2