• Non ci sono risultati.

Exercises on discrete-time homogeneous Markov chains

N/A
N/A
Protected

Academic year: 2021

Condividi "Exercises on discrete-time homogeneous Markov chains"

Copied!
8
0
0

Testo completo

(1)

Exercises on discrete-time homogeneous Markov chains

Exercise 1

A mobile robot randomly moves along a circular path divided into three sectors. At every sampling instant the robot decides with probability p to move clockwise, and with probability 1 − p to move counterclockwise. During a sampling interval the robot accomplishes the length of a sector.

1. Define a discrete time Markov chain for the random walk of the robot.

2. Study the stationary probability that the robot is localized in each sector for p ∈ [0, 1].

Let p = 1/3.

3. Choose an initial sector, and compute the average number of sampling intervals needed by the robot to return to it.

4. Choose an initial sector, and compute the probability that the robot returns to it in at most five sampling intervals.

Exercise 2

A virus can exist in N different strains, numbered from 1 to N . At each generation the virus mutates with probability α ∈ (0, 1) to another strain which is chosen at random with equal probability.

1. Compute the average number of generations to find the virus again in the same strain.

Let N = 4 and α = 2/3.

2. Compute the probability that the strain in the sixth generation of the virus is the same as that in the first.

3. Assuming that the virus is initially either in strain 1 or 4, compute the probability that the virus never exists in strains 2 and 3 during the first six generations.

Exercise 3

In a game of anagrams, at each turn, given a word of three letters formed by using all the letters A, B and C, a new word is generated by choosing two positions {i, j}, i, j = 1, 2, 3, i < j, and interchanging the letters in such positions. For instance, if the current word is ABC and the positions {1, 2} are chosen, the next word is BAC. The probabilities to choose the positions {1, 2}

and {1, 3} are 1/4 and 1/8, respectively.

1. Model the game through a discrete-time homogeneous Markov chain, assuming that all words are initially equiprobable.

2. Compute the probability that, starting from the word ABC, the word CAB is eventually obtained without in the meantime generating the word CBA.

3. Compute the probability that, starting from the word ABC, the same word is eventually again generated not before generating the word CAB.

4. Compute the average number of words generated to obtain the word CAB starting from the word ABC.

(2)
(3)
(4)
(5)
(6)
(7)
(8)

Riferimenti

Documenti correlati

Such a selection is now based on the maximum check interval value present in 

We believe that our set up is preferable as it offers internal consistency: we aim to explain the employment dynamics in the professions exposed to robot applications by exploiting

Compute the determinant of the matrix obtained from A by first interchanging the last two columns and then interchanging the first two

Since algebraic and geometric multiplicities differ and hence there is no basis of R 4 consisting of eigenvectors of A, the matrix A cannot be

If it is possible, compute such an orthogonal matrix A and explain its geometrical meaning... and use this information to write down the orthogonal projection of R 4

Compute the determinant of the matrix obtained from A by first interchanging the last two columns and then interchanging the first

Otherwise indicate why diagonalization is not possible1. Otherwise indicate why diagonalization is

Compute the determinant of the matrix obtained from A by first interchanging the last two columns, then interchanging the last two rows, and then multiplying the second row