





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






sition matrix
and v 0 = 1/4, v 1 = 5, v 2 = 1/3, v 3 = 1/5. Hence the generator is
given by
1
4
1
40
3
20
3
40
2
15
1
30
1
3
1
6 1
10
1
50
2
25
1
5
The time until a given pair of male and female produces an offspring
is an exponential R.V. with parameter λ. If the population at time
consists of m males and n females there are nm possible pairs and
hence we obtain
v (m,n)
= λmn , (3)
q (m,n)(m+1,n) = pλmn , q (m,n)(m,n+1) = (1 − p)λmn (4)
(m,n)(m+1,n)
= p , P (m,n)(m,n+1)
= (1 − p) (5)
either 0, 1 , 2 and the number of computers operating is either 0 if
t = 0 or 1 if X t = 1 or 2. The rate of failure of the operating
computer is μ and the rate of repair is λ. There is only one repair
facility so that at most one computer can be repaired at a time.
We find
v 0 = λ , v 1 = λ + μ , v 2 = μ. (6)
and
01
10
μ
λ + μ
12
λ
λ + μ
21
Hence the generator is
−λ λ 0
μ −λ − μ λ
0 μ −μ
.^ (8)
The backward equations are, for j = 0, 1 , 2,
d
dt
0 j = −λ(P 0 j
1 j
d
dt
P 1 j = μ(P 0 j − P 1 j ) − λ(P 1 j − P 2 j ) , (10)
d
dt
2 j = μ(P 1 j
2 j
and the forward equations are
d
dt
j 0 = −λP j 0
d
dt
Pj 1 = λPj 0 − (λ + μ)Pj 1 + μPj 2 , (13)
d
dt
j 2 = λP j 1 − μP j 2
The stationary distribution is
π j
(λ/μ)
j
1 + (λ/μ) + (λ/μ)
2
It is also a limiting distribution since the state space is finite and
the chain is irreducible. In the long run, the proportion of time
when the system is operating (i.e. in state 1 or 2) is
(λ/μ) + (λ/μ)
2
1 + (λ/μ) + (λ/μ)
2
(b) The difference with (a) is that the two computers can be in op-
eration at the same time and so the rate of failures when X t
is twice the rate of (a).
v 0 = λ , v 1 = λ + μ , v 2 = 2μ. (17)
Then
−λ λ 0
μ −λ − μ λ
0 2 μ − 2 μ
, (18)
For each component the stationary and limiting distribution is for
i = A, B,
π
(i)
0
μ i
λ i
, π
(i)
1
λ i
λ i
By independence the stationary distribution of the two component-
system is π
(A)
i
π
(B)
j
(a) If the components are working in parallel the is operating if at
least of the components is in state 0, hence the desired probability
is
1 − π
(A)
1
π
(B)
1
λ A λ B
(λ A
(b) If the components are working in series, both must work for the
system to be operating, hence the desired probability is
π
(A)
0
π
(B)
0
μAμB
(λA + μA)(λB + μB )
organism lifetime is exponential with parameter λ and upon death,
it leaves k offspring with probability p k , k ≥ 0. The organisms act
independently of each other. We assume that p 1 = 0 so that, at death,
there are no transition from a state into itself. Let X t be the population
at time t. A transition occurs when an organism dies and if there are
n organisms the average time until a death is 1/nλ and so v n = nλ.
When an organism dies it is replaced by 0, 2 , 3 , 4 ,... organisms and
therefore we have
Pnn− 1 = p 0 Pnn+1 = p 2 ,... P nn+k = p k+
Therefore the generator is given by
λp 0 −λ λp 2 λp 3
0 2 λp 0 − 2 λ 2 λp 2
The backward equations are
d
dt
P 0 j = 0 , (31)
d
dt
P 1 j = λ (p 0 P 0 j + p 2 P 2 j + p 3 P 3 j +... − P 1 j ) , (32)
d
dt
nj = nλ (p 0
n− 1 j
n+1j
n+2j
nj
and the forward equations are
d
dt
j 0 = λp 0
j 1
d
dt
Pj 1 = −λPj 1 + 2λp 0 Pj 2 , (36)
d
dt
j 2 = λp 2
j 1
j 3
d
dt
j 3 = λp 3
j 1
j 2 − 3 λP j 3
In case of binary splitting we have if the probability of death without
offspring is p
λp −λ λ(1 − p) 0...
0 2 λp − 2 λ 2 λ(1 − p)...
As ones sees from the matrix A the Markov chain is not irreducible, 0 is
an absorbing state and all other states are transient. The distribution
π = (1, 0 , 0 , 0 ,.. .) is a stationary state, which describe the situation
where nobody lives. Note that the transition matrix Pij is given by
a random walk, so one might expect that if p < 1 /2 every initial
distribution will converge to π while if p ≥ 1 /2 there will be a positive
probability to escape to infinity.
(a) The M/M/∞ queue is a Birth and Death process with λ n = λ
serving rate μ.
(a) When N customers are in the system, the arriving customers give
up and do no enter the system. So the state space is { 0 , 1 ,... , N },
the generator is
−λ λ 0...... 0
μ −λ − μ λ 0... 0
0... 0 μ −λ − μ λ
0...... 0 μ −μ
The limiting distribution can be found using the general formula
for the birth and death process with λn = 0 for n ≥ N. One finds
for 0 ≤ j ≤ N
πj =
(λ/μ)
j
∑ N
k=
(λ/μ)
k
(λ/μ)
j (1−(λ/μ))
1 −(λ/μ)
N + λ 6 = μ
1
N +
λ = μ
(b) When n customers are in the system, an arriving customer will
join the system with probability 1/(n + 1). We have μn = μ for
n ≥ 1 and λ n = λ/(n + 1) for 0n ≥ 0. Then
∞ ∑
n=
λn− 1... λ 0
μn... μ 1
∞ ∑
n=
λ
n
n!μ
n
= e
(λ/μ) (55)
and the stationary distribution is Poisson with parameter λ/μ.
the time it takes for a population of size i to reach i + 1.
(a) Since it is a pure birth process Ti is exponential with rate iλ.
(b) Let us suppose we have n components with i.i.d exponential life-
time X i
. The R.V. max(X 1
n ) is the time it takes for the
n components to fail. Starting with n components, the time until
the first failure is the minimum of n exponential R.V. with pa-
rameter λ which is an exponential R.V. Tn with parameter nλ.
By the memoryless property of the exponential, the time between
the first failure and the second failure is, again, the minimum of
n − 1 exponential R.V. with parameter λ which is is an exponen-
tial R.V. T n− 1 with parameter (n − 1)λ. Hence
max(X 1
n
n
n− 1
1
(c) We have, by (b), and independence
1
2
n < t} = P {max(X 1
n ) < t}
1 < t}... P {X n < t}
= (1 − e
−λt )
n (57)
(d) Since X t is a pure birth process the Markov chain X t only makes
transition from j to j + 1. So T 1
n− 1 is the time necessary
to reach n starting from 1 and P {T 1 +... + Tn− 1 < t} is the
probability that X t ≥ n
1 n (t) = P {X t = n |X 0
= P {Xt ≥ n |X 0 = 1} − P {Xt ≥ n + 1 |X 0 = 1}
1
n− 1 < t} − P {T 1
n < t}
= (1 − e
−λt )
n− 1 − (1 − e
−λt )
n
= e
−λt (1 − e
−λt )
n− 1 (58)
Hence P {Xt = n | X 0 = 1} has a geometric distribution with
parameter e
−λt .
(e) By (d) X t conditioned on {X 0 = 1} is a geometric random vari-
able. By definition of a Birth process, the individuals reproduce
independently of each other, and therefore X t conditioned on
{X 0 = m} is the sum of m geometric random variables.
The sum of m geometric R.V. with parameters p is called a neg-
ative binomial R.V with parameters (m, p). A geometric R.V. is
the number of independent trials necessary to obtain one success,
so that a negative binomial R.V is the number of trials necessary
to obtain exactly m successes. The probability distribution of
the negative binomial R.V. is, for k ≥ m, (at least m trials are
necessary)
p(k) =
(
k − 1
m − 1
)
p
m (1 − p)
k−m
. (59)