Sub topic 4
Simultaneous Games and Nash Equilibrium
This chapter builds the game-theory tools you need before the Cournot and Bertrand models. It assumes you know demand curves, marginal revenue, marginal cost, and how a monopolist sets marginal revenue equal to marginal cost. It also assumes you can take a derivative and solve two linear equations in two unknowns. No prior game theory is needed.
Why oligopoly needs game theory
A monopolist or a perfectly competitive firm can choose its best action without thinking about any single rival. A monopolist has no rivals. A competitive firm is too small to affect the market price, so it takes the price as given.
An oligopolist is different. Its profit depends on its own choice and on the choices of a few rivals. If your rival raises output, the market price falls and your profit falls with it. To choose well, you must form a view about what the rival will do. The rival is thinking the same thing about you. This is strategic interdependence, and game theory is the standard way to model it.
The ingredients of a game
A game is a model of strategic interaction. A simultaneous game is one in which all players choose their actions at the same time, or at least without seeing each other's choices first. Every simultaneous game has three parts.
- Players: the decision makers. In this tutorial they are firms.
- Strategies: the actions available to each player. A strategy might be a quantity to produce or a price to charge.
- Payoffs: what each player gets for each combination of strategies. For firms, the payoff is profit.
A strategy profile is one strategy for every player. Payoffs depend on the whole profile, not only on a player's own strategy.
A game in which payoffs are known to all players, and all players know that the others know them, is a game of complete information. We assume complete information throughout. Each firm knows the demand curve and every firm's cost.
A first example: two firms, two prices
Suppose two firms each choose a High or a Low price. The table shows profits, with the row firm's profit first.
| Row | Firm B: High | Firm B: Low |
|---|---|---|
| **Firm A: High** | 10, 10 | 2, 14 |
| **Firm A: Low** | 14, 2 | 5, 5 |
Look at Firm A's choice. If B plays High, A earns 10 from High and 14 from Low, so Low is better. If B plays Low, A earns 2 from High and 5 from Low, so Low is again better. Low is better for A whatever B does. A strategy that is best against every choice of the rival is a dominant strategy.
The game is symmetric, so Low is also dominant for B. Both firms play Low and each earns 5. Both would have earned 10 from (High, High). Each firm's individually sensible choice leaves both worse off. This is the prisoner's dilemma, and it will return when we discuss collusion.
Best responses
Most oligopoly games do not have dominant strategies. A more general idea is the best response. A firm's best response to a rival's strategy is the strategy that gives it the highest payoff, given that the rival plays that strategy.
Write firm i's payoff as πi(si, sj), where si is its own strategy and s_j is the rival's. The best response is a function:
BRi(sj) = the value of si that maximizes πi(si, sj)
You treat the rival's strategy as a fixed number and maximize over your own. With continuous strategies such as quantities, this is a calculus problem. You take the derivative of πi with respect to si, set it to zero, and solve for si as a function of sj. The next chapters do exactly this.
Nash equilibrium
A Nash equilibrium is a strategy profile in which every player's strategy is a best response to the others' strategies. Put differently, no player can raise its payoff by changing only its own strategy.
Formally, (s1*, s2*) is a Nash equilibrium if both of these hold:
- s1* is a best response to s2, so π1(s1, s2*) ≥ π1(s1, s2*) for every s_1.
- s2* is a best response to s1, so π2(s1, s2*) ≥ π2(s1*, s2) for every s_2.
The idea of "no profitable unilateral deviation" is the core test. To check a candidate profile, hold all rivals fixed and ask whether any single player gains by switching. If none does, it is a Nash equilibrium.
In the price example above, (Low, Low) is a Nash equilibrium. Given B plays Low, A's best reply is Low. Given A plays Low, B's best reply is Low. Neither wants to move alone.
Finding equilibria in a table
For a small game, you can find Nash equilibria by marking best responses.
- For each column (each strategy of B), mark A's highest payoff in that column.
- For each row (each strategy of A), mark B's highest payoff in that row.
- Any cell where both payoffs are marked is a Nash equilibrium.
The code below does this check by brute force for any two-player table. It reports every pure-strategy Nash equilibrium.
def pure_nash(payoffs, rows, cols):
"""payoffs[(r, c)] = (payoff_A, payoff_B). Returns all pure Nash equilibria."""
equilibria = []
for r in rows:
for c in cols:
a_pay, b_pay = payoffs[(r, c)]
a_best = all(payoffs[(r2, c)][0] <= a_pay for r2 in rows)
b_best = all(payoffs[(r, c2)][1] <= b_pay for c2 in cols)
if a_best and b_best:
equilibria.append((r, c))
return equilibria
rows = cols = ["High", "Low"]
payoffs = {
("High", "High"): (10, 10),
("High", "Low"): (2, 14),
("Low", "High"): (14, 2),
("Low", "Low"): (5, 5),
}
print(pure_nash(payoffs, rows, cols)) # [('Low', 'Low')]Multiple equilibria and no equilibrium
A game can have more than one Nash equilibrium. Consider two firms choosing between two incompatible technology standards, X and Y. Each firm earns 3 if both pick the same standard and 0 otherwise.
rows = cols = ["X", "Y"]
payoffs = {
("X", "X"): (3, 3),
("X", "Y"): (0, 0),
("Y", "X"): (0, 0),
("Y", "Y"): (3, 3),
}
print(pure_nash(payoffs, rows, cols)) # [('X', 'X'), ('Y', 'Y')]Both (X, X) and (Y, Y) pass the test. Nash equilibrium alone does not tell you which one will occur. This is a gap in the concept, and extra reasoning is needed to choose among equilibria.
A game may also have no equilibrium in pure strategies, where each player picks one action for sure. Matching pennies is the standard case. Such games have an equilibrium in mixed strategies, where players randomize. The Cournot and Bertrand models in this tutorial have a pure-strategy equilibrium, so we will not need mixing.
Why Nash equilibrium is a sensible prediction
Nash equilibrium is the standard prediction for simultaneous games for several reasons.
- Self-enforcing: if all players expect the equilibrium, no one has a reason to deviate, so the expectation confirms itself.
- Necessary for stability: any outcome that is not a Nash equilibrium has at least one player who would gain by changing, so it cannot persist if players respond to incentives.
- Learning: if firms repeatedly adjust to each other, and the process settles down, it settles at a Nash equilibrium.
It is not a claim that firms are perfect calculators. It is a claim that a stable outcome must have no profitable unilateral deviation.
Strategies as continuous choices
Firms rarely choose between two options. They choose a quantity or a price from a continuous range. The same logic holds. The strategy space is now an interval, such as any quantity from 0 upward, and the best response is a function rather than a table entry.
The diagram shows how the pieces fit together for a two-firm game with continuous strategies.
The Nash equilibrium is the point where the two best-response functions cross. At that point, each firm's choice is a best response to the other's. Solving the two best-response equations at the same time is the standard method, and the Cournot chapters use it directly.
Iterating best responses
One way to see how an equilibrium could arise is to let firms respond to each other in turn. Firm 1 picks its best response to Firm 2's current choice. Then Firm 2 picks its best response to Firm 1's new choice. If the sequence converges, the limit is a Nash equilibrium, because at the limit neither firm wants to change.
The next chapters apply this to quantities. As a preview, here is the same loop with a generic pair of linear best-response functions, BR1(s2) = 20 − 0.5·s2 and BR2(s1) = 20 − 0.5·s1.
def br1(s2):
return 20 - 0.5 * s2
def br2(s1):
return 20 - 0.5 * s1
s1, s2 = 0.0, 0.0
for step in range(40):
s1 = br1(s2)
s2 = br2(s1)
print(round(s1, 4), round(s2, 4)) # 13.3333 13.3333You can confirm the answer algebraically. By symmetry s = 20 − 0.5·s, so 1.5·s = 20 and s = 13.33. The iteration converges here because each slope has absolute value 0.5, below 1. If the slopes were steeper than 1 in absolute value, the loop would move away from the equilibrium, even though the equilibrium would still exist.
Common errors
- Confusing the best response with the best outcome. A best response is best given what the rival does, not best overall. In the price example, (Low, Low) is an equilibrium even though (High, High) pays more to both.
- Checking deviations by two players at once. The Nash test allows one player to change while the others stay fixed. A joint move to a better cell does not break an equilibrium.
- Treating the equilibrium as a prediction of cooperation. Nash equilibrium assumes each player acts alone. Cooperation needs an enforcement mechanism, which later chapters on repeated interaction discuss.
- Assuming a unique equilibrium. Check whether the game has several, as in the standards example.
- Maximizing over the rival's variable. When you derive a best response, differentiate with respect to your own strategy only, and treat the rival's strategy as a constant.
Summary of the method
For any simultaneous game in this tutorial, you will follow the same steps.
- Name the players, the strategies, and the payoff of each player.
- Derive each player's best response by maximizing its payoff over its own strategy.
- Solve the best-response equations together to find the strategy profile where all hold.
- Check that no player gains by a unilateral deviation.
Exercise
Two firms each choose Expand or Hold. Payoffs (Firm A, Firm B) are: (Expand, Expand) = (4, 4); (Expand, Hold) = (9, 2); (Hold, Expand) = (2, 9); (Hold, Hold) = (6, 6). Find all pure-strategy Nash equilibria and say whether any strategy is dominant.
Show answer
Check each cell. At (Expand, Expand), if A switches to Hold it gets 2, less than 4, and if B switches to Hold it gets 2, less than 4, so it is a Nash equilibrium. At (Hold, Hold), if A switches to Expand it gets 9, more than 6, so it is not. At (Expand, Hold), B would switch to Expand and gain (4 against 2), so it is not. At (Hold, Expand), A would switch to Expand and gain (4 against 2), so it is not. The only Nash equilibrium is (Expand, Expand). Expand is dominant for each firm: against Hold it pays 9 versus 6, and against Expand it pays 4 versus 2. Both firms earn 4 although (Hold, Hold) would give each 6.
Exercise
Firm 1 has best response BR1(s2) = 30 − 0.5·s2 and Firm 2 has BR2(s1) = 24 − 0.5·s1. Find the Nash equilibrium.
Show answer
Substitute one equation into the other. s1 = 30 − 0.5(24 − 0.5·s1) = 30 − 12 + 0.25·s1 = 18 + 0.25·s1. So 0.75·s1 = 18 and s1 = 24. Then s2 = 24 − 0.5·24 = 12. Check: BR1(12) = 30 − 6 = 24 and BR_2(24) = 24 − 12 = 12, so each strategy is a best response to the other. The Nash equilibrium is (24, 12).