Balance equation explained

In probability theory, a balance equation is an equation that describes the probability flux associated with a Markov chain in and out of states or set of states.[1]

Global balance

The global balance equations (also known as full balance equations[2]) are a set of equations that characterize the equilibrium distribution (or any stationary distribution) of a Markov chain, when such a distribution exists.

For a continuous time Markov chain with state space

l{S}

, transition rate from state

i

to

j

given by

qij

and equilibrium distribution given by

\pi

, the global balance equations are given by[3]

\pii=\sumj\pijqji,

or equivalently

\pii\sumj

} q_ = \sum_ \pi_j q_.

for all

i\inS

. Here

\piiqij

represents the probability flux from state

i

to state

j

. So the left-hand side represents the total flow from out of state i into states other than i, while the right-hand side represents the total flow out of all states

ji

into state

i

. In general it is computationally intractable to solve this system of equations for most queueing models.[4]

Detailed balance

See also: Detailed balance.

Q

, if

\pii

can be found such that for every pair of states

i

and

j

\piiqij=\pijqji

holds, then by summing over

j

, the global balance equations are satisfied and

\pi

is the stationary distribution of the process.[5] If such a solution can be found the resulting equations are usually much easier than directly solving the global balance equations.

A CTMC is reversible if and only if the detailed balance conditions are satisfied for every pair of states

i

and

j

.

A discrete time Markov chain (DTMC) with transition matrix

P

and equilibrium distribution

\pi

is said to be in detailed balance if for all pairs

i

and

j

,[6]

\piipij=\pijpji.

When a solution can be found, as in the case of a CTMC, the computation is usually much quicker than directly solving the global balance equations.

Local balance

In some situations, terms on either side of the global balance equations cancel. The global balance equations can then be partitioned to give a set of local balance equations (also known as partial balance equations, independent balance equations[7] or individual balance equations[8]). These balance equations were first considered by Peter Whittle.[9] The resulting equations are somewhere between detailed balance and global balance equations. Any solution

\pi

to the local balance equations is always a solution to the global balance equations (we can recover the global balance equations by summing the relevant local balance equations), but the converse is not always true. Often, constructing local balance equations is equivalent to removing the outer summations in the global balance equations for certain terms.

During the 1980s it was thought local balance was a requirement for a product-form equilibrium distribution,[10] [11] but Gelenbe's G-network model showed this not to be the case.[12]

Notes and References

  1. Book: Harrison, Peter G. . Peter G. Harrison . Patel . Naresh M. . Performance Modelling of Communication Networks and Computer Architectures . Addison-Wesley . 1992 . 0-201-54419-9 . registration .
  2. Book: Kelly, F. P. . Reversibility and stochastic networks . Frank Kelly (mathematician) . 1979 . J. Wiley . 0-471-27601-4 .
  3. K.M. . Chandy . K. Mani Chandy . The analysis and solutions for general queueing networks . Proc. Sixth Annual Princeton Conference on Information Sciences and Systems, Princeton U. . 224 - 228 . March 1972 . Princeton, N.J. .
  4. Book: Grassman, Winfried K. . Computational probability . 2000 . Springer . 0-7923-8617-5 .
  5. Book: Bocharov, Pavel Petrovich. D'Apice. C.. Pechinkin. A.V.. Salerno. S.. Queueing theory. Walter de Gruyter. 2004. 37. 90-6764-398-X.
  6. Book: Norris, James R. . Markov Chains . James R. Norris . 1998 . . 0-521-63396-6 . 2010-09-11.
  7. Baskett . F. . Chandy . K. Mani . K. Mani Chandy . Muntz . R.R. . Palacios . F.G. . Open, closed and mixed networks of queues with different classes of customers . Journal of the ACM . 22 . 248 - 260 . 1975 . 2 . 10.1145/321879.321887. free .
  8. Whittle . P. . Peter Whittle (mathematician). Equilibrium Distributions for an Open Migration Process . Journal of Applied Probability . 5 . 3 . 567–571 . 10.2307/3211921 . 3211921. 1968 .
  9. Chao . X. . Miyazawa . M. . On Quasi-Reversibility and Local Balance: An Alternative Derivation of the Product-Form Results . Operations Research . 46 . 6 . 927–933 . 10.1287/opre.46.6.927 . 222945. 1998 .
  10. Richard J. . Boucherie . N.M. . van Dijk . Local balance in queueing networks with positive & negative customers . Annals of Operations Research . 1994 . 463 - 492 . 48 . 5 . 10.1007/bf02033315. 1871/12327 . free .
  11. K. Mani . Chandy . K. Mani Chandy . J.H. Jr . Howard . D.F. . Towsley . Product form and local balance in queueing networks . Journal of the ACM . 1977 . 250 - 263 . 24 . 2 . 10.1145/322003.322009. free .
  12. 10.2307/3214781 . G-Networks with Triggered Customer Movement . Erol . Gelenbe . Erol Gelenbe . Journal of Applied Probability . 30 . 3 . Sep 1993 . 742–748 . 3214781.