Stochastic Processes · free preview

Chapter 5 Unit Exam. Renewal and Continuous-Time Markov Chains

Unit exam covering the course so far. Renewal and Continuous-Time Markov Chains.

1. How this assessment works

This lesson is a curated assessment adapted from MIT OpenCourseWare 6.262 Discrete Stochastic Processes (Spring 2011) (https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/), used under CC BY-NC-SA 4.0. Work through the 6 problems in order, for each problem, type your reasoning in the answer box or write it on the handwriting pad, then submit it for AI grading.

How the grading works Every problem is graded by an AI mathematics teacher that reads the official solution shipped with the course. It checks your work criterion by criterion, awards partial credit for correct steps, and returns written feedback. Equivalent mathematics and valid alternative methods are accepted, a different route to the same result can still earn full marks.

If your answer is incomplete, the feedback names exactly which steps are missing, so you can correct them and try again.

2. Problem 1, Birth-death server queue time averages and renewal epochs

Consider the birth-death form of Markov process illustrated below. The transitions are labelled by the rate qijq_{ij} at which those transitions occur. The process can be viewed as a single server queue where arrivals become increasingly discouraged as the queue lengthens. The term time-average below refers to the limiting time-average over each sample-path of the process, except for a set of sample paths of probability 00. The chain has states 0,1,2,…0,1,2,\dots, transitions i→i+1i\to i+1 at rate λ/(i+1)\lambda/(i+1) for i≥0i\ge0, and transitions i→i−1i\to i-1 at rate μ\mu for i≥1i\ge1.

(a) (6 pts) Find the time-average fraction of time pip_i spent in each state i>0i>0 in terms of p0p_0 and then solve for p0p_0. Give a very brief description of what these time-averages mean.

(b) (6 pts) For the embedded Markov chain corresponding to this process, find the steady-state probabilities πi\pi_i for each i≥0i\ge0 and the transition probabilities PijP_{ij} for each i,ji,j. Also find the rates νi\nu_i at which departures from each state ii occur when the process is in state ii.

(c) (6 pts) For each ii, find both the time-average interval and the time-average number of overall state transitions between successive visits to ii.

(d) (6 pts) For the remaining parts of the problem, assume that the process is changed in the following way, whenever the process enters state 00, the time spent before leaving state 00 is now a uniformly distributed rv, taking values from 00 to 2/λ2/\lambda. All other transitions remain the same. For this new process, determine whether the successive epochs of entry to state 00 form renewal epochs, whether the successive epochs of exit from state 00 form renewal epochs, and whether the successive entries to any other given state ii form renewal epochs.

(e) (6 pts) For each ii, find both the time-average interval and the time-average number of overall state transitions between successive visits to ii.

(f) (6 pts) Is this modified process a Markov process in the sense that P{X(t)=i∣X(τ)=j,X(s)=k}=P{X(t)=i∣X(τ)=j}P\{X(t)=i \mid X(\tau)=j, X(s)=k\} = P\{X(t)=i \mid X(\tau)=j\} for all 0<s<τ<t0<s<\tau<t and all i,j,ki,j,k? Explain.

3. Problem 2, Four-queue network output and delay analysis

A queueing system has four queues in the configuration shown. Each queue is identical, with a single server with IID exponential service times, each with density μe−μx\mu e^{-\mu x}. The service times are IID both within each queue and between each queue. The leftmost queue (queue 1) is M/M/1 with an input which is a Poisson process of rate λ<μ\lambda<\mu. Assume that this process started at time −∞-\infty. Each output from queue 1 is switched to one of the intermediate queues, queues 2 and 3, each output goes to queue 2 with probability QQ and to queue 3 with probability 1−Q1-Q. These switching decisions are independent of the inputs and outputs from queue 1. The outputs from queues 2 and 3 are then combined and pass into queue 4.\\(a) Describe the output process from queue 1. That is, describe whether it is a renewal process, and if so, whether it is a Poisson process. At what rate do customers leave queue 1? What can you say about the relation between the outputs and the inputs of queue 1?\\(b) Describe the input processes to queues 2 and 3. Are they Poisson, and if so, of what rate? What is the relationship between the input process to queue 2 and that to queue 3?\\(c) Describe the output processes from queues 2 and 3. Are they Poisson, and what is the relationship between them? What is the rate at which customers leave each of these queues?\\(d) Describe the input and output process for queue 4 (whether they are Poisson, what their rates are, and whether they are independent).\\(e) Find the expected delay through the entire system for those customers going through queue 2.

4. Problem 3, Probability first m pick clean hats

Now assume, in addition, that every hat thrown into the box has probability pp of getting dirty (independently of what happens to the other hats or who has dropped or picked it up). What is the probability that the first mm persons will pick up clean hats?

5. Problem 4, Probability exactly m pick clean hats

Now assume, in addition, that every hat thrown into the box has probability pp of getting dirty (independently of what happens to the other hats or who has dropped or picked it up). What is the probability that exactly mm persons will pick up clean hats?

6. Problem 5, Expected value sum of tail probabilities

Let XX be a random variable that takes nonnegative integer values. Show that

E[X]=∑k=1∞P(X≥k).E[X] = \sum_{k=1}^{\infty} P(X \ge k).

Hint. Express the right-hand side of the above formula as a double summation then interchange the order of the summations.

7. Problem 6, Expectation of discrete uniform distribution

Use the formula in the previous part to find the expectation of a random variable YY whose PMF is defined as follows

pY(y)=1b−a+1,y=a,a+1,…,b,p_Y(y) = \frac{1}{b-a+1}, \quad y = a, a+1, \ldots, b,

where aa and bb are nonnegative integers with b>ab > a. Note that for y=a,a+1,…,by = a, a+1, \ldots, b, pY(y)p_Y(y) does not depend explicitly on yy since it is a uniform PMF.

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free