Probability Theory
Probability Theory
PSMT/PAMT 205
PROBABILITY THEORY
M.Sc. (MATHEMATICS)
SEMESTER - II
PAPER - V
© UNIVERSITY OF MUMBAI
PROBABILITY THEORY
M.Sc. (Mathematics) SEMESTER - II
PAPER - V
Dr. Suhas Pednekar
Vice Chancellor
University of Mumbai, Mumbai
Course Writers
Prof. Kalpana Phal
B. N. Bandodkar College, Thane.
Published by
Dr. Prakash Mahanwar, Director Incharge
on behalf of Institute of Distance & Open Learning,University of Mumbai, Mumbai
and Printed at
Name & Address.
DTP Composed by 7skills
ii
CONTENTS
Unit No. Title Page No.
iii
PROBABILITY THEORY
M.SC. (MATHEMATICS) SEMESTER - II PAPER - V
SYLLABUS
Course Outcomes
3. Students will be able to earn knowledge of discrete and absolutely continuous prob-
ability measures, conditional probability, total probability formula, Bayes formula.
5. Students will be able to understand Chebyshev inequality, Weak law of large num-
bers, Convergence of random variables, Kolmogorov strong law of large numbers,
Central limit theorem and Application of Probability Theory.
iv
Unit IV. Limit Theorems (15 Lectures)
Conditional expectations and their properties, characteristic functions, examples, Higher
moments examples, Chebyshev inequality, Weak law of large numbers, Convergence of
random variables, Kolmogorov strong law of large numbers (statement only), Central
limit theorem (statement only).
v
1
BASICS OF PROBABILITY
Unit Structure
1.0 Objectives
1.1 Introduction
1.0 Objectives
1.1 Introduction
In basic sciences we usually come across deterministic experiments whose results
are not uncertain. Theory of probability is based on Statistical or random
experiments. These experiments have peculiar features
1
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Example 1.1.
1. A roulette wheel with pointer fixed at the center is spinned. When it comes to
rest, the angle made by pointer with positive direction is noted. This
experiment is random. Since we do not know before spinning where the
pointer would rest. But it may make angle any where between (O, 3600) thus
here sample space : 0,360 It is subset of . It w uncountable
0
2. A coin is tossed until it turns up head. Number of tosses before we get head
are noted. This is a random experiment. The corresponding sample space
: 0,1, 2,3} has one one correspondence with the , so it is countable
2
Chapter 1: Basics of Probability
Algebra of events: Since events are sets algebraic operations on sets work for the
events.
x Union of two events: A and B are two events of : ,then their union is an
event representing occurrence of (at least one of them) A or B or both and
denoted by A B
Thus, A B { Z : Z A or Z B or A and 13 both}
x Finite Union and Countable Union: A1 , A2 ,}, An be the events of the sample
n
space U i 1 Ai is called as finite union of the events.
f
If n o f we have U i 1Ai which is called as countable union of the events
f
If n o f we have A which is called as countable intersection of the
i 1 i
events
3
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Laws of Operations: Union and intersection are the set operations, they obey
following laws.
x Associative law i) A B C A B C
ii) A B C A B C
x Distributive law i) A B C A B A C
ii) A 13 C A B A C
x
De Morgan’s Law i) A B A B . ii) A B A B
Impossible event: An event corresponding to an empty set.
Exhaustive events: The two events are said to be Exhaustive events if they
together form the sample space Alternately when all sample points are included in
them they are called Exhaustive events. Here AUB :
1 Z A
I A Z ® (1.1)
¯0 Z A
Partition of sample space: A1 , A2 ,}, An be the events of the sample space such
that they are Mutually exclusive and Exhaustive then are said to form (finite)
partition of the sample space.
4
Chapter 1: Basics of Probability
; Ai Aj M And A n
i 1 i
:
Note: Concepts of Mutually Exclusive Event and Exhaustive events and hence for
partition can be generalized for countable events A1 , A2 , }
(iii) A B C : and A B C
# A M
P A
#: N
5
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Example 1.3.
What is the probability that a positive integer selected at random from the set of
positive integers not exceeding 100 is divisible by (i) 5, (ii)5 or 3 (iii)5 and 3 ͂.?
6
Chapter 1: Basics of Probability
(i) All vowels are together. (ii)No two vowels are together ?
Solution: Since there are 11 letters in the word, they can be arranged in 11!
distinct ways so, # : 11!
Let A be an event that the random arrangement has all vowels together.
Since the 5 vowels is one group to be kept together and remaining 6
consonants, which is random arrangement of 7 entities in all can be done in
7! ways. In the group of 5 vowels the random arrangement can be done 5!.
ways. so, # A 7! X 5!
# A 7!5!
P A .01515
#: 11!
(ii) Let B be an event that the random arrangement no to vowels together. The
consonants can be arranged as *C *C *C *C *C *C * , where C stands for
consonants. 5 vowels can be arranged a t 7, * positions in 7 P5 ways and 6
consonants in 6! ways, all such random arrangements 7 P5 X 6! ways so,
7! X 6!
# B
2!
# B 7!6!
P B .04545
#: 11!21
Example 1.5. From a pack of well shuffled 52 cards four cards are selected
without replacing the selected card. Jack, queen, king or ace cards are treated as
honor card. a) What is the probability that are there are i) all honor cards ii) More
7
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
honor cards 9. b) What will be these probabilities if cards are drawn with
replacement?
Solution:
a) Since there are 52 cards in the pack of cards,4 can be selected without
52 52
replacement in C 4 distinct ways so, # : C4
i) Let A be an event that the random selection has 4 honor cards. Since there
16
are in all 4 X 4 honour cards, # A C4
# A 16C4
P A 0.0067
#: 52C4
ii) Let B be an event that the random selection has more , that is 4 or 3 honor
cards.
16
# B C4 36 C116C3 21980
# B 21980
P B 0.08119
#: 270725
# C 164
P C 0.00896
# : 524
ii) Let D be an event that the random selection has more ) that is 4 or 3 honor
cards.
# D 16 4 36 X 163 212992
# D 212992
P D 0.02913
# : 7311616
Example 1.6. In a party of 22 people, find the probability that (i) All have different
birtday (ii) Two persons have sme bithday (iii) 11 persons have birtday in same
month.
8
Chapter 1: Basics of Probability
(i) Since all 22 people can have any of 365 days as their bithday in 36522 ways.
Thus # : 36522
365
A be the event that all have different birhday, # A P22
Hence P A 0.5243
(ii) B be the event that two have same birthday and remaining 20 have different
birhday, Any 2 out of 22 can be chosen to have same birthday in 22C2 ways,
and remaining 21 different birthdays can be chosen from 365 days in 365P22
ways.
365
#B P21 u22 C 2
Hence P B 0.352
(iii) C be the event that 11 have birhday in same month and remaining 11 in
different months.
Now # : 12 22
12
And # C P11 u22 C11
Hence P C 0.000011
3. A roulette wheel has 40 spaces numbered from 1 to 40. Find the probability
of getting (i) number greater than 25(ii) An odd number (iii) A prime number.
9
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
7. 9 people are randomly seated at a round table. What is the probability that a
particular couple sit next to each other?
8. In a box there are 10 bulbs out of which 4 are not working. An electrician
selects 3 bulbs from that box at random what is the probability that at least
one of the bulb is working?
10. A pair of fair dice is thrown what is the probability that the sum of the
numbers on faces of the dice is (i) 6, 7 or 8. (ii) Divisible by 5.(iii)a prime
number?
11. What is the probability that in a group of 25 people (i) all have different
birtdays (ii)11 have birhday in different month and 14 in the same month?
12. Five letters are to be kept in five self addressed envelopes. What is the
probability that (i) All goes to correct envelope(ii)none of them goes to
correct envelope?
10
Chapter 1: Basics of Probability
14. What is the probability that there are 53 Thursdays and 53 Fridays in a leap
year?
16. The odds against an event A are 3: 5, the odds in favor of an event 13 are 7:
5, What are the probabilities of the events?
17. In a group of 12 persons what is the probability that (i) each of them have
different birthday (ii) each of them have birthday in different calendar month?
1 3x 1 4x
18. A, B, C are mutually exclusive. P A , P B and
2 3
1 x 1 1
P C . (i)Show that the range for x is, x (ii) are they
6 4 3
exhaustive?
11
2
FIELDS AND SIGMA FIELDS
Unit Structure
2.0 Objectives
2.2 Field
2.0 Objectives
12
Chapter 2: Fields and Sigma Fields
Finite Union and Countable Union : A is said to be closed under the finite union
if for any sets A1 , A2 , ..., An . A , * ni 1 Ai is A .Further if n o f and if we have
Uif 1 Ai is A, A is said to be closed under countable unions
2.2 Field
Notationally
A class of subsets of a non̺empty set : is called a field on : if
1. :
2. for any set A , A .
13
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Solution: No, if : is infinite then, : does not belong to and hence cannot
be a field.
Example 2.3. Complete the following class to obtain a field. Given : >0,1@ and
ª 1 ·½
®M ,1, «0, ¸ ¾
¯ ¬ 2 ¹¿
ª1 · ª 1 · ª 1 º½
Solution: Add ®> 0,1@ , « ,1¸ , «0, ¸ U ^1` , > 0,1 , « ,1» ¾ in to make it a field
¯ ¬2 ¹ ¬ 2 ¹ ¬ 2 ¼¿
1. : C.
14
Chapter 2: Fields and Sigma Fields
Notationally
1. :C
Solution:
15
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Definition 2.4. Borel V field: Let C is the class of all open intervals f, x
where x , a minimal V field generated by C is called as Borel V ̺ field,
and denoted by B.
§ 1 ·
fn 1 ¨ x , f ¸ > x, f . But B is closed under complements as well as
© n ¹
countable unions or intersections.
Hence contains all intervals of the type [ x,f )
§ 1·
2. f, x@ fn 1 ¨ f, x ¸ .So B contains all intervals of the type (f, x ]
© n¹
16
Chapter 2: Fields and Sigma Fields
17
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
1. is a field .If A, B then show that A B and A+ B are also events off
2. : ^1,2,3,4`.
Which of the following classes is a field on : ?
ª1 1 º
7. C is V field on : >0,1@ such that « n, , n 1» C for n = 1,2,....Show that
¬ ¼
1 1
following are the events of C. (i) ( ,1] ( ii ) (0, ]
n n
A n 1,3,5,
8. An ®
¯ B n 2, 4,6}
Find lim inf An , lim sup A7 l and show that lim An does not exists.
18
Chapter 2: Fields and Sigma Fields
9. Prove that (i) lim An * Bn limAn * limBn , (ii) limAn lim An , (iii)
lim An Bn
limAn limBn
11. If An o A then Ѹ n o
19
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
3
PROBABILITY MEASURE AND
LEBESGUE MEASURE
Unit Structure
3.0 Objectives
3.1 Probability Measure
3.2 Lebesgue Measure and integral
3.3 Discrete and absolutely continuous probability measures
3.4 Chapter End Exercises
3.0 Objectives
After going through this chapter you will learn
P * fi 1 Ai 6if 1 P Ai (3.1)
20
Chapter 3: Probability Measure and Lebesgue Measure
Complement
P A 1 P A
Proof:
: A* A
R.H. S
P A P A Hence
P A P A 1
P A 1 P A
P B P A P B A
So, P A d P B as P B A t 0
21
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
:, C then
lim P An
n of
P * fn 1 An (3.2)
lim P An
n of
P fn 1 An (3.3)
P * fj 1 A j
P * fj 1 B j
f
¦ j 1
P B j By countable additivity
n
lim ¦ j 1P B j By definition of sum of series
nof
lim P * nj 1 B j By finite additivity
n of
lim P An By definition of An
nof
lim P An
n of
P * fn 1 An
ii ^ Aj ` be the sequence of decreasing events, so A1 A2 } . hence ^ j` be the
sequence of increasing events, so Ѹ 1 ̺ 2" Applying result in (i) to ^ j`
P * fj 1 j lim P n
n of
(3.5)
22
Chapter 3: Probability Measure and Lebesgue Measure
1 P fj 1 Aj L.H.S by De Morgan’s law
1 lim P An
nof
lim P An
nof
P n fn 1 An
Theorem 3.2. The continuity property of probability.
lim An
nof
A , then lim P An
nof
P lim An
nof
P A (3.6)
Now consider,
fm n Am An U fm n Am (3.7)
Bn ؿAn ؿCn
By monotone property of P
P Bn d P An d P Cn
taking limits
lim P Bn d lim P An d lim P Cn
nof nof nof
So,
P B d lim P ArL d P C
nof
But, lim An A
23
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
implies
P B P A P C
lim P An
nof
P A P lim An nof
(3.8)
defined on space :, C as
1
P i
2i
for i :
Solution: a)
f 1
P : ¦ 1
i 1
2i
b)
P A t 0 for all A C
b) P A t 0 for all A B
c) Ai i, i 1 we can verify countable additivity
. P * fi 1 Ai ³ e x d x (3.11)
U if 1
24
Chapter 3: Probability Measure and Lebesgue Measure
0 I f,1
°
PI ®1
°2 I >1f
¯
Solution: a )
f 1
P : ³ z1
1 2
P is not a Probability function.
Theorem 3.3. Borel Catelli lemma
If ¦ P A f
i then P lim An P Ani.0 0
Proof:
P lim An
P fn 1 * fm n Am
d P * fm n Am
f
d ¦ m n
P Am as events need not be mutually exclusive
If ¦ P A f
i , then ¦ P A tends to zero as n o f Hence the proof.
m
Remark 3.1. Other half of the above result is stated as follows. But it needs
independent events.
For Ai are independent events of the sample space, If ¦ P A i f then
P lim An P Ani.0 1
25
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Solution:
§ 1 1º 1 1 1
(i) P ¨ , »
© 9 6¼ 6 9 18
1 1 1 f
1 ½
Similarly (ii) (iii) (iv) P{ : n 1, 2,...} ¦ P ®¯ n ¾¿ 0
9 9 n i 1
1 1 1
(v) x n n
implies n n x n n
2 2 2
1
x lies in mutually exclusive intervals of length
2n 1
1½ f
§ 1 1 ·
P ® x : x n n ¾ for n ` ¦ P ¨© n 2 n
,n ¸ 2
¯ 2 ¿ i 0 2n ¹
Remark 3.2.
x If : >0,1@ then P P is Probability measure.
x From above P ( a, b ] P a, b b a
1 ³ fd P 0, f
2 ³I A dP P A for any A \
26
Chapter 3: Probability Measure and Lebesgue Measure
³ fd P 1 (3.14)
P A ³ fd P (3.15)
A
P ³ fd P 1 (3.16)
Now consider A1 , A2 } be mutually exclusive Borel sets. Let Bn *ni 1 At and
B *fi 1 Ai Since fI Bn / fI B By monotone convergence of Lebesgue measure
P Bn ³ fd P ³ fI Bn d P / ³ fI B d P ³ fd P PB (3.17)
Bn B
27
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
(ii) f x ke2 x ; x ! 0
1
k
5
(ii) The density is 0 outside 0,f and on 0,f it L sf x ke2 x
f k
. ³ f x dx k ³ e2 x dx 1 (3.19)
0 2
k 2
Definition 3.6. Absolutely Continuous Probability Measure:
P is a probability measure on Borel subsets A of is said to be Absolutely
Continuous probability Measure, if there exists a density f such that
P A ³ fd P (3.20)
A
1 Z A
GZ A ® (3.21)
¯0 Z A
is called as Dirac Measure concentrated at w
Definition 3.8. : be at most countable arbitrary set ) be the family of subsets
: A Dirac measure on say GZ A probability measure P defined as
f
P A ¦ k 1 k
D Gk (3.22)
¦D
k 1
k 1
x : ^Z` is largest set with measure O, and its every subset has also measure
0 . Smallest set with measure 1 is w
28
Chapter 3: Probability Measure and Lebesgue Measure
Proof:
1. P : D P1 : 1 D P2 : 1 ,as both P1 and P2 are probability
measures.
2. P A D P1 A 1 D P2 A t 0 as Pi A t 0, i 1,2.
P * fn 1 An D P1 * fn 1 An 1 D P2 * fn 1 An
f f
D ¦ n 1P1 An 1 D ¦ n 1P2 An
f
¦ n 1
P An
probability measures, P A ¦ D P A
i i is a probability measure. Where
0 Di 1 and ¦D i 1
Example 3.4. Find the P A if following are the density functions and F is
absolutely Continuous probability measure w.r.t it and A (0, 2 ].
1
(i) f x I x . (ii) f x e x ) x ! 0
6 >3,3@
Solution:(i)
1 2 1
P 0,2@ 1dx
6 ³0 3
(ii)
2
P 0, 2@ ³e
x
dx 0.8647
0
29
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
1 3 1
Example 3.5. Define P by P A G1 A G 2 A P3 A ,
8 8 2
1
P3 has density f x I
6 >3,3@
x Compute > 2,3@ .
Solution: G1 > 2,3@ 1, G 2 > 2,3@ 1 , and
1 3 1 1 3 1 7
P3 > 2,3@ 1dx P > 2,3@ .
6 ³2
6 8 8 12 12
(i) f x kI ª 5 , 5 º¼
x
¬
(ii) f x kx3 ;0 x 1
1
(i) f x I x
4 > 1,4@
(ii) f x 6 x 1 x ;0 x 1
:, C as , for any I C
1 Iisfinite
PI ®
¯0 Iisinfinite
1 2
4. Find Lebesgue Measure for following sets , > 0,1@ , (, , ].
8 5
5. Show that Dirac Measure is a probability measure.
1 1 1
6. Define Paneity A G1 A G 2 A P3 A
4 4 2
30
Chapter 3: Probability Measure and Lebesgue Measure
1 3 1
7. Define P by P A G1 A P2 A P3 A , P2 has density
8 8 2
1
f x
2
I> 1,1@ x and P3 has density f x x 2 ;0 x 1 .Compute P >0,1@ .
8. If P An 'A o 0 as n o f then show that P An o P A .
31
4
CONDITIONAL PROBABILITY AND
INDEPENDENCE
Unit Structure
4.0 Objectives
4.0 Objectives
AB ^B A | A A`
We can easily verify that AB is a V ̺field. And B, AB is a measurable space. P
32
Chapter 4: Conditional Probability and Independence
PB is a probability measure on B, AB
proof:
1. PB A t 0 for all A A
2. PB B 1
x P A / A 1
x P A / : 1
x P A / B z P B / A
P A B P B P A / B
P A1 A2 A3 P A1 / A2 A3 P A2 / A3 P A3
33
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
The conditional probability is not defined when probability of given event is zero.
The conditional probability leads to another concept related with events, known as
independence.
Example 4.1. Show that
P A* B / C P A / C PB / C P A B / C
Solution:
P A * B C
P A* B / C
P C
.. By Distributive law
P A C P B C P A C B
P C
P A C P B C P A C B
P C P C P C
P A / C PB / C P A B / C
Required probability is
P A B
P A / B 0.6
P B
34
Chapter 4: Conditional Probability and Independence
Example 4.3
A box contains cards numbered 1 to 25. A card bearing even number was drawn,
but the number was not known. What / s the probability that it is card bearing
number divisible by 5c ?
Solution: : ^1,2,3}25` ,
12
P B P ( even no. card)
25
5
P A P ( card with no. divisible by 5 )
25
2
P A B P ( An even no. divisible by 5 )
25
Required probability is
P A B 2
P A / B
P B 12
The occurrence and nonoccurrence of the event, when does not depend on
occurrence and nonoccurrence of the other event the two events are said to be
independent. Since occurrence and nonoccurrence of the event is measured in terms
of probability. Instead of only independence we say stochastic independence or
independence in probability sense. Let us first define independence of two events.
we will later call it as pair wise independence
x Above definition works for any pair of events even when either P A or
P B is equal to zero.
35
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
P A B P A P B
Consider
P A B P A P A B
P A P A P B P A P B
Thus
P A B P A P B
1 ª¬ P A P B P A B º¼ 1 ª¬ P A P B P A P B º¼
P A P B
So, A and B are independent.
for k 2}n
36
Chapter 4: Conditional Probability and Independence
1. P A B P A P B
2. P AC P A P C
3. PB C P B P C
1. P A B P A P B
2. P AC P A P C
3. PB C P B P C And
4. P A B C P A P B P C
Example 4.4. An urn contains 5 white and 7 black balls.3 balls are drawn in
succession. What is the probability that all are white’? If ball are drawn (i) with
replacement (ii) Without replacement.
Solution: Let Ai be the event that i th drawn ball is white, i 1, 2,3 . (i) When balls
are drawn Without replacement, events are not independent. Using multiplication
theorem, Required prob. P A1 A2 A3
5 4 3 1
P A1 P A2 / A1 P A3 / A1 A2 u u
12 11 10 22
(ii) When balls are drawn with replacement, events are independent
3
§ 5·
P A1 A2 A3 P A1 P A2 P A3 ¨ ¸
© 12 ¹
37
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Example 4.5. A problem is given to three students whose chances of solving the
problem are 0.2,0.3 and 0.5 respectively. If all of them solve the problem
independently, find the probability that (i) None of them solves it. (ii) the problem
is solved by exactly two students
Solution: Let Ai be the event that i th , i 1,2,3 . student solves the problem
P A1 P A2 P A3 0.8 u 0.7 u 0.5 0.28
Example 4.6. : ^^1,1,1`^1, 2,1`^1,1, 2`^2,1,1`` , A : first no. is 1, B: second no. is1
, C:third no. is 1, examine whether A, B, C are completely independent?.
Solution:
P A P B P C 0.5, P A B PB C P A C 0.25 P A B
0.25 P A B P A P B , P A C P A P C , P B C P B P C
so A, B, C are pairwise independent. But P A B 0.25 z P A P C P B 0.125 ,
hence they are not completely independent.
n
P B ¦ P B / A P A
i 1 i i (4.5)
38
Chapter 4: Conditional Probability and Independence
B:
? P B P B :
P B
P B *ni 1 Ai
Since Ais forms partition
P U in 1B Ai
...... By distributive law.
n
¦ P B A .
i 1 i
n
¦ P B / A P A
i 1 i i
n
P B ¦ P B / A P A
i 1 i i
x Though the theorem is proved for finite partition, it is also true for countable
partition.
x At least two Ais are should have nonzero probability.
Solution: Let A be the event that screws are manufactured by two machines A and
B be the event that screws are manufactured by machines B. D be the event that
39
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Example 4.8. A ball is selected at random a box containing 3 white 7 black balls.
If a ball selected is white it is removed and then second ball is drawn. If the first
ball is black it is put back with 2 additional black balls and then second ball is
drawn. What is the probability that second drawn ball is white ̓?
Solution: Let AW be the event that ball drawn at the first draw is white AB be the
event that ball drawn at the first draw is black. D be the event that ball drawn at
2
the second draw is white Given P AW 0.3, P AB 0.7, P D / AW ,
9
3
P D / AB . By total probability theorem,
12
P D P AW P D / AW P AB P D / AB 0.2417
( P B / Aj P Aj
P Aj / B (4.6)
¦ P B / Ai P Ai
proof:
P Aj B
P Aj / B
P B
By multiplication theorem.
And using P B from total probability theorem the proof of theorem follows.
Example 4.9. Three people X , Y , Z have been nominated for the Manager ̓ s
post. The chances for getting elected for them are 0 . 4, 0.35 and 0.25 respectively.
If X will be selected the probability that he will introduce Bonus scheme is 0.6 the
respective chances in respect of Y and Z are 0.3 and 0.4 respectively. If it w
40
Chapter 4: Conditional Probability and Independence
known that Bonus scheme has been introduced, what is the probability that X is
selected as a Manager?
Solution: Let B be the event that bonus scheme is introduced. X , Y , Z denotes
respectively that X ,Y , Z are elected. Thus given P X 0.4 ,,
P Y 0.35, P Z 0.25, P B / X 0.6, P B / Y 0.3, P B / Z 0.4 By Bayes
Theorem,
PB / X P X
P X / B
P B / X P X P B / Y P Y P B / Z P Z
0.4 u 0.6
0.5275
0.4 u 0.6 0.25 u 0.3 0.35 u 0.4
Example 4.10. 1% of the population suffer from a dreadful disease. A suspected
person undergoes a test. However the test making correct diagnosis 90% of times.
Find the probability that person who has really caught by that disease given that
the test resulted positive? Solution: Let A1 be the event that person was really
caught by that disease
P D P A1 P D / A1 P A2 P D / A2 0.108
Required Probability is
( P A1 P D / A1
P A1 / D 0.08333
( P A1 P D / A1 ( P D / A2 P A2
1. What is the probability that(i)husband, wife and daughter have same birthday
(ii)two children have birthday in March?
2. 4 soldiers A,B,C and D fire at a target .Their chances of hitting the target are
0.4,0.3,0.75, and 0.6 respectively. They fire simultaneously. What is the
chance that(i) the target is not hit? (ii) the target is hit by exactly one of them.
3. If A, B, C are independent show that, (i) A, B C are independent(ii)A,
B C are independent(iii) A , B C are independent
41
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
6. Show that
P A P An B
P A / B
1 P B
, P B z 0 ,hence prove P AnB t P A P B 1
42
5
RANDOM VARIABLE AND ITS
DISTRIBUTION FUNCTION
Unit Structure
5.0 Objectives
5.1 Random Variable
5.2 Distribution unction
5.3 Discrete random variable and its p.m.f
5.4 Continuous random variable and its p.d.f
5.5 Chapter End Exercises
5.0 Objectives
After going through this chapter you will learn
x A real valued function defined on sample space,known as random variable
x Discrete and continuous r.v
x Distribution function of a r.v and its association with probability measure.
x Properties of Distribution function
x Probability mass function of a r.v.
x Probability density function of a r.v.
X 1 B ^Z | X w B` C
x Random variable is abbreviated by ‘ r.v ’
43
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
1 Z A
I A Z ® (5.1)
¯0 Z A
I A Z is a r.v on :, C iff A C.
1, X TH 1, X I J T 0
M x0
°TT 0 d x 1
°
X 1 f, x @ ® (5.2)
° HT , TH , HH 1 d x 2
°¯: xt2
Solution: If X is a r.v ^Z : X d x` C
x b½
Case I : a ! 0, b then ®Z : X d ¾C
¯ a ¿
{Z : aX b d x} C
x b½
Case II: a 0, b then as a complement of ®Z : X d ¾C
¯ a ¿
xb ½
®Z : X ! , a 0¾ C
¯ a ¿
{Z : aX d x b} C
44
Chapter 5: Random Variable and its Distribution Function
^Z : aX b d x` C
Case III: a 0
: x b t 0
^Z : aX b d x` ^Z : X d x b` ® (5.3)
¯M x b 0
Thus aX b is a r.v.
(ii) Let
ª1 º 1 1 ½ 1 ½
«¬ X d x »¼ ® d x, X ! 0}U{ d x, X 0 ¾ U ® d x, X
¯X X ¿ ¯X
0¾
¿
{ X 0} x 0
° 1 when x positive
ª 1 º °°{ X d x, X 0}U{ X t , X ! 0}
«¬ w : X d x »¼ ® x,0
° 1 1
°® X t ¾½ U ® X d , X ! 0}¾½ when x is negative
°¯¯ x¿ ¯ x ¿
ª1 º 1
All events are C So, « d x » is an event, hence is ar. v
¬X ¼ X
45
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
function FX x of X.
Example 5.5. One of the numbers 2, ... 1, 2 is chosen at random by throwing a pair
of dice and adding the numbers shown on the two faces. You win $9 in case 2,3, 11
or 12 comes out or lose $ 10 if the outcome is 7, otherwise you do not lose or win
anything. Find P[ X ! 0] and P[ X 0]
9 if a b 2,3,11,12
°
X ( v X a, b ®10 if a b 7 (5.4)
°0 if a b 4,5,6,8,9,10
¯
1 1
P[ X ! 0] ^Z : X Z 9` P ¬ª1,1 , 1, 2 , 2,1 , 6,5 5,6 6,6 º¼
6
P[ X 0] ^Z : X Z 7` 6
x P[a X d b] FXJ b FX a
46
Chapter 5: Random Variable and its Distribution Function
x FX x is right continuous.
0 P M
P lim Bn
n
lim P Bn lim P x, xn @ lim FX xn FX x
n n n
lim FX xn FX x (5.5)
n
(i) lim FX x FX f 0.
(ii) lim FX f 1.
lim FX xn FX f 0 (5.7)
nof
47
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
But FX f 0
lim FX xn 1 (5.9)
nof
By above theorem for every r.v we associate a d.f.on some prob. space.Thus given
a r.v there exists a d.f and conversely.
Example 5.7. 1. Write d . f of the following r.v.s
FX x P > X d x @ PX f, x @ 1 i f x t C
1
(ii) X No . of heads, : ^HH , HT ,TH ,TT ` P> X 0@ ) P> X 1@
4
1 1
, P> X 2@
2 4
0, x 0;
°1
° ) 0 d x 1)
°4
FX x P > X d x @®
°3, 1 d x 2;
°4
°1 x t 2.
¯
48
Chapter 5: Random Variable and its Distribution Function
¦ p x i 1
x Random variable has its characteristic probability law. *or discrete r.v it is
also called as probability ass function (p.m.f)
x For X discrete, i P(a X d b) FX b FX a
ii P(a X b) FX b FX a P > X b@
iii P a d X d b FX b FX a P > X a@
Example 5.8. Let X be no. of tosses of a coin up to and including the toss showing
head first time. (i) Write p.m. f of X hence find P [ X is even]. (ii) Also write
d . f of X .
i
pq ª ¦ i q º»¼
f
P [ X is even] p ª¬ q1 q 3 q 5 }º¼ 2
«¬ 1
49
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
pq q
P [ X is even]
1 q2 q 1
(ii) d . f of X is
n
FX x P > X d x@ ¦ x 1
p x 1 q7l
0 x 1
FX x P > X d x@ ® n
¯1 q n d x n 1; n 1, 2,
b
P ª¬ X a, b @º¼ PX a, b @ ³ f x dx (5.10)
a X
50
Chapter 5: Random Variable and its Distribution Function
Example 5.9. Coin is tossed. If it shows head you pay Rs.2 . If it show tail you spin
a wheel which gives the amount to you, distributed with uniform prob. between
Rs.0 to 10 you gain or loss is a random variable. Find the distribution function
and use it to compute the probability that you will win at least 5.
1 1 x
Solution : P > X 2@ and for > 0,10@ , f x , so FX x
2 10 10
0 x 2
°
° 1
FX x ® 0 d x 10 2 d x 0
° 0 2,1x
°¯1 x t 10.
1
P [ X is at least 5 ] 1 F 5 .
2
Example 5.10. A r. X has p.d . f
k
° 2 x t 100
f x ®x
°¯0 otherwise
1
Find i k ii P[50 X 200] (iii) M such that P[ X M ]
2
f
Solution: (i) ³ f X
f x dx 1 So,
f k k
³ dx k[ x 1 |100
f
i00 x2 100
k
? 1 , gives k 100
100
(ii)
200 100 1
P[50 X 200] ³ dx
150 x2 3
1
iii M such that P[ X M ] so
2
51
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
M 100 1
³ dx
100 x2 2
gives M 200
1 x 1 x 0
°
f x ®1 x 0 d x 1
°0 otherwise
¯
0 0 x
° x
° 0 d x 1
° 2
°° 1
FX x ® 1d x 2
° 2
°3 x
° 2 2d x3
°
°̄ 1 xt3
52
6
SOME SPECIAL RANDOM VARIABLES AND
THEIR DISTRIBUTIONS
Unit Structure
6.0 Objectives
6.1 Bernoulli and Binomial distribution
6.2 Poisson distribution
6.3 Normal Distribution
6.4 Chapter End Exercises
6.0 Objectives
In this chapter we will come across some typical r.v s and their distributions. In
real life situation we come across many experiments which result into only two
mutually exclusive outcomes. Generally the outcome of interest is called as ͂
Success’ and other as ͂Failure̓.We assign a positive probability ͂p̓ to
success and 1 p to failure.
Definition 6.1. Bernoulli r.v : Ar.vX assuming values 1 and 0 with probabilities
‘p̓ and 1 p is called as Bernoulli r .v
53
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Definition 6.2. Binomial distribution: A r.vX assuming values 0,1, 2}n is said
to follow Binomial distribution if its p.m. f is given by P[ X x1
° nC x p x q n x x 0,1,} n;0 p 1, p q 1
® (6.1)
°̄0otherwise
nx§ p·
P> X x 1@ ¨ ¸ P> X x@ (6.2)
x 1 © q ¹
This is forward formula. We can also start from P > X n@ and use the equation as
a backward formula.
54
Chapter 6: Some Special Random variables and their Distributions
Solution:
n
PX > X r@ Cr p r q n r
n
PY >Y n r@ Cn r q n r p r
n
But nCnr Cr
so,
n
PX > X r @ PY >Y n r@ Cr p r q nr
Head is thrice as likely as tail for a coin. It is flipped 4 times (i) Write p.m. f of X,
representing number of heads observed in this experiment. ii find probability of
getting 3 or 4 heads.
3
Solution : P H 3P T , so P H p ,tossing coin once is a Bernoulli trial.
4
X counting number of heads observed in tossing such bais coin 4 times. i X
§ 3·
follows B ¨ n 4, p ¸
© 4¹
P> X x@
4 § 3 · x § 1 · n x
° Cx ¨ ¸ ¨ ¸ x 0,1, 2,3, 4
® ©4¹ ©4¹ (6.3)
°0 otherwise
¯
4 3 2 2
§1· §1· §3· §1· §3·
P > X d 2@ ¨ ¸ 4 ¨ ¸ ¨ ¸ 6 ¨ ¸ ¨ ¸ 0.9198
©4¹ ©4¹ ©4¹ ©4¹ ©4¹
Example 6.3. It is found that 60r0 of the health care victims are senior citizens . If
a random sample of 10 victims is taken, what is the probability of getting exactly 3
senior citizens in this sample ,
Solution: X is number of victims who are senior citizens in this sample. X
10
follows B n 10, p 0.6 P > X 3@ C3 0.630.47 0.04247
55
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
6
C2 p 2 q 4 6
C4 p 4 q 2
1
p2 q 2 means p q
2
P> X Y k@ P ª¬ U nx 0 X x, Y k x º¼
n
¦ x 0
P> X x, Y k x@ (6.4)
n
¦ x 0
P> X x @ P >Y k x @ Since r.v.s are independent
n
¦ ªC x p x q n x º ªC x p k x q m k x º (6.5)
x 0 ¬ ¼¬ ¼
n
¦ ªC xmCk x p k q mnk º (6.6)
x 0 ¬ ¼
n
¦ ªCkm p k q mnk º (6.7)
x 0 ¬ ¼
Thus X Y follows B n m, p .
Now let us introduce another commonly used discrete r.v . Many a times we come
across a r.v counting number of occurrences in a fixed duration of time. *or
example, Number of deaths due to Maleria per month in Mumbai, Number of
accidents per hour on a express highway. Thc number of defects in cloth per square
metor is similar occasion where Poisson distribution is appropriate
Definition 6.3. Poisson distribution: A discrete r.vX assuming values 0,1, 2}f is
said to follow Poisson distribution if its p.m. f is given by
eO O x
° ; x 0,1,}f; O ! 0
P> X x@ ® x! (6.8)
°0 otherwise
¯
56
Chapter 6: Some Special Random variables and their Distributions
x In Binomial situation if number of successes are very large and the chance of
success is very small, but average number ͂ np ̓ is fixed say O then,
Binomial probabilities tends to Poisson as n becomes very large
eO O x
lim nC x p x q n x x 0,1 , ... f (6.10)
nof x!
Proof: X o B n, p , so P > X x@ n
C x p x q n x
O
By putting p
n
x n x
n! § O · § O · § O ·
¨ ¸ ¨1 ¸ ¨1 ¸
x !n x ! © n ¹ © n ¹ © n ¹
x
n! n n 1 n 2 } n x 1 O Ox
lim x
= 1
rL of x !n x ! x! n x
n x
§ O· § O·
lim ¨ 1 ¸ ¨ 1 ¸ eO
nof
© n¹ © n¹
Hence
n x n x eO O x
lim C x p q x 0,1 , ... f . (6.11)
n of x!
57
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
f ª e O1 O1 x º ª e O2 O2 k x º f ª e O1 O2 O1 O2 k º
¦ x 0
«
«¬
»«
x ! »¼ « k x ! »
» ¦ x 0
«
«¬ k!
»
»¼
¬ ¼
Thus X 1 X 2 o ( O1 O2 .
58
Chapter 6: Some Special Random variables and their Distributions
Example 6.10. 2% students are left̺handed. In a class of 200 students find the
probability that exactly 5 are left̺handed.
Solution: X is no. of left ̺ handed in 200, p .02 and n 200 thus X has
B(n 200, p . 02) . Using Poisson as a limiting distribution of Binomial,
X o ( O np 4
e 4 O 5
P > x t 5@ 0.1563
5!
1 § x P ·2
°e z¨ ¸
f x
° © V ¹ f xf; P V ! 0 (6.12)
®
° 2SV
°̄
X P
x If X o N P ,V 2 then Z has standard normal distribution.
D
x We denote by M z P > Z d z @ as d.f of N 0,1 .
x
X 1 o N P1 , V 12 and X 2 o N P 2 , V 22 ,if X1, X 2 are independent r.vs,then
X 1 X 2 o N P1 P1 , V 22 V 12
59
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Example 6.11. The score of the test are normally distributed with
N P 100,V 15 . Find the probability that score is below 112.
1. In order to qualify police academy, candidates must have score in top 10%in
the general ability test. If the test scores X o N P 200,D 20 , find the
lowest possible score to qualify.
3. On an average 0.2% of the screws are defective. *ind the probability that in
a random sample of such 200 screws we get exactly 3 defective screws.
P> X 4@ 3
4. X o ( O . *indO if .
P> X 3@ 8
P> X 4@ 3
5. X follows B n 5, p . Find p if .
P> X 3@ 8
6. A video tape on an average one defect every 1000 feet.What is the probability
of atleast one defect in 3000 feet?
60
Chapter 6: Some Special Random variables and their Distributions
7. 3% of all the cars fail emission inspection. *ind the probability that in a
sample of 90 cars three will fail.Use(i) Binomial distribution (ii)Poisson
approximation to Binomial.
iii X 2100 iv X ! 8.
§ i·
10. X i follows B ¨ n 5, ¸ . where i 1,2. i Write p.m f of X1 X 2
© 3¹
(ii) Find P > X 1 X 2 d 3@
61
7
TWO-DIMENSIONAL R.V.S
Unit Structure
7.0 Objectives
7.1 Probability Distributions of two-dimensional discrete r.v.s
7.2 Probability Distributions of two dimensional continuous r.v. s
7.3 Conditional Probability distributions
7.4 Independence of r.v.s
7.5 Chapter End Exercises
7.0 Objectives
The notion of r.v can be extended to multivariate case .In particular if X and Y are
two r.v.s. defined on same probability spacc :, C ,, P then ^ X ,Y B` C , for
any borel set B in 2 .Note that this Borel set is a 0 field generated by rectangles
a , b X c, d The mapping X , Y : :, C o 2 is a two dimensional r.v.
62
Chapter 7: Two-Dimensional R.V.S
2. ¦ ¦ P x, y
x y X ,Y
1
¦ ¦ P x, y
x y X ,Y
63
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Solution: PX x ¦ P x, y
X ,y find marginal p.m. f .s of r.v.sX , Y . is as
Marginal p.m. f of X .
and PY y ¦ P x, y is Marginal
X ,Y p.m. f of Y .
X 0 1 2
PX(x) 19 13 1
34 34 17
Y 0 1 2
Py(x) 25 52 25
102 102 102
Definition 7.3. Two dimensional continuous r.v . and their joint probability density
function: The two dimensional random variable X , Y is called as continuous if
there exists a function f X ,Y : 2 o > 0,1@
64
Chapter 7: Two-Dimensional R.V.S
satisfying
1. f X ,Y x, y t 0 for all x, y
f f
2. ³ ³
f f X ,Y
f x, y dxdy 1
b d
3. ³³ f X ,Y dxdy P > a d X d b, c d Y d d @ where a, b, c , and dare
a c
f
gX x ³ f x, y dy is called as Marginal p.d.f of X.
f X ,y
f
hy y ³ f x, y dx is called as Marginal p.d.f of Y.
f X ,y
(i) f X ,y x, y Ke x y for x t 0 y t 0.
Example 7.5. For the above two joint p.d . fs find I P[ X 0.5, y 0.5]
(II)Marginal p d . f .s of X and Y .
Solution:(i) f X ,y x, y e x y for x t 0 y t 0.
(I)
0.5 0.5 x y
0.5 2
P[ X 0.5, Y 0.5] ³ ³
0 0
e dxdy 1 e
65
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
f
II g X x ³ f f X ,Y x, y dy is Marginal p.d . f of X .
f x y
Marginal p.d . f of X. g X x ³ e dy e x for x t 0
0
f
hY y ³ f x, y dx is Marginal p.d . f of Y .
f X ,Y
f
Marginal p.d . f of Y. hY y ³ f X ,Y x, y dx e y for y t 0
0
(ii) f X ,y x, y 8 xy for 0 x y 1
(I)
0.5 y
P[ X 0.5, y 0.5] ³ ³ 8 xydxdy
0 0
2 3
0.5 x y 0.5 y 4
8³ y |0 dy 8³ dy 0.5 0.0625
0 2 0 2
1
(II) Marginal p.d . f of X. g X x ³ 8 xydy
x
4 x 1 x 2 for 0 x 1
y
Marginal p.d . f of Y. hY y ³ 8 xydx 4 y 3 for 0 y 1
0
1 xy
° x 1, y 1
f x, y ® 4
°¯0 Othrewise
Find P[ X 2 u,Y 2 v]
Solution:
P[ X 2 u , Y 2 v @ P> u X u , v Y v ]
u v 1 xy
³ ³ dxdy uv
u v 4
Definition 7.4. Conditional Probability mass function: Let the joint probability law
of a two dimensional discrete r.v X , Y be PX ,Y and the marginal p.m. f of X
and Y be PX x , PY y respectively, then the conditional p.m. f of X given
Y y is given by
PX ,y x, y
PX /y y x for all x, providedPy y z 0 (7.2)
Py y
66
Chapter 7: Two-Dimensional R.V.S
(ii)Find the conditional p.m. f of Y given X 2 (iii) Find the conditional p.m. f
of X given Y 2.
67
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
y 1 2
PY/X=2(y) 0 1
PX ,Y x, y
PX /Y 2 x 3
forx 1, 2 . (7.7)
4
x 1 2
PX/Y=2(x) 2 1
3 3
(i)Find the conditional p.d . f of Y given X x (ii) Find the conditional p.d . f of
X given Y y.
Solution: f X ,y x, y 8 xy for 0 x y 1
1
Marginal p.d . f of X. g X x ³ 8 xydy 4 x 1 x 2 for 0 x 1
x
y
Marginal p.d . f of y.hY y ³ 8 xydx 4 y 3 for 0 y 1
0
x For the two dimensional discrete r.v s X , Y are independent if and only if
the joint probability mass function is equal to the product of marginal p.m .fs
that is
PX ,Y x, y PX x Py y for all x,y (7.10)
68
Chapter 7: Two-Dimensional R.V.S
x For the two dimensional continuous r.v s X , Y are independent if and only
if the joint probability density is equal to the product of marginal p.d .fs that
is
x When the r.v.s are independent their conditional p.m.f. s / p.d.fs are same as
marginal p.m.f. s / p.d.fs
YЎ XЍ O 1 PY y
0 1 2 1
9 9 3
1 5 1 2
9 9 3
PX x 2 1 1
3 3
2 1
PX 0 PY 0 u
3 3
1
PX ,Y 0,0
9
PX 0 PY 0 z PX ,Y 0,0
? X , Y are not independent.
(ii) The joint density is f X ,Y x, y 8 xy for 0 x y 1 Marginal p.d . f of
1
X .g X x ³ 8 xydy 4 x 1 x 2 for 0 x 1
x
y
Marginal p.d . f of Y. hY y ³ 8 xydx 4 y 3 for 0 y 1
0
f X ,Y x, y z g X x u hY y
X , Y are not independent.
69
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
x
(ii) PX ,Y x, y K for x 1, 2; y 1, 4
y
(I)
YЎ X̺Ѝ 1 2 3 P[Y = y]
0 1 2 3 1
18 18 18 3
1 1 2 3 1
18 18 18 3
2 1 2 3 1
18 18 18 3
P[X = x] 1 1 1 1
6 3 2
(II) Two fair dice are tossed . X is maximum of the number on two
faces and Y is sum of the number on them.
70
Chapter 7: Two-Dimensional R.V.S
71
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
8
EXPECTATION, VARIANCE AND
THEIR PROPERTIES
Unit Structure
8.0 Objectives
8.1 Expectation of a r.v.
8.2 Variance of a r.v.
8.3 Characteristic function of a r.v.
8.4 Chapter End Exercises
8.0 Objectives
8.1 Expectation of a r. v.
72
Chapter 8: Expectation, Variance and their Properties
so, K 2 n
By definition of expectation,
n
EX ¦ x 0
xp x
n
2 n ¦ x 0x n
Cx
As
n
Cx nx n 1
Cx 1
n n
2 n n¦ x 1
n 1
Cx 1 2 n n2n1
2
(ii) X o ( O
f f e O O x
EX ¦ xp x ¦ x
x 0 x 0
x!
e O O x1
f
O¦x 1
x 1!
Using
ª O O2 º O
«1 11 21 }» e
¬ ¼
E X O e O eO O.
(iii) Let X be no. of tosses of a coin up to and including the first toss showing
heads. Let ͂p̓ be the chance of showing head. 1 p q , is chance of showing
tail.
P> X x@ pq x1
73
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
for x 1, 2}
f f
EX ¦ x 1
xp x ¦ x 1
xpq x 1
p 1
p ª¬1 2q 3q 2 }º¼ 2
1 q p
Example 8.2. Find expectation of r.v X if
(i) A r .vX assuming values 0,f with p.d . ff x O e O x . [This is Exponential
distribution with parameter O ]
(ii) A r .vX assuming values a, b , a b real numbers, with p.d . ff x
constant. [This is Rectagular or Uniform distribution ]
(iii)
X o N P ,V 2
Solution:(i) Since X is absolutely continuous r.v with density f x
f
EX ³ xf x dx (8.3)
f
f
EX ³ O xe O x dx (8.4)
0
e O x f e O x 1
xO |0f O ³ dx
O 0 O O
(ii) Since density is constant over a, b ,
b
³ Kdx 1
0
1
gives f x K
ba
x b x2 b2 a 2 ba
B X ³ D b a dx |ba (8.5)
2 b a 2 b a 2
(iii)
2
1 §¨ x P ·¸
° e 2© V ¹
f x ® f d x d f; P ,V ! 0 (8.6)
° 2SD
¯
2
1 § xP ·
¨ ¸
2© V ¹
f e
EX ³ x dx (8.7)
f 2SV
xP
Put z then x V z P and dx V dz
D
1
z2
f e 2
³ V z P
f
2S
dz
74
Chapter 8: Expectation, Variance and their Properties
1 1
z2 z2
f e 2 f e 2
D³ z dz P ³ dz (8.8)
f 2S f 2S
V u0 P P. (8.9)
³ dz 1
f 2S
Example 8.3. A r .vX has mean 1 , find mean of following r.v.s , (i) X , (ii) 2X
X 3 2 X
(iii) , (iv)
2 2
75
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
' 2
f
V X ³ X P f x dx
f 1 (8.13)
76
Chapter 8: Expectation, Variance and their Properties
x Positive square root of variance is called as standard deviation (s.d)of the r.v.
Example 8.6. A r .vX has variance 4, find variance and s.d of following r.v.s (i)
X 3 2 X
X , (ii) 2X , (iii) , (iv)
2 2
Solution:
(i) V X V X 4, s.d 2.
(ii) V 2x 22 V X 16,s.d 4
§ X3· V(X)
(iii) V ¨ ¸ 1
© 2 ¹ 22
§2X· V(X)
(iv) V ¨ ¸ 1,s.d 1
© 2 ¹ 22
f
f
e O O x
E X X 1 ¦ x x 1 p x ¦ x x 1
x 0
x 1 x!
f e O O x2
O2¦x 2 1
x 2
77
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Using
ª O O2 º O
«1 11 21 }» e
¬ ¼
E X X 1 O 2e O eO O2
So,
E X2 E X X 1 E X O 2 O.
2
V X
E X 2 ª¬ E X º¼ O2 O O2 O
Thus X o ( O , then V X O
(ii) X has Exponential distribution with parameter O
f
E X2 ³ 0
O x 2e O x dx (8.14)
e O x f e O x 2
x 2O |f0 2O ³ x dx
O 0 O O2
Since
f 1
EX ³ O xe O x dx
0 O
2
2 2 §1· 1
V X Pi X 2
ª¬ E X º¼ 2
¨ ¸
O2 O ©O¹
ba
(iii) Since X has Uniform over a, b , as seen above, E X
2
b x2 x3 b3 a 3 b 2 ab a 2
EX 2 ³ a b a dx |ba (8.15)
3 b a 2 b a 3
2 2
2 b 2 ab a 2 § b a · b a
V X E X ª¬ H X º¼
2
3
¨
© 2 ¹
¸
12
A complex valued function of a r.v that is useful to study various properties of a r.v
is known as characteristic function(ch.f).
I) For discrete r.v : A discrete r.v X having p.m.f PX , then its ch.f is given by
f
) X t ¦ P
x 0 X
x eitx (8.16)
t and i 1
78
Chapter 8: Expectation, Variance and their Properties
II) For continuous r.v A continuous r.v X having p.d.f f X x , then its ch. f is
given by
f
) X t ³ f X
f x eitx dx (8.17)
t and i 1
f
x We can also write ) X t ³ eitx dFX x which includes all r.v.
f
x ) X t
E eitX E (cos tX iE sin tX
(i) X o B n, p
(iii) X o N P , V 2
Solution:(i)
n
¦ C p q x n x itx
) X t x 0 x e (8.18)
t and i 1
n x n
¦ C q pe q pe
n x it it
) X t x 0 x (8.19)
n
Using Binomial expansion. Ch. f of X o B n, p is ) X t q pe it
(ii)
f
x itx p
) X t ¦ pq e (8.20)
x 0 1 qeit
p
So, Ch. f of Geometric distribution with parameter p is ) X t (iii)
1 qet
79
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
2
1 § xP ·
¨ ¸
2© V ¹
f e
) X t ³ eitx dx (8.21)
f 2SV
xP
Put z then x V z P and dx V dz
V
1
z2
f it V z P e 2
³ e dz
f
2S
1
1 z itD 2
it P D 2t 2 f e 2
e 2
³ dz (8.22)
f 2S
1
it P V 2t 2
e 2
(8.23)
Since
1
z itV 2
f e 2
³ dz 1
f 2S
1
it P V 2t 2
X o N P ,V 2
then its ch. f ) X t e 2
x ) X t d 1 for all t .
x Product of any two ch. fs is also a ch, f . Thus any power of ) X t is also
a ch, f .
80
Chapter 8: Expectation, Variance and their Properties
Example 8.9. Find ch. f of X which is Uniform r.v over 0,1 . Hence that of
̺X. Solution : f x 1 for 0 x 1
1 eit 1
) X t ³ eitx dx
0 it
eit 1
) X t
it
Example 8.10. Using above result find ch. f of X̺ Y if X , Y are i.i.d Uniform
0,1 .
eit 1
Solution: ) X t )Y t
it
eit 1
) Y t
it
X and Y are independent, X ,̺Y are also independent, by property of ch. f
Solution:
eil eil e2il e2il 2
cost
2
So, cos 2 t
4
E eitX
cos 2 t is a ch. f .
ai t 0 , and ¦a i 1, ¦ ) X x ai is a ch. f of ¦ aF i Xx
Following theorem characterizes the ch. f and its density or d.f. Uniquely.
81
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Solution:
2 3
) t ) t
1 ) t
e
) t 1 2! 3!
e
f
¦ a ) j t
j 1 j
1 f
where a a j with ¦a 1 1 and ) j t ) j t , ch. f . of j̺fold convolution
j !e j 1
) t 1
of F ’ x . hence e is a ch.f
e x
Example 8.13. f x for f x f then find its ch. f .
2
Solution:
x
f
i tx e
) X t ³ e dx
f 2
0 ex f e x 1§ 1 1 · 1
³ eitx dx ³ eitx dx ¨ ¸
f 2 0 2 2 © 1 it 1 it ¹ 1 t 2
t
) X t e find its p.d . f
1
Solution: Since from the above example for f x e x ch f is , we write
1 t2
x
1 f
itx e
³ e dx
1 t2 f 2
1 y2 ³ fe 2 dx
82
Chapter 8: Expectation, Variance and their Properties
1
replace x by ̺t in above equation and multiply by gives
S
1 1 1 f t
³ eiyt e dt
S 1 y2 2S f
(iii) p.d.f of X is
1 x for 1 x d 0
°
f x ®1 x for0 x d 1 (8.26)
°0 Otherwise
¯
k
3. Are following ch. f ? (i) cost (ii) Re) X t (iii) P ) X t ¦ ) t X pk .
1
(iv)
1 t
83
9
THEOREMS ON EXPECTATION AND
CONDITIONAL EXPECTATION
Unit Structure
9.0 Objectives
9.1 Expectation of a function of two dimensional r.v.s
9.2 Conditional Expectation
9.3 Chapter End Exercises
9.0 Objectives
x Theorems on expectation.
m n
Pi ª¬ g X , Y º¼ ¦ ¦ g x , y p x , y
j 1 i 1 i j i j (9.1)
84
Chapter 9: Theorems on Expectation and Conditional Expectation
E X Y E X E Y (9.3)
Proof: We assume that the r.v.s (X, Y) are continuous with joint p.d.f. f X ,Y x, y
and marginal p.d.f .sg X x , hY y .
f f
E X y ³ ³ x y f x, y dxdy X ,Y
f f
f f f f
³ ³ xf X ,y x, y dxdy ³ ³ yf X ,Y x, y dxdy
f f f f
f
x ª f f x, y dy º dx f y ª f f x, y dx º dy
³ f «¬ ³ f X ,Y »¼ ³ f «¬ ³ f X ,Y »¼
f f
³ xg X x dx ³ yhY y dy*rom the definition g X x , hY y
f f
E XY E X E Y (9.4)
Proof: We assume that the r.v.s X , Y are continuous with joint p.d.f. f X ,Y x, y
and marginal p.d.f .sg X x , hY y .
f f
E XY ³ ³ xyf X ,y x, y dxdy
f f
f f
³ ³ xyf X ,Y x, y dxdy
f f
f f
³ ³ xyg X x hY y dxdy By independence of X and Y
f f
f f
³ xg X x ³ yhy y dxdy
f f
85
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
E X 1 X 2 } X n E X 1 E X 2 } E X n (9.5)
E X1 X 2 } X n E X 1 E X 2 } E X n (9.6)
g X x , hY y
f f
Pi > aX bY c ] ³ ³ ax by c f x, y dxdy (9.7)
f f
f f f f f f
³ ³ axf X ,Y x, y dxdy ³ ³ by f X ,y x, y dxdy c ³ ³ f x, y dxdy
f f f f f f X ,Y
f f f f
a ³ x ª ³ f X ,y x, y dy º dx b ³ y ª ³ f X ,Y x, y dx º dy cBy property of joint
« f
f ¬ ¼» « f
f ¬ ¼»
f f
p.d . f a ³ xg X x dx b ³ yhY y dy c By the definition 9 x x , hY y
f f
dh a
2aE ª¬Y 2 º¼ 2 E > XY @ 0
da
gives
pj > XY @
a
E ª¬Y 2 º¼
86
Chapter 9: Theorems on Expectation and Conditional Expectation
And
d 2h a
2 E ª¬Y 2 º¼ t 0
da 2
E > XY @
Thus h a is minimum vjhen a
E ª¬Y 2 º¼
2
ª E > XY @ º E > XY @ E > XY @
ha t E « X Y» fij ª¬ X 2 º¼ E ª¬Y 2 º¼ 2 2 fii > XY @
«¬ E ª¬Y 2 º¼ »¼ 2
E ª¬Y º¼ E ª¬Y 2 º¼
2
2 E > XY @
E ¬ª X ¼º t0
pj ª¬Y 2 º¼
gives
2
E > XY @ d E ª¬ X 2 º¼ E ª¬Y 2 º¼
Example 9.3. Show that
§ 1 · 1
E¨ 2 ¸ t 2
© X ¹ E ª¬ X º¼
1
Solution: Using Cauchy Schwarz̓s inequality for y
X
ª 1 º
1 d E ª¬ X 2 º¼ E « 2 »
¬X ¼
divide inequality by E ª¬ X 2 º¼ ! 0 to get,
§ 1 · 1
B¨ 2 ¸ t 2
© X ¹ E ª¬ X º¼
Example 9.4. Show that for any two r.v.sX , Y ,
2
E > X Y @ d E ª¬ X 2 º¼ E ª¬Y 2 º¼
Solution: Consider,
2
E>X Y @ E ª¬ X 2 2 Xy Y 2 º¼
E ª¬ X 2 º¼ 2 E > XY @ E ª¬Y 2 º¼
87
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
n
EX /Y yj ¦ x P X
i 1 i
xi / Y yj (9.8)
Case (II) Let X , Y be the two dimensional continuous r .v with joint probability
density function f X ,Y x, y x, y 2 the conditional expected value of X given
Y y denoted by E X / y y and defined as
f
EX /Y y ³ xg X / Y y dx (9.9)
f
m
E Y / X xi ¦ j 1 j
y P Y yj / X xi (9.10)
Case (II) Let X , Y be the two dimensional continuous r .v with joint probability
density function f X ,Y x, y x, y 2 the conditional expected value of X given
Y y denoted by E Y / X x and defined as
f
E Y / X x ³ yh Y / X x dy (9.11)
f
Ey E X / Y y E X
and Ex E Y / X x E Y
88
Chapter 9: Theorems on Expectation and Conditional Expectation
Proof: Consider
f
EX / y y ³ xg X / y dx
f
Multiply both sides of above equation by h y and itegrate with respect to y,to get
f f f
³ h y Pi X / y dy ³ ³
f f f
xh y g X / y dxdy
Pi X (9.13)
Hence the proof. We can similarly prove Ex E Y / X x E Y
Example 9.5. Find conditional means of X and Y of the following r.v. The joint
p.d . f of f X ,Y x, y 8 xy for 0 x y 1
Solution: From 13.8 the conditional p, d . f of X givenY yis
2x
g X /Y y x for 0 x y
y2
y 2x 2
E X / y ³ xy 2
dx y
0 3
From (13.9) the conditional p.d . f of Ygiven X xis
2y
hY / X x y for x y 1
1 x2
E Y / x
1
y
2y
dy
2 1 x x2
³ x 1 x2 3 1 x
Example 9.6. Find E X / Y 2 , and E Y / X 2 if the joint p.m. f . of
r.v. X , Y is as given below.
YЎ XЍ 1 2 PY(y)
1 1 0 1
4 4
2 1 1 3
2 4 4
3 1 PX(x) 1
4 4
Solution: The conditional p.m. f of Y given X 2 is given by
89
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Y 1 2
PX/Y=2(y) 0 1̺3l
E Y / X 2 2 : yP Y y/ X 2 2
The conditional p.m. f of X given Y 2 is given by
x 1 2
PX/Y=2(x) 2 1
3 3
4
EX /Y 2 ¦ xP X x /Y 2
3
1. If X and Y are independent then show that conditional means are same same
as simple means.
2
2. Show that E X P d E X P
3. Find conditional means of X and Y of the following r.v. The joint p.d.f of
f X ,Y x, y 2 for 0 x y 1
6. Two balls are drawn from an urn containing one yel of blue balls
drawn.low,two red and three blue balls. Let X be the number of red balls, and
Y be the number of blue balls drawn. *ind the joint p.m.f of X, Y ,hence
E X /Y 2 and E Y / X 2 .
90
10
LAW OF LARGE NUMBERS AND
CENTRAL LIMIT THEOREM
Unit Structure
10.0 Objectives
10.1 Chebyshev’s inequality
10.2 Modes of Convergence
10.3 Laws of large numbers
10.4 Central Limit Theorem
10.5 Chapter End Exercises
10.0 Objectives
Theorem 10.1. X is a non̺negative r.v with finite mean then for any C ! 0
EX
P> X t C@ d (10.1)
C
91
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
proof :
f
E> X @ ³ xf X x dx (10.2)
f
Consider : ^ X t C` U{ X C} So,
E> X @ ³ xf X x dx ³ xf X x dx (10.3)
X tC X C
t³ xf X x dx
X tC
t³ Cf X x
X tC
CP > X t C @
Hence we get
B X
P> X t C@ d (10.4)
C
Following inequality is directly followed from above theorem
Theorem 10.2. Chebyshev’s inequality X is a r.v with mean P and variance
V 2 then for any C ! 0
V2
P ª¬ X P t C º¼ d 2
C
2
proof: X P t C implies X P t C 2
So
2
2 E ( X P
E ª¬ X P t C º¼ d P ª X P t C 2 º d
¬ ¼ C2
2
Using above theorem for X P
V X
C2
Hence
V2
P ª¬ X P t C º¼ d 2 (10.5)
C
x Inequality can also be written as
V2
P[ X P C ] t 1 (10.6)
C2
we get an lower bound on the probability that r.v deviates from its mean by C
92
Chapter 10: Law of Large Numbers and Central Limit Theorem
x The bounds given by Chebyshev’s inequality are theoretical and not practical,
in the sense that the bounds are rarely attained by the r.v.
Solution:
P > X d 32@ P > X t 48@ P ª¬ X 40 t 8 º¼
By Chebyshev’s inequality,
variance
P ª¬ X 40 t 8º¼ d 0.1875
82
Example 10.2. A unbiased coin is tossed 400 times,find the probability that number
of heads lie between (160, 240).
§ 1·
Solution: X has B ¨ 400, ¸ . X has Mean 200 and Variance 100.
© 2¹
93
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
P
We say that X n oX
a.s
We say that X n oX
We say the Weak Law of Large Numbers (WLLN) holds for the sequence of
r.v.s ^ X i `
94
Chapter 10: Law of Large Numbers and Central Limit Theorem
proof: Consider
ܵ σ ൌ ͳ ߤ ܵ ܵ
ܲሺቤ െ ቤ ߝሻ ൌ ܲሺฬ െ ܧ൬ ൰ฬ ߝሻ
݊ ݊ ݊ ݊
§S ·
Var ¨ n ¸
d © n ¹
H2
Because of independence of r.vs and by Chebyshev̓s Inequality .Further
2
¦V i
(10.12)
n 2H 2
Taking limit as n tends to f of both sides of inequality we get R.H. S limit zero
since variances are finite, finally
S n ¦ Pi
lim P ( !H) 0 (10.13)
nof n n
x The limiting value of chance that average values of the r.v.s becomes close to
the mean is nearly 1,as n approaches to f
x Assumption of finite variance is required for non identically distributed
r.v.s.The condition for WLLN to hold for such sequence is that
V SrL
n2
tends to zero as n approaches to infinity. *or i.i.d.r.vs only existence of
finite mean is required.
x Above law is a weak law in the sense that there is another law which implies
this law
95
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Example 10.3. Examine whether WLLN holds for the following sequence of the
independent r.v.s.
1.
1
°° 2k 1 withprob 2
Xk ®
° 2k 1 1
withprob
°̄ 2
V Sn
does not tend to zero as n approaches to f . WLLN does not hold for the
n2
sequence
2.
k 1
°°r2 withprob
2 2 k 1
Xk ®
°0 1
withprob 1
°̄ 22 k
V Sn
tends to zero as n approaches to f , therefore WLLN holds for the
n2
sequence
Theorem 10.5. Strong Law of Large Numbers(SLLN): X1 , X 2 } X n be the
independent r.vs with means P1, P2 }P7l respectively and finite variances
x The average values of the r.v.s becomes close to the mean as n approaches
to f with very high probability.That is almost surely.
x Assumption of finite variance is required for non identically distributed r.v.s.
The condition for SIದLN to hold for such sequence is that
96
Chapter 10: Law of Large Numbers and Central Limit Theorem
f V Xi
¦ i 1
i2
f
Weak law of large numbers gives an idea about whether the difference between
average value of r.v.s and their mean becomes small But following theorem gives
the limiting probability of this becomes less than small number H
Central Limit Theorem is basically used to find the approximate probabilities, using
Normal distribution.The theorem was initially proved for bernoulli r.v.s It has been
proved by many mathematicians and statisticians, by imposing different conditions.
Theorem 10.6. Central Limit Theorem by Lindberg̺Léévy(CLT):
X1, X 2 } X n be the i.i.dr.vs with common mean P and common variance V 2 , let
Sn ¦X i for any a ! 0 ,
97
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
Sn
P 1
n 1 a x2
lim P ( a) ³ e 2
dx (10.17)
nof D 271 a
1
1 a x2
M a ³ e 2
dx (10.18)
271 f
Sn
P
Sn V
x P( n a) P( P a) (10.19)
V n n
n
V n
Now if the choice of H is arbitrary take H a that is a H , as n
n V
approaches to f the above probability becomes,
Sn
lim P( P H ) M f 1 (10.20)
nof n
n
x Sn o P ¦ i 1Pi
Sn
.Thus WLLN holds CLT gives probability bound for P ,where as
n
WLLN gives only the limiting value.
Sn
p 1
n 1 o x2
lim P ( a) ³ e 2
dx (10.21)
nof pq 2S f
Example 10.5. A fair coin is tossed 10, 000 independently. Find the probability
that number of heads (i)differs by less than 1% from 5000 ii is greater than 5100
98
Chapter 10: Law of Large Numbers and Central Limit Theorem
Solution: Sn be the number of heads in 10, 000 independent tosses of a fair coin.
Pi Sn 5000 and V Sn 2500
By CLT i
Sn 5000
lim P( Sn 5000 50) lim P( 1) (10.22)
nof nof 2500
1
1 1 x2
³ e 2
dx 2M 1 1 0.6826 (10.23)
2S 1
(ii)
Sn 5000 5100 5000
lim P( Sn ! 5100) lim P( ! ) (10.24)
nof nof 2500 2500
1
1 f x2
³ e 2
dx 1 M 2 0.0228 (10.25)
27 r 2
Example 10.6. How many independent tosses of a fair die are required for the
1
probability that average number of sixes differ from by less than 6% to be at
6
least 0.95?
Sn 5th Sn
Solution. bee number average of sixes in n independent tosses of a
n 36n )n
§S ·
fair die. E ¨ n ¸ By CLT i
© n ¹
Sn 1 5
lim P( .01 ) t 0.95 (10.26)
nof n 6 36n
5 1
1 .01 x2 § 5 ·
³ 36 n
e
2
dx 2M ¨¨ .01 ¸ 1 t 0.95 (10.27)
2S .01
5
36 n © 36n ¸¹
5 1962 x5
So,.01 t 1.96 or it gives n ! 5336 Toss the die at least 5336 times
36n 36 x.012
to get the result.
99
SET THEORY AND LOGIC & ELEMENTRY PROBABILITY THEORY
2. Find K such that probability of getting hcad between 450toK is 0.9, in 1000
tosscs of a fair coin.
k 1
°°r2 withprob
2 2 k 1
Xk ®
°0 1
withprob 1
°̄ 2k
1
°° k withprob
2
Xk ®
° k 1
withprob
°̄ 2
100