Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Games & Chance 4 min read

Mafia Is a Bayesian Deduction Game

Update beliefs with each elimination.

In Mafia (Werewolf), each player elimination gives information. Bayesian reasoning — updating your probability of each player being Mafia — is the optimal strategy.

Bayesian update

After a town elimination, update P(mafia) for survivors.

P(Mi∣E)=P(E∣Mi)⋅P(Mi)P(E)P(M_i|E) = \frac{P(E|M_i) \cdot P(M_i)}{P(E)}

7 players, 2 Mafia, one townie eliminated

  1. 1

    Prior

    P(mafia) = 2/7 = 28.6% for each

  2. 2

    After 1 town eliminated

    2 mafia remain in 6 players

  3. 3

    New P

    2/6 = 33.3%

  4. 4

    With behavioural evidence

    Some players rise to 50%+

Answer

Each elimination refines the odds — track the probability tree

The formula behind it

Probability

P=favourabletotalP = \frac{\text{favourable}}{\text{total}}
See the full formula, variables and more examples

The takeaway

Good Mafia players are intuitive Bayesians — they update their suspicions with every data point.

Back to all stories