Varian Chapter28 Game Theory
Varian Chapter28 Game Theory
Varian Chapter28 Game Theory
Game Theory
Game Theory
• A game consists of
– a set of players
– a set of strategies for each player
– the payoffs to each player for every possible
choice of strategies by the players.
Two-Player Games
• A game with just two players is a two-player
game.
• We will study only games in which there are
two players, each of whom can choose
between only two actions.
An Example of a Two-Player Game
Player B
L R
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Player B
L R
Player B
L R
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
U (3,9) (1,8)
Player A
D (0,0) (2,1)
An Example of a Two-Player Game
U (3,9) (1,8)
Player A
D (0,0) (2,1)
U (3,9) (1,8)
Player A
D (0,0) (2,1)
An Example of a Two-Player Game
U (3,9) (1,8)
Player A
D (0,0) (2,1)
U (3,9) (1,8)
Player A
D (0,0) (2,1)
U (3,9) (1,8)
Player A
D (0,0) (2,1)
An Example of a Two-Player Game
U (3,9) (1,8)
Player A
D (0,0) (2,1)
U (3,9) (1,8)
Player A
D (0,0) (2,1)
An Example of a Two-Player Game
U (3,9) (1,8)
Player A
D (0,0) (2,1)
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Suppose instead that the game is played
sequentially, with A leading and B following. We
can rewrite the game in its extensive form.
A Sequential Game Example
A
U D A plays first.
B B B plays second.
L R L R
A
U D A plays first.
B B B plays second.
L R L R
A
U D A plays first.
B B B plays second.
L R L R
A
U D A plays first.
B B B plays second.
L R L R
A
U D A plays first.
B B B plays second.
L R L R
A
U D A plays first.
B B B plays second.
L R L R So (U,L) is the
likely NE.
(3,9) (1,8) (0,0) (2,1)
If A plays U then B follows with L; A gets 3.
If A plays D then B follows with R; A gets 2.
A Sequential Game Example
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
This is our original example once more. Suppose
again that play is simultaneous. We discovered that
the game has two Nash equilibria; (U,L) and (D,R).
A Sequential Game Example
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Player A has been thought of as choosing to play
either U or D, but no combination of both; i.e. as
playing purely U or D. U and D are Player A’s
pure strategies.
A Sequential Game Example
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Similarly, L and R are Player B’s pure strategies.
A Sequential Game Example
Player B
L R
U (3,9) (1,8)
Player A
D (0,0) (2,1)
Consequently, (U,L) and (D,R) are pure strategy
Nash equilibria. Must every game have at least
one pure strategy Nash equilibrium?
Pure Strategies
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L R
U (1,2) (0,4)
Player A
D (0,5) (3,2)
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
Mixed Strategies
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
A’s expected value of choosing Up is ??
Mixed Strategies
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
A’s expected value of choosing Up is pL.
A’s expected value of choosing Down is ??
Mixed Strategies
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
A’s expected value of choosing Up is pL.
A’s expected value of choosing Down is 3(1 - pL).
Mixed Strategies
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
A’s expected value of choosing Up is pL.
A’s expected value of choosing Down is 3(1 - pL).
If pL > 3(1 - pL) then A will choose only Up, but
there is no NE in which A plays only Up.
Mixed Strategies
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
A’s expected value of choosing Up is pL.
A’s expected value of choosing Down is 3(1 - pL).
If pL < 3(1 - pL) then A will choose only Down, but
there is no NE in which A plays only Down.
Mixed Strategies
Player B
L, pL R, 1-pL
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
If there is a NE necessarily pL = 3(1 - pL) pL = 3/4;
i.e. the way B mixes over Left and Right must make A
indifferent between choosing Up or Down.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
If there is a NE necessarily pL = 3(1 - pL) pL = 3/4;
i.e. the way B mixes over Left and Right must make A
indifferent between choosing Up or Down.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
B’s expected value of choosing Left is ??
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
B’s expected value of choosing Left is 2pU + 5(1 - pU).
B’s expected value of choosing Right is ??
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
B’s expected value of choosing Left is 2pU + 5(1 - pU).
B’s expected value of choosing Right is 4pU + 2(1 - pU).
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
B’s expected value of choosing Left is 2pU + 5(1 - pU).
B’s expected value of choosing Right is 4pU + 2(1 - pU).
If 2pU + 5(1 - pU) > 4pU + 2(1 - pU) then B will choose
only Left, but there is no NE in which B plays only Left.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, pU (1,2) (0,4)
Player A
D, 1-pU (0,5) (3,2)
B’s expected value of choosing Left is 2pU + 5(1 - pU).
B’s expected value of choosing Right is 4pU + 2(1 - pU).
If 2pU + 5(1 - pU) < 4pU + 2(1 - pU) then B plays only
Right, but there is no NE where B plays only Right.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
Player A
D, 2/5 (0,5) (3,2)
If there is a NE then necessarily
2pU + 5(1 - pU) = 4pU + 2(1 - pU) pU = 3/5;
i.e. the way A mixes over Up and Down must make B
indifferent between choosing Left or Right.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
Player A
D, 2/5 (0,5) (3,2)
The game’s only Nash equilibrium consists of A
playing the mixed strategy (3/5, 2/5) and B playing
the mixed strategy (3/4, 1/4).
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
9/20
Player A
D, 2/5 (0,5) (3,2)
The payoff will be (1,2) with probability
3/5 × 3/4 = 9/20.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
9/20 3/20
Player A
D, 2/5 (0,5) (3,2)
The payoff will be (0,4) with probability
3/5 × 1/4 = 3/20.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
9/20 3/20
Player A
D, 2/5 (0,5)
(3,2)
6/20
The payoff will be (0,5) with probability
2/5 × 3/4 = 6/20.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
9/20 3/20
Player A
D, 2/5 (0,5) (3,2)
6/20 2/20
The payoff will be (3,2) with probability
2/5 × 1/4 = 2/20.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
9/20 3/20
Player A
D, 2/5 (0,5) (3,2)
6/20 2/20
A’s NE expected payoff is
1×9/20 + 3×2/20 = 3/4.
Mixed Strategies
Player B
L, 3/4 R, 1/4
U, 3/5 (1,2) (0,4)
9/20 3/20
Player A
D, 2/5 (0,5) (3,2)
6/20 2/20
A’s NE expected payoff is
1×9/20 + 3×2/20 = 3/4.
B’s NE expected payoff is
2×9/20 + 4×3/20 + 5×6/20 + 2×2/20 = 16/5.
How Many Nash Equilibria?
• A game with a finite number of players, each
with a finite number of pure strategies, has at
least one Nash equilibrium.
• So if the game has no pure strategy Nash
equilibrium then it must have at least one
mixed strategy Nash equilibrium.
Repeated Games
• A strategic game that is repeated by being
played once in each of a number of periods.
• What strategies are sensible for the players
depends greatly on whether or not the game
– is repeated over only a finite number of periods
– is repeated over an infinite number of periods.
Repeated Games
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)
Clyde
S C
S (-5,-5) (-30,-1)
Bonnie
C (-1,-30) (-10,-10)