Definition · A birth-death chainStates 0, 1, 2, …, N. From state n the chain moves to n + 1 at rate λₙ (an arrival) and to n − 1 at rate μₙ (a service completion), and nowhere else. There is no arrival out of the top state and no service out of state 0.
The lab takes two lists: one arrival rate per state starting at 0, and one service rate per state starting at 1. A chain with N arrival rates has states 0 to N.
Theorem · The cut equationIn the long run, for every n, πₙ λₙ = πₙ₊₁ μₙ₊₁. Hence πₙ₊₁ = πₙ · λₙ/μₙ₊₁, and chaining from π₀ gives πₙ as a product of ratios, fixed by Σπ = 1.
Draw the line between n and n + 1. The chain moves one state at a time, so every upward crossing of that line is followed by a downward crossing before the next upward one: it cannot cross up twice in a row without being on both sides at once.
So over a long run the numbers of crossings in the two directions differ by at most one, and the long-run rates are equal. The rate of upward crossings is the long-run fraction of time at n times the arrival rate there, which is πₙλₙ; the rate downward is πₙ₊₁μₙ₊₁. Setting them equal and solving for πₙ₊₁ gives the ratio.
□
The argument used the one-step-at-a-time structure and nothing else. It did not assume the rates were constant, that the chain was infinite, that arrivals were Poisson, or that anything was stable. That is why one function serves every model on this material: there is one chain and several readings of it rather than several models.
Three machines and one repairer
λ = 3, 2, 1 three machines, each failing at rate 1; fewer left to fail
μ = 2, 2, 2 one repairer, working at rate 2 whatever the backlog
cut 0 | 1 π₁ = π₀ · 3/2 ratio 3/2
cut 1 | 2 π₂ = π₁ · 2/2 ratio 1
cut 2 | 3 π₃ = π₂ · 1/2 ratio 1/2
running product from π₀: 1, 3/2, 3/2, 3/4
total 1 + 3/2 + 3/2 + 3/4 = 19/4
π = (4/19, 6/19, 6/19, 3/19)
from the FULL balance system, 4 equations, equation 4 dropped,
Σπ = 1 in its place, 15 elimination operations over the rationals:
π = (4/19, 6/19, 6/19, 3/19) identical, fraction by fraction
The two routes share no arithmetic. The left-hand one multiplies ratios and divides by a total; the right-hand one builds the equation πₙ(λₙ + μₙ) = πₙ₋₁λₙ₋₁ + πₙ₊₁μₙ₊₁ for every state, drops one by name because the equations are dependent for exactly the reason they were dependent on a general chain, puts the normalisation in its place, and eliminates. They agree entry for entry, and the page says so with an exact equality rather than a comparison of decimals.
Dropping a different equation changes nothing, as it did not on a general chain: all four choices give (4/19, 6/19, 6/19, 3/19). The dependency is the same one — sum the balance equations and every term cancels — and so is the repair.
Little's Law, on the rate that actually gets in
L = Σ n πₙ is the mean number in the system, and it comes straight out of π. W is L divided by a rate, and the rate is not always λ: on a chain whose arrival rate depends on the state, the long-run rate of admissions is λ_eff = Σ πₙ λₙ. On the repairer example that is (4/19)(3) + (6/19)(2) + (6/19)(1) = 30/19, so W = (27/19)/(30/19) = 9/10. The identity is the one “Little's Law from a Trace” proves by counting; what this page contributes is the right rate to divide by.
Example · Two servers, from one change to one listSet λ = 4, 4, 4, 4, 4 and μ = 3, 6, 6, 6, 6. The service rate out of state 1 is 3 and out of every higher state is 6: a second server that comes into use once there are two customers and then has nobody else to add.
The ratios are 4/3 for the first cut and 2/3 thereafter, giving π = (243, 324, 216, 144, 96, 64)/1087. The mode is state 1 rather than state 0, which is what the single early ratio above 1 does, and no formula was needed to see it.
Example · Arrivals faster than service, on a chain that stops anywaySet λ = 5, 5, 5, 5 and μ = 3, 3, 3, 3. Every ratio is 5/3, so π rises geometrically to π = (81, 135, 225, 375, 625)/1441 with its mass at the top.
The page flags that at the top of the chain arrivals are at least as fast as service, so the untruncated chain would have no distribution at all. What you are looking at is a finite chain and its answers are answers about that chain, not about an unbounded queue. Which model you meant is a modelling question and the page will not decide it for you.
One restriction: every service rate has to be strictly positive. A zero μ closes the chain off — nothing can come back down from that state — so the cut above it has no solution with probability on both sides, and the lab refuses rather than dividing by zero. This mode also stops at eight cuts, because it prints every cut equation and the whole balance system; the constant-rate readings take chains as long as you like.