Skip to main content
Log in

On Lattice Path Counting and the Random Product Representation, with Applications to the Er/M/1 Queue and the M/Er/1 Queue

  • Published:
Methodology and Computing in Applied Probability Aims and scope Submit manuscript

Abstract

We explain how lattice-path counting techniques can be used in conjunction with the random-product representations from Buckingham and Fralix (Markov Process Related Field 21:339–368 2015) to study both the stationary and time-dependent behavior of Markovian queueing systems, and continuous-time Markov chains in general. We illustrate how the approach works by applying it to both the Er/M/1 queue, and the M/Er/1 queue. Interestingly, through this approach we show that the stationary distributions, as well as the Laplace transforms of the transition functions associated with both the Er/M/1 queue and the M/Er/1 queue, can be expressed explicitly in terms of generalized binomial series from Chapter 5 of the text Concrete Mathematics of Graham, Knuth, and Patashnik.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Abate J, Whitt W (1994) Transient behavior of the M/G/1 workload process. Oper Res 42:750–764

    Article  MathSciNet  Google Scholar 

  • Abate J, Whitt W (1995) Numerical inversion of Laplace transforms of probability distributions. ORSA J Comput 7:36–43

    Article  Google Scholar 

  • Adan I, Van de Waarsenburg WA, Wessels J (1996) Analyzing e k/e r/c queues. Eur J Oper Res 92:112–124

    Article  Google Scholar 

  • Adan I, Van leeuwaarden J, Selen J (2017) Analysis of Structured Markov Processes. Draft accessible through the arXiv:1709.09060

  • Baccelli F, Massey WA (1989) A sample path analysis of the M/M/1 queue. J Appl Probab 26:418–422

    Article  MathSciNet  Google Scholar 

  • Baek JW, Moon SK, Lee HW (2014) A time-dependent busy period queue length formula for the M/Ek/1 queue. Stat Probab Lett 87:98–104

    Article  Google Scholar 

  • Böhm W (2010) Lattice path counting and the theory of queues. J Stat Plan Inf 140:2168–2183

    Article  MathSciNet  Google Scholar 

  • Böhm W, Krinik A, Mohanty SG (1997) The combinatorics of birth-death processes and applications to queues. Queue Syst 26:255–267

    Article  MathSciNet  Google Scholar 

  • Buckingham P, Fralix B (2015) Some new insights into Kolmogorov’s criterion, with applications to hysteretic queues. Markov Process Related Field 21:339–368

    MathSciNet  MATH  Google Scholar 

  • Champernowne DG (1956) An elementary method of solution of the queueing problem with a single server and constant parameters. J Royal Stat Soc B 18:125–128

    MathSciNet  MATH  Google Scholar 

  • Flajolet P, Guillemin F (2000) The formal theory of birth-and-death processes, lattice path combinatorics and continued fractions. Adv Appl Probab 32:750–778

    Article  MathSciNet  Google Scholar 

  • Fralix B (2015) When are two Markov chains similar?. Stat Probab Lett 107:199–203

    Article  MathSciNet  Google Scholar 

  • Fralix B, Zwart B (2011) Time-dependent properties of symmetric queues. Queue Syst 67:33–45

    Article  MathSciNet  Google Scholar 

  • Graham RL, Knuth DE, Patashnik O (1994) Concrete mathematics. Addison-Wesley Publishing Company, Boston

    MATH  Google Scholar 

  • Grassmann WK (2011) A new method for finding the characteristic roots of e n/e m/1 queues. Methodol Comput Appl Probab 13:873–886

    Article  MathSciNet  Google Scholar 

  • Griffiths JD, Leonenko GM, Williams JE (2006) The transient solution to m/e k/1 queue. Oper Res Lett 34:349–354

    Article  MathSciNet  Google Scholar 

  • Griffiths JD, Leonenko GM, Williams JE (2008) Approximation to the transient solution of the m/e k/1 queue. INFORMS J Comput 20:510–515

    Article  MathSciNet  Google Scholar 

  • He Q-M (2014) Fundamentals of matrix-analytic methods. Springer, New York

    Book  Google Scholar 

  • Jain JL, Mohanty SG, Böhm W (2007) A course on queueing models. Chapman and Hall/CRC Press, Bota Raton

    MATH  Google Scholar 

  • Joyner J, Fralix B (2016) A new look at Markov processes of G/M/1-type. Stoch Model 32:253–274

    Article  MathSciNet  Google Scholar 

  • Joyner J, Fralix B (2018) A new look at block-structured Markov processes. Currently under revision: available via bfralix.people.clemson.edu/preprints.htm

  • Krinik A, Rubino G, Marcus D, Swift RJ, Kasfy H, Lam H (2005) Dual processes to solve single server systems. J Stat Plan Inf 135:121–147

    Article  MathSciNet  Google Scholar 

  • Kyprianou AE (2006) Introductory lectures on fluctuations of lévy processes with applications. Springer, Berlin

    MATH  Google Scholar 

  • Latouche G, Ramaswami V (1999) Introduction to matrix analytic methods in stochastic modeling. ASA-SIAM Publications, Philadelphia

    Book  Google Scholar 

  • Van Houdt B, Van Leeuwaarden JSH (2011) Triangular M/G/1-type and tree-like quasi-birth-death Markov chains. INFORMS J Comput 23:165–171

    Article  MathSciNet  Google Scholar 

  • Van Leeuwaarden JSH, Winands EMM (2006) Quasi-birth-and-death processes with an explicit rate matrix. Stoch Model 22:77–98

    Article  MathSciNet  Google Scholar 

  • Van Leeuwaarden JSH, Squillante MS, Winands EMM (2009) Quasi-birth-and-death processes, lattice-path counting, and hypergeometric functions. J Appl Probab 46:507–520

    Article  MathSciNet  Google Scholar 

  • Leonenko GM (2009) A new formula for the transient solution of the Erlang queueing model. Stat Probab Lett 79:400–406

    Article  MathSciNet  Google Scholar 

  • Neuts MF (1981) Matrix-geometric solutions in stochastic models: an algorithmic approach. Johns Hopkins University Press, Baltimore

    MATH  Google Scholar 

  • Le Ny L-M, Rubino G, Sericola B (1991) Calculating the busy period distribution of the M/M/1 queue. [Research Report] RR-1501, INRIA, inria-00075061: available via https://hal.inria.fr/inria-00075061

  • Renault M (2007) Four proofs of the ballot theorem. Math Mag 80:345–352

    Article  MathSciNet  Google Scholar 

  • Van Vianen LA, Gabor AF, van Ommeren J-K (2016) Waiting times in classical priority queues via elementary lattice path counting. Queue Syst 84:295–307

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

BF gratefully acknowledges the support of the National Science Foundation, via grant NSF-CMMI-1435261.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Brian Fralix.

Appendix

Appendix

We close this paper by including a brief introduction to generalized binomial series. Many of the results contained in this Appendix can also be found in Graham et al. (1994), but some of our proofs are more probabilistic in nature.

For each integer r ≥ 1, the generalized binomial series \(\mathcal {B}_{r}(z)\) is defined (as a formal power series) on page 200 of Graham et al. (1994) as follows:

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r}(z) = \sum\limits_{k = 0}^{\infty}\frac{1}{1 + rk}{1 + rk \choose k}z^{k}. \end{array} $$

Our usage of generalized binomial series does not allow us to treat them as formal power series, meaning we need to determine where these series converge absolutely. Using the ratio test, one can show that for each integer r ≥ 1, \(\mathcal {B}_{r}(z)\) absolutely converges on the open disk Ur, defined as

$$\begin{array}{@{}rcl@{}} U_{r} := \left\{z \in \mathbb{C}: |z| < \frac{(r-1)^{r-1}}{r^{r}}. \right\} \end{array} $$

where we interpret 00 as 1.

The following Lemma will be useful towards establishing the absolute convergence of various series that we encounter in the proofs of our main results.

Lemma A.1

Fix an integerr ≥ 1,and consider the functions\(f_{r + 1},g_{r + 1}: [0, \infty ) \rightarrow \mathbb {R}\),defined forρ ≥ 0 as

$$\begin{array}{@{}rcl@{}} f_{r + 1}(\rho) := \frac{(r\rho)^{r}}{(1 + r\rho)^{r + 1}}, ~~~~~ g_{r + 1}(\rho) := \frac{r^{r}\rho}{(r + \rho)^{r + 1}}. \end{array} $$

Bothfr+ 1andgr+ 1are continuous on[0,), differentiable on(0,), and both functions have aunique global maximum atρ = 1:furthermore,

$$\begin{array}{@{}rcl@{}} f_{r + 1}(1) = g_{r + 1}(1) = \frac{r^{r}}{(r + 1)^{r + 1}}. \end{array} $$

Proof

It is easy to verify that both fr+ 1 and gr+ 1 are continuous on [0,) and differentiable on (0,), and that the functions satisfy fr+ 1(1) = gr+ 1(1) = rr/(r + 1)r+ 1. The key to showing that both fr+ 1 and gr+ 1 each have a unique global maximum at ρ = 1 is to show that \(f_{r + 1}^{\prime }(\rho )\) and \(g_{r + 1}^{\prime }(\rho )\) are both positive when ρ ∈ (0, 1), and both negative when ρ > 1. A quick calculation shows that for ρ > 0,

$$\begin{array}{@{}rcl@{}} f_{r + 1}^{\prime}(\rho) = \frac{r^{2}(r\rho)^{r-1}(1 - \rho)}{(1 + r\rho)^{r + 2}}, ~~~~~ g_{r + 1}^{\prime}(\rho) = \frac{r^{r + 1}(1 - \rho)}{(r + \rho)^{r + 2}} \end{array} $$

which proves the lemma. □

The next result establishes important generalized binomial series identities found on page 200 and 201 of Graham et al. (1994). Not only do we state these identities in the interest of making our paper self-contained, we also give a probabilistic proof that differs from the proofs given in Graham et al. (1994).

Theorem A.1

Fix an integerr ≥ 1.The generalized binomial series\(\mathcal {B}_{r}(z)\)satisfiesthe following identities for eachzUr:(i) for each integera ≥ 1,we have

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r}(z)^{a} = \sum\limits_{k = 0}^{\infty} \frac{a}{a + rk}\binom{a + rk}{k}z^{k}. \end{array} $$
(1)

Furthermore, (ii)

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r}(z) = 1 + z\mathcal{B}_{r}(z)^{r} \end{array} $$
(2)

Proof

Formulas (44) and (45) are easy to establish for the case where r = 1: a small amount of algebra shows that for zU1,

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{1}(z) = \frac{1}{1-z}. \end{array} $$

Then

$$\begin{array}{@{}rcl@{}} 1 + z\mathcal{B}_{1}(z) = 1 + \frac{z}{1-z} = \frac{1}{1-z} = \mathcal{B}_{1}(z) \end{array} $$

proving (45). Next, note that for each integer a ≥ 1,

$$\begin{array}{@{}rcl@{}} \sum\limits_{k = 0}^{\infty}\frac{a}{a + k}{a + k \choose k}z^{k} = \sum\limits_{k = 0}^{\infty}{a - 1 + k \choose k}z^{k} = \left[\frac{1}{1-z}\right]^{a} = \mathcal{B}_{1}(z)^{a} \end{array} $$

where the second equality is well-known, and follows from applying an induction argument to find the coefficients corresponding to the a-fold convolution of the power series \(\mathcal {B}_{1}(z)\). This proves (44).

It remains to prove both (44) and (45) for the case where r ≥ 2. It helps to rewrite (44) and (45) as follows: for each integer a ≥ 1, and each integer r ≥ 1,

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r + 1}(z)^{a} = \sum\limits_{k = 0}^{\infty}\frac{a}{a + (r + 1)k}{a + (r + 1)k \choose k}z^{k} \end{array} $$
(3)

and

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r + 1}(z) = 1 + z\mathcal{B}_{r + 1}(z)^{r + 1}. \end{array} $$
(4)

Thus, to prove Theorem A.1, it suffices to instead prove (46) and (47).

We begin by proving (47). From Formula (10) found within Theorem 3.1, we have

$$\begin{array}{@{}rcl@{}} \mu \beta(0)^{r + 1} - (r\lambda + \mu)\beta(0) + r\lambda = 0 \end{array} $$

where we further assume that λ < μ. Using now Theorem 3.2, we observe after some algebra that this equality can alternatively be expressed as

$$\begin{array}{@{}rcl@{}} x_{\mu}x_{\lambda}^{r + 1}\mathcal{B}_{r + 1}(x_{\lambda, \mu})^{r + 1} + x_{\lambda} = x_{\lambda}\mathcal{B}_{r + 1}(x_{\lambda, \mu}) \end{array} $$

or, equivalently,

$$\begin{array}{@{}rcl@{}} x_{\lambda, \mu}\mathcal{B}_{r + 1}(x_{\lambda, \mu})^{r + 1} + 1 = \mathcal{B}_{r + 1}(x_{\lambda, \mu}). \end{array} $$

This equality shows that Eq. 47 must be true. To see why, observe that from Lemma A.1, we may say that given each z ∈ [0,rr/(r + 1)r+ 1), we can choose a corresponding λ and μ which satisfies z = fr+ 1(ρ), where ρ = λ/μ. However, z = fr+ 1(ρ) = xλ,μ, which proves (47).

It remains to establish (46). Fix an integer a ≥ 1: then given a fixed integer r ≥ 1, there exists a unique pair of integers j,i satisfying j ≥ 1, 0 ≤ ir − 1, that further satisfy a = (j − 1)r + i + 1. Then from Eq. 19, we find that

$$\begin{array}{@{}rcl@{}} \beta(0)^{a} = \beta(0)^{(j-1)r+i + 1} = w_{(0,r-1), (j,i)}(0). \end{array} $$
(5)

We can derive an alternative expression for w(0,r− 1),(j,i)(0) using Theorem 2.1: following a line of reasoning nearly identical to that used to derive w(0,r− 1),(1,0)(α) in Theorem 3.2 gives

$$\begin{array}{@{}rcl@{}} w_{(0,r-1),(j,i)}(0) &=& \sum\limits_{k = 0}^{\infty}\frac{a}{a + (r + 1)k}{a + (r + 1)k \choose k}\left( \frac{r\lambda}{r\lambda + \mu}\right)^{a + rk}\left( \frac{\mu}{r\lambda + \mu}\right)^{k} \\ &=& x_{\lambda}^{a} \sum\limits_{k = 0}^{\infty}\frac{a}{a + (r + 1)k}{a + (r + 1)k \choose k}x_{\lambda,\mu}^{k}. \end{array} $$
(6)

Combining Eqs. 48 and 49 and further applying Theorem 3.2 to write β(0) in terms of \(\mathcal {B}_{r + 1}(x_{\lambda , \mu })\) gives

$$\begin{array}{@{}rcl@{}} x_{\lambda}^{a}\mathcal{B}_{r + 1}(x_{\lambda, \mu})^{a} = x_{\lambda}^{a} \sum\limits_{k = 0}^{\infty}\frac{a}{a + (r + 1)k}{a + (r + 1)k \choose k}x_{\lambda,\mu}^{k} \end{array} $$

or, equivalently,

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r + 1} (x_{\lambda, \mu})^{a} = \sum\limits_{k = 0}^{\infty}\frac{a}{a + (r + 1)k} {a + (r + 1)k \choose k}x_{\lambda, \mu}^{k}. \end{array} $$

From this equality, we can argue similarly as we did to establish (47) to say that for each z ∈ [0,rr/(r + 1)r+ 1),

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r + 1}(z)^{a} = \sum\limits_{k = 0}^{\infty}\frac{a}{a + (r + 1)k} {a + (r + 1)k \choose k}z^{k} \end{array} $$

which proves (46). □

Our last Lemma is used in the proof of Theorem 4.3.

Lemma A.2

For each integera ≥ 1,and each integerr ≥ 1,

$$\begin{array}{@{}rcl@{}} \sum\limits_{k = 0}^{\infty}{a + rk \choose k}z^{k} = \frac{\mathcal{B}_{r}(z)^{a}}{1 - r + r\mathcal{B}_{r}(z)^{-1}}. \end{array} $$
(7)

Proof

Proceeding as indicated in Graham et al. (1994), the key to proving this lemma is to first show that for zUr

$$\begin{array}{@{}rcl@{}} \sum\limits_{k = 0}^{\infty}{a + rk \choose k}z^{k} = rz\mathcal{B}_{r}(z)^{a - 1}\mathcal{B}_{r}^{\prime}(z) + \mathcal{B}_{r}(z)^{a}. \end{array} $$
(8)

Next, use Eq. 47 to further show that

$$\begin{array}{@{}rcl@{}} \mathcal{B}_{r}^{\prime}(z) = \frac{\mathcal{B}_{r}(z)^{r}}{1 - r + r\mathcal{B}_{r}(z)^{-1}}. \end{array} $$
(9)

Plugging (52) into the right-hand-side of Eq. 51 and simplifying—while making further use of Eq. 47—proves the claim. □

Remark

It should be noted here that identities (44) and (50) still hold when a is a nonpositive integer and r is a positive integer. Furthermore, given a fixed positive integer r, both series still converge absolutely on Ur (as can be verified with the ratio test).

We show how to properly extend identity (44): given any two positive integers a,b, we can say from Eq. 44 that for any integer k ≥ 1,

$$\begin{array}{@{}rcl@{}} \frac{a + b}{a + b + rk}{a + b + rk \choose k} = \sum\limits_{\ell = 0}^{k}\frac{a}{a + r\ell}{a + r\ell \choose \ell}\frac{b}{b + r(k-\ell)}{b + r(k - \ell) \choose k - \ell}. \end{array} $$

A bit of thought shows that when a is fixed, the left and right-hand-sides of this equality are finite-degree polynomials in b. Since these polynomials are equal for each integer b ≥ 1, they must also be equal for each \(b \in \mathbb {R}\). In particular, for each integer k ≥ 1 we have

$$\begin{array}{@{}rcl@{}} 0 = \sum\limits_{\ell = 0}^{k}\frac{a}{a + r\ell}{a + r\ell \choose \ell}\frac{-a}{-a + r(k-\ell)}{-a + r(k - \ell) \choose k - \ell} \end{array} $$

which proves, for zUr,

$$\begin{array}{@{}rcl@{}} \left[\sum\limits_{k = 0}^{\infty}\frac{-a}{-a + rk}{-a + rk \choose k}z^{k}\right]\left[\sum\limits_{k = 0}^{\infty}\frac{a}{a + rk}{a + rk \choose k}z^{k}\right] = 1 \end{array} $$

or equivalently,

$$\begin{array}{@{}rcl@{}} \sum\limits_{k = 0}^{\infty}\frac{-a}{-a + rk}{-a + rk \choose k}z^{k} = \mathcal{B}_{r}(z)^{-a}. \end{array} $$

This argument shows (44) still holds for each integer a ≤ 0.

The authors of Graham et al. (1994) further claim that these identities hold even when a and r are arbitrary real numbers, but it is not clear to us how/if the radius of convergence of these series change when a and/or r are no longer integers. Fortunately our arguments only require the cases where r and a are integers satisfying r ≥ 2, and a ≥−r.

Lemma 5.2 is used in our proof of Theorems 4.3 and 4.4, but we must ensure that \(z_{\lambda }z_{\mu }^{r} \in U_{r + 1}\) first. Here Lemma A.1 is needed: recall that

$$\begin{array}{@{}rcl@{}} z_{\lambda}z_{\mu}^{r} = \frac{\lambda}{\lambda + r\mu + \alpha}\left( \frac{r\mu}{\lambda + r\mu + \alpha}\right)^{r}. \end{array} $$

First, notice that when \(\alpha \in \mathbb {C}_{+}\) and λ,μ > 0, we have

$$\begin{array}{@{}rcl@{}} \left|\frac{\lambda + r\mu}{\lambda + r\mu + \alpha}\right| < 1. \end{array} $$

Using this simple observation, we further find that

$$\begin{array}{@{}rcl@{}} |z_{\lambda}z_{\mu}^{r}| < \frac{\lambda}{\lambda + r\mu}\left( \frac{r\mu}{\lambda + r\mu}\right)^{r} = g_{r + 1}(\rho) \leq \frac{r^{r}}{(r + 1)^{r + 1}} \end{array} $$

which proves \(z_{\lambda }z_{\mu }^{r} \in U_{r + 1}\). Next, notice that when λ,μ satisfy λ < μ, we have ρ = λ/μ < 1, meaning

$$\begin{array}{@{}rcl@{}} |z_{\lambda}z_{\mu}^{r}| = \frac{\lambda}{\lambda + r\mu}\left( \frac{r\mu}{\lambda + r\mu}\right)^{r} = g_{r + 1}(\rho) < g_{r + 1}(1) = \frac{r^{r}}{(r + 1)^{r + 1}} \end{array} $$

which, again, shows that \(z_{\lambda }z_{\mu }^{r} \in U_{r + 1}\) for this case as well.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, X., Fralix, B. On Lattice Path Counting and the Random Product Representation, with Applications to the Er/M/1 Queue and the M/Er/1 Queue. Methodol Comput Appl Probab 21, 1119–1149 (2019). https://doi.org/10.1007/s11009-018-9658-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11009-018-9658-8

Keywords

Mathematics Subject Classification (2010)

Navigation