Docsity

Solved Problems on Stochastic Processes | MATH 6397, Study notes of Mathematics

Toggle sidebar
bg1
Stochastic Processes - Spring 2008
Bernhard Bodmann, PGH 636
Exercise Sheet 1: Sketch of solutions
(1) This is a birth-death process with birth parameter λn=nλ for n∈
{0, . . . , K −1}(λn= 0 otherwise) and death parameters µn=nµ. As
derived in the lectures, the expected time to absorption in state 0, given the
process starts in state 1 is P∞
i=1 ρi, where
ρi= (
i−1
Y
j=1
λj)/(
i
Y
j=1
µj).
Substituting λi=iλ and µi=iµ we find ρi=1
iλ (λ
µ)iif i≤Kand ρi= 0
otherwise. Hence, the expected time to absorption W1is
W1=1
λ
K
X
i=1
1
i(λ
µ)i
Realizing that PK−1
i=0 xi=1−xK
1−xfor x6= 1 and that term-by-term integration
gives PK−1
i=0
1
i+1 xi+1 =Rx
0
1−uK
1−udu , we have the alternative integral expression
W1=1
λZλ/µ
0
1−uK
1−udu .
(2) The components operate independently. If they break, the repair times
are also independent. Failure times for operating are exponentially dis-
tributed with parameter τ. Repair times are also exponentially distributed
with parameter ρ.
Consider the stochastic process {Xt}where Xtcounts the number of
components undergoing repair.
Assume nmachines are undergoing repair at the beginning of a time
interval [0, h]. The probability Pof at least one failure occuring in this
interval is
P= 1 −P(no failure) = 1 −
N−n
Y
j=1
P(j-th unit does not fail) = 1 −e−(N−n)τh
1
pf3
pf4

Partial preview of the text

Download Solved Problems on Stochastic Processes | MATH 6397 and more Study notes Mathematics in PDF only on Docsity!

Stochastic Processes - Spring 2008

Bernhard Bodmann, PGH 636 Exercise Sheet 1: Sketch of solutions

(1) This is a birth-death process with birth parameter λn = nλ for n ∈ { 0 ,... , K − 1 } (λn = 0 otherwise) and death parameters μn = nμ. As derived in the lectures, the expected time to absorption in state 0, given the process starts in state 1 is

i=1 ρi, where

ρi = (

∏^ i−^1

j=

λj )/(

∏^ i

j=

μj ).

Substituting λi = iλ and μi = iμ we find ρi = (^) iλ^1 ( λμ )i^ if i ≤ K and ρi = 0 otherwise. Hence, the expected time to absorption W 1 is

W 1 =

λ

∑^ K

i=

i

λ μ

)i

Realizing that

∑K− 1

i=0 x i (^) = 1 −xK 1 −x for^ x^6 = 1 and that term-by-term integration gives

∑K− 1

i=

1 i+1 x

i+1 (^) = ∫^ x 0

1 −uK 1 −u du ,^ we have the alternative integral expression

W 1 =

λ

∫ (^) λ/μ

0

1 − uK 1 − u

du.

(2) The components operate independently. If they break, the repair times are also independent. Failure times for operating are exponentially dis- tributed with parameter τ. Repair times are also exponentially distributed with parameter ρ. Consider the stochastic process {Xt} where Xt counts the number of components undergoing repair. Assume n machines are undergoing repair at the beginning of a time interval [0, h]. The probability P of at least one failure occuring in this interval is

P = 1 − P(no failure) = 1 −

N∏ −n

j=

P(j-th unit does not fail) = 1 − e−(N^ −n)τ h

Thus, the probability P ′^ of one more failed machine remaining at the end of the interval differs by o(h), which accounts for two or more events occuring, such as two failures and one completed repair, etc. Now taking the derivative at h = 0, we get the rate λn = (N − n)τ. Similarly, the “death” rate, i.e. of ending up with one machine less un- dergoing repair, is μn = nρ. Consequently, the process can be regarded as a birth-death process with parameters λn = (N − n)λ and μn = nμ. (3) Denote the vacant state by 0, the unacceptable molecule attached by state 1, the acceptable (absorbing) state by 2. The generator of the stochastic process is

A =

−μ μ(1 − β) μβ τ −τ 0 0 0 0

In order to compute P = etA, we diagonalize A. A first (left) eigenvector of A is v 1 = (0, 0 , 1) with corresponding eigenvalue λ 1 = 0, which is the stationary distribution in the absorbing state. The other two eigenvectors are

v 2 =

μ + τ + ∆ 2 βμ

μ(1 − 2 β) + τ + ∆ 2 βμ

with eigenvalue λ 2 = −^12 (μ + τ + ∆) and

v 3 =

μ + τ − ∆ 2 βμ

μ(1 − 2 β) + τ − ∆ 2 βμ

with eigenvalue λ 3 = −^12 (μ + τ − ∆), where ∆ =

(μ + τ )^2 − 4 βμτ. Thus, if we start with an initial distribution

π = c 1 v 1 + c 2 v 2 + c 3 v 3 ,

defined with appropriate coefficients c 1 , c 2 , c 3 ∈ R, then after time t, the probability of NOT being in state 2 is

P(not absorbed at time t) = 1 − (πetA) 3 = 1 − c 1 − c 2 eλ^2 t^ − c 3 eλ^3 t^.

Assuming, as the book does, that we start in state 0, then c 1 = 1, c 2 = μ(1− 2 β)+τ −∆ 2∆ and^ c^3 =^ −

μ(1− 2 β)+τ +∆ 2∆.

Sometimes the foxes die out and the rabbits are left to multiply. The number of rabbits has been capped at 200.

(^00 1 2 3 4 5 6 7) x 10 (^84)

50

100

150

200

250

(^00 50 100 150 200 )

5

10

15

20

25

30

35

A nice movie displaying the evolution of the probability distribution in the rabbit-fox state space is due to the group of Sheena Branton, David Johnson, and Robert Rosenbaum, accessible at the website http://www.math.uh.edu/ ∼bgb/Courses/Math6397/rabbitnfox.avi