ENG 401 · Engineering Mathematics VI (Mathematical Modelling and Operation Research)
Our notes
2 min readQueues in engineering
Vehicles at a filling station, jobs at a machine, calls to a control room, ships at a jetty. Too few servers means long waits; too many means idle cost.
Notation
A/B/c: arrival pattern / service pattern / number of servers. M means random (Poisson arrivals, exponential service times).
The M/M/1 model
Arrival rate λ, service rate μ (λ < μ). Utilisation ρ = λ ÷ μ.
| Measure | Formula |
|---|---|
| Average number in system L | ρ ÷ (1 − ρ) |
| Average number waiting Lq | ρ² ÷ (1 − ρ) |
| Average time in system W | 1 ÷ (μ − λ) |
| Average wait in queue Wq | ρ ÷ (μ − λ) |
| Chance system is empty P₀ | 1 − ρ |
Worked example
A single loading bay: trucks arrive at 8 an hour; each takes on average 6 minutes (μ = 10 an hour).
- ρ = 8 ÷ 10 = 0.8 (busy 80% of the time).
- L = 0.8 ÷ 0.2 = 4 trucks.
- Lq = 0.64 ÷ 0.2 = 3.2 trucks.
- W = 1 ÷ (10 − 8) = 0.5 h = 30 minutes.
- Wq = 0.8 ÷ 2 = 0.4 h = 24 minutes.
Check with Little's law (L = λW, Lq = λWq): 8 × 0.5 = 4; 8 × 0.4 = 3.2. Both agree.
The danger of high utilisation
As ρ → 1, queues grow without limit. At ρ = 0.9, L = 9; at ρ = 0.95, L = 19. A small rise in demand near full use causes long delays.
Multi-server queues
M/M/c models (several bays) use longer formulas or tables.
Game theory
Models decisions where the outcome depends on an opponent's choice: competitive bidding, pricing.
Two-person zero-sum games
One player's gain is the other's loss. The payoff matrix shows A's gains.
- Maximin for A: the best of the row minimums.
- Minimax for B: the best (smallest) of the column maximums.
- If they are equal, there is a saddle point and pure strategies are optimal.
Worked example: mixed strategies
| B1 | B2 | |
|---|---|---|
| A1 | 3 | −1 |
| A2 | −2 | 4 |
Row minimums: −1, −2 → maximin −1. Column maximums: 3, 4 → minimax 3. No saddle point.
A plays A1 with probability p so that B's choice does not matter:
3p − 2(1 − p) = −p + 4(1 − p) → 5p − 2 = 4 − 5p → p = 0.6.
Value = 3(0.6) − 2(0.4) = 1.0.
Check from B's side: B plays B1 with probability q: 3q − (1 − q) = −2q + 4(1 − q) → 4q − 1 = 4 − 6q → q = 0.5. Value = 3(0.5) − 0.5 = 1.0. Same value.
Dominance
A row (or column) that is always worse than another can be removed before solving, shrinking the game.
Exams usually ask
- Calculate M/M/1 measures and check with Little's law.
- Solve a 2 × 2 game with mixed strategies.
Common mistake
Using M/M/1 formulas when λ ≥ μ. The queue then grows without limit and the formulas give nonsense.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Queueing theory
(opens en.wikipedia.org in a new tab)
Wikipedia, Queueing theory, CC BY-SA 4.0 · licence
-
M/M/1 queue
(opens en.wikipedia.org in a new tab)
Wikipedia, M/M/1 queue, CC BY-SA 4.0 · licence
-
Game theory
(opens en.wikipedia.org in a new tab)
Wikipedia, Game theory, CC BY-SA 4.0 · licence
-
Zero-sum game
(opens en.wikipedia.org in a new tab)
Wikipedia, Zero-sum game, CC BY-SA 4.0 · licence
Watch
-
Best pick Introduction to Queueing Theory-6. M/M/1 Queue
21 min · ≈ 95 MB · about ₦53
(opens youtube.com in a new tab)
-
Queuing Theory - M/M/1 and M/M/N
29 min · ≈ 131 MB · about ₦74
(opens youtube.com in a new tab)
-
Queuing Model MM1 model by Sadashiv Bellubbi
22 min · ≈ 99 MB · about ₦56
(opens youtube.com in a new tab)
-
Lec-30 Queueing Models
59 min · ≈ 266 MB · about ₦149
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.