how to win at monopoly

68
How to Win at Monopoly: Markov Chains for Fun and Profit Derek Bruff, PhD Director, Center for Teaching Senior Lecturer, Mathematics

Upload: derek-bruff

Post on 22-Apr-2015

1.101 views

Category:

Education


4 download

DESCRIPTION

An introduction to Markov chains via Monopoly

TRANSCRIPT

Page 1: How to Win at Monopoly

How to Win at Monopoly: Markov Chains for Fun and Profit

Derek Bruff, PhDDirector, Center for TeachingSenior Lecturer, Mathematics

Page 2: How to Win at Monopoly
Page 3: How to Win at Monopoly

Which properties are landed on most

often?

Page 4: How to Win at Monopoly

Which properties are landed on most

frequently?

Page 5: How to Win at Monopoly

Which properties are most profitable to own?

Page 6: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 7: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 8: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 9: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 10: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 11: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 12: How to Win at Monopoly

Monopoly Rules

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 13: How to Win at Monopoly

Monopoly Rules

• 40 4 spaces (Go through Boardwalk)• Roll two six-sided dice Flip a coin to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 14: How to Win at Monopoly

Suppose we only have four spaces (A, B, C, and D) and that a move consists of flipping a coin.• Heads = Move two

spaces• Tails = Move one space

TERMINALLY BORING

Page 15: How to Win at Monopoly

Monopoly: Terminally Boring Edition

x0 = x1 =

What is x2?

Page 16: How to Win at Monopoly

Monopoly: Terminally Boring Edition

x0 = x1 =

x2 =

Page 17: How to Win at Monopoly
Page 18: How to Win at Monopoly

If x2=Px1, then what is P?

Page 19: How to Win at Monopoly

If x2=Px1, then what is P?

=

x2 x1P

Page 20: How to Win at Monopoly

Monopoly: Terminally Boring Edition

Model: xk+1=Pxk

P =

Page 21: How to Win at Monopoly

Monopoly: Terminally Boring Edition

Model: xk+1=Pxk

x0 = (1, 0, 0, 0)

Page 22: How to Win at Monopoly

Monopoly: Terminally Boring Edition

Model: xk+1=Pxk

x0 = (1, 0, 0, 0)

x1 = (0, .5, .5, 0)

Page 23: How to Win at Monopoly

Monopoly: Terminally Boring Edition

Model: xk+1=Pxk

x0 = (1, 0, 0, 0)

x1 = (0, .5, .5, 0)

x2 = (.25, 0, .25, .5)

Page 24: How to Win at Monopoly

Monopoly: Terminally Boring Edition

Model: xk+1=Pxk

x0 = (1, 0, 0, 0)

x1 = (0, .5, .5, 0)

x2 = (.25, 0, .25, .5)

x3 = (.375, .375, .125, .125)

Page 25: How to Win at Monopoly

Monopoly: Terminally Boring Edition

Model: xk+1=Pxk

Page 26: How to Win at Monopoly

Monopoly: Terminally Boring Edition

• 40 4 spaces (Go through Boardwalk)• Roll two six-sided dice Flip a coin to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 27: How to Win at Monopoly

Monopoly: Simple Model

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 28: How to Win at Monopoly

Rolling Two Six-Sided Dice

Spaces Moved Probability

2 1/363 2/364 3/365 4/366 5/367 6/368 5/369 4/36

10 3/3611 2/3612 1/36

Page 29: How to Win at Monopoly

P =

Page 30: How to Win at Monopoly

Monopoly: Simple Model

Page 31: How to Win at Monopoly

Monopoly: Simple Model

Page 32: How to Win at Monopoly

Monopoly: Simple Model

Page 33: How to Win at Monopoly

Monopoly: Simple Model

Page 34: How to Win at Monopoly

Monopoly: Simple Model

Page 35: How to Win at Monopoly

Monopoly: Simple Model

Page 36: How to Win at Monopoly

Monopoly: Simple Model

Page 37: How to Win at Monopoly

Monopoly: Simple Model

Page 38: How to Win at Monopoly

Monopoly: Simple Model

Page 39: How to Win at Monopoly

Monopoly: Simple Model

Page 40: How to Win at Monopoly

Monopoly: Simple Model

Page 41: How to Win at Monopoly

Monopoly: Simple Model

Page 42: How to Win at Monopoly

Monopoly: Simple Model

Page 43: How to Win at Monopoly

Markov Chains

Definition: A vector with the property that the sum of its entries is 1 is called a probability vector.

Definition: A square matrix with the property that the sum of the entries in each of its columns is 1 is called a stochastic matrix.

Andrey Markov, 1856 – 1922

Page 44: How to Win at Monopoly

Markov Chains

Definition: A Markov chain is a dynamical system for which

• the probability vector xk describes the state of the system at time k and

• successive state vectors are related by the following equation, where P is a stochastic matrix called the transition matrix for the system.

xk+1=Pxk

Page 45: How to Win at Monopoly

Markov Chains

Theorem: If P is the transition matrix for a Markov chain (and P is regular), then…

• There is a unique probability vector q such that Pq=q.

• For any initial state vector x0, xk q as k

Finding q means solving the equation

Pq=q

Page 46: How to Win at Monopoly

Monopoly: Simple Model

Finding q means solving the equation

Pq=q

Page 47: How to Win at Monopoly

Monopoly: Model #2

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 48: How to Win at Monopoly

P =

Page 49: How to Win at Monopoly

Monopoly: Model #2

Finding q means solving the equation

Pq=q

Page 50: How to Win at Monopoly

Monopoly: Model #3

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 51: How to Win at Monopoly

Monopoly: Model #3

Finding q means solving the equation

Pq=q

Page 52: How to Win at Monopoly

Monopoly: Model #4

• 40 spaces (Go through Boardwalk)• Roll two six-sided dice to move.• “Go to Jail” sends you to Jail.• Rolling three doubles in a row sends you to Jail.• Get out of jail by…– Paying $50,– Using a “Get out of Jail, Free” card,– Rolling doubles, or– Spending three turns in Jail.

• Chance and Community Chest cards have various effects.

Page 53: How to Win at Monopoly

Monopoly: Model #4

Finding q means solving the equation

Pq=q

Page 54: How to Win at Monopoly

What’s Left?

• Rolling three doubles in a row sends you to Jail.

• Chance and Community Chest cards have various effects.

You still have two underlying models—leave jail quickly or stay as long as you can.

Page 55: How to Win at Monopoly

Probabilities by Truman Collins

Short Jail Stay

Page 56: How to Win at Monopoly

Probabilities by Truman Collins

Short Jail Stay

Page 57: How to Win at Monopoly

Probabilities by Truman Collins

Short Jail Stay

Page 58: How to Win at Monopoly

Probabilities by Truman Collins

Short Jail Stay

Page 59: How to Win at Monopoly

Probabilities by Truman Collins

Long Jail Stay

Page 60: How to Win at Monopoly

Probabilities by Truman Collins

Long Jail Stay

Page 61: How to Win at Monopoly

Probabilities by Truman Collins

Long Jail Stay

Page 62: How to Win at Monopoly

Probabilities by Truman Collins

Long Jail Stay

Page 63: How to Win at Monopoly

OTHER APPLICATIONS OF MARKOV CHAINS

Page 64: How to Win at Monopoly

RISK—and other board games

Page 65: How to Win at Monopoly

Baseball, tennis, jai alai,…

Page 66: How to Win at Monopoly

Migration Models

Page 67: How to Win at Monopoly

Google’s PageRank Algorithm

Page 68: How to Win at Monopoly

Flickr Credits• “monopoly,” foreverdigital• “Black Dice,” Mariano Kamp• “Monopoly,” unloveablesteve• “last man standing,” Robert Terrell• “Racing for Home,” Scott Ableman• “Nomads (brog pa) crossing Lha chu at Kailash

Kora,” reurinkjan