Homework Solutions
Utah State University
ECE 6010
Stochastic Processes
Homework # 11 Solutions
- Let
denote the sequence of sample means from an iid
random process
:
- Is
a Markov process?


![$\displaystyle \frac{1}{n} \sum_{i=1}^{n} X_{i} = \frac{1}{n}[X_{n}
+ (n-1) M_{n-1}]$](img9_22.png)


Clearly if
is given then
depends only on
and is independent of
. Therefore,
is a Markov process.
- If the answer to part a is yes, find the following state
transition pdf:
.


< M_{n} \leq x + dx \vert M_{n-1}
= y]$" align="middle" border="0" height="31" width="231" />
< \frac{1}{n} + (1-\frac{1}{n}) y \leq x+ dx]$" align="middle" border="0" height="49" width="216" />
< x_{n} \leq nx - (n-1)y + dx]$" align="middle" border="0" height="31" width="313" />

- Is
- An urn initially contains five black balls and five white
balls. The following experiment is repeated indefinitely: A ball is
drawn from the urn; if the ball is white it is put back in the urn,
otherwise it is left out. Let
be the number of black balls
remaining in the urn after
draws from the urn.
- Is
a Markov process? If so, find the apropriate
transition probabilities.
- Do the transition probabilities depend on
?
The number
of black balls in the urn completely specifies
the probability of the outcomes of a trial; therefore
is
independent of its past values and
is a Markov proces.
![$\displaystyle P[X_{n} = 4 \vert X_{n-1} = 5]$](img20_22.png)

![$\displaystyle \frac{5}{10} = 1 - P[X_{n} = 5 \vert
X_{n-1} = 5]$](img21_22.png)
![$\displaystyle P[X_{n} = 3 \vert X_{n-1} = 4]$](img22_22.png)

![$\displaystyle \frac{4}{9} = 1 - P[X_{n} = 4 \vert
X_{n-1} = 4]$](img23_22.png)
![$\displaystyle P[X_{n} = 2 \vert X_{n-1} = 3]$](img24_22.png)

![$\displaystyle \frac{3}{8} = 1 - P[X_{n} = 3 \vert
X_{n-1} = 3]$](img25_22.png)
![$\displaystyle P[X_{n} = 1 \vert X_{n-1} = 2]$](img26_22.png)

![$\displaystyle \frac{2}{7} = 1 - P[X_{n} = 2 \vert
X_{n-1} = 2]$](img27_22.png)
![$\displaystyle P[X_{n} = 0 \vert X_{n-1} = 1]$](img28_22.png)

![$\displaystyle \frac{1}{6} = 1 - P[X_{n} = 1 \vert
X_{n-1} = 1]$](img29_22.png)
![$\displaystyle P[X_{n} = 0 \vert X_{n-1} = 0]$](img30_22.png)


All the transition probability are independent of time. - Is
- Let
be the Bernoulli iid process, and let
be
given by
. It was shown in Example 8.2 that
is not a Markov process. Consider the vector process defined
by
.
- Show that
is a Markov process.

![$\displaystyle P[\mathbf{Z}_{n+1} = (x_{n+1},x_n)\vert\underbrace{X_{n} =
x_{n},X_{n-1} \ldots}_{\mbox{all past Bernoulli trials}}]$](img38_22.png)

![$\displaystyle P[\underbrace{X_{n+1} = x_{n+1}}_{\mbox{next trial}}]$](img39_22.png)

![$\displaystyle P[\mathbf{Z}_{n+1} = (x_{n+1},x_{n}) \vert \mathbf{Z}_{n} =
(x_{n},x_{n-1}) ]$](img40_22.png)
Therefore,
is a Markov process.
- Find the state transition diagram for
.
where
.
- Show that
- Show that the following autoregressive process is a Markov
process:
where
and
is an
iid process.





is a Markov process.
- Let
be the Markov chain defined in Problem 2.
- Find the one-step transition probability matrix
for
.
- Find the two-step transition probability matrix
by matrix
multiplication. Check your answer by computing
and
comparing it to the correspoinding entry in
.
From the
matrix
.
- What happens to
as
approaches infinity ? Use your
answer to guess the limit of
as
.
As
eventually all black balls are
removed. Thus
- Find the one-step transition probability matrix
- Two gambler play the following game. A fair coin is flipped; if
the outcome is heads, player
pays player
$ 1, and if the
outcoime is tails player
plays player
$ 1. the game is
continued until one of the players goes broke. Suppose that
initially player
has $ 1 and player
has $ 2, so a total of
$ 3 is up for grabs. Let
denote the number of dolars held by
player
after
trials.
- Show that
is a Markov chain.
since
for
and
if
.
- Sketch the state transition diagram for
and give the
one-step transition probability matrix
.
- Use the state trasition diagram to help you show that for
even
for
and
.
For


![$\displaystyle P \overbrace{[HT HT HT \ldots HT]}^{2k}
=\left(\frac{1}{2}\right)^n$](img76_16.png)


2
cycles and then go to 0![$\displaystyle ]$](img79_16.png)






by symmetry.
- Find the
-step transition probability matrix for
even
using part c.
- Find the limit of
as
.
- Find the probability that player
eventually wins.


![$\displaystyle [ 0 1 0 0 ] P(n)$](img87_13.png)

![$\displaystyle \left[ \frac{2}{3} \left( 1 - \left( \frac{1}{4} \right)^k
\right...
...ht)^k , 0 , \frac{1}{3} \left( 1
- \left( \frac{1}{4} \right)^k \right) \right]$](img88_12.png)

![$\displaystyle \left[ \frac{2}{3}, 0, 0, \frac{1}{3} \right]$](img90_12.png)
[player
wins] =
.
- Show that
- A machine consists of two parts that fail and are repaired
independently. A working part fails during any given day with
probability
. A part that is not working is repaired by the next
day with probability
. Let
be the number of working
parts in day
.
- Show that
is a three-state Markov chain and give its
one-step transition probability matrix
.
- Show that the steady state pmf
is binomial with
parameter
.
Claim: the steady state pmf is


![$\displaystyle \left[ \left( \frac{a}{a+b} \right)^2 , 2
\left( \frac{b}{a+b} \right)\left( \frac{a}{a+b} \right) , \left(
\frac{b}{a+b} \right)^2 \right]$](img101_10.png)




![\begin{displaymath}\frac{1}{(a+b)^2} ( a^2, 2ab,b^2) \left[
\begin{array}{ccc}
(...
...) + ab & b(1-a) \\
a^2 & 2a(1-a) & (1-a)^2
\end{array} \right]\end{displaymath}](img104_8.png)

![\begin{displaymath}\frac{1}{(a+b)^2} \left[
\begin{array}{c}
a^2(1-b)^2 + 2a^2 b...
...1-a)\\
a^2 b^2 + 2ab^2 (1-a) + b^2 (1-a)^2
\end{array} \right]\end{displaymath}](img105_8.png)




- What do you expect is steady state pmf for a machine that
consists of
parts?
- Show that
Copyright 2008,
Todd Moon.
Cite/attribute Resource.
admin. (2006, June 13). Homework Solutions. Retrieved November 23, 2009, from Free Online Course Materials — USU OpenCourseWare Web site: http://ocw.usu.edu/Electrical_and_Computer_Engineering/Stochastic_Processes/hw11sol.html.
This work is licensed under a
Creative Commons License.








