1 Introduction

A handful of recently published articles have focused on studying single-server queueing systems operating under various types of preemptive repeat Last-Come-First-Served (LCFS) queueing disciplines. In the work of Asmussen and Glynn [7], the authors establish stability conditions for single-server queues operating under either the preemptive repeat identical and preemptive repeat different LCFS disciplines (these will be defined shortly) when customers arrive in accordance to a Poisson process, as well as the more general setting where customers arrive in accordance to a Markovian Arrival process (MAP). In Bergquist and Sigman [8], the authors study properties of the limiting distribution of the workload process associated with both the preemptive repeat identical and preemptive repeat different LCFS disciplines, when customers arrive in accordance to a Poisson process. Another recent work on this topic is that of Horváth et al. [14], where the authors study a single-server queue with Poisson arrivals that operates under a nonpreemptive LCFS with resampling discipline that is similar in some (but not all) respects to the single-server queue operating under the preemptive repeat different LCFS discipline.

Our main objective is to build further on Bergquist and Sigman [8] by studying the time-dependent behavior of both the queue-length process \(\{Q(t); t \ge 0\}\) and the workload process \(\{W(t); t \ge 0\}\) associated with both of the preemptive repeat LCFS disciplines mentioned above, where for each \(t \ge 0\), Q(t) and W(t) denote, respectively, the number of customers found in the system and the remaining amount of work present in the system at time t. In each of these models, we assume customers arrive one-at-a-time to a single-server queueing system in accordance to a Poisson arrival process \(\{A(t); t \ge 0\}\) having rate \(\lambda \) and points \(\{T_{n}\}_{n \ge 1}\), so that for each integer \(n \ge 1\), \(T_{n}\) denotes the arrival time of the nth customer to arrive to the system strictly after time zero. Here, A(t) denotes the number of points found in the set (0, t] (we set \(A(0):= 0\)), and the one-to-one correspondence between the points \(\{T_{n}\}_{n \ge 1}\) and the counting process \(\{A(t); t \ge 0\}\) is reinforced mathematically by noting that for each real number \(t \ge 0\), and each integer \(n \ge 1\),

$$\begin{aligned} A(t) := \sum _{k=1}^{\infty }\textbf{1}_{\{T_{k} \le t\}}, \quad T_{n} := \inf \{t \ge 0: A(t) \ge n\} \end{aligned}$$

where for each event C, \(\textbf{1}_{C}\) is the indicator function associated with C, in that \(\textbf{1}_{C}\) is equal to 1 if C occurs and is equal to 0 if C does not occur.

In each queueing model we study, the server always operates in a preemptive LCFS manner, meaning whenever a customer arrives to the system, the server immediately suspends working on the current job and devotes its full attention to the new arrival, only to return servicing the newly neglected job when the new arrival leaves the system. One way to picture how such a model behaves is to imagine the jobs physically stacked on top of one another, where new arrivals land on top of the stack, and at any time instant, the server can only process (at unit rate) the work possessed by the job located on top of the stack. It also helps to alternatively refer to each position in the stack as a slot, where an arriving customer always occupies the lowest-numbered unoccupied slot upon arrival, and the server always provides its full attention to the customer having, among all present customers, the highest slot position in the stack.

There are multiple ways in which the server can behave once it returns to a customer it tried serving previously:

  • Preemptive resume: the customer arriving at time \(T_{n}\) brings with it to the system an amount of work \(B_{n}\) for processing. Whenever a customer’s processing experience with the server is interrupted, upon revisiting the server it continues from where it left off. In this model, we assume the sequence \(\{B_{n}\}_{n \ge 1}\) is i.i.d. with cumulative distribution function (CDF) F and Laplace–Stieltjes transform (LST) \(\beta \), with \(\{B_{n}\}_{n \ge 1}\) being independent of the sequence \(\{T_{n}\}_{n \ge 1}\) (and \(\{A(t); t \ge 0\}\)).

  • Preemptive repeat different: the (tagged) customer arriving at time \(T_{n}\) brings with it to the system a sequence of work \(\{B_{n,k}\}_{k \ge 1}\) for (potential) processing, where the doubly indexed sequence \(\{B_{n,k}\}_{n \ge 1, k \ge 1}\) is assumed to be i.i.d. with CDF F and LST \(\beta \), and independent of \(\{T_{n}\}_{n \ge 1}\). When this customer first arrives to the system, it immediately begins having its amount of work \(B_{n,1}\) processed by the server. If a new customer arrives before this amount of work has been processed, the server moves on to the new arrival: when the server returns to the tagged customer, it then begins processing the amount of work \(B_{n,2}\). Again, if a new arrival occurs before the server finishes this amount of work, it moves on to the new arrival, and when it returns to the tagged customer, it begins processing the amount of work \(B_{n,3}\). This behavior continues throughout until the instant where the server finally finishes processing one of these amounts of work possessed by the tagged customer, at which time the tagged customer departs from the system.

  • Preemptive repeat identical: similar to the preemptive resume case, here the customer arriving at time \(T_{n}\) brings with it to the system an amount of work \(B_{n}\) for processing, where we assume the sequence \(\{B_{n}\}_{n \ge 1}\) is i.i.d. with CDF F and LST \(\beta \), with \(\{B_{n}\}_{n \ge 1}\) being independent of the sequence \(\{T_{n}\}_{n \ge 1}\) (and \(\{A(t); t \ge 0\}\)). Unlike the preemptive resume case, whenever the server revisits the customer that arrived at time \(T_{n}\), it completely restarts processing the job of this customer, meaning all of the previous work performed by the server on that customer is discarded entirely.

In the interest of improving readability, any reference made to a preemptive resume queue will correspond to a single-server queueing system operating under the Last-Come-First-Served preemptive resume discipline. Likewise, any reference to a preemptive repeat different queue or a preemptive repeat identical queue should be interpreted in a similar manner.

Throughout our study, we use arguably the most natural definition for the workload at time t. For each \(t \ge 0\), W(t) represents the sum of the amounts of work possessed by each customer present in the system at time t, where the amount of work possessed by the customer within position j of the stack corresponds to either (a) for the customer currently being served at time t, the remaining amount of work present associated with the specific job being processed by the server at that time, or (b) for each customer waiting in the stack to be revisited by the server, the amount of work the server will encounter once it returns to that customer. This is how the workload process is defined in [8].

We associate with each slot \(k \ge 1\), the random variable \(W_{k}(t)\) that denotes the remaining amount of work possessed by the customer occupying slot k at time t. Our main objective is to study the joint distribution of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\), from which we can study the joint distribution of Q(t) and W(t) since for each \(t \ge 0\),

$$\begin{aligned} W(t) = \sum _{k=1}^{\infty }W_{k}(t). \end{aligned}$$

Define the set \(\mathbb {C}_{+}:= \{\alpha \in \mathbb {C}: Re(\alpha ) > 0\} \cup \{0\}\) as the union of the singleton \(\{0\}\) with the complex open half-plane consisting of complex numbers having a positive real part, define \(\mathbb {C}_{+}^{\infty }:= \{\{\alpha _{n}\}_{n \ge 1}: \alpha \in \mathbb {C}_{+}\}\) as the set of all sequences having elements belonging to \(\mathbb {C}_{+}\), and define, for each integer \(n_{0} \ge 0\) and each integer \(n \ge 0\), the function \(\phi _{n_{0};n}: \mathbb {C}_{+} \times \mathbb {C}_{+}^{\infty } \rightarrow \mathbb {C}\) as

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \varvec{\gamma }) := \int _{0}^{\infty }e^{-\alpha t}\mathbb {E}_{n_{0}}\left[ \textbf{1}_{\{Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)}\right] dt, \quad \alpha \in \mathbb {C}_{+}, \quad \varvec{\gamma } \in \mathbb {C}_{+}^{\infty } \end{aligned}$$

where \(\mathbb {E}_{n_{0}}\) represents conditional expectation, conditional on \(Q(0) = n_{0}\), where each of the \(n_{0}\) customers present in the system at time 0 begin with an amount of work having CDF F, independent of everything else.

The method we use to derive the \(\phi _{n_{0};n}\) functions is a simple modification of the approach used in [13], where various factorization results were established for what was referred to in [13] as Preemptive Resume-Production systems, or PRP systems. It is notable that the overall idea behind the approach found in [13] is similar to ideas used by the matrix-analytic community (see e.g. [16]), and so we suspect many of our results will also carry over to the case where customers arrive in accordance to a Markovian Arrival Process, at the cost of more tedious proofs/derivations, in particular having to establish the invertibility of various matrices that will inevitably be encountered in this more general setting. We plan to address this more general case in a future study.

For each of the three preemptive queueing systems we study in this manuscript, the formulas we derive for each \(\phi _{n_{0};n}\) function are in terms of the LST of the busy period associated with this queue. This is not surprising, as this fact is in-line with what was observed in a series of papers written by Abate and Whitt in the late 1980s [1,2,3,4, 6] that address the transient (i.e. time-dependent) behavior of the M/M/1 queue, the M/G/1 workload, and of regulated Brownian motion, as well as in related work of the author [9,10,11]. Hence, we also thoroughly discuss how, for each of the three preemptive queueing systems, the LST of the busy period can be calculated using a natural iterative scheme, at all complex numbers having positive real part. Through a single coupling argument, we will derive not only the iteration scheme discussed in Abate and Whitt [5] for the busy period LST of the work-conserving M/G/1 queue, but also iterative schemes for both the preemptive repeat different queue, and the preemptive repeat identical queue.

2 The queue-length process and the workload process

The time-dependent behavior of both the queue-length process and the workload process is fairly tractable for not only the preemptive resume queue, but also the preemptive repeat different queue and the preemptive repeat identical queue. We will observe that while the same argument can be used to study the time-dependent behavior of the queue-length process in isolation of each of these three queues, each queue needs to be considered separately when we seek to study the time-dependent behavior of both the queue-length process and the workload process, as well as the distribution of the busy period of each of these three queueing systems.

2.1 The queue-length process

Our first goal in this section is to study the marginal distributions of \(\{Q(t); t \ge 0\}\) in isolation. In particular, we will focus on deriving, for each \(\alpha \in \mathbb {C}\),

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \textbf{0}) = \int _{0}^{\infty }e^{-\alpha t}\mathbb {P}_{n_{0}}(Q(t) = n)dt. \end{aligned}$$

These functions can be expressed in terms of the Laplace-Stieltjes transform \(\pi : \mathbb {C}_{+} \rightarrow \mathbb {C}\) of the busy period \(\tau _{0}\) with respect to \(\mathbb {P}_{1}\):

$$\begin{aligned} \pi (\alpha ) := \mathbb {E}_{1}[e^{-\alpha \tau _{0}}], \quad \alpha \in \mathbb {C}_{+} \end{aligned}$$

where for each integer \(k \ge 0\), and each \(s \ge 0\),

$$\begin{aligned} \tau _{k}(s) := \inf \{t \ge s: Q(t-) \ne k, Q(t) = k\} \end{aligned}$$

and we follow the convention that \(\tau _{k}:= \tau _{k}(0)\). Clearly, for each integer \(n_{0} \ge 1\),

$$\begin{aligned} \mathbb {E}_{n_{0}}[e^{-\alpha \tau _{0}}] = \pi (\alpha )^{n_{0}}, \quad \alpha \in \mathbb {C}_{+} \end{aligned}$$

for each of the three preemptive queueing systems we will consider.

Our first result shows that \(\phi _{n_{0},0}\) can be expressed in terms of \(\pi \).

Proposition 2.1

For each integer \(n_{0} \ge 0\),

$$\begin{aligned} \phi _{n_{0};0}(\alpha ) = \frac{\pi (\alpha )^{n_{0}}}{\alpha + \lambda (1 - \pi (\alpha ))}. \end{aligned}$$
(1)

Proof

We begin by verifying (1) for the case where \(n_{0} = 0\). Using Fubini’s theorem, we get

$$\begin{aligned} \phi _{0;0}(\alpha )&= \int _{0}^{\infty }e^{-\alpha t}\mathbb {P}_{0}(Q(t) = 0)dt \\ {}&= \mathbb {E}_{0}\left[ \int _{0}^{\infty }e^{-\alpha t}\textbf{1}_{\{Q(t) = 0\}}dt\right] \\ {}&= \mathbb {E}_{0}\left[ \int _{0}^{T_{1}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 0\}}dt\right] + \mathbb {E}_{0}\left[ \int _{\tau _{0}}^{\infty }e^{-\alpha t}\textbf{1}_{\{Q(t) = 0\}}dt\right] \\ {}&= \frac{1}{\lambda + \alpha } + \frac{\lambda }{\lambda + \alpha }\pi (\alpha )\phi _{0;0}(\alpha ) \end{aligned}$$

and solving for \(\phi _{0;0}(\alpha )\) yields

$$\begin{aligned} \phi _{0;0}(\alpha ) = \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}. \end{aligned}$$

Furthermore, when \(Q(0) = n_{0} \ge 1\), another application of Fubini’s theorem yields

$$\begin{aligned} \phi _{n_{0};0}(\alpha ) = \int _{0}^{\infty }e^{-\alpha t}\mathbb {P}_{n_{0}}(Q(t) = 0)dt&= \mathbb {E}_{n_{0}}\left[ \int _{0}^{\infty }e^{-\alpha t}\textbf{1}_{\{Q(t) = 0\}}dt\right] \\ {}&= \mathbb {E}_{n_{0}}\left[ \int _{\tau _{0}}^{\infty }e^{-\alpha t}\textbf{1}_{\{Q(t) = 0\}}dt\right] \\ {}&= \pi (\alpha )^{n_{0}}\phi _{0;0}(\alpha ) \end{aligned}$$

proving the claim. \(\square \)

Our next result shows that \(\phi _{n_{0}; n}\) can be expressed in terms of \(\pi \). Our proof strategy will involve showing the \(\phi _{n_{0};n}(\alpha )\) terms satisfy a particular recursive scheme that can be solved easily. The same recursive scheme shows up repeatedly throughout this study, and so we now state an elementary proposition that addresses this recursion.

Proposition 2.2

Suppose \(\{a_{n}\}_{n \ge 1}\) and \(\{b_{n}\}_{n \ge 1}\) are two sequences of complex numbers, and the sequence of complex numbers \(\{x_{n}\}_{n \ge 0}\) satisfies, for each integer \(n \ge 1\),

$$\begin{aligned} x_{n} = b_{n} + a_{n}x_{n-1}. \end{aligned}$$

Then for each integer \(n \ge 1\),

$$\begin{aligned} x_{n} = \left[ \prod _{\ell = 1}^{n}a_{\ell }\right] x_{0} + \sum _{k=1}^{n}b_{k}\prod _{\ell = k+1}^{n}a_{\ell }. \end{aligned}$$

Proof

This can be proven quickly using induction: we omit the details. \(\square \)

Theorem 2.1

For each integer \(n_{0} \ge 0\) and each integer \(n \ge 0\), we have that for each \(\alpha \in \mathbb {C}_{+}\),

$$\begin{aligned} \phi _{n_{0}, n}(\alpha ,\textbf{0})&= \pi (\alpha )^{n_{0}}\left[ \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n} \nonumber \\ {}&\quad +\, \sum _{k=1}^{n}\textbf{1}_{\{n_{0} \ge k\}}\pi (\alpha )^{n_{0} - k}\left[ \frac{1 - \pi (\alpha )}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n - k}. \end{aligned}$$
(2)

This result, when \(n_{0} = 0\), was established for the preemptive resume queue in the work of Kella et al. [15] using different techniques, and it can be inferred from Fralix et al. [13] for the preemptive resume queue as well, under any initial condition. Indeed, the idea behind the proof we present of Theorem 2.1 is virtually identical to the idea used to establish the main results found in [13], but the particular mechanics of this proof will be easier to modify later when we study both the queue-length process and the workload process.

Proof

We begin by deriving \(\phi _{0;n}(\alpha , \textbf{0})\) for each integer \(n \ge 1\). For each real \(t \ge 0\),

$$\begin{aligned} \textbf{1}_{\{Q(t) = n\}} = \int _{(0,t]}\textbf{1}_{\{Q(s-) = n-1\}}\textbf{1}_{\{\tau _{n-1}(s) > t, Q(t) = n\}}A(ds). \end{aligned}$$
(3)

Taking the expected value of both sides of (3), while applying the Campbell-Mecke formula to the right-hand-side gives

$$\begin{aligned} \mathbb {P}_{0}(Q(t) = n) = \int _{0}^{t}\mathbb {P}_{0}(Q(s) = n-1)\mathbb {P}_{1}(\tau _{0} > t-s, Q(t-s) = 1)\lambda ds \end{aligned}$$
(4)

and after multiplying both sides of (4) by \(e^{-\alpha t}\), for \(\alpha \in \mathbb {C}_{+}\), then integrating with respect to t over \([0,\infty )\), we get

$$\begin{aligned} \phi _{0;n}(\alpha , \textbf{0}) = \lambda \mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}ds\right] \phi _{0;n-1}(\alpha , \textbf{0}) \end{aligned}$$
(5)

where \(\phi _{0;0}(\alpha , \textbf{0}):= \phi _{0;0}(\alpha )\). Hence, for each integer \(n \ge 1\),

$$\begin{aligned} \phi _{0;n}(\alpha , \textbf{0})&= \left[ \lambda \mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}ds\right] \right] ^{n}\phi _{0;0}(\alpha )\nonumber \\&= \left[ \lambda \mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}ds\right] \right] ^{n}\frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}. \end{aligned}$$
(6)

We can also solve for the unknown expected value found in both (5) and (6). Summing both sides of (5) over the integers \(n \ge 1\) gives

$$\begin{aligned} \frac{1}{\alpha } - \phi _{0;0}(\alpha ) = \frac{\lambda }{\alpha }\mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}ds\right] \end{aligned}$$
(7)

and since \(\phi _{0;0}(\alpha )\) was found in Proposition 2.1, (7) contains only one unknown: solving for this unknown yields

$$\begin{aligned} \mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}ds\right] = \frac{1}{\lambda }\left[ 1 - \frac{\alpha }{\alpha + \lambda (1 - \pi (\alpha ))}\right] = \frac{1 - \pi (\alpha )}{\alpha + \lambda (1 - \pi (\alpha ))}. \end{aligned}$$
(8)

Plugging (8) into (6) then gives, for each integer \(n \ge 1\),

$$\begin{aligned} \phi _{0;n}(\alpha , \textbf{0}) = \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}\left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n} \end{aligned}$$

proving (2) for the case where \(n_{0} = 0\).

It remains to establish (2) for the case where \(n_{0} \ge 1\) and \(n \ge 1\). For each integer \(n \ge 1\),

$$\begin{aligned} \textbf{1}_{\{Q(t) = n\}} = \textbf{1}_{\{n_{0} \ge n\}}\textbf{1}_{\{Q(t) = n, \tau _{n-1}> t\}} + \int _{(0,t]}\textbf{1}_{\{Q(s-) = n-1\}}\textbf{1}_{\{\tau _{n-1}(s) > t, Q(t) = n\}}A(ds) \end{aligned}$$
(9)

and after taking the expected value of both sides and simplifying, we get

$$\begin{aligned} \mathbb {P}_{n_{0}}(Q(t) = n)&= \textbf{1}_{\{n_{0} \ge n\}}\mathbb {P}_{n_{0}}(Q(t) = n, \tau _{n-1}> t) \nonumber \\&\quad +\, \lambda \int _{0}^{t}\mathbb {P}_{n_{0}}(Q(s) = n-1)\mathbb {P}_{1}(\tau _{0} > t-s, Q(t-s) = 1)ds. \end{aligned}$$
(10)

Multiplying both sides of (10) by \(e^{-\alpha t}\), then integrating with respect to t over \([0,\infty )\) gives

$$\begin{aligned} \phi _{n_{0}; n}(\alpha , \textbf{0}) = \textbf{1}_{\{n_{0} \ge n\}}\pi (\alpha )^{n_{0} - n}\frac{(1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))} + \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\phi _{n_{0}; n-1}(\alpha , \textbf{0}). \end{aligned}$$
(11)

Finally, we can solve this recursion by applying Proposition 2.2 to (11) and conclude that for each integer \(n \ge 1\),

$$\begin{aligned} \phi _{n_{0}, n}(\alpha , \textbf{0})&= \pi (\alpha )^{n_{0}}\left[ \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n} \\ {}&\quad +\, \sum _{k=1}^{\min (n_{0},n)}\pi (\alpha )^{n_{0} - k}\left[ \frac{1 - \pi (\alpha )}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n - k} \end{aligned}$$

proving the claim. \(\square \)

2.2 The workload process

Our next objective is to study the joint distribution of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\), but unlike our study of Q(t), we will need to use a separate derivation for each of the three preemptive queueing systems under consideration.

An important quantity associated with each preemptive queue is the function \(N: \mathbb {C}_{+} \times \mathbb {C}_{+} \rightarrow \mathbb {C}\), defined as

$$\begin{aligned} N(\alpha , \gamma ) := \mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}e^{-\gamma W_{1}(s)}ds\right] . \end{aligned}$$

This function will repeatedly appear in our study of the \(\phi _{n_{0},n}\) functions. Each time we derive a computable expression for \(N(\alpha , \gamma )\), we will seek to calculate the quantity \(N(\alpha , \gamma , x)\), defined for each \(x > 0\) as

$$\begin{aligned} N(\alpha , \gamma , x) := \mathbb {E}\left[ \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt \mid Q(0) = 1, W_{1}(0) = x\right] . \end{aligned}$$

Note that \(W_{1}(0)\) is simply the amount of work possessed by the single customer present at time zero, as we are also conditioning on \(Q(0) = 1\). Once we have determined \(N(\alpha , \gamma , x)\) for each \(x \ge 0\), we can use a simple conditioning argument to conclude that

$$\begin{aligned} N(\alpha , \gamma ) = \int _{(0,\infty )}N(\alpha , \gamma , x)dF(x). \end{aligned}$$

2.2.1 Preemptive resume queues

While the time-dependent behavior of the preemptive resume queue is much better understood than the time-dependent behavior of both the preemptive repeat different and the preemptive repeat identical queues, our objective here is to first present a procedure for studying the time-dependent behavior of the preemptive resume queue that can be adapted to study both preemptive repeat queues.

Our first result in this subsection focuses on the derivation of \(N(\alpha , \gamma )\) for the preemptive resume queue.

Proposition 2.3

For each \(\alpha , \gamma \in \mathbb {C}_{+}\),

$$\begin{aligned} N(\alpha , \gamma ) = \frac{\beta (\gamma ) - \pi (\alpha )}{\alpha + \lambda (1 - \pi (\alpha )) - \gamma } \end{aligned}$$
(12)

Proof

The key to calculating \(N(\alpha , \gamma )\) is to first focus on deriving \(N(\alpha , \gamma , x)\). Observe first that when \(Q(0) = 1\) and \(W_{1}(0) = x\),

$$\begin{aligned} \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt&= \int _{0}^{\min (T_{1},x)}e^{-\alpha y}e^{-\gamma (x-y)}dy\nonumber \\&\quad +\, \textbf{1}_{\{T_{1} \le x\}}\int _{T_{1}}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt \nonumber \\ {}&= \int _{0}^{x}e^{-\alpha y}e^{-\gamma (x-y)}\textbf{1}_{\{T_{1} > y\}}dy \nonumber \\&\quad +\, \textbf{1}_{\{T_{1} \le x\}}\int _{T_{1}}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt. \end{aligned}$$
(13)

Taking the expected value of both sides of (13) gives

$$\begin{aligned} N(\alpha , \gamma , x)&= \int _{0}^{x}e^{-\alpha y}e^{-\gamma (x - y)}e^{-\lambda y}dy + \int _{0}^{x}e^{-\alpha y}\pi (\alpha )N(\alpha , \gamma , x-y)\lambda e^{-\lambda y}dy \nonumber \\ {}&{=} e^{-(\alpha + \lambda )x}\int _{0}^{x}e^{(\alpha + \lambda - \gamma )y}dy {+} \lambda e^{-(\alpha + \lambda )x}\pi (\alpha )\int _{0}^{x}N(\alpha , \gamma ,y)e^{(\alpha {+} \lambda )y}dy. \end{aligned}$$
(14)

Multiplying both sides of (14) by \(e^{(\alpha + \lambda )x}\), then taking the partial derivative of both sides with respect to x yields

$$\begin{aligned} \frac{\partial }{\partial x}N(\alpha , \gamma , x) + (\alpha + \lambda (1 - \pi (\alpha )))N(\alpha , \gamma ,x) = e^{-\gamma x}. \end{aligned}$$
(15)

Equation (15) is essentially a first-order linear ODE, with initial condition \(N(\alpha , \gamma ,0) = 0\). Solving this ODE yields

$$\begin{aligned} N(\alpha , \gamma , x) = \frac{e^{-\gamma x} - e^{-(\alpha + \lambda (1 - \pi (\alpha )))x}}{\alpha + \lambda (1 - \pi (\alpha )) - \gamma }. \end{aligned}$$
(16)

Integrating both sides of (16) over \([0,\infty )\) with respect to dF(x) gives

$$\begin{aligned} N(\alpha , \gamma ) = \frac{\beta (\gamma ) - \beta (\alpha + \lambda (1 - \pi (\alpha )))}{\alpha + \lambda (1 - \pi (\alpha )) - \gamma } = \frac{\beta (\gamma ) - \pi (\alpha )}{\alpha + \lambda (1 - \pi (\alpha )) - \gamma } \end{aligned}$$
(17)

where the last equality follows from the well-known fixed point equation \(\pi (\alpha ) = \beta (\alpha + \lambda (1 - \pi (\alpha ))\) satisfied by \(\pi \) when the service discipline of the M/G/1 queue is a work-conserving service discipline. This completes the proof of the claim. \(\square \)

The next result shows how we can modify the proof of Theorem 2.1 to derive \(\phi _{n_{0};n}(\alpha , \varvec{\gamma })\).

Theorem 2.2

For each integer \(n_{0} \ge 0\), each integer \(n \ge 0\), each \(\alpha \in \mathbb {C}_{+}\), and each \(\varvec{\gamma } \in \mathbb {C}_{+}^{\infty }\),

$$\begin{aligned}&\phi _{n_{0};n}(\alpha , \varvec{\gamma }) \nonumber \\ {}&\quad = \phi _{n_{0};0}(\alpha )\left[ \prod _{\ell =1}^{n}\lambda N(\alpha , \gamma _{\ell })\right] \nonumber \\&+\, \sum _{k=1}^{n}\textbf{1}_{\{n_{0} \ge k\}}\pi (\alpha )^{n_{0} - k}\left[ \prod _{\ell =1}^{k-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{k})\left[ \prod _{\ell = k+1}^{n}\lambda N(\alpha , \gamma _{\ell })\right] \end{aligned}$$
(18)

Proof

The key to establishing this result is to derive the following recursive scheme: for each integer \(n \ge 1\),

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \varvec{\gamma }) = \textbf{1}_{\{n_{0} \ge n\}}\pi (\alpha )^{n_{0} - n}\left[ \prod _{\ell =1}^{n-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{n}) + \lambda N(\alpha , \gamma _{n})\phi _{n_{0}; n-1}(\alpha , \varvec{\gamma }). \end{aligned}$$
(19)

Once this recursion has been established, it can be solved using Proposition 2.2 to get (18).

It remains, then, to derive the recursion. First we observe that for each \(t \ge 0\), each integer \(n \ge 1\), and each \(\varvec{\gamma } \in \mathbb {C}_{+}\),

$$\begin{aligned}&\textbf{1}_{\{Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)} \nonumber \\ {}&\quad = \textbf{1}_{\{n_{0} \ge n\}}\textbf{1}_{\{\tau _{n} \le t, \tau _{n-1}> t, Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)} \nonumber \\ {}&\qquad +\, \int _{(0,t]}\textbf{1}_{\{Q(s-) = n-1\}}e^{-\sum _{k=1}^{n-1}\gamma _{k}W_{k}(s-)}\textbf{1}_{\{Q(t) = n, \tau _{n-1}(s) > t\}}e^{-\gamma _{n}W_{n}(t)}A(ds). \end{aligned}$$
(20)

Taking the expected value of both sides of (20), while further applying the Campbell-Mecke formula to the right-hand-side gives

$$\begin{aligned}&\mathbb {E}_{n_{0}}[\textbf{1}_{\{Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)}] \nonumber \\ {}&\quad = \textbf{1}_{\{n_{0} \ge n\}}\left[ \prod _{k=1}^{n-1}\beta (\gamma _{k})\right] \mathbb {E}_{n_{0}}[\textbf{1}_{\{\tau _{n} \le t, \tau _{n-1}> t, Q(t) = n\}}e^{-\gamma _{n}W_{n}(t)}] \nonumber \\ {}&\qquad +\, \lambda \int _{0}^{t}\mathbb {E}_{n_{0}}[\textbf{1}_{\{Q(s) = n-1\}}e^{-\sum _{k=1}^{n-1}\gamma _{k}W_{k}(s)}]\mathbb {E}_{1}\left[ \textbf{1}_{\{Q(t-s) = 1, \tau _{0} > t-s\}}e^{-\gamma _{n}W_{1}(t-s)}\right] ds. \end{aligned}$$
(21)

Multiplying both sides of (21) by \(e^{-\alpha t}\) for \(\alpha \in \mathbb {C}_{+}\), then integrating both sides over \([0,\infty )\) gives

$$\begin{aligned} \phi _{n_{0},n}(\alpha , \varvec{\gamma })&= \textbf{1}_{\{n \le n_{0}\}}\left[ \prod _{k=1}^{n-1}\beta (\gamma _{k})\right] \pi (\alpha )^{n_{0} - n}\mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma _{n}W_{1}(t)}dt\right] \\ {}&\quad +\, \lambda \phi _{n_{0},n-1}(\alpha , \varvec{\gamma })\mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\alpha \gamma _{n}W_{1}(t)}dt\right] \end{aligned}$$

i.e.

$$\begin{aligned} \phi _{n_{0},n}(\alpha , \varvec{\gamma }) = \textbf{1}_{\{n \le n_{0}\}}\left[ \prod _{k=1}^{n-1}\beta (\gamma _{k})\right] \pi (\alpha )^{n_{0} - n}N(\alpha , \gamma _{n}) + \lambda N(\alpha , \gamma _{n})\phi _{n_{0},n-1}(\alpha , \varvec{\gamma }) \end{aligned}$$

which is (19). \(\square \)

We conclude this subsection by stating the following corollary, which gives us the Laplace transform of the joint Laplace–Stieltjes transform of Q(t) and W(t). In the interest of relating this joint Laplace–Stieltjes transform to previous results, we define the functions \(\kappa : \mathbb {C}_{+} \rightarrow \mathbb {C}\) and \(\psi : \mathbb {C}_{+} \rightarrow \mathbb {C}\), where for \(\alpha , \gamma \in \mathbb {C}_{+}\),

$$\begin{aligned} \kappa (\alpha ) := \alpha + \lambda (1 - \pi (\alpha )), \quad \psi (\gamma ) := \gamma - \lambda (1 - \beta (\gamma ). \end{aligned}$$

Corollary 2.1

For each \(z \in D(0,1)\), each \(\alpha \in \mathbb {C}_{+}\), and each \(\gamma \in \mathbb {C}_{+}\),

$$\begin{aligned} \int _{0}^{\infty }\mathbb {E}_{n_{0}}[z^{Q(t)}e^{-\gamma W(t)}]e^{-\alpha t}dt&= \frac{\pi (\alpha )^{n_{0}}}{\kappa (\alpha )}\frac{\kappa (\alpha ) - \gamma }{(1-z)(\kappa (\alpha ) - \gamma ) + z(\alpha - \psi (\gamma ))} \nonumber \\ {}&\quad +\, \frac{z(\beta (\gamma ) - \pi (\alpha ))}{(1-z)(\kappa (\alpha ) - \gamma ) + z(\alpha - \psi (\gamma ))}\nonumber \\&\quad \sum _{k=1}^{n_{0}}\pi (\alpha )^{n_{0} - k}(z\beta (\gamma ))^{k-1}. \end{aligned}$$
(22)

Proof

This result follows quickly from Theorem 2.2, since

$$\begin{aligned} \int _{0}^{\infty }\mathbb {E}_{n_{0}}[z^{Q(t)}e^{-\gamma W(t)}]e^{-\alpha t}dt = \sum _{n=0}^{\infty }z^{n}\phi _{n_{0};n}(\alpha , \gamma \textbf{e}_{n}) \end{aligned}$$

where \(\textbf{e}_{n}\) is a row vector having n elements, where each element is equal to one. Indeed,

$$\begin{aligned} \sum _{n=0}^{\infty }z^{n}\phi _{n_{0};n}(\alpha , \gamma \textbf{e}_{n})&= \frac{\phi _{n_{0};0}(\alpha )}{1 - \lambda N(\alpha , \gamma )z} + \frac{N(\alpha , \gamma )z}{1 - \lambda N(\alpha , \gamma )z}\sum _{k=1}^{n_{0}}\pi (\alpha )^{n_{0} - k}(z\beta (\gamma ))^{k-1} \end{aligned}$$

and since

$$\begin{aligned} N(\alpha , \gamma ) = \frac{\beta (\gamma ) - \pi (\alpha )}{\kappa (\alpha ) - \gamma }, \quad \phi _{n_{0};0}(\alpha ) = \frac{\pi (\alpha )^{n_{0}}}{\kappa (\alpha )} \end{aligned}$$

and

$$\begin{aligned} 1 - \lambda z N(\alpha , \gamma ) = 1 - \lambda z\left[ \frac{\beta (\gamma ) - \pi (\alpha )}{\kappa (\alpha ) - \gamma }\right]&= \frac{\kappa (\alpha ) - \gamma - \lambda z (\beta (\gamma ) - \pi (\alpha ))}{\kappa (\alpha ) - \gamma } \\ {}&= \frac{(1-z)(\kappa (\alpha ) - \gamma ) + z(\kappa (\alpha ) - \gamma - \lambda \beta (\gamma ) + \lambda \pi (\alpha ))}{\kappa (\alpha ) - \gamma } \\ {}&= \frac{(1-z)(\kappa (\alpha ) - \gamma ) + z(\alpha + \lambda - \gamma - \lambda \beta (\gamma ))}{\kappa (\alpha ) - \gamma } \\ {}&= \frac{(1-z)(\kappa (\alpha ) - \gamma ) + z(\alpha - \psi (\gamma ))}{\kappa (\alpha ) - \gamma } \end{aligned}$$

we conclude that

$$\begin{aligned}&\frac{\phi _{n_{0};0}(\alpha )}{1 - \lambda N(\alpha , \gamma )z} + \frac{N(\alpha , \gamma )z}{1 - \lambda N(\alpha , \gamma )z}\sum _{k=1}^{n_{0}}\pi (\alpha )^{n_{0} - k}(z\beta (\gamma ))^{k-1} \\&\quad = \frac{\pi (\alpha )^{n_{0}}}{\kappa (\alpha )}\frac{\kappa (\alpha ) - \gamma }{(1-z)(\kappa (\alpha ) - \gamma ) + z(\alpha - \psi (\gamma ))} \\&\quad + \frac{z(\beta (\gamma ) - \pi (\alpha ))}{(1-z)(\kappa (\alpha ) - \gamma ) + z(\alpha - \psi (\gamma ))}\sum _{k=1}^{n_{0}}\pi (\alpha )^{n_{0} - k}(z\beta (\gamma ))^{k-1} \end{aligned}$$

which completes the derivation. \(\square \)

Readers should observe that the Laplace transform of the joint LST of Q(t) and W(t) was also derived, for the case where \(Q(0) = 0\), in Theorem 2 of [12], and when \(n_{0} = 0\), (22) agrees with the expression found there. In fact, it was further shown in [12] that when \(Q(0) = 0\), the joint LST of Q(t) and W(t) is the same for all symmetric M/G/1 service disciplines: the preemptive resume queue is an example of a symmetric M/G/1 queue.

2.2.2 Preemptive repeat different queues

The joint Laplace–Stieltjes transform of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\) can be analyzed for the preemptive repeat different queue as well using a similar proof technique, in fact the analysis is in some ways simpler than the analysis used above to study the workload process of the preemptive resume queue.

Our first result in this section is an expression for \(N(\alpha , \gamma )\).

Proposition 2.4

For each \(\alpha , \gamma \in \mathbb {C}_{+}\),

$$\begin{aligned} N(\alpha , \gamma ) = \frac{\beta (\gamma ) - \beta (\alpha + \lambda )}{(\alpha + \lambda - \gamma )(1 - \frac{\lambda }{\lambda + \alpha }(1 - \beta (\lambda + \alpha ))\pi (\alpha ))} \end{aligned}$$
(23)

Proof

We begin by expressing \(N(\alpha , \gamma , x)\) in terms of \(N(\alpha , \gamma )\). Conditioning on the fact that \(Q(0) = 1\) and \(W_{1}(0) = x\), for \(x > 0\), we get

$$\begin{aligned} \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt&= \int _{0}^{x}e^{-\alpha y}\textbf{1}_{\{A(y) = 0\}}e^{-\gamma (x-y)}dy \nonumber \\ {}&\quad +\, \textbf{1}_{\{T_{1} \le x\}}\int _{T_{1}}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt. \end{aligned}$$
(24)

Taking the expected value of both sides of (24), while further simplifying the right-hand-side gives

$$\begin{aligned} N(\alpha , \gamma , x)&= \int _{0}^{x}e^{-\alpha y}e^{-\lambda y}e^{-\gamma (x-y)}dy + \pi (\alpha )\left[ \int _{0}^{x}e^{-\alpha y}\lambda e^{-\lambda y}dy\right] N(\alpha , \gamma ) \end{aligned}$$

or

$$\begin{aligned} N(\alpha , \gamma , x)&= \frac{e^{-\gamma x} - e^{-(\alpha + \lambda )x}}{\alpha + \lambda - \gamma } + \frac{\lambda }{\lambda + \alpha }(1 - e^{-(\lambda + \alpha ) x})\pi (\alpha )N(\alpha ,\gamma ). \end{aligned}$$
(25)

Integrating both sides of (25) over \([0,\infty )\) with respect to dF(x) yields

$$\begin{aligned} N(\alpha , \gamma ) = \frac{\beta (\gamma ) - \beta (\alpha + \lambda )}{\alpha + \lambda - \gamma } + \frac{\lambda }{\lambda + \alpha }(1 - \beta (\lambda + \alpha ))\pi (\alpha )N(\alpha , \gamma ) \end{aligned}$$

and solving for \(N(\alpha , \gamma )\) gives (23). \(\square \)

Having Proposition 2.4 in hand, we are now ready to derive the \(\phi _{n_{0};n}\) functions associated with the preemptive repeat different queue.

Theorem 2.3

For each integer \(n_{0} \ge 0\), and each integer \(n \ge 1\),

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \varvec{\gamma })&= \left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{n})\sum _{k=1}^{n}\textbf{1}_{\{n_{0} \ge k\}}\pi (\alpha )^{n_{0} - k}\left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n - k} \nonumber \\ {}&\quad +\, \left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] \frac{N(\alpha , \gamma _{n})}{N(\alpha ,0)}\pi (\alpha )^{n_{0}}\left[ \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n}. \end{aligned}$$
(26)

Before we give the proof, it is instructive to use this result to determine the stationary joint distribution of Q(t) and \(\{\{W_{k}(t)\}_{k \ge 1}\). Multiplying both sides of (26) by \(\alpha \), then letting \(\alpha \downarrow 0\) yields

$$\begin{aligned} \mathbb {E}[\textbf{1}_{\{Q(\infty ) = n\}}e^{-\sum _{k=1}^{Q(\infty )}\gamma _{k}W_{k}(\infty )}] = \left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] \frac{N(0,\gamma _{n})}{N(0,0)}\mathbb {P}(Q(\infty ) = n) \end{aligned}$$

which implies that conditional on \(Q(\infty ) = n\), the random variables \(W_{1}(\infty ), W_{2}(\infty ),\) \( \ldots , W_{n}(\infty )\) are independent, where for each \(k \in \{1,2,\ldots ,n-1\}\), \(W_{k}(\infty )\) has LST \(\beta \), and \(W_{n}(\infty )\) has LST

$$\begin{aligned} \mathbb {E}[e^{-\gamma W_{n}(\infty )} \mid Q(\infty ) = n] = \frac{N(0,\gamma )}{N(0,0)} = \frac{\lambda (\beta (\gamma ) - \beta (\lambda ))}{(\lambda - \gamma )(1 - \beta (\lambda ))}. \end{aligned}$$

Letting B be a generic r.v. having CDF F, and \(E_{\lambda }\) be an exponential r.v. having rate \(\lambda \), we can see that this conditional LST is the conditional LST of \(B - E_{\lambda }\), given \(B > E_{\lambda }\), where B and \(E_{\lambda }\) are assumed to be independent. This result agrees with Proposition 2.3 of Bergquist and Sigman [8].

Proof

The proof of this result is actually much simpler in many respects than the derivation of the \(\phi _{n_{0};n}\) functions associated with the preemptive resume queue. For each integer \(n \ge 1\),

$$\begin{aligned} \textbf{1}_{\{Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)}&= \textbf{1}_{\{n_{0} \ge n\}}e^{-\sum _{k=1}^{n-1}\gamma _{k}W_{k}(0)}\textbf{1}_{\{\tau _{n} \le t, \tau _{n-1}> t, Q(t) = n\}}e^{-\gamma _{n}W_{n}(t)} \nonumber \\ {}&\quad +\, \int _{(0,t]}\textbf{1}_{\{Q(s-) = n-1\}}\nonumber \\&\quad e^{-\sum _{k=1}^{n-1}\gamma _{k}W_{k}(t)}\textbf{1}_{\{\tau _{n-1}(s) > t, Q(t) = n\}}e^{-\gamma _{n}W_{n}(t)}A(ds). \end{aligned}$$
(27)

Taking the expected value of both sides of (27), while applying the Campbell–Mecke formula to the right-hand-side gives

$$\begin{aligned}&~~~ \mathbb {E}_{n_{0}}\left[ \textbf{1}_{\{Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)}\right] \nonumber \\ {}&= \textbf{1}_{\{n_{0} \ge n\}}\left[ \prod _{k=1}^{n-1}\beta (\gamma _{k})\right] \mathbb {E}_{n_{0}}[\textbf{1}_{\{\tau _{n} \le t, \tau _{n-1} > t, Q(t) = n\}}e^{-\gamma _{n}W_{n}(t)}] \nonumber \\ {}&\quad +\, \lambda \left[ \prod _{k=1}^{n-1}\beta (\gamma _{k})\right] \int _{0}^{t}\mathbb {P}_{n_{0}}(Q(s) = n-1)\mathbb {E}_{1}\left[ \textbf{1}_{\{Q(t-s) = 1\}}e^{-\gamma _{n}W_{1}(t-s)}\right] ds \end{aligned}$$
(28)

and after multiplying both sides of the equality by \(e^{-\alpha t}\), then integrating with respect to t over \([0,\infty )\), we get

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \varvec{\gamma })&= \textbf{1}_{\{n_{0} \ge n\}}\pi (\alpha )^{n_{0} - n}\left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] \nonumber \\&\quad N(\alpha , \gamma _{n}) + \lambda \left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{n})\phi _{n_{0};n-1}(\alpha , \varvec{0}) \end{aligned}$$
(29)

implying

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \varvec{\gamma })&= \textbf{1}_{\{n_{0} \ge n\}}\pi (\alpha )^{n_{0} - n}\left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{n}) \nonumber \\ {}&\quad +\, \lambda \left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{n})\sum _{k=1}^{\min (n_{0},n-1)}(1 - \pi (\alpha ))\pi (\alpha )^{n_{0} - k}\nonumber \\&\quad \left[ \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n - 1 - k} \nonumber \\ {}&\quad +\, \lambda \left[ \prod _{\ell = 1}^{n-1}\beta (\gamma _{\ell })\right] N(\alpha , \gamma _{n})\pi (\alpha )^{n_{0}}\left[ \frac{1}{\alpha + \lambda (1 - \pi (\alpha ))}\right] \nonumber \\&\quad \left[ \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))}\right] ^{n-1} \end{aligned}$$
(30)

and since from (8)

$$\begin{aligned} \lambda N(\alpha ,0) = \frac{\lambda (1 - \pi (\alpha ))}{\alpha + \lambda (1 - \pi (\alpha ))} \end{aligned}$$
(31)

we arrive, after some algebra, at the claim. \(\square \)

Remark

Readers should note that the joint distribution of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\) for the ‘nonpreemptive-LIFO with restart’ model of Horvath et al. [14] is exactly the same as the joint distribution of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\) for the preemptive repeat different model. Hence, we can recover Theorem 1 of [14] from Theorem 2.3 above by multiplying both sides by \(\alpha \), letting \(\alpha \downarrow 0\), and setting \(\gamma _{k} = 0\) for \(1 \le k \le n-1\).

2.2.3 Preemptive repeat identical queues

The workload process of the preemptive repeat identical queue behaves in a manner that makes its analysis more difficult than that for the preemptive resume queue, and the preemptive repeat different queue, in that we will have to first study the joint distribution of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\) for a related preemptive repeat identical queueing system where each customer brings an amount of work that has a discrete distribution. This intermediate step is needed, because the preemptive repeat identical service discipline features an additional dependency that needs to be accounted for when the joint distribution of Q(t) and \(\{W_{k}(t); t \ge 0\}\) is analyzed, and if we assume each service time is a finite, discrete random variable, we can use the well-known thinning property of Poisson processes to think of arrivals as being broken up into ‘types’, where a customer who is of type-k brings a deterministic amount of work equal to \(x_{k}\). This trick is helpful, because each time a type-k customer’s service is interrupted by a new arrival, when the server returns to that type-k customer, the amount of work possessed by that customer that the server must process (before the next interruption) is \(x_{k}\). Once we derive results for this system, analogous results will be established for the original preemptive repeat identical system through a natural limiting procedure.

Given our original preemptive repeat identical queueing system, we define, for each integer \(m \ge 1\), the sequence of random variables \(\{B_{n}^{(m)}\}_{n \ge 1}\), where for each integer \(n \ge 1\),

$$\begin{aligned} B_{n}^{(m)} := \sum _{k=1}^{\infty }\frac{k}{2^{m}}\textbf{1}_{\{(k-1)/2^{m} < B_{n} \le k/2^{m}\}}. \end{aligned}$$

For each integer \(m \ge 1\), the mth queueing system is a single-server queue operating under the preemptive repeat identical discipline, where customers arrive in accordance to the arrival process \(\{A(t); t \ge 0\}\) (meaning each of these systems have the same arrival process) and the nth arrival to the system arrives at time \(T_{n}\), and brings an amount of work \(B_{n}^{(m)}\) for processing. Finally, we let \(Q^{(m)}(t)\) denote the number of customers present in the mth queueing system at time t, and for each integer \(k \ge 1\), we let \(W_{k}^{(m)}(t)\) denote the remaining amount of work possessed by the customer present in slot k at time t.

Given each customer in the mth queueing system brings a random amount of work for processing that has a discrete distribution, it is also useful to associate with each such customer a label that tells us precisely how much work was originally brought to the system by the arriving customer. We say that an arriving customer to the mth queueing system is a type-j customer with probability

$$\begin{aligned} p_{m,j} := F(j/2^{m}) - F((j-1)/2^{m}). \end{aligned}$$

By introducing this labeling scheme, we may say that each type-j customer bring to the system a deterministic amount of work \(x_{m,j}:= j/2^{m}\) for processing. For each integer \(k \ge 1\), and each \(t \ge 0\), let \(L_{k}(t)\) denote the customer type of the customer present in slot k at time t.

Next, we introduce the functions \(\Delta _{n_{0};n}^{(m)}: \mathbb {C}_{+} \times \mathbb {C}_{+}^{\infty } \times \mathbb {N}^{\infty } \rightarrow \mathbb {C}_{+}\), defined as follows: for each \(\alpha \in \mathbb {C}_{+}\), each \(\varvec{\gamma } \in \mathbb {C}_{+}^{\infty }\), and each \(\textbf{i} = (i_{1}, i_{2}, \ldots ) \in \mathbb {N}^{\infty }\) (where \(\mathbb {N}\) denotes the set of positive integers)

$$\begin{aligned} \Delta _{n_{0};n}^{(m)}(\alpha , \varvec{\gamma }, \textbf{i}) := \mathbb {E}_{n_{0}}[\textbf{1}_{\{Q^{(m)}(t) = n, L_{1}^{(m)}(t) = i_{1}, \ldots , L_{n}^{(m)}(t) = i_{n}\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}^{(m)}(t)}]. \end{aligned}$$

Our first objective is to derive computable expression for the \(\Delta _{n_{0}:n}^{(m)}\) functions, and we will see shortly that these functions be expressed in terms of the \(N(\alpha , \gamma , x)\) quantities defined above. In the process of studying this joint distribution, we will first need to examine the joint distribution of Q(t) and \(\{L_{k}(t)\}_{k \ge 1}\). Throughout, we let \(\pi _{m}\) denote the LST of the busy period of the mth queueing system, and we let

$$\begin{aligned} N_{m}(\alpha , \gamma , x) := \mathbb {E}_{(1,x)}\left[ \int _{0}^{\tau _{0}^{(m)}}e^{-\alpha t}\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-\gamma W_{1}^{(m)}(t)}dt\right] . \end{aligned}$$

Proposition 2.5

For each \(\alpha \in \mathbb {C}_{+}\), and each \(\varvec{i} \in E^{\infty }\), we have for each integer \(n \ge 1\),

$$\begin{aligned} \Delta _{n_{0};n}^{(m)}(\alpha , \textbf{0}, \textbf{i})&= \phi _{n_{0};0}^{(m)}(\alpha )\left[ \prod _{\ell = 1}^{n}\lambda p_{m,i_{\ell }}N_{m}(\alpha , 0, x_{m,i_{\ell }})\right] \nonumber \\&\quad +\, \sum _{k=1}^{n}\textbf{1}_{\{n_{0} \ge k\}}\pi _{m}(\alpha )^{n_{0} - k}\left[ \prod _{\ell = 1}^{k}p_{m,i_{\ell }}\right] N_{m}(\alpha , 0, x_{m,i_{k}})\nonumber \\&\quad \left[ \prod _{\ell = k+1}^{n}\lambda p_{m,i_{\ell }} N_{m}(\alpha , 0, x_{m,i_{\ell }})\right] \end{aligned}$$
(32)

Proof

This result can be proven using a method analogous to that used to establish Theorem 2.1, in that the key to proving the claim is to show that the \(\Delta _{n_{0};n}^{(m)}(\alpha , \textbf{0}, \textbf{i})\) terms satisfy the following recursion: for each integer \(n \ge 1\),

$$\begin{aligned} \Delta _{n_{0}; n}^{(m)}(\alpha , \textbf{0}, \textbf{i})&= \textbf{1}_{\{n_{0} \ge n\}}\pi _{m}(\alpha )^{n_{0} - n}\left[ \prod _{\ell = 1}^{n}p_{m,i_{\ell }}\right] N_{m}(\alpha , 0, x_{m,i_{n}})\nonumber \\&\quad +\, \lambda p_{m,i_{n}} N_{m}(\alpha , 0, x_{m,i_{n}}) \Delta _{n_{0};n-1}^{(m)}(\alpha , \textbf{0}, \textbf{i}). \end{aligned}$$
(33)

Once this recursion has been established, we can use Proposition 2.2 to arrive at (32).

It remains to establish (33). Fix \(\textbf{i} \in \mathbb {N}^{\infty }\), and observe that for each integer \(n \ge 1\),

$$\begin{aligned}&\textbf{1}_{\{Q^{(m)}(t) = n, L_{1}^{(m)}(t) = i_{1}, \ldots , L_{n}{(m)}(t) = i_{n}\}} \nonumber \\&\quad = \textbf{1}_{\{n_{0} \ge n\}}\textbf{1}_{\{L_{1}^{(m)}(0) = i_{1}, \ldots , L_{n}^{(m)}(0) = i_{n}, \tau _{n}^{(m)} \le t, \tau _{n-1}^{(m)}> t, Q^{(m)}(t) = n\}} \nonumber \\ {}&\qquad +\, \int _{0}^{t}\textbf{1}_{\{Q^{(m)}(s-) = n-1, L_{1}^{(m)}(s-) = i_{1}, \ldots , L_{n-1}^{(m)}(s-) = i_{n-1}\}}\textbf{1}_{\{Q^{(m)}(t) = n, \tau _{n-1}^{(m)}(s) > t\}}A_{m,i_{n}}(ds) \end{aligned}$$
(34)

where \(\{A_{m,i}(t); t \ge 0\}\) denotes the thinned Poisson process of type-i arrivals. Taking the expected value of both sides of (34), while further applying the Campbell–Mecke formula to the stochastic integral on the right-hand-side yields

$$\begin{aligned}&\mathbb {P}_{n_{0}}(Q^{(m)}(t) = n, L_{1}^{(m)}(t) = i_{1}, \ldots , L_{n}^{(m)}(t) = i_{n}) \nonumber \\ {}&\quad = \textbf{1}_{\{n_{0} \ge n\}}\mathbb {P}(L_{1}^{(m)}(0) = i_{1}, \ldots , L_{n}^{(m)}(0) = i_{n}, \tau _{n}^{(m)} \le t, \tau _{n-1}^{(m)}> t, Q^{(m)}(t) = n) \nonumber \\ {}&\qquad +\, \lambda p_{m,i_{n}}\int _{0}^{t}\mathbb {P}(Q^{(m)}(s) = n-1, L_{1}^{(m)}(s) = i_{1}, \ldots , L_{n-1}^{(m)}(s) = i_{n-1})\nonumber \\&\quad \mathbb {P}_{(1, x_{m,i_{m}})}(Q^{(m)}(t-s) = 1, \tau _{0}^{(m)} > t-s)ds. \end{aligned}$$
(35)

Multiplying both sides of (35) by \(e^{-\alpha t}\), then integrating with respect to t over \([0,\infty )\) gives

$$\begin{aligned} \Delta _{n_{0};n}^{(m)}(\alpha , \textbf{0}, \textbf{i})&= \textbf{1}_{\{n_{0} \ge n\}}\left[ \prod _{\ell = 1}^{n}p_{m,i_{\ell }}\right] \pi _{m}(\alpha )^{n_{0} - n}N_{m}(\alpha , 0, x_{m,i_{n}}) \nonumber \\&\quad +\, \lambda p_{m,i_{n}}N_{m}(\alpha , 0, x_{m,i_{n}})\Delta _{n_{0};n-1}^{(m)}(\alpha , \textbf{0}, \textbf{i}) \end{aligned}$$

which establishes the recursion. \(\square \)

The next result completes the derivation of the \(\Delta _{n_{0};n}^{(m)}\) functions associated with the mth preemptive repeat identical queue.

Proposition 2.6

For each \(\alpha \in \mathbb {C}_{+}\), and each \(\varvec{\gamma } \in \mathbb {C}_{+}\),

$$\begin{aligned} \Delta _{n_{0};n}^{(m)}(\alpha , \varvec{\gamma }, \textbf{i})&= \textbf{1}_{\{n_{0} \ge n\}}\pi _{m}(\alpha )^{n_{0} - n}\left[ \prod _{\ell = 1}^{n}p_{m,i_{\ell }}\right] e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}N_{m}(\alpha , \gamma _{n}, x_{m,i_{n}}) \nonumber \\ {}&\quad +\, \phi _{n_{0};0}^{(m)}(\alpha )\left[ \prod _{\ell = 1}^{n-1}\lambda p_{m,i_{\ell }}N_{m}(\alpha , 0, x_{m,i_{\ell }})\right] \lambda p_{m,i_{n}}\nonumber \\&\quad e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}N_{m}(\alpha , \gamma _{n}, x_{m,i_{n}}) \nonumber \\ {}&\quad +\, \sum _{k=1}^{\min (n_{0},n-1)}\pi _{m}(\alpha )^{n_{0} - k}\nonumber \\&\quad \left[ \prod _{\ell = 1}^{k}p_{m,i_{\ell }}\right] N_{m}(\alpha , 0, x_{m,i_{k}})\left[ \prod _{\ell = k+1}^{n-1}\lambda p_{m,i_{\ell }} N_{m}(\alpha , 0, x_{m,i_{\ell }})\right] \nonumber \\ {}&~~~ \times \lambda p_{m,i_{n}}e^{-\sum _{\ell =1}^{n-1}\gamma _{\ell }x_{m,i_{\ell }}}N_{m}(\alpha , \gamma _{n}, x_{m,i_{n}}) \end{aligned}$$
(36)

Proof

Fix \(t > 0\), and observe that for each \(\varvec{\gamma } \in \mathbb {C}_{+}^{\infty }\), and each \(\textbf{i} \in \mathbb {N}^{\infty }\), we have for each integer \(n \ge 1\),

$$\begin{aligned}&\textbf{1}_{\{Q^{(m)}(t) = n, L_{1}^{(m)}(t) = i_{1}, \ldots , L_{n}^{(m)}(t) = i_{n}\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}^{(m)}(t)} \nonumber \\ {}&\quad = \textbf{1}_{\{L_{1}^{(m)}(0) = i_{1}, \ldots , L_{n}^{(m)}(0) = i_{n}, \tau _{n}^{(m)} \le t, \tau _{n-1}^{(m)}> t, Q^{(m)}(t) = n\}}e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}e^{-\gamma _{n}W_{n}^{(m)}(t)} \nonumber \\ {}&\qquad +\, \int _{(0,t]}\textbf{1}_{\{Q^{(m)}(s-) = n-1, L_{1}^{(m)}(s-) = i_{1}, \ldots , L_{n-1}^{(m)}(s-) = i_{n-1}\}}e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}\nonumber \\&\quad e^{-\gamma _{n}W_{n}^{(m)}(t)}\textbf{1}_{\{Q^{(m)}(t) = n, \tau _{n-1}^{(m)}(s) > t\}}A_{m,i_{n}}(ds). \end{aligned}$$
(37)

After taking the expected value of both sides of (37), while applying the Campbell–Mecke formula to the integral on the right-hand-side, we get

$$\begin{aligned}&\mathbb {E}_{n_{0}}\left[ \textbf{1}_{\{Q^{(m)}(t) = n, L_{1}^{(m)}(t) = i_{1}, \ldots , L_{n}^{(m)}(t) = i_{n}\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}^{(m)}(t)}\right] \nonumber \\ {}&\quad = \left[ \prod _{\ell = 1}^{n}p_{m,i_{\ell }}\right] e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}\mathbb {E}_{n_{0}}\left[ e^{-\gamma _{n}W_{n}(t)}\textbf{1}_{\{\tau _{n}^{(m)} \le t, \tau _{n-1}^{(m)}> t, Q^{(m)}(t) = n\}} \mid L_{n}^{(m)}(0) = i_{n}\right] \nonumber \\ {}&\qquad +\, \lambda p_{m,i_{n}}\int _{0}^{t}\mathbb {P}_{n_{0}}(Q^{(m)}(s) = n-1)e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}\mathbb {E}_{(1,x_{m,i_{n}})}\nonumber \\&\quad \left[ e^{-\gamma _{n}W_{1}(t-s)}\textbf{1}_{\{\tau _{0}^{(m)} > t-s, Q^{(m)}(t-s) = 1\}}\right] ds. \end{aligned}$$
(38)

Multiplying both sides of (38) by \(e^{-\alpha t}\), the integrating with respect to t over \([0,\infty )\) gives

$$\begin{aligned} \Delta _{n_{0};n}^{(m)}(\alpha , \varvec{\gamma }, \textbf{i})&= \textbf{1}_{\{n_{0} \ge n\}}\pi _{m}(\alpha )^{n_{0} - n}\left[ \prod _{\ell = 1}^{n}p_{m,i_{\ell }}\right] e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}N_{m}(\alpha , \gamma _{n}, x_{m,i_{n}}) \nonumber \\ {}&\quad +\, \lambda p_{m,i_{n}}e^{-\sum _{k=1}^{n-1}\gamma _{k}x_{m,i_{k}}}N_{m}(\alpha , \gamma _{n}, x_{m,i_{n}})\Delta _{n_{0};n-1}^{(m)}(\alpha , \textbf{0}, \textbf{i}). \end{aligned}$$
(39)

Applying Proposition 2.5 to (39) proves the claim. \(\square \)

We are now ready to study the joint distribution of Q(t) and \(\{W_{k}(t); t \ge 0\}\) for the original preemptive repeat identical queueing system. A proper limiting argument is somewhat cumbersome to state properly, as it requires a significant amount of new notation, so we will provide an overall sketch of the idea in order to help readers better understand how it works.

Letting \(\{Q^{(m)}(t); t \ge 0\}\) and \(\{\{W_{k}^{(m)}(t); t \ge 0\}\}\) denote the queue-length process and the remaining amounts of work of each customer present in each slot at time t, one can see from the construction of these queueing systems that on the set where no arrivals and service completions (within the original queueing system we are interested in studying) ever occur simultaneously, and the number of arrivals in the interval (0, t] is finite (this event occurs with probability one), there exists an integer \(m_{0} \ge 1\) (which may depend on the outcome in the set) where the order at which customers depart from the system, among those arriving in the interval (0, t], is the same for each integer \(m \ge m_{0}\). Once this fact has been observed, a bit of thought reveals that for each \(m \ge m_{0}\), the customer found in slot k at time t is the same for all queueing systems \(m \ge m_{0}\) (here \(m_{0}\) may depend on t as well as the outcome), and so \(Q^{(m)}(t) = Q(t)\) (again these statements are true for all outcomes on a set having probability one), and by the dominated convergence theorem, for each \(\alpha \in \mathbb {C}_{+}\), and each \(\varvec{\gamma } \in \mathbb {C}_{+}^{\infty }\),

$$\begin{aligned} \lim _{n \rightarrow \infty }\mathbb {E}_{n_{0}}[\textbf{1}_{\{Q^{(m)}(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}^{(m)}(t)}] = \mathbb {E}_{n_{0}}[\textbf{1}_{\{Q(t) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(t)}]. \end{aligned}$$

The next step of the argument is to show that for each \(\alpha \in \mathbb {C}_{+}\), and each \(\gamma \in \mathbb {C}_{+}\), when \(Q^{(m)}(0) = 1\) for each \(m \ge 1\), with that initial customer possessing an amount of work

$$\begin{aligned} B_{0}^{(m)} := \sum _{k=1}^{\infty }(k/2^{m})\textbf{1}_{\{(k-1)/2^{m} < B_{0} \le k/2^{m}\}} \end{aligned}$$

where \(B_{0}\) has CDF F and is independent of everything else,

$$\begin{aligned} \int _{0}^{\tau _{0}^{(m)}}e^{-\alpha t}\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{- \gamma W_{1}^{(m)}(t)}dt {\mathop {\rightarrow }\limits ^{a.s.}} \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt \end{aligned}$$
(40)

as \(m \rightarrow \infty \), and

$$\begin{aligned} e^{-\gamma B_{0}^{(m)}}\int _{0}^{\tau _{0}^{(m)}}e^{-\alpha t}\textbf{1}_{\{Q^{(m)}(t) = 1\}}dt {\mathop {\rightarrow }\limits ^{a.s}} e^{-\gamma B_{0}}\int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}dt \end{aligned}$$
(41)

as \(m \rightarrow \infty \). The argument required to show this is somewhat tedious, but the basic idea is to consider a decreasing sequence \(\{\epsilon _{r}\}_{r \ge 1} \subset (0,1/Re(\alpha ))\) that converges to zero as \(r \rightarrow \infty \), and for each integer \(r \ge 1\), set \(t_{r}\) as that unique positive integer satisfying

$$\begin{aligned} \int _{t_{r}}^{\infty }e^{-Re(\alpha ) t}dt = \epsilon _{r} \end{aligned}$$

so clearly \(t_{r}\) depends on \(\epsilon _{r}\), and \(t_{r} \rightarrow \infty \) as \(r \rightarrow \infty \). Next, note that for each \(r \ge 1\),

$$\begin{aligned}&-\epsilon _{r} + \int _{0}^{\min (\tau _{0}^{(m)}, t_{r})}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&\quad \le \int _{0}^{\tau _{0}^{(m)}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&\quad \le \epsilon _{r} + \int _{0}^{\min (\tau _{0}^{(m)}, t_{r})}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \end{aligned}$$

and on the event where there are a finite number of arrivals in \((0,t_{r}]\) for each \(r \ge 1\), and no arrivals and service completions ever occur simultaneously,

$$\begin{aligned}&-\epsilon _{r} + \int _{0}^{\min (\tau _{0}, t_{r})}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q(t) = 1\}}e^{-Re(\gamma )W_{1}(t)}\cos (Im(\gamma )W_{1}(t))dt \\&\quad \le \liminf _{m \rightarrow \infty } \int _{0}^{\tau _{0}^{(m)}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&\quad \le \limsup _{m \rightarrow \infty }\int _{0}^{\tau _{0}^{(m)}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&\quad \le \epsilon _{r} + \int _{0}^{\min (\tau _{0}, t_{r})}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q(t) = 1\}}e^{-Re(\gamma )W_{1}(t)}\cos (Im(\gamma )W_{1}(t))dt \end{aligned}$$

for each \(r \ge 1\). Letting \(r \rightarrow \infty \) then yields

$$\begin{aligned}&\int _{0}^{\tau _{0}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q(t) = 1\}}e^{-Re(\gamma )W_{1}(t)}\cos (Im(\gamma )W_{1}(t))dt \\&\quad \le \liminf _{m \rightarrow \infty } \int _{0}^{\tau _{0}^{(m)}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&\quad \le \limsup _{m \rightarrow \infty }\int _{0}^{\tau _{0}^{(m)}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&\quad \le \int _{0}^{\tau _{0}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q(t) = 1\}}e^{-Re(\gamma )W_{1}(t)}\cos (Im(\gamma )W_{1}(t))dt \end{aligned}$$

which proves

$$\begin{aligned}&\int _{0}^{\tau _{0}^{(m)}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{-Re(\gamma )W_{1}^{(m)}(t)}\cos (Im(\gamma )W_{1}^{(m)}(t))dt \\&{\mathop {\rightarrow }\limits ^{a.s.}} \int _{0}^{\tau _{0}}e^{-Re(\alpha ) t}\cos (Im(\alpha )t)\textbf{1}_{\{Q(t) = 1\}}e^{-Re(\gamma )W_{1}(t)}\cos (Im(\gamma )W_{1}(t))dt \end{aligned}$$

as \(m \rightarrow \infty \). A similar argument can be used three additional times, in order to account for the other cosine and sine terms associated with the real and complex parts of each complex number occurring in the integrand, which will eventually lead to (40). Once (40) has been proven, (41) follows as a simple consequence of (40), coupled with \(B_{1}^{(m)} \rightarrow B_{1}\) almost-surely as \(m \rightarrow \infty \). Finally, by the dominated convergence theorem, we get

$$\begin{aligned} \lim _{m \rightarrow \infty }\mathbb {E}\left[ \int _{0}^{\tau _{0}^{(m)}}e^{-\alpha t}\textbf{1}_{\{Q^{(m)}(t) = 1\}}e^{- \gamma W_{1}^{(m)}(t)}dt\right] = \mathbb {E}\left[ \int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}e^{-\gamma W_{1}(t)}dt\right] \end{aligned}$$
(42)

and

$$\begin{aligned} \lim _{m \rightarrow \infty }\mathbb {E}\left[ e^{-\gamma B_{0}^{(m)}}\int _{0}^{\tau _{0}^{(m)}}e^{-\alpha t}\textbf{1}_{\{Q^{(m)}(t) = 1\}}dt\right] = \mathbb {E}\left[ e^{-\gamma B_{0}}\int _{0}^{\tau _{0}}e^{-\alpha t}\textbf{1}_{\{Q(t) = 1\}}dt\right] . \end{aligned}$$
(43)

In other words,

$$\begin{aligned} \lim _{m \rightarrow \infty }N_{m}(\alpha , \gamma ) = N(\alpha , \gamma ), \quad \lim _{m \rightarrow \infty }M_{m}(\alpha , \gamma ) = M(\alpha , \gamma ). \end{aligned}$$

We now have all of the necessary ingredients needed to state our main result for the joint distribution of Q(t) and \(\{W_{k}(t)\}_{k \ge 1}\) for the preemptive repeat identical queueing system.

Theorem 2.4

For each \(\alpha \in \mathbb {C}_{+}\), and each \(\varvec{\gamma } \in \mathbb {C}_{+}^{\infty }\), we have that for each integer \(n_{0} \ge 0\), and each integer \(n \ge 1\),

$$\begin{aligned} \phi _{n_{0};n}(\alpha , \varvec{\gamma })&= \phi _{n_{0};0}(\alpha )\lambda ^{n}\left[ \prod _{\ell = 1}^{n-1}M(\alpha , \gamma _{\ell })\right] N(\alpha , \gamma _{n}) \\ {}&\quad +\, \sum _{k=1}^{n}\textbf{1}_{\{n_{0} \ge k\}}\pi (\alpha )^{n_{0} - k}\left[ \prod _{\ell = 1}^{k-1}\beta (\gamma _{\ell })\right] \left[ \prod _{\ell = k}^{n-1}M(\alpha , \gamma _{\ell })\right] \lambda ^{n-k}N(\alpha , \gamma _{n}). \end{aligned}$$

Proof

From Proposition 2.6, it is easy to show that

$$\begin{aligned} \phi _{n_{0};n}^{(m)}(\alpha , \varvec{\gamma })&= \sum _{(i_{1}, \ldots , i_{n}) \in E^{n}}\left[ \prod _{\ell = 1}^{n}p_{i_{\ell }}^{(m)}\right] \int _{0}^{\infty }e^{-\alpha t}\mathbb {E}_{n_{0}}\left[ \textbf{1}_{\{Q^{(m)}(t) = n, L_{1}(t) = i_{1}, \ldots , L_{n}(t) = i_{n}\}}\right. \\&\quad \left. e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}^{(m)}(t)}\right] dt \\ {}&= \phi _{n_{0};0}^{(m)}(\alpha )\lambda ^{n}\left[ \prod _{\ell = 1}^{n-1}M_{m}(\alpha , \gamma _{\ell })\right] N_{m}(\alpha , \gamma _{n}) \\ {}&\quad +\, \sum _{k=1}^{n}\textbf{1}_{\{n_{0} \ge k\}}\pi _{m}(\alpha )^{n_{0} - k}\\&\quad \left[ \prod _{\ell = 1}^{k-1}\beta _{m}(\gamma _{\ell })\right] \left[ \prod _{\ell = k}^{n-1}M_{m}(\alpha , \gamma _{\ell })\right] \lambda ^{n-k}N_{m}(\alpha , \gamma _{n}) \end{aligned}$$

Letting \(m \rightarrow \infty \) proves the claim. \(\square \)

Our next objective is to find simpler expressions for both \(N(\alpha , \gamma )\) and \(M(\alpha , \gamma )\). The following proposition provides us with a computable expression for both \(N(\alpha , \gamma , x)\) and \(M(\alpha , \gamma , x)\).

Proposition 2.7

For each \(\alpha , \gamma \in \mathbb {C}_{+}\), and each real \(x > 0\), we have

$$\begin{aligned} N(\alpha , \gamma , x) = \frac{e^{-\gamma x} - e^{-(\lambda + \alpha )x}}{(\lambda + \alpha - \gamma )(1 - \frac{\lambda }{\lambda + \alpha }\pi (\alpha )(1 - e^{-(\lambda + \alpha )x}))}. \end{aligned}$$
(44)

Likewise,

$$\begin{aligned} M(\alpha , \gamma , x) = \frac{e^{-\gamma x} - e^{-(\gamma + \lambda + \alpha )x}}{(\lambda + \alpha )(1 - \frac{\lambda }{\lambda + \alpha }\pi (\alpha )(1 - e^{-(\lambda + \alpha )x}))}. \end{aligned}$$
(45)

Proof

Assuming \(Q(0) = 1\) and \(W_{1}(0) = x\), we see that

$$\begin{aligned} \int _{0}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}e^{-\gamma W_{1}(s)}ds&= \int _{0}^{\min (T_{1},x)}e^{-\alpha s}e^{-\gamma (x - s)}ds \nonumber \\&\quad + \textbf{1}_{\{T_{1} \le x\}}\int _{T_{1} + \tau _{1}(T_{1})}^{\tau _{0}}e^{-\alpha s}\textbf{1}_{\{Q(s) = 1\}}e^{-\gamma W_{1}(s)}ds \end{aligned}$$
(46)

Taking the expected value of both sides of (46) and simplifying further gives

$$\begin{aligned} N(\alpha , \gamma , x)&= \int _{0}^{x}e^{-\alpha s}e^{-\lambda s}e^{-\gamma (x - s)}ds + \int _{0}^{x}e^{-\alpha y}\pi (\alpha )N(\alpha , \gamma , x)\lambda e^{-\lambda y}dy \nonumber \\ {}&= \frac{e^{-\gamma x}(1 - e^{-(\lambda + \alpha - \gamma )x})}{\lambda + \alpha - \gamma } + \pi (\alpha )\frac{\lambda }{\lambda + \alpha }(1 - e^{-(\lambda + \alpha )x})N(\alpha , \gamma , x) \end{aligned}$$

and after solving for \(N(\alpha , \gamma , x)\), we arrive at (44). Likewise,

$$\begin{aligned} M(\alpha , \gamma , x) = e^{-\gamma x}N(\alpha , 0, x) \end{aligned}$$

which proves (45). \(\square \)

Corollary 2.2

For each \(\alpha , \gamma \in \mathbb {C}_{+}\),

$$\begin{aligned} N(\alpha , \gamma ) = \mathbb {E}\left[ \frac{e^{-\gamma B} - e^{-(\lambda + \alpha )B}}{(\lambda + \alpha - \gamma )(1 - \frac{\lambda }{\lambda + \alpha }\pi (\alpha )(1 - e^{-(\lambda + \alpha )B}))}\right] \end{aligned}$$

and

$$\begin{aligned} M(\alpha , \gamma ) = \mathbb {E}\left[ \frac{e^{-\gamma B} - e^{-(\gamma + \lambda + \alpha )B}}{(\lambda + \alpha )(1 - \frac{\lambda }{\lambda + \alpha }\pi (\alpha )(1 - e^{-(\lambda + \alpha )B}))}\right] \end{aligned}$$

We close this section by verifying that our results can be used to rederive the steady-state results recently found in [8]. First,

$$\begin{aligned} N(0, 0) = \mathbb {E}_{1}\left[ \int _{0}^{\tau _{0}}\textbf{1}_{\{Q(t) = 1\}}dt\right] = \frac{\beta (-\lambda ) - 1}{\lambda } \end{aligned}$$

which in turn implies that for each integer \(n \ge 0\),

$$\begin{aligned} \mathbb {P}(Q(\infty ) = n) = (\lambda N(0,0))^{n}(1 - \lambda N(0,0)) = (\beta (-\lambda ) - 1)^{n}(2 - \beta (-\lambda )). \end{aligned}$$

This agrees with the results found in [8], and note in particular \(0< \mathbb {P}(Q(\infty ) = 0) < 1\) if and only if \(\beta (-\lambda ) = \mathbb {E}[e^{\lambda B}] < 2\), meaning the amount of work brought by each customer must be light-tailed, and have a finite moment generating function that is also well-defined at \(\lambda \). Clearly \(\mathbb {E}[e^{\lambda B}] > 1\) since \(F(0) = 0\).

Next, observe that for each integer \(n \ge 1\),

$$\begin{aligned} \mathbb {E}[\textbf{1}_{\{Q(\infty ) = n\}}e^{-\sum _{k=1}^{n}\gamma _{k}W_{k}(\infty )}]&= (2 - \beta (-\lambda ))\left[ \prod _{\ell = 1}^{n-1}\lambda M(0,\gamma _{\ell })\right] N(0,\gamma _{n}) \\ {}&= (2 - \beta (-\lambda ))(\beta (-\lambda ) - 1)^{n}\left[ \prod _{\ell = 1}^{n-1}\frac{M(0,\gamma _{\ell })}{N(0,0)}\right] \frac{N(0,\gamma _{n})}{N(0,0)}. \end{aligned}$$

This formula reveals that, conditional on \(Q(\infty ) = n\),

$$\begin{aligned} \mathbb {E}[e^{-\gamma _{k}W_{k}(\infty )} \mid Q(\infty ) = n] = \frac{M(0,\gamma _{k})}{N(0,0)} = \frac{\beta (\gamma _{k} - \lambda ) - \beta (\gamma _{k})}{\beta (-\lambda ) - 1} \end{aligned}$$

for \(1 \le k \le n-1\), and

$$\begin{aligned} \mathbb {E}[e^{-\gamma _{n}W_{n}(\infty )} \mid Q(\infty ) = n] = \frac{N(0,\gamma _{n})}{N(0,0)} = \frac{\lambda (\beta (\gamma _{n} - \lambda ) - 1)}{(\lambda - \gamma _{n})(\beta (-\lambda ) - 1)}. \end{aligned}$$

This is in agreement with the results found in [8].

3 Calculating \(\pi (\alpha )\)

We conclude by discussing the problem of calculating \(\pi (\alpha )\) for each \(\alpha \in \mathbb {C}_{+}\). For preemptive resume queues, it is very well-known that \(\pi \) satisfies the following fixed-point equation: for each \(\alpha \in \mathbb {C}_{+}\),

$$\begin{aligned} \pi (\alpha ) = \beta (\alpha + \lambda (1 - \pi (\alpha ))). \end{aligned}$$
(47)

Unfortunately, (47) cannot in general be used to derive a useful expression for \(\pi (\alpha )\), yet it is still possible to use (47) to approximate \(\pi (\alpha )\), assuming \(\beta (\alpha )\) can be evaluated easily.

Suppose first that \(\alpha > 0\). In this case (as explained at the beginning of [5]) we can approximate \(\pi (\alpha )\) by working with the function \(T_{\alpha }: [0,1] \rightarrow [0,1]\), defined as

$$\begin{aligned} T_{\alpha }(x) := \beta (\alpha + \lambda (1-x)), \quad x \in [0,1] \end{aligned}$$

with \(T_{\alpha }^{(n)}: [0,1] \rightarrow [0,1]\) defined, for each integer \(n \ge 2\), as the n-fold composition of \(T_{\alpha }\) with itself. \(T_{\alpha }\) is clearly a nondecreasing, continuous function on [0, 1], and when \(\alpha > 0\), \(\pi (\alpha )\) satisfies \(T_{\alpha }^{(n)}(x) \rightarrow \pi (\alpha )\) as \(n \rightarrow \infty \). In particular, when \(0 \le x < \pi (\alpha )\),

$$\begin{aligned} T_{\alpha }^{(n)}(x) \le T_{\alpha }^{(n+1)}(x) \end{aligned}$$

for each integer \(n \ge 1\). Likewise, when \(\pi (\alpha ) < x \le 1\),

$$\begin{aligned} T_{\alpha }^{(n)}(x) \ge T_{\alpha }^{(n+1)}(x) \end{aligned}$$

for each integer \(n \ge 1\), which means \(\pi (\alpha )\) can be calculated using the stopping criterion \(T_{\alpha }^{(n)}(1) - T_{\alpha }^{(n)}(0) < \epsilon \) for some chosen error tolerance \(\epsilon > 0\).

This justification no longer works when \(\alpha \in \mathbb {C}\) has a complex component, and so the main point of Abate and Whitt [5] is to justify, using probabilistic methods, that \(T_{\alpha }^{(n)}(x) \rightarrow \pi (\alpha )\) as \(n \rightarrow \infty \) for each \(x \in [0,1]\), and each \(\alpha \in \mathbb {C}_{+}\). Our objective in this section is to show that a very simple coupling argument can be used to derive a convergence scheme for calculating \(\pi (\alpha )\) for not only the preemptive resume case, but both preemptive repeat cases. The same coupling argument works for all three preemptive queues we analyze.

3.1 Constructing the coupling

For each integer \(N \ge 1\), let \(\{Q_{N}(t); t \ge 0\}\) be the queue-length process of a preemptive queue fed by the same Poisson arrival process \(\{A(t); t \ge 0\}\), but assume this queueing system cannot handle more than N customers at a time. Next, label each arrival as either altruistic with probability p, or selfish with probability \(1-p\), independently of everything else. Both altruistic and selfish customers enter the system without hesitation whenever they observe \(N-1\) customers or less in the system upon arrival: however, if an altruistic customer observes N customers in the system upon arrival, he/she departs without affecting the system in any way, and if a selfish customer observes N customers in the system upon arrival, he/she enters the system, and this action causes the server to shut down permanently, and everyone in the system is stuck there forever (meaning \(Q_{N}(t) = N+1\) for all t past the arrival time of the selfish customer). Assume that \(Q_{N}(0) = 1\) for each \(N \ge 1\), and let

$$\begin{aligned} \tau _{N;k} := \inf \{t \ge 0: Q_{N}(t) = k\} \end{aligned}$$

for each integer \(k \in \{0,1,\ldots ,N+1\}\). Finally, for each integer \(N \ge 1\), we define the LST \(\pi _{N}: \mathbb {C}_{+} \rightarrow \mathbb {C}\) as

$$\begin{aligned} \pi _{N}(\alpha ) := \mathbb {E}_{1}[e^{-\alpha \tau _{N;0}}]. \end{aligned}$$

Theorem 3.1

The sequence of hitting times \(\{\tau _{N;0}\}_{N \ge 1}\) converges almost-surely to \(\tau _{0}\) as \(N \rightarrow \infty \). As a consequence, for each \(\alpha \in \mathbb {C}_{+}\),

$$\begin{aligned} \lim _{N \rightarrow \infty }\mathbb {E}[e^{-\alpha \tau _{N;0}}] = \mathbb {E}[e^{-\alpha \tau _{0}}]. \end{aligned}$$

Proof

Fix an outcome \(\omega \in B\), where

$$\begin{aligned} B := \left\{ \lim _{m \rightarrow \infty }T_{m} = \infty \right\} . \end{aligned}$$

Clearly \(\mathbb {P}(B) = 1\), so in order to prove this claim, it suffices to show \(\tau _{N;0}(\omega ) \rightarrow \tau _{0}(\omega )\) as \(N \rightarrow \infty \), for each \(\omega \in B\).

Case 1: Suppose first that \(\omega \in B\) satisfies \(\tau _{0}(\omega ) < \infty \). Given such an \(\omega \), there must exist an integer \(n_{0}\) (possibly depending on \(\omega \)) such that for each integer \(n \ge n_{0}\),

$$\begin{aligned} T_{n}(\omega ) \ge \tau _{0}(\omega ). \end{aligned}$$

Define the random variable M as

$$\begin{aligned} M(\omega ) := \sup _{t \in [0,\tau _{0}(\omega )]}Q(t) \end{aligned}$$

and note that for such \(\omega \),

$$\begin{aligned} M(\omega ) \le n_{0}(\omega ) < \infty \end{aligned}$$

which, from the construction of \(Q_{N}(t); t \ge 0\}\), implies \(\tau _{N;0}(\omega ) = \tau _{0}(\omega )\) for each \(N \ge n_{0}(\omega )\), and so

$$\begin{aligned} \lim _{N \rightarrow \infty }\tau _{N;0}(\omega ) = \tau _{0}(\omega ). \end{aligned}$$

Case 2: Next, suppose \(\omega \in B\) satisfies \(\tau _{0}(\omega ) = \infty \), but \(M(\omega ) < \infty \). In this case, for each integer \(N \ge M(\omega )\), \(\tau _{N;0}(\omega ) = \tau _{0}(\omega ) = \infty \) and so again, we trivially get

$$\begin{aligned} \lim _{N \rightarrow \infty }\tau _{N;0}(\omega ) = \tau _{0}(\omega ). \end{aligned}$$

Case 3: Finally, suppose \(\omega \in B\) satisfies \(\tau _{0}(\omega ) = \infty \), and \(M(\omega ) = \infty \). In this case, we can see that for each integer \(N \ge 1\), \(\{Q(t,\omega ); 0 \le t \le \tau _{N;N+1}(\omega )\} = \{Q_{N}(t,w); 0 \le t \le \tau _{N;N+1}(\omega )\}\), which implies

$$\begin{aligned} \tau _{N+1}(\omega ) = \tau _{N;N+1}(\omega ) \le \tau _{N;0}(\omega ) \end{aligned}$$

and since \(\{\tau _{N;N+1}(\omega )\}_{N \ge 1}\) must be a subsequence of \(\{T_{k}(\omega )\}\), it follows that

$$\begin{aligned} \liminf _{N \rightarrow \infty }\tau _{N;0}(\omega ) \ge \liminf _{N \rightarrow \infty }\tau _{N;N+1}(\omega ) = \liminf _{N \rightarrow \infty }\tau _{N+1}(\omega ) = \infty \end{aligned}$$

so again, \(\tau _{N;0}(\omega ) \rightarrow \tau _{0}(\omega )\) as \(N \rightarrow \infty \). This proves \(\tau _{N;0}\) converges almost surely to \(\tau _{0}\) as \(N \rightarrow \infty \), and the remaining part of the theorem follows quickly from the dominated convergence theorem. \(\square \)

We are now ready to consider the problem of calculating \(\pi (\alpha )\) for each \(\alpha \in \mathbb {C}_{+}\). For each \(\alpha \in \mathbb {C}_{+}\), and each \(x > 0\), we define the function \(\varphi : \mathbb {C}_{+} \times (0,\infty ) \rightarrow \mathbb {C}\) as

$$\begin{aligned} \varphi (\alpha ,x) := \mathbb {E}_{1}[e^{-\alpha \tau _{0}} \mid B_{0} = x] \end{aligned}$$

where \(B_{0}\) denotes the amount of work possessed by the single customer present at time zero. Likewise, for each integer \(N \ge 1\) we define the function \(\varphi _{N}: \mathbb {C}_{+} \times (0,\infty ) \rightarrow \mathbb {C}\) as

$$\begin{aligned} \varphi _{N}(\alpha ,x) := \mathbb {E}_{1}[e^{-\alpha \tau _{0}^{(N)}} \mid B_{0} = x]. \end{aligned}$$

Clearly, for each \(\alpha \in \mathbb {C}_{+}\), it follows that for each integer \(N \ge 1\),

$$\begin{aligned} \pi (\alpha ) = \int _{(0,\infty )}\varphi (\alpha ,x)dF(x), \quad \pi _{N}(\alpha ) = \int _{(0,\infty )}\varphi _{N}(\alpha ,x)dF(x). \end{aligned}$$

3.2 The preemptive resume case

First, observe that when \(N = 1\) and \(B_{0} = x\), the preemptive resume queue can only empty if no selfish customers arrive during his/her service time. In other words,

$$\begin{aligned} \varphi _{1}(\alpha ,x) = e^{-\alpha x}e^{-\lambda (1-p)x} = e^{-(\alpha + \lambda (1-p))x} \end{aligned}$$

from which we get

$$\begin{aligned} \pi _{1}(\alpha ) = \int _{(0,\infty )}e^{-(\alpha + \lambda (1-p))x}dF(x) = \beta (\alpha + \lambda (1-p)). \end{aligned}$$

Next, suppose \(N \ge 1\): conditioning on the first arrival time after time zero yields

$$\begin{aligned} \varphi _{N+1}(\alpha ,x)&= e^{-\alpha x}e^{-\lambda x} + \int _{0}^{x}e^{-\alpha y}\pi _{N}(\alpha )\varphi _{N+1}(\alpha ,x-y)\lambda e^{-\lambda y}dy \\ {}&= e^{-(\lambda + \alpha )x} + \pi _{N}(\alpha )\int _{0}^{x}e^{-\alpha (x-y)}\varphi _{N+1}(\alpha ,y)\lambda e^{-\lambda (x-y)}dy \\ {}&= e^{-(\lambda + \alpha )x} + \lambda \pi _{N}(\alpha )e^{-(\lambda + \alpha )x}\int _{0}^{x}e^{(\lambda + \alpha )y}\varphi _{N+1}(\alpha ,y)dy. \end{aligned}$$

Multiplying both sides of the equation by \(e^{(\lambda + \alpha )x}\), then taking the partial derivative of both sides with respect to x yields, after simplifying,

$$\begin{aligned} \frac{\partial }{\partial x}\varphi _{N+1}(\alpha ,x) + (\lambda + \alpha )\varphi _{N+1}(\alpha ,x) = \lambda \pi _{N}(\alpha )\varphi _{N+1}(\alpha ,x). \end{aligned}$$

Solving this linear, first-order ODE yields

$$\begin{aligned} \varphi _{N+1}(\alpha ,x) = e^{-(\alpha + \lambda (1-\pi _{N}(\alpha )))x} \end{aligned}$$

and so

$$\begin{aligned} \pi _{N+1}(\alpha ) = \beta (\alpha + \lambda (1 - \pi _{N}(\alpha ))). \end{aligned}$$
(48)

This coincides with the recursion found in [5]. Finally, note that our coupling argument yields \(\lim _{N \rightarrow \infty }\pi _{N}(\alpha ) = \pi (\alpha )\) as \(N \rightarrow \infty \) for each \(\alpha \in \mathbb {C}_{+}\), and the argument used to establish (48) can be used to show \(\pi (\alpha )\) satisfies, for \(\alpha \in \mathbb {C}_{+}\),

$$\begin{aligned} \pi (\alpha ) = \beta (\alpha + \lambda (1 - \pi (\alpha ))). \end{aligned}$$

3.3 The preemptive repeat different case

We next use our coupling construction to devise a recursive procedure for calculating \(\pi (\alpha )\) for the preemptive repeat different queue. In [14], the authors show how to express \(\pi (\alpha )\) explicitly in terms of \(\lambda \) and the service time LST \(\beta \) for each positive real number \(\alpha \ge 0\), and we will build on their work slightly by addressing the case where \(\alpha \in \mathbb {C}_{+}\).

It is not difficult to show that \(\pi (\alpha )\) is a root of a quadratic polynomial, even when \(\alpha \in \mathbb {C}_{+}\). Proceeding as in [14], we find that for each \(x > 0\),

$$\begin{aligned} \varphi (\alpha ,x)&= e^{-(\alpha + \lambda )x} + \int _{0}^{x}e^{-\alpha y}\pi (\alpha )^{2}\lambda e^{-\lambda y}dy \\&= e^{-(\alpha + \lambda )x} + \left[ \lambda \int _{0}^{x}e^{-(\alpha + \lambda )y}dy\right] \pi (\alpha )^{2} \\ {}&= e^{-(\alpha + \lambda )x} + \frac{\lambda }{\lambda + \alpha }(1 - e^{-(\alpha + \lambda )x})\pi (\alpha )^{2}. \end{aligned}$$

Integrating both sides over \([0,\infty )\) with respect to dF(x) gives

$$\begin{aligned} \pi (\alpha ) = \beta (\alpha + \lambda ) + \frac{\lambda }{\lambda + \alpha }(1 - \beta (\alpha + \lambda ))\pi (\alpha )^{2} \end{aligned}$$

which means \(\pi (\alpha )\) satisfies

$$\begin{aligned} \lambda (1 - \beta (\alpha + \lambda ))\pi (\alpha )^{2} - (\alpha + \lambda )\pi (\alpha ) + (\alpha + \lambda )\beta (\alpha + \lambda ) = 0. \end{aligned}$$

The challenge now is to rigorously determine which root corresponds to \(\pi (\alpha )\). If we restrict \(\pi \) so that it is defined on \((0,\infty )\) instead of \(\mathbb {C}_{+}\), we get (as shown in [14])

$$\begin{aligned} \pi (\alpha ) = \frac{\lambda + \alpha - \sqrt{(\lambda + \alpha )^{2} - 4\lambda (1 - \beta (\alpha + \lambda ))(\lambda + \alpha )\beta (\alpha + \lambda )}}{2\lambda (1 - \beta (\alpha + \lambda ))} \end{aligned}$$
(49)

because this restricted version of \(\pi \) is both continuous and nonincreasing on \((0,\infty )\).

We suspect (49) is still true for each \(\alpha \in \mathbb {C}_{+}\), but this needs to be verified rigorously. Fortunately, our coupling construction can be used to get around this issue. Observe first that for each \(\alpha \in \mathbb {C}_{+}\), and each \(x > 0\), the same argument we used for the preemptive resume queue reveals

$$\begin{aligned} \varphi _{1}(\alpha ,x) = e^{-(\alpha + \lambda (1-p))x} \end{aligned}$$

and so \(\pi _{1}(\alpha ) = \beta (\alpha + \lambda (1-p))\). Next, for each integer \(N \ge 1\), conditioning on the first arrival time after time zero gives

$$\begin{aligned} \varphi _{N+1}(\alpha ,x)&= e^{-\alpha x}e^{-\lambda x} + \int _{0}^{x}e^{-\alpha y}\pi _{N}(\alpha )\pi _{N+1}(\alpha )\lambda e^{-\lambda y}dy \\ {}&= e^{-(\lambda + \alpha )x} + \lambda \left[ \int _{0}^{x}e^{-(\lambda + \alpha )y}dy\right] \pi _{N}(\alpha )\pi _{N+1}(\alpha ) \\ {}&= e^{-(\lambda + \alpha )x} + \frac{\lambda (1 - e^{-(\lambda + \alpha )x})}{\lambda + \alpha }\pi _{N}(\alpha )\pi _{N+1}(\alpha ). \end{aligned}$$

Integrating both sides over \((0,\infty )\) with respect to dF(x) yields

$$\begin{aligned} \pi _{N+1}(\alpha ) = \beta (\lambda + \alpha ) + \frac{\lambda (1 - \beta (\lambda + \alpha ))}{\lambda + \alpha }\pi _{N}(\alpha )\pi _{N+1}(\alpha ) \end{aligned}$$

i.e.

$$\begin{aligned} \pi _{N+1}(\alpha ) = \frac{\beta (\lambda + \alpha )}{1 - \frac{\lambda (1 - \beta (\lambda + \alpha ))}{\lambda + \alpha }\pi _{N}(\alpha )}. \end{aligned}$$

We have already established from our coupling that \(\pi _{N}(\alpha ) \rightarrow \pi (\alpha )\) as \(N \rightarrow \infty \) for each \(\alpha \in \mathbb {C}_{+}\), so one way to calculate \(\pi (\alpha )\) is to use this recursion to determine which root the \(\pi _{N}(\alpha )\) terms appears to converge toward for large N, then use that root as the value for \(\pi (\alpha )\).

3.4 The preemptive repeat identical case

It remains to derive a recursive procedure for calculating the LST \(\pi (\alpha )\) associated with the preemptive repeat identical queue. Again, we begin by observing that for each \(\alpha \in \mathbb {C}_{+}\), and each \(x > 0\),

$$\begin{aligned} \varphi _{1}(\alpha ,x) = e^{-\alpha x}e^{-\lambda (1-p)x} = e^{-(\alpha + \lambda (1-p))x} \end{aligned}$$

which implies

$$\begin{aligned} \pi _{1}(\alpha ) = \beta (\alpha + \lambda (1-p)). \end{aligned}$$

Next, for each integer \(N \ge 1\), conditioning on \(B_{0}\) gives

$$\begin{aligned} \varphi _{N+1}(\alpha ,x)&= e^{-\alpha x}e^{-\lambda x} + \int _{0}^{x}e^{-\alpha y}\pi _{N}(\alpha )\varphi _{N+1}(\alpha ,x)\lambda e^{-\lambda y}dy \\&= e^{-(\lambda + \alpha )x} + \lambda \left[ \int _{0}^{x}e^{-(\lambda + \alpha )y}dy\right] \pi _{N}(\alpha )\varphi _{N+1}(\alpha ,x) \\ {}&= e^{-(\lambda + \alpha )x} + \frac{\lambda (1 - e^{-(\lambda + \alpha )x})}{\lambda + \alpha }\pi _{N}(\alpha )\varphi _{N+1}(\alpha ,x) \end{aligned}$$

which yields

$$\begin{aligned} \varphi _{N+1}(\alpha ,x) = \frac{e^{-(\lambda + \alpha )x}}{1 - \frac{\lambda }{\lambda + \alpha }(1 - e^{-(\lambda + \alpha )x})\pi _{N}(\alpha )}. \end{aligned}$$

Finally, integrating over \([0,\infty )\) with respect to dF(x) yields

$$\begin{aligned} \pi _{N+1}(\alpha ) = \mathbb {E}\left[ \frac{e^{-(\lambda + \alpha )B_{0}}}{1 - \frac{\lambda }{\lambda + \alpha }(1 - e^{-(\lambda + \alpha )B_{0}})\pi _{N}(\alpha )}\right] . \end{aligned}$$
(50)

Unfortunately, the expected value found on the right-hand-side of (50) may not be tractable in general, so numerical integration methods will be needed in order to approximate the expectation at each step of the recursion. On the other hand, if \(B_{0}\) is a finite, discrete random variable, the recursion becomes somewhat easier to use. Obviously, the limit \(\pi (\alpha )\) satisfies

$$\begin{aligned} \pi (\alpha ) = \mathbb {E}\left[ \frac{e^{-(\lambda + \alpha )B_{0}}}{1 - \frac{\lambda }{\lambda + \alpha }(1 - e^{-(\lambda + \alpha )B_{0}})\pi (\alpha )}\right] . \end{aligned}$$