Professional Documents
Culture Documents
COM
Problem 4. Define th
n order stationary process, when will it become a SSS process?
Solution:
A random process X t is said to be stationary to order n or th
n order stationary
if its th
n order density function is invariant to a shift of time origin.
i.e., f x x x t t t f x x x t t t X n n X n n 1 2 1 2 1 2 1 2 , ,..., , , ,..., , ,..., , , ,...,
for all t t t & h .
1 2 , ,...,n
A th
1
WWW.VIDYARTHIPLUS.COM
( ) 1 , i P occumence in t t t t o t
( ) , 1 ii P no occurrence in t t t t o t
0
2
e
.
2
WWW.VIDYARTHIPLUS.COM
1 2 1 2 2 1/ 2
22
ij
11
CXtXt and
ij i j , ij
Cofactor of ij in .
01
Problem 15. If the transition markov chain is steady-state
22
probability matrix of a distribution of the chain. find the
11
3
WWW.VIDYARTHIPLUS.COM
Solution:
Let 1 2 , be the limiting form of the state probability distribution
on stationary state distribution of the markov chain.
By the property of , P
01
i.e., 1 2 1 2
,,
11
22
1
2 ----------- (1)
21
1
------ (2)
122
2
Equation (1) & (2) are one and the same.
Consider (1) or (2) with 1 2 1, since is a probability
distribution. 1 2 1
1
1
Using (1) ,2 2
2
3
1
2
2
2111
2 33
2
3
12
1211
33
21
22
1
&
13 . 3
PART-B
Problem 16. a). Define a random (stochastic) process. Explain the classification of
random process. Give an example to each class.
Solution:
RANDOM PROCESS
A random process is a collection (orensemble) of random variables X s t ,
that are functions of a real variable, namely time t where s S (sample space) and t T
(Parameter set or index set).
CLASSIFICATION OF RANDOM PROCESS
Depending on the continuous on discrete nature of the state space S and parameter setT , a
random process can be classified into four types:
(i). It bothT S & are discrete, the random process is called a discrete random sequence. n
toss of a fair dice, then X n n, 1
is a
Example: If Xnrepresents the outcome of the th
discrete random sequence, since T 1, 2,3,... and S 1, 2,3, 4,5,6.
4
WWW.VIDYARTHIPLUS.COM
(ii). If T is discrete and S is continuous, the random process is called a continuous random
sequence.
Example: If Xnrepresents the temperature at the end th
n hour of a day, then
X n n,1 24 is a continuous random sequence since temperature can take any
value is an interval and hence continuous.
(iii). If T is continuous and S is discrete, the random process is called a discrete random
process.
Example: If X t represents the number of telephone calls received in the interval
0,t then X t random process, since S 0,1,2,3,....
(iv). If both T and S are continuous, the random process is called a continuous random
process f
Example: If X t represents the maximum temperature at a place in the interval
0,t X t is a continuous random process.
,
f0,
1
0
2
22
EXtXtfd00
2 2
1
cos t d 0 . 0
2
2
cos t d 0 0
2
1
sin t 0
2
2
2
cost
Constant.
5
WWW.VIDYARTHIPLUS.COM
Problem 17. a). Show that the process X t whose probability distribution
under
n
1
at
n
2,...
n
1, 1,
at
PXtn
1
certain conditions is given by
at
is evolutionary. n
1
at Xtn
Solution: ,0
The probability distribution is
given by
:0123....2
at at at
1
P X t nat
at at at
: . . . . 234
1
111
E X t np n
n 0
2
3
1 2 ...
at at
234
111
at at at
2
1
1 2 3 ...
at at
2
111
at at
at
at
2
1
1
2
11
at at
1
E X t
Constant
22
EXtnpn
n 0
nn
11
at at
2
nnnn
1
nn
11
11
at at
nn
11
nn
11
1
1 at at
nnn2
111
at at at
nn
11
32
1
211
at at
2
111
at at at
2 1 2
E X t at Constant
2
2
Var X t E X t E X t
Var X t at 2
The given processX t is evolutionary
6
WWW.VIDYARTHIPLUS.COM
b). Examine whether the Poisson process X t given by the probability law t n
, 0,1, 2,...
et
is evolutionary. P X t n n
n
!
Solution:
E X t np n
n 0 n
t
n
et n
n
0 ! tn
et
1 1
!
n 1
n n
t t
te
n
n
1 1!
2 t
e
tt t
1 ...
1! 2!
t t t e e
E X t t
E X t Constant.
Hence the Poisson process X t is evolutionary.
2Acos t d
0
2
A
cos t d
2
0
A
20 2 sin t
7
WWW.VIDYARTHIPLUS.COM
A
sin t sin t 2
2
A
sin t sin t sin sin 2
2
0
E X t
R t t E X t X t XX 1 2 1 2 ,
E A cos t cos t 1 2
2
1 2 1 2 22 A E
cos t t cos t t
2
22
A 1
cos t t cos t t d 2
1212
22
0
sin t t
A cos t
2
2
12
2
42
0
2
t
A
cos
4
A
2
2
cos t a function of time difference
2
Since E X t constant
R t t XX 1 2 , a function of time difference
X t is a WSS.
8
WWW.VIDYARTHIPLUS.COM
2sin t y dy
0
1
2cos t y 0
2
1
2
2cos t cos t
0
9
WWW.VIDYARTHIPLUS.COM
2
111
2
cos t t cos t t y dy
1212
2220
2
1 1 2 sin t t y
12
cos t t
12
242
0
11
2
1 2 1 2 1 2
cos t t sin t t sin t t
28
1 2
1
cos t t is a function of time difference.
2
X t is WSS.
b). Verify whether the sine wave random process X t Y t sin , Y is uniformly
distributed in the interval 1,1 is WSS or not
Solution:
Since y is uniformly distributed in1,1,
1
,11
fyy
2
1
E X t X t f y dy ( ) ( ) ( )
1 1
1
dy
y sin t
1
1
2
sin t
ydy
1
2
Sin t
0 0
2
R t t E X t X t XX 1 2 1 2 ,
E y sin t sin t 1 2
2
1212 2
E y
cos t t cosw t t
2
cos t t cosw t t
Ey
12122
2
1
cos t t cosw t t
y f y dy
12122
1
2
1
cos t t cosw t t
y dy
1
12122
22
1
10
WWW.VIDYARTHIPLUS.COM
1 cos t t cosw t t
y
3
1212
43
1
1212 2
cos t t cosw t t
43
1212
6
cos t t cosw t
t
R t t XX 1 2 , a function of time difference alone.
Hence it is not a WSS Process.
Problem 20. a). Show that the process X t A t B t cos sin (where A &
0 (ii)
B are random variables) is WSS, if (i) E A E B
22
E A E B and (iii)
E AB 0 .
Solution:
Given X t Acos t Bsin t , E A E B 0 , E AB 0
,
22
E A E B k say ( )
E X t cos t E A sin t E B
0
E X t is a constant. E A E B 0
R t t E X t X t 1 2 1 2 ,
E Acos t Bsin t Acos t Bsin t 1 1 2 2
22
E A cos t cos t E B sin t sin t E AB sin t cos t cos t sin t 1 2 1 2 1 2 1 2
22
E A cos t cos t E B sin t sin t E AB sin t t 1 2 1 2 1 2
k cos t cos t sin t sin t 1 2 1 2
kcos t t 1 2 is a function of time difference.
X t is WSS.
b). If X t Ycost Zsint for all t & where Y & Z are independent binary random
2 1
variables. Each of which assumes the values – 1 & 2 with probabilities 3& 3
respectively, prove that X t is WSS.
Solution:
Given
Yy
:12
21
P :
33
Yy
11
WWW.VIDYARTHIPLUS.COM
21
120
EYEZ
33
21
2222 12
EYEZ
33
246
22 2
EYEZ
333
Since Y & Z are independent
E YZ E Y E Z 0 ---- (1)
22
E y cost cost E z sint sint 1 2 1 2
1212 2 2 cost cost sint sint E y E z
22
2cos t t 1 2 is a function of time difference.
X t is WSS.
Problem 21. a). Check whether the two random process given by
X t A t B t cos sin & Y t B t A t cos sin . Show
that X t & Y t are jointly WSS if A & B are uncorrelated random variables
with zero mean and equal variance random variables are jointly WSS.
Solution:
Given E A E B 0
2 Var A Var B
222
E A E B
As A B & uncorrelated are E AB E A E B 0 .
E X t E Acos t Bsin t
E A cos t E B sin t 0
0
E X t is a constant.
R t t E X t X t XX 1 2 1 2 ,
E Acos t Bsin t Acos t Bsin t 1 2 2 2
12
WWW.VIDYARTHIPLUS.COM
22
E A cos t cos t ABcos t sin t BAsin t cos t B sin t sin t 12121212
E Y t E Bcos t Asin t
E B cos t E A sin t 0
R t t E B cos t Asin t B cos t Asin t YY 1 2 1 1 2 2 ,
E B cos t cos t BAcos t sin t AB sin t cos t A sin t sin t 1 2 1 2 1 2 1 2
22
22
E B cos t cos t E BA cos t sin t E AB sin t cos t E A sin t si 1 2 1 2 1 2 1 2
cos t t
n t 12
2 222
[ & 0] E A E B E AB E BA
R t t YY 1 2 , is a function of time difference.
R t t E X t Y t XY 1 2 1 2 ,
E Acos t Bsin t Bcos t Asin t 1 1 2 2
E ABcos t cos t A cos t sin t B sin t cos t BAsin t sin t 1 2 1 2 1 2 1 2
22
2
1212 sin t cos t cos t sin t
1 2 s t t in
2 222
[ & 0] E A E B
E AB E BA
R t t XY 12 , is a function of time difference.
Since X t & Y t are individually WSS & also R t t XY 12 , is a
function of time difference.
The two random process X t & Y t are jointly WSS.
Problem 22. a). Describe Poisson process & show that the Poisson process is Markovian.
Solution:
If X t represents the number of occurrences of a certain event in
0,t then the discrete random process X t is called the Poisson process,
provided the following postulates are satisfied
( ) 1 , i P occumence in t t t t o t
( ) , 1 ii P no occurrence in t t t t o t
332211
1122
tnnnnnn
ettttt
2132
3311 2132
nnnnn
12132! ! !
tnnnn
ettt
21
221
121
nnn
121! !
ttnnnn
ett
3232
32 32
nn
32 !
PXtnXtnXtnPXtnXtn 3322113322 / , /
This means that the conditional probability distribution of X t 3 given all the past
values X t n 1 1 , X t n 2 2 depends only on the most recent values X t n
2 2 .
14
WWW.VIDYARTHIPLUS.COM
ePXt x0
x x
t
ux
et
x 122
e
x
0!
uu
e
te t e t
1 ... 1!
2!
uu
t te
ee
1
te
M u e X t
Let X t 1 and X t 2 be two independent Poisson
processes Their moment generating functions are,
u
u
1
and 2
te 1
M u e X t
1
2
1
te
M u e X t
X t X t X t X t 1212
M u M u M u uut e t e
11
12
1
e
ee
te
u
12
1212 EXtEXtEXtEXtEXt2
2222
112212 tttttt2
2 2
1212 tt
2 2
1212 tt
Recall that
2
E X t for a poisson process X t with parameter is given by
15
WWW.VIDYARTHIPLUS.COM
222
EXttt
X t X t 1 2 is not a poisson process.
(iii). The inter arrival time of a poisson process i.e., with the interval between two
successive occurrences of a poisson process with parameter has an exponential
1
distribution with mean .
Proof:
Let two consecutive occurrences of the event be Ei & Ei1.
Let Eitake place at time instant it and T be the interval between the occurrences of Ei Ei1 .
Thus T is a continuous random variable.
P T t P Interval betweenoccurrenceof E and E exce i i1eds t
P E does not occur uptotheinstant t t
i i 1
P Noevent occursintheinterval t t t i i ,
P X t P t 0 0
e
t
and E N t
.
Solution:
Let be the number of occurrences of the event in unit time.
n represent the probability of n occurrences of the event in the interval 0,t.
Let P t
i.e., P t P X t n n
P t t P X t t n n
P n occurences in the time t t 0,
n occurences in the interval t and no occurences in t t t or
0, ,
P n occurences in the interval t and occurences in t t t or
1 0, 1 ,
16
WWW.VIDYARTHIPLUS.COM
1
PttPt
PtPt
nn
t
nn
Taking the limits as t 0
d
PtPtPt
nnn 1
dt -------- (1)
This is a linear differential equation.
t
------------- (2)
1
tt
P t e P t e nn
Now, we have,
P t t P occurences in t t 0 0 0,
P occurences in t and occurences in t t t 0 0, 0 ,
0 P t t 1
P t t P t P t t 0 0 0
PttPt
Pt
00
t 0
Taking limit t 0
PttPt
Lt Pt
00
t t
0
0
dP t
Pt
0
dt 0
dP t
dt
0
P t
0
log P t t c 0
0 P t e
tc
0 P t e e
tc
0 P t e A
t
----------------- (4) Putting t
0 we get
0
0 PeAA0
i.e., A 1
(4) we have
0 P t e
t
substituting in (3) we
get t
1
ttt
e P t e e dt 0
17
WWW.VIDYARTHIPLUS.COM
t
dt t
0
1 t P t e t
Similarly n 2 in (2) we
have, t
tt
P t e P t e dt
21
0
t
e te dt
tt
0
2
t
2
2
2
t
Pte te t
2
2!
Proceeding similarly we have in general
tn
, 0,1,...
et
PtPXtnn
n
n !
Thus the probability distribution of X t is the Poisson distribution with parameter
t . E X t t .
.b). Find the mean and autocorrelation and auto covariance of the Poisson process.
Solution:
The probability law of the poisson process X t is the same as that of a
poisson distribution with parameter t
E X t nP X t n
n0
tn
n
et n
n 1
0 !
n
t
tt
e
n
n
1 1!
tt
te e
E X t t
2
2
Var X t E X t E X t
22
E X t n P X t n n0
tn
2
et
n
nnn
n
0!
18
WWW.VIDYARTHIPLUS.COM
etet
nnn
1
!!
nn
nn
00
n
t
et
1
nnt !
n 0
n
234
et
tt t t
1 1! 2! ...
2 t t t e e t
2
t t
222
EXttt
Var X t t
R t t E X t X t XX 1212 ,
EXtXtXtXt
1211
2
E X t X t X t E X t 1211
2
E X t E X t X t E X t 1211
Since X t is a process of independent increments.
2
t t t t t if t t by ( (1))
1211121
2
12121 t t t if t t
2
1 2 1 2 1 2 , min , R t t t t t t XX
Auto Covariance
C t t R t t E X t E X t XX XX 1 2 1 2 1 2 , ,
22
12112 ttttt,
1 2 1 t if t t ,
min , t t 1 2
E X t cos t d
0
2
19
WWW.VIDYARTHIPLUS.COM
1
2cos t cos sin t sin d
0
1
2cos t sin sin t cos
20
1
0
2sin t sin t
0
E X t
R t t E X t X t XX 1 2 1 2 ,
E cos t cos t 1 2
1
2
1212
E cos t t cos t t
2
2
11
2
2 2cos t t cos t t d
1212
0
12
1212
42
0
2
1 2
4cos t t
1
1 2 1 2
R t t cos t t XX
,
2
The time average can be determined by
T
lim 1
X t cos t dt
T T
2 T
lim 1
sin t
TT
2 T
lim 1
T T
2sin T sin T
X t As T 0
The time auto correlation function of the
Lt
process, X t X t dt
1 T
T T
2 T
T
lim 1
T T
2 cos t cos t dt T
lim 1 2
T
cos t cos
dt
TT
22
T
20
WWW.VIDYARTHIPLUS.COM
lim 1 2 2
sin t t
tcos t
TT
42
T
lim 1 2 2 2 2 2
sin t t sin T
Tcos
TT
42
2
cos
Since the ensemble averagetime average the given process is ergodic.
T T
2 XX
T
R E X t X t XX
E cos t cos t 10 100 10 100 100
E
1
d
sin t
cos
200 100 2
50 100
22
50 (100 ) R cos XX
Lt
X t X t dt
1 T
T T
2 T
Lt
cos t cos t dt
T
1
10 100 10 100 100
T T
2 T
Lt
cos t cos dt
T
25
200 100 2 100
T T
T
T
sin t 200 100 2
Lt t cos 25 100
TT 200
T
50
lim lim 100 X Tcos T
TTT
50 100 cos is a function of time difference
21
WWW.VIDYARTHIPLUS.COM
R E X t X t XX
E cos t cos t 0 0
2 20 os
E
cos t c
2
11
2 20 0
2 2cos t cos d
sin t
cos
1 2 20 0
42
1
R cos XX
2
Consider,
Lt
X t X t dt
1 T
T T
2 T
Lt
cos t cos t dt
T
1
00
T T
2 T
Lt
cos t cos dt
T
1
2 20
T T
4
T
T
sin t
Lt tcos
1 2 20
TT
42
T
1
cos
2
lim 1 1 T
T
X t X t dt cos R
22
T
22
WWW.VIDYARTHIPLUS.COM
E X t E Acos t Bsin t
E A cos t E B sin t 0 Using (1)
Time Average
T
lim 1
X t Acos t B sin t dt
T T
2 T
lim 1
T
Asin t Bcos t
TT
2
T
lim 1 Asin t Bcos t Asin
T Bcos T
T T
2 Asin T Bcos T
lim 1
Asin t Bcos t
TT
2
lim 1 2
Asin T
T
T
2
lim
0
A sin T
.
TT
The ensemble mean =Time Average
Hence the process is mean ergodic.
26.a). Prove that in a Gaussian process if the variables are uncorrelated, then they are
independent
Solution:
Let us consider the case of two variables1
Xt & 2
Xt
If the are uncomelated then,
12 21 r r r 0
Consequently the variance covariance matrix
21
0
2
0
2
23
WWW.VIDYARTHIPLUS.COM
2
0
Matrix of
co-factors
2
2
ij
0
1
2222
0
1212
11 ij
1E X X X X
Now
Let us consider
1
X E X ij
2
xx0
2112211
XXxx
,00
1122112221
2
xx
0
12222
22
22
X X t t & is
112221xx 1
22
Now the joint 22
density of1 2
1
,
f x x e 2x x
2 12
22111222
12
1 2 2/ 2
22
22
xx
1
1
2
1122
e 12 xx
2
22
12
22
1
11
1122
ee
12
2
12
22
xx
11
11
1122
22
ee
12
22
12
f x x f x f x 1212,
1 2 X X t t & are independent.
t t C t t e
. Find the
probability that (i) X 10 8 and (ii) X X 10 6 4 .
Solution:
Since X t is a Gaussion process, any member of the process is a normal
random variable.
X 10is a normal RV with mean 10 10 and
10 10
varianceC10,10 16 .
P X P
X
10 8 0.5
4
P Z 0.5 (Where Z is the standard normal RV)
0.5 0.5 P Z
0.5 0.1915 (from normal tables)
0.3085 .
24
WWW.VIDYARTHIPLUS.COM
Unit.3. Classification of Random Processes
Problem 27. a). Define a Markov chain. Explain how you would clarify the states and
identify different classes of a Markov chain. Give example to each class. Solution:
Markov Chain: If for all n,
P X a X a X a X a n n n n n n / , ,...,
1 1 2 2 0 0 P X a X a n n n n /1 1 then the
i ij d GCD m p
State i is said to be periodic with period i
d if 1 i
d and a periodic if 1 i
d.
Example:
01
22
10 So states are with period 2.
13
44
The states are aperiodic as
11
period of each state is 1.
25
WWW.VIDYARTHIPLUS.COM
b). The one-step T.P.M of a Markov chain X n n; 0,1,2,... having state space 0.1
0.5 0.4
S 1,2,3 is 0.3 0.4 0.3 distribution is 0
P 0.7, 0.2, 0.1 .
0.6 0.2 0.2 and the initial
3 3/
2200
i 1
PX
XPXPXXPX
3/ 1 1 3/ 2 2
200200
PXXPX
3/ 3 3
200
222
P P X P P X P P X 1 2 3
13 0 23 0 33 0
0.26 0.7 0.34 0.2 0.29 0.1 0.279
(iii). P X X X X 3 2 1 0 2, 3, 3, 1
P X X X P X X X X 0 1 2 3 0 1 2 1, 3, 3 2 / 1, 3, 3
P X X X P X X 0 1 2 3 2 1, 3, 3
2/3
P X X P X X X P X X 0 1 2 0 1 3 2 1, 3 3/ 1, 3 2 / 3
P X X P X X P X X 0 1 2 1 3 2 1, 3
3/ 3 2 / 3 P X P X X P X X P
X X 0 1 0 2 1 3 2 1 3/ 1 3/ 3 2 / 3
0.4 0.3 0.4 0.7 0.0336
26
WWW.VIDYARTHIPLUS.COM
Problem 28. a). Let X n n; 1,2,3,..... be a Markov chain with state space S
0,1,2 0 1 0
111
and 1 – step Transition
010
probability matrix P Explain (ii) Find the invariant
probabilities. Solution:
(i) Is the chain ergodic?
4 2 4
111
010010
424
111111131
2
PPP
.
424424848010010111
424
111131
010
424 848
131111353
32
PPP 1 0
424848
8 4 8 4 2 4 16 8 16
1111310
Therefore the chain is irreducible as the states are periodic with period 1 i.e.,
aperiodic since the chain is finite and irreducible, all are non null persistent
The states are ergodic.
010
111
012012
424
010
1
0(1)
4
0 2 1 (2)
1
2
1
2(3)
4
012 1 (4)
From (2)1 1
021
22
012 1
1
11
2
27
WWW.VIDYARTHIPLUS.COM
3
1
1
2
1
2
3
From (3) 12 4
216
21
Using (4) 0 1
36
41
1
0
6
51
66
012
1 121
00 ,&. 636
Solution: 11
0
11
0
22
100
22
b). Find the nature of the
and
states of the Markov chain
with the TPM P
010
the state space1, 2,3.
22
P
010
2
11
010 .0
11
0
32
PPPP
22
010
11
0
22
4222P P P P
.010
11
0
22
nn
PPPP
2221
&
Also 2 1 2
00 01 02 P P P 0, 0, 0
121
10 11 12 P P P 0, 0, 0
28
WWW.VIDYARTHIPLUS.COM
212
20 21 22 P P P 0, 0, 0
The Markov chain is irreducible
Also 2 4 ... 0 P P ii ii for all i
The states of the chain have period 2. Since the chain is finite irreducible, all states are
non null persistent. All states are not ergodic.
Problem 29. a). Three boys A, B and C are throwing a ball to each other. A always
throws to B and B always throws to C, but C is as likely to throw the ball to B as to A.
Find the TPM and classify the states.
Solution:
ABC
A 010
P
B
001
C
11
0
001
22
11
0
PPP 11
0
22
110 22
2
110
2
2
2
32
PPP
111
442
For any i 2,3
23
,... 0 P Pii ii
G.C.D of 2,3,5,... 1
The period of 2 and 3 is 1. The state with period 1 is aperiodic all states are ergodic.
b). A man either drives a car or catches a train to go to office each day. He never goes 2
days in a row by train but he drives one day, then the next day he is just as likely to drive
again as he is to travel by train. Now suppose that one the first day of the week, the man
tossed a fair dice and drove to work iff a 6 appeared. Find the probability that he takes a
train on the third day and also the probability that on the third day and also the probability
that he drives to work in the long run.
Solution:
State Space = (train, car)
29
WWW.VIDYARTHIPLUS.COM
P
01
5 1 1 11
(2) (1)
PPP
,,11 22 6 6 12 12
01
1 11 11 13
3 2
PPP
,,11
12 12 24 24
22
11
P (the man travels by train on the third day) = 24
Let 1 2 , be the limiting form of the state probability distribution or
stationary state distribution of the Markov chain.
By the property of , P
01
1212
11
22
1
2
21
1
122
2
& 1 2 1
12
&
Solving 1 2
33
2
P{The man travels by car in the long run }= 3.
Problem 30 a). Three are 2 white marbles in urn A and 3 red marbles in urn B. At each
step of the process, a marble is selected from each urn and the 2 marbles selected are inter
changed. Let the state i
a of the system be the number of red marbles in A after i
changes. What is the probability that there are 2 red marbles in A after 3 steps? In the
long run, what is the probability that there are 2 red marbles in urn A?
30
WWW.VIDYARTHIPLUS.COM
Solution:
State Space Xn 0,1, 2 Since the number of ball in the urn A is
always 2. 0 1 2
0 1 0 01 1 1 1
623
P 22 1 0
33
0 Xn , A W 2 (Marbles) B R 3
(Marbles) 1 00 0 0 X P n
1 01 1 1 X P n
1 02 2 0 X P n
0 Xn , A W R 1 &1 (Marbles) B R W 2 &1 (Marbles)
1
X P n
0
6 1 10
1
X P n
1
2 1 11
1
X P n
2
3
1 12
2 Xn , A R 2 (Marbles) B R W 1 & 2
(Marbles) 1 20 0 0 X P n
2
X P n
1
3 1 21
1
X P n
2
3
1 22
0
PPP
,,
623
3 2 1 23 5
PPP
,,
12 36 18
5
P (There are 2 red marbles in A after 3 steps) 3 P X P
2
18
32
31
WWW.VIDYARTHIPLUS.COM
010
111
012012
623
210
33
1
6
10
12
0121
23
11
122
33
& 0 1 2 1
163
Solving 0 1 2
,,
10 10 10
P {here are 2 red marbles in A in the long run} = 0.3.
b). A raining process is considered as a two state Markov chain. If it rains the state is 0
and if it does not rain the state is 1. The TPM is0.6 0.4
P . If the Initial
distribution
0.2 0.8
is 0.4, 0.6. Find it chance that it will rain on third day assuming that it is raining
today. Solution:
20.6 0.4 0.6 0.4
P
0.2 0.8 0.2 0.8
0.44 0.56
0.28 0.32
P[rains on third day / it rains today P X X 31 0/0
2
00 P 0.44
32