Prisoners' Dilemma
Cooperate
Cooperate
1
2
Defect
Defect
2
2
3
0
0
3
1
1
There's only one Nash equilibrium of this game.
Does it feel right? Do you live in a world in which nobody ever cooperates?
pollev.com/chrismakler

The Economics of Ongoing Relationships
Christopher Makler
Stanford University Department of Economics
Econ 51: Lecture 12
Today's Agenda
Part 1: Discrete Strategies
Part 2: Continuous Strategies
Finitely-repeated games
Evaluating infinite payoffs
Infinitely-repeated games
Collusion in Cournot Duopoly
Big Ideas
The ability to do so relies on
the ability to credibly promise/threaten something in the future,
and a high enough value placed on future payoffs
In ongoing relationships,
you can achieve things you cannot achieve in one-shot games.
What are we modeling?
-
Players who have ongoing relationships:
- Delta Airlines and American Airlines
- Managers and employees
- Spouses, roommates, friends
- Members of political parties
- Decisions they make have an immediate impact but also an impact on the relationship.
- How much greater is GDP because of the level of social capital (trust and other investments in relationships) is higher? How much worse off are we if that trust is eroded?





Finitely Repeated Games
-
Suppose there is some stage game G, which is repeated for T periods, with the payoffs being the sum of the payoffs in each period.
-
Trivial result: it is always a SPNE if a NE is played in every period.
-
Nontrivial result: there may be SPNE in which non-NE strategy profiles are played in early periods.
-
Key insight: this requires multiple Nash equilibria, which gives the ability to credibly promise a reward in the last period
1
2
5
2
,
0
0
,
2
4
,
0
0
,
T
M
L
C
B
R
0
6
,
0
0
,
0
0
,
9
0
,
7
9
,
If this game were played once,
what are the Nash equilibria?
pollev.com/chrismakler

Recall: Strategy Definition
A strategy is a complete, contingent plan of action for a player in a game.
This means that every player
must specify what action to take
at every decision node in the game tree!
A strategy space is the set of all strategies available to a player.

What is player 2's strategy space?
pollev.com/chrismakler


What is player 1's strategy space?
pollev.com/chrismakler

1
2
5
2
,
0
0
,
2
4
,
0
0
,
T
M
L
C
B
R
0
6
,
0
0
,
0
0
,
9
0
,
7
9
,
What are the strategy spaces of the players if the game is played twice?
Remember: a strategy is a complete, contingent plan of how to play the game. It has to specify what to do after every possible history.
Each strategy must specify:
- What to play in the first period.
- What to play in the second period
for every possible outcome in the first period
Each strategy must specify:
- What to play in the first period.
- What to play in the second period
for every possible outcome in the first period
Remember: a strategy is a complete, contingent plan of how to play the game. It has to specify what to do after every possible history.
Each strategy must specify:
- What to play in the first period.
- What to play in the second period
for every possible outcome in the first period
1
2
T
M
L
C
B
R
L
C
R
L
C
R
Each strategy must specify:
- What to play in the first period.
- What to play in the second period
for every possible outcome in the first period
What are the strategy spaces of the players if the game is played twice?
1
2
T
M
L
C
B
R
L
C
R
L
C
R
Example strategy for player 1:
- Play T in the first period.
- In the second period, play T again after any history in which player 2 played L; after every other history, play M.
Note that this has to specify 10 things -- what to do initially, and what to do after each of the 9 histories of what could happen in the first period!
What are the subgames of this game?
1
2
T
M
L
C
B
R
L
C
R
L
C
R
Example strategy for player 1:
- Play T in the first period.
- In the second period, play T again after any history in which player 2 played L; after every other history, play M.
Note that this has to specify 10 things -- what to do initially, and what to do after each of the 9 histories of what could happen in the first period!
What are the subgames of this game?
1
2
T
M
L
C
B
R
L
C
R
L
C
R
What are the subgames of this game?
Remember: in SPNE, the strategies must specify a NE in every subgame.
There were two NE of this game:
(T, L) and (M, C).
So, either (T, L) or (M, C) must be played in each of the 9 possible subgames in the second round in a subgame-perfect Nash equilibrium.
1
2
T
M
L
C
B
R
L
C
R
L
C
R
What are the subgames of this game?
Remember: in SPNE, the strategies must specify a NE in every subgame.
There were two NE of this game:
(T, L) and (M, C).
So, either (T, L) or (M, C) must be played in each of the 9 possible subgames in the second round in a subgame-perfect Nash equilibrium.
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
(T, L) or (M, C)
1
2
5
2
,
0
0
,
2
4
,
0
0
,
T
M
L
C
B
R
0
6
,
0
0
,
0
0
,
9
0
,
7
9
,
Let's look at the game again.
Both players would like to be able to play (B, R), but it wouldn't be possible in a one-shot game: player 1 would have an incentive to play T if they knew player 2 was going to play R.
But if it's played twice, can player 2 make any kind of credible promise to player 1 about how they'll act in the second round?
Consider player 2's strategy:
- In the first round, play R.
- If (B,R) was played in the first round, play L; otherwise play C.
1
2
5
2
,
0
0
,
2
4
,
0
0
,
T
M
L
C
B
R
0
6
,
0
0
,
0
0
,
9
0
,
7
9
,
Consider player 2's strategy:
- In the first round, play R.
- If (B,R) was played in the first round, play L; otherwise play C.
Assuming player 2 does this, what is player 1's best response in the second round if (B,R) was played in the first round?
What is player 1's best response in the second round if anything other than (B,R) was played in the first round?
- Play T, since player 2 will play L.
- Play M, since player 2 will play C.
1
2
5
2
,
0
0
,
2
4
,
0
0
,
T
M
L
C
B
R
0
6
,
0
0
,
0
0
,
9
0
,
7
9
,
Consider player 2's strategy:
- In the first round, play R.
- If (B,R) was played in the first round, play L; otherwise play C.
Player 1's best response:
- In the first round, ___________________.
- If (B,R) was played in the first round, play T; otherwise play M.
play B!
If player 1 plays B in the first period, they'll get 7, and then 5 in the second period when (T, L) is played, for a total of 12.
If player 1 plays T in the first period, they'll get 9, and then 2 in the second period when (T, L) is played, for a total of 11.
Infinitely Repeated Games
Infinitely Repeated Games
- A stage game G is repeated an infinite number of times.
- Can't just sum up the payoffs (would be infinite!)
- Approach: use discounting, like we did in week 2
The present value of a stream of payoffs
(\(\pi_0\) now, \(\pi_1\) in the next period, \(\pi_2\) two periods from now, etc)
may be given by the infinite sum
The present value of a stream of payoffs of \(x\) in every period is:
Factor out \(\delta\) from the second and following terms:
What is this expression?
The present value of a stream of payoffs of \(x\) in every period is:
The present value of a stream of payoffs of \(z\) in every period,
starting next period, is:
The present value of getting
payoff \(y\) now, and then payoff \(z\) in every period thereafter, is:
Write these formulas down!
Strategies in Infinitely Repeated Games
- Strategies must specify what to do in each period,
as a function of the history of all previously taken actions - We often group action histories to make strategy description simpler:

SPNE in Infinitely Repeated Games
- Can't do backward induction!
- Instead: "guess a strategy profile, and "check" that it is a Subgame Perfect Nash Equilibrium
- A simple SPNE: play the Nash Equilibrium of the stage game in every period, for any history
- Can we have a SPNE
in which there is cooperation?



‟Grim Trigger" Strategy (a.k.a. ‟Grudger")

Suppose your opponent is playing this strategy. Is playing this strategy a best response?
Cooperate
Cooperate
1
2
Defect
Defect
5
5
8
0
0
8
2
2
What is your payoff if you too play Grim Trigger?
What is your most profitable deviation?
Get a payoff of 2 in every period.
Get a payoff of 3 once, then 1 in every period.
‟Grim Trigger" Strategy (a.k.a. ‟Grudger")
Suppose your opponent is playing this strategy. Is playing this strategy a best response?
What is your payoff if you too play Grim Trigger?
What is your most profitable deviation?
When is GT a best response to GT?
Multiply both sides by \(1 - \delta\):
If people are sufficiently patient (value future payoffs highly enough), then cooperation can be sustained using a "grim trigger" strategy.
Collusion



What is firm 2's best response function?
2
P
"Firm 2's Residual Demand Curve"
Firm 2's "best response function"
Cournot Best Response Functions
Firm 1's
best response function
Firm 2's
best response function
Nash equilibrium (a.k.a. Cournot equilibrium) is a pair of quantities \((q_1,q_2)\) such that
Profits in Cournot Equilibrium
In Cournot equilibrium, \(q_1 = q_2 = 4\).

Is this the best they could do? Suppose they each produced some amount \(q\).
What value of \(q\) would maximize their combined profits?
Take derivative, set it equal to zero:
But...if the other firm was going to produce 3, what should you produce?
COLLUSION
If both produce 3...
BETRAYAL
If you produce 4.5 while they produce 3...
NASH EQUILIBRIUM
If both produce 4
If both firms play a "grim trigger" strategy, when can they sustain collusion?
pollev.com/chrismakler

COLLUSION
If both produce 3...
BETRAYAL
If you produce 4.5 while they produce 3...
NASH EQUILIBRIUM
If both produce 4
What did we show this week?
- Tuesday: some Nash equilibria are not subgame perfect, because they depend on non-credible threats or promises.
- Today: some non-Nash outcomes of a stage game (e.g. cooperation in a Prisoners' Dilemma) can be sustained if the players have an ongoing relationship.
- Sunday: homework for this week due
- Next Monday: review session (time/place TBD, def not on zoom)
- Next Wednesday: Game Theory Checkpoint I
(60 minutes long, in Hewlett 201 at either 5:30 or 7:00)
Econ 51 | 11 | The Economics of Ongoing Relationships
By Chris Makler
Econ 51 | 11 | The Economics of Ongoing Relationships
Sequential Games of Complete and Perfect Information
- 208