Chapter 25 Quiz 2: Poisson Process: Problems and Tentative Solutions

Exercise 25.1 (Birth process, probability of even and odd number of occurence) Let X(t) be a pure birth continuous time Markov chain. Assume that P(an event happen in (t,t+h)|X(t)=odd)=λ1h+o(h)P(an event happen in (t,t+h)|X(t)=even)=λ2h+o(h) where o(h)h0 as h0. Take X(0)=0. Find the following probabilities: P1(t)=P(X(t)=odd) and P2(t)=P(X(t)=even).

Proof. We start with consider P(X(t+h)=odd), we have P(X(t+h)=odd)=iP(X(t+h)=odd|X(t)=i)P(X(t)=i)=P(X(t+h)=odd|X(t)=even)P(X(t)=even)+P(X(t+h)=odd|X(t)=odd)P(X(t)=odd) using (25.1), we have P(X(t+h)=odd)=(λ2h+o(h))P(X(t)=even)+(1λ1h+o(h))P(X(t)=odd) Now denote P1(t)=P(X(t)=odd) and P2(t)=P(X(t)=even). By (25.3) we have P1(t+h)=(λ2h+o(h))P2(t)+(1λ1h+o(h))P1(t)=λ2hP2(t)+(1λ1h)P1(t)+o(h) which implies P1(t+h)P1(t)h=λ1P1(t)+λ2P2(t)+o(h)h
Take the limit as h0 on both side, we get P1(t)=λ1P1(t)+λ2P2(t)

Very similarly, we can get the other differential equation P2(t)=λ1P1(t)λ2P2(t) The boundary conditions are {P1(0)=0P2(0)=1

Equation (25.6) and (25.7) can be combined to write in matrix form as \begin{equation} \mathbf{P}^{\prime}(x)=\begin{pmatrix} P^{\prime}_1(x)\\P^{\prime}_2(x)\end{pmatrix}= \begin{pmatrix} -\lambda_1 & \lambda_2\\ \lambda_1 & -\lambda_2 \end{pmatrix} \begin{pmatrix} P_1(x)\\P_2(x)\end{pmatrix}=\boldsymbol{\Lambda}\mathbf{P}(x) \tag{25.9} \end{equation}
Suppose \mathbf{P}(x)=\boldsymbol{\eta}e^{rt}, then \mathbf{P}^{\prime}(x)=r\boldsymbol{\eta}e^{rt}, substitute into (25.9), we have \begin{equation} (\boldsymbol{\Lambda}-r \mathbf{I})\boldsymbol{\eta}e^{rt}=\mathbf{0} \tag{25.10} \end{equation} since e^{rt} are not zero, we can drop it and finally get
\begin{equation} (\boldsymbol{\Lambda}-r \mathbf{I})\boldsymbol{\eta}=\mathbf{0} \tag{25.11} \end{equation}
The matrix \boldsymbol{\Lambda} has two distinct eigenvalues r_1=0 and r_2=-\lambda_1-\lambda_2, with corresponding eigenvector \begin{pmatrix} \frac{\lambda_2}{\lambda_1}& 1\end{pmatrix}^T and \begin{pmatrix} -1& 1\end{pmatrix}^T, therefore, the solution to (25.9) is \begin{equation} \mathbf{P}(x)=c_1\begin{pmatrix} \frac{\lambda_2}{\lambda_1}\\ 1\end{pmatrix}+c_2e^{-(\lambda_1+\lambda_2)t}\begin{pmatrix} -1\\ 1\end{pmatrix}^T \tag{25.12} \end{equation}
Since the boundary condition is \mathbf{P}(0)=\begin{pmatrix} 0& 1\end{pmatrix}^T, we can find c_1=\frac{\lambda_1}{\lambda_1+\lambda_2} and c_2=\frac{\lambda_2}{\lambda_1+\lambda_2}. Thus, we finally get \begin{equation} \begin{pmatrix} P_1(x)\\P_2(x)\end{pmatrix}=\begin{pmatrix} \frac{\lambda_2}{\lambda_1+\lambda_2}(1-e^{-(\lambda_1+\lambda_2)t})\\ \frac{\lambda_2}{\lambda_1+\lambda_2}(\frac{\lambda_1}{\lambda_2}+e^{-(\lambda_1+\lambda_2)t})\end{pmatrix} \tag{25.13} \end{equation}

Exercise 25.2 (Expectation of Compound Poisson Process) Assume that passengers arrive at a bus station as a Poisson process with rate \lambda. The only bus departs after a deterministic time T. Let W be the combined waiting time for all passengers. Compute E(W).

Hint: Make use of the fact that given the number of events between [0,T] for a Poisson process, N(T)=k, the arrival times S_1,\cdots,S_k are distributed as order statistic of a Unif(0,T) distribution.

Proof. Suppose passenger i arrives at the station at time S_i, his waiting time is then W_i=T-S_i. Therefore, \begin{equation} W=\sum_{i=1}^{N(T)}(T-S_i) \tag{25.14} \end{equation} is a compound Poisson process. Thus, \begin{equation} E(W)=E(T-S_1+T-S_2+\cdots+T-S_{N(T)})=E(N(T))E(T-S_1)=\lambda TE(T-S_1) \tag{25.15} \end{equation}

Using the hint, we have \begin{equation} E(T-S_1)=\int_0^T(T-s_1)\cdot\frac{1}{T}ds_1=T-\frac{1}{T}\int_0^Ts_1ds_1=\frac{T}{2} \tag{25.16} \end{equation} Therefore, E(W)=\frac{\lambda T^2}{2}.

Stein, Michael. 1999. Interpolation of Spatial Data: Some Theory of Kriging. New York, NY: Springer.