Skip to content

Solving a riddle: Gather a bunch of people and give them equal amounts of money. They start to randomly exchange money between each other. What's the distribution of money after a long time?

Notifications You must be signed in to change notification settings

Ranlot/money-distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The distribution of wealth initially starts as a dirac delta function centered on 100 and then starts to spread out as a Gaussian of increasing variance. Soon enough the left-hand-side of the distribution hits the boundary condition (no debt) at 0 whereupon it starts to accumulate. Eventually this process converges to an exponential distribution which maximizes the entropy as can be seen in the image below.

About

Solving a riddle: Gather a bunch of people and give them equal amounts of money. They start to randomly exchange money between each other. What's the distribution of money after a long time?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published