UNIHIVE

Study Hub UNIPORT ENG 401

ENG 401 · Engineering Mathematics VI (Mathematical Modelling and Operation Research)

Queuing models and game theory

Waiting lines with the M/M/1 model, Little's law, and two-person zero-sum games.

Our notes

2 min read

Queues 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 ρ = λ ÷ μ.

MeasureFormula
Average number in system Lρ ÷ (1 − ρ)
Average number waiting Lqρ² ÷ (1 − ρ)
Average time in system W1 ÷ (μ − λ)
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

B1B2
A13−1
A2−24

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

Watch

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.

All ENG 401 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.